Home
last modified time | relevance | path

Searched refs:isSystemUser (Results 1 – 6 of 6) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowUserManager.java68 private boolean isSystemUser = true; field in ShadowUserManager
426 protected boolean isSystemUser() { in isSystemUser() method in ShadowUserManager
427 if (isSystemUser == false) { in isSystemUser()
442 public void setIsSystemUser(boolean isSystemUser) { in setIsSystemUser() argument
443 this.isSystemUser = isSystemUser; in setIsSystemUser()
/external/cronet/base/android/java/src/org/chromium/base/compat/
DApiHelperForM.java98 public static boolean isSystemUser(UserManager userManager) { in isSystemUser() method in ApiHelperForM
99 return userManager.isSystemUser(); in isSystemUser()
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowUserManager.java90 private boolean isSystemUser = true; field in ShadowUserManager
731 protected boolean isSystemUser() { in isSystemUser() method in ShadowUserManager
732 if (isSystemUser == false) { in isSystemUser()
735 return reflector(UserManagerReflector.class, realObject).isSystemUser(); in isSystemUser()
747 public void setIsSystemUser(boolean isSystemUser) { in setIsSystemUser() argument
748 this.isSystemUser = isSystemUser; in setIsSystemUser()
1242 boolean isSystemUser(); in isSystemUser() method
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowUserManagerTest.java211 public void isSystemUser() { in isSystemUser() method in ShadowUserManagerTest
212 assertThat(userManager.isSystemUser()).isTrue(); in isSystemUser()
215 assertThat(userManager.isSystemUser()).isFalse(); in isSystemUser()
218 assertThat(userManager.isSystemUser()).isTrue(); in isSystemUser()
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowUserManagerTest.java373 public void isSystemUser() { in isSystemUser() method in ShadowUserManagerTest
374 assertThat(userManager.isSystemUser()).isTrue(); in isSystemUser()
377 assertThat(userManager.isSystemUser()).isFalse(); in isSystemUser()
380 assertThat(userManager.isSystemUser()).isTrue(); in isSystemUser()
645 assertThat(userManager.isSystemUser()).isTrue(); in switchToSecondaryUser_system()
649 assertThat(userManager.isSystemUser()).isFalse(); in switchToSecondaryUser_system()
/external/cronet/base/android/java/src/org/chromium/base/process_launcher/
DChildConnectionAllocator.java169 if (!ApiHelperForM.isSystemUser(userManager)) { in createVariableSize()