Searched refs:isUserRunning (Results 1 – 7 of 7) sorted by relevance
259 public void isUserRunning() { in isUserRunning() method in ShadowUserManagerTest262 assertThat(userManager.isUserRunning(userHandle)).isFalse(); in isUserRunning()265 assertThat(userManager.isUserRunning(userHandle)).isTrue(); in isUserRunning()268 assertThat(userManager.isUserRunning(userHandle)).isTrue(); in isUserRunning()271 assertThat(userManager.isUserRunning(userHandle)).isTrue(); in isUserRunning()274 assertThat(userManager.isUserRunning(userHandle)).isFalse(); in isUserRunning()277 assertThat(userManager.isUserRunning(userHandle)).isFalse(); in isUserRunning()280 assertThat(userManager.isUserRunning(userHandle)).isFalse(); in isUserRunning()
31 () -> userManager.isUserRunning(userHandle) && userManager.isUserUnlocked(userHandle), in blockUntilUserRunningAndUnlocked()39 () -> !userManager.isUserRunning(userHandle) || userManager.isQuietModeEnabled(userHandle), in blockUntilUserNotAvailable()
479 public void isUserRunning() { in isUserRunning() method in ShadowUserManagerTest482 assertThat(userManager.isUserRunning(userHandle)).isFalse(); in isUserRunning()485 assertThat(userManager.isUserRunning(userHandle)).isTrue(); in isUserRunning()488 assertThat(userManager.isUserRunning(userHandle)).isTrue(); in isUserRunning()491 assertThat(userManager.isUserRunning(userHandle)).isTrue(); in isUserRunning()494 assertThat(userManager.isUserRunning(userHandle)).isFalse(); in isUserRunning()497 assertThat(userManager.isUserRunning(userHandle)).isFalse(); in isUserRunning()500 assertThat(userManager.isUserRunning(userHandle)).isFalse(); in isUserRunning()1034 assertThat(userManager.isUserRunning(workHandle)).isFalse(); in requestQuietModeEnabled_withManagedProfile_shouldStopProfileAndEmitBroadcast()1072 assertThat(userManager.isUserRunning(workHandle)).isTrue(); in requestQuietModeDisabled_withManagedProfile_shouldStartProfileAndEmitBroadcast()[all …]
110 if (!userManager.isUserRunning(userHandle)) { in filterUsersByAvailabilityRestrictions()
80 return userManager.isUserRunning(userHandle) in bindingIsPossible()
509 protected boolean isUserRunning(UserHandle handle) { in isUserRunning() method in ShadowUserManager
847 protected boolean isUserRunning(UserHandle handle) { in isUserRunning() method in ShadowUserManager