Searched refs:mUmi (Results 1 – 4 of 4) sorted by relevance
34 private UserManagerInternal mUmi; field in CommunalProfileInitializer38 mUmi = LocalServices.getService(UserManagerInternal.class); in CommunalProfileInitializer()54 final int communalProfile = mUmi.getCommunalProfileId(); in createCommunalProfileIfNeeded()63 final UserInfo newProfile = mUmi.createUserEvenWhenDisallowed( in createCommunalProfileIfNeeded()
44 private final UserManagerInternal mUmi; field in HsumBootUserInitializer84 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()
174 private UserManagerInternal mUmi; field in UserManagerServiceTest201 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()
384 private final UserManagerInternal mUmi; field in AccessibilityManagerService516 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()