Home
last modified time | relevance | path

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

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowUserManagerTest.java259 public void isUserRunning() { in isUserRunning() method in ShadowUserManagerTest
262 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()
/external/connectedappssdk/testing/sdk/src/main/java/com/google/android/enterprise/connectedapps/testing/
DProfileAvailabilityPoll.java31 () -> userManager.isUserRunning(userHandle) && userManager.isUserUnlocked(userHandle), in blockUntilUserRunningAndUnlocked()
39 () -> !userManager.isUserRunning(userHandle) || userManager.isQuietModeEnabled(userHandle), in blockUntilUserNotAvailable()
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowUserManagerTest.java479 public void isUserRunning() { in isUserRunning() method in ShadowUserManagerTest
482 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 …]
/external/connectedappssdk/sdk/src/main/java/com/google/android/enterprise/connectedapps/
DCrossProfileSDKUtilities.java110 if (!userManager.isUserRunning(userHandle)) { in filterUsersByAvailabilityRestrictions()
DDefaultUserBinder.java80 return userManager.isUserRunning(userHandle) in bindingIsPossible()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowUserManager.java509 protected boolean isUserRunning(UserHandle handle) { in isUserRunning() method in ShadowUserManager
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowUserManager.java847 protected boolean isUserRunning(UserHandle handle) { in isUserRunning() method in ShadowUserManager