Home
last modified time | relevance | path

Searched refs:mUmi (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/java/com/android/server/
DCommunalProfileInitializer.java34 private UserManagerInternal mUmi; field in CommunalProfileInitializer
38 mUmi = LocalServices.getService(UserManagerInternal.class); in CommunalProfileInitializer()
54 final int communalProfile = mUmi.getCommunalProfileId(); in createCommunalProfileIfNeeded()
63 final UserInfo newProfile = mUmi.createUserEvenWhenDisallowed( in createCommunalProfileIfNeeded()
DHsumBootUserInitializer.java44 private final UserManagerInternal mUmi; field in HsumBootUserInitializer
84 mUmi = umi; in HsumBootUserInitializer()
109 final int mainUser = mUmi.getMainUserId(); in createMainUserIfNeeded()
117 final UserInfo newInitialUser = mUmi.createUserEvenWhenDisallowed( in createMainUserIfNeeded()
141 final int bootUser = mUmi.getBootUser(/* waitUntilSet= */ mPms in systemRunning()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DUserManagerServiceTest.java174 private UserManagerInternal mUmi; field in UserManagerServiceTest
201 mUmi = LocalServices.getService(UserManagerInternal.class); in setFixtures()
202 assertWithMessage("LocalServices.getService(UserManagerInternal.class)").that(mUmi) in setFixtures()
330 .that(mUmi.getBootUser(/* waitUntilSet= */ false)).isEqualTo(OTHER_USER_ID); in testSetBootUser_SuppliedUserIsSwitchable()
343 .that(mUmi.getBootUser(/* waitUntilSet= */ false)) in testSetBootUser_NotHeadless_SuppliedUserIsNotSwitchable()
359 .that(mUmi.getBootUser(/* waitUntilSet= */ false)).isEqualTo(OTHER_USER_ID); in testSetBootUser_Headless_SuppliedUserIsNotSwitchable()
369 .that(mUmi.getBootUser(/* waitUntilSet= */ false)) in testGetBootUser_NotHeadless_ReturnsSystemUser()
383 .that(mUmi.getBootUser(/* waitUntilSet= */ false)).isEqualTo(OTHER_USER_ID); in testGetBootUser_Headless_ReturnsMostRecentlyInForeground()
392 () -> mUmi.getBootUser(/* waitUntilSet= */ false)); in testGetBootUser_Headless_ThrowsIfOnlySystemUserExists()
998 mUmi.setUserState(userId, userState); in setUserState()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java384 private final UserManagerInternal mUmi; field in AccessibilityManagerService
516 mUmi = LocalServices.getService(UserManagerInternal.class); in AccessibilityManagerService()
558 mUmi = LocalServices.getService(UserManagerInternal.class); in AccessibilityManagerService()
562 mUmi.addUserVisibilityListener((u, v) -> onUserVisibilityChanged(u, v)); in AccessibilityManagerService()
2739 boolean isUnlockingOrUnlocked = mUmi.isUserUnlockingOrUnlocked(userState.mUserId); in updateServicesLocked()