Searched refs:mManagedProfileController (Results 1 – 2 of 2) sorted by relevance
115 @Mock private ManagedProfileController mManagedProfileController; field in AutoTileManagerTest202 mDataSaverController, mManagedProfileController, mNightDisplayListenerBuilder, in createAutoTileManager()266 InOrder inOrderManagedProfile = inOrder(mManagedProfileController); in testChangeUserCallbacksStoppedAndStarted()267 inOrderManagedProfile.verify(mManagedProfileController).removeCallback(any()); in testChangeUserCallbacksStoppedAndStarted()268 inOrderManagedProfile.verify(mManagedProfileController).addCallback(any()); in testChangeUserCallbacksStoppedAndStarted()320 InOrder inOrderManagedProfile = inOrder(mManagedProfileController); in testChangeUserSomeCallbacksNotAdded()321 inOrderManagedProfile.verify(mManagedProfileController).removeCallback(any()); in testChangeUserSomeCallbacksNotAdded()322 inOrderManagedProfile.verify(mManagedProfileController).addCallback(any()); in testChangeUserSomeCallbacksNotAdded()530 }).when(mManagedProfileController).addCallback(any()); in managedProfileAdded_tileAdded()532 when(mManagedProfileController.hasActiveProfile()).thenReturn(true); in managedProfileAdded_tileAdded()[all …]
87 private final ManagedProfileController mManagedProfileController; field in AutoTileManager120 mManagedProfileController = managedProfileController; in AutoTileManager()164 mManagedProfileController.addCallback(mProfileCallback); in startControllersAndSettingsListeners()204 mManagedProfileController.removeCallback(mProfileCallback); in stopListening()293 if (mManagedProfileController.hasActiveProfile()) {