Home
last modified time | relevance | path

Searched refs:isUserUnlocked (Results 1 – 10 of 10) sorted by relevance

/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowUserManagerTest.java114 public void isUserUnlocked() { in isUserUnlocked() method in ShadowUserManagerTest
115 assertThat(userManager.isUserUnlocked()).isTrue(); in isUserUnlocked()
117 assertThat(userManager.isUserUnlocked()).isFalse(); in isUserUnlocked()
560 assertThat(userManager.isUserUnlocked(userHandle)).isFalse(); in isUserUnlockedByUserHandle()
563 assertThat(userManager.isUserUnlocked(userHandle)).isTrue(); in isUserUnlockedByUserHandle()
566 assertThat(userManager.isUserUnlocked(userHandle)).isFalse(); in isUserUnlockedByUserHandle()
569 assertThat(userManager.isUserUnlocked(userHandle)).isFalse(); in isUserUnlockedByUserHandle()
572 assertThat(userManager.isUserUnlocked(userHandle)).isFalse(); in isUserUnlockedByUserHandle()
575 assertThat(userManager.isUserUnlocked(userHandle)).isFalse(); in isUserUnlockedByUserHandle()
578 assertThat(userManager.isUserUnlocked(userHandle)).isFalse(); in isUserUnlockedByUserHandle()
/external/connectedappssdk/testing/sdk/src/main/java/com/google/android/enterprise/connectedapps/testing/
DProfileAvailabilityPoll.java31 () -> userManager.isUserRunning(userHandle) && userManager.isUserUnlocked(userHandle), in blockUntilUserRunningAndUnlocked()
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/backends/
DAndroidFileBackend.java244 boolean isUserUnlocked(Context context); in isUserUnlocked() method
249 if (directBootChecker.isUserUnlocked(context)) { in throwIfStorageIsLocked()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowUserManagerTest.java79 public void isUserUnlocked() { in isUserUnlocked() method in ShadowUserManagerTest
80 assertThat(userManager.isUserUnlocked()).isTrue(); in isUserUnlocked()
82 assertThat(userManager.isUserUnlocked()).isFalse(); in isUserUnlocked()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowStorageManager.java104 return extract.isUserUnlocked(); in isUserKeyUnlocked()
DShadowUserManager.java177 protected boolean isUserUnlocked() { in isUserUnlocked() method in ShadowUserManager
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowStorageManager.java106 return extract.isUserUnlocked(); in isUserKeyUnlocked()
DShadowUserManager.java348 protected boolean isUserUnlocked() { in isUserUnlocked() method in ShadowUserManager
354 protected boolean isUserUnlocked(UserHandle handle) { in isUserUnlocked() method in ShadowUserManager
/external/connectedappssdk/sdk/src/main/java/com/google/android/enterprise/connectedapps/
DCrossProfileSDKUtilities.java116 if (availabilityRestrictions.requireUnlocked && !userManager.isUserUnlocked(userHandle)) { in filterUsersByAvailabilityRestrictions()
DDefaultUserBinder.java81 && userManager.isUserUnlocked(userHandle) in bindingIsPossible()