Home
last modified time | relevance | path

Searched refs:isUserRunning (Results 1 – 4 of 4) 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 blockUntilProfileRunningAndUnlocked()
39 () -> !userManager.isUserRunning(userHandle) || userManager.isQuietModeEnabled(userHandle), in blockUntilProfileNotAvailable()
/external/connectedappssdk/sdk/src/main/java/com/google/android/enterprise/connectedapps/
DCrossProfileSDKUtilities.java110 if (!userManager.isUserRunning(userHandle)) { in filterUsersByAvailabilityRestrictions()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowUserManager.java477 protected boolean isUserRunning(UserHandle handle) { in isUserRunning() method in ShadowUserManager