Home
last modified time | relevance | path

Searched refs:mManagedProfileController (Results 1 – 3 of 3) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
H A DAutoTileManagerTest.java114 @Mock private ManagedProfileController mManagedProfileController; field in AutoTileManagerTest
263 InOrder inOrderManagedProfile = inOrder(mManagedProfileController); in testChangeUserCallbacksStoppedAndStarted()
264 inOrderManagedProfile.verify(mManagedProfileController).removeCallback(any()); in testChangeUserCallbacksStoppedAndStarted()
265 inOrderManagedProfile.verify(mManagedProfileController).addCallback(any()); in testChangeUserCallbacksStoppedAndStarted()
317 InOrder inOrderManagedProfile = inOrder(mManagedProfileController); in testChangeUserSomeCallbacksNotAdded()
318 inOrderManagedProfile.verify(mManagedProfileController).removeCallback(any()); in testChangeUserSomeCallbacksNotAdded()
319 inOrderManagedProfile.verify(mManagedProfileController).addCallback(any()); in testChangeUserSomeCallbacksNotAdded()
527 }).when(mManagedProfileController).addCallback(any()); in managedProfileAdded_tileAdded()
529 when(mManagedProfileController.hasActiveProfile()).thenReturn(true); in managedProfileAdded_tileAdded()
544 }).when(mManagedProfileController).addCallback(any()); in managedProfileRemoved_tileRemoved()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DAutoTileManager.java86 private final ManagedProfileController mManagedProfileController; field in AutoTileManager
119 mManagedProfileController = managedProfileController; in AutoTileManager()
162 mManagedProfileController.addCallback(mProfileCallback); in startControllersAndSettingsListeners()
202 mManagedProfileController.removeCallback(mProfileCallback); in stopListening()
291 if (mManagedProfileController.hasActiveProfile()) {
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DDependency.java255 @Inject Lazy<ManagedProfileController> mManagedProfileController; field in Dependency
403 mProviders.put(ManagedProfileController.class, mManagedProfileController::get); in start()