Searched refs:getBootUser (Results 1 – 7 of 7) sorted by relevance
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()
141 final int bootUser = mUmi.getBootUser(/* waitUntilSet= */ mPms in systemRunning()
595 public abstract @UserIdInt int getBootUser(boolean waitUntilSet) in getBootUser() method in UserManagerInternal
1310 public @UserIdInt int getBootUser() { in getBootUser() method in UserManagerService7908 public @UserIdInt int getBootUser(boolean waitUntilSet)
154 int getBootUser(); in getBootUser() method
6597 public @NonNull UserHandle getBootUser() { in getBootUser() method in UserManager6599 return UserHandle.of(mService.getBootUser()); in getBootUser()
2503 …ANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public android.os.UserHandle getBootUser();