Home
last modified time | relevance | path

Searched refs:getBootUser (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DUserManagerServiceTest.java330 .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()
/frameworks/base/services/java/com/android/server/
DHsumBootUserInitializer.java141 final int bootUser = mUmi.getBootUser(/* waitUntilSet= */ mPms in systemRunning()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerInternal.java595 public abstract @UserIdInt int getBootUser(boolean waitUntilSet) in getBootUser() method in UserManagerInternal
DUserManagerService.java1310 public @UserIdInt int getBootUser() { in getBootUser() method in UserManagerService
7908 public @UserIdInt int getBootUser(boolean waitUntilSet)
/frameworks/base/core/java/android/os/
DIUserManager.aidl154 int getBootUser(); in getBootUser() method
DUserManager.java6597 public @NonNull UserHandle getBootUser() { in getBootUser() method in UserManager
6599 return UserHandle.of(mService.getBootUser()); in getBootUser()
/frameworks/base/core/api/
Dtest-current.txt2503 …ANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public android.os.UserHandle getBootUser();