Searched refs:isUserRunning (Results 1 – 4 of 4) 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 blockUntilProfileRunningAndUnlocked()39 () -> !userManager.isUserRunning(userHandle) || userManager.isQuietModeEnabled(userHandle), in blockUntilProfileNotAvailable()
110 if (!userManager.isUserRunning(userHandle)) { in filterUsersByAvailabilityRestrictions()
477 protected boolean isUserRunning(UserHandle handle) { in isUserRunning() method in ShadowUserManager