Home
last modified time | relevance | path

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

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowUserManager.java54 private boolean isSystemUser = true; field in ShadowUserManager
272 protected boolean isSystemUser() { in isSystemUser() method in ShadowUserManager
273 if (isSystemUser == false) { in isSystemUser()
288 public void setIsSystemUser(boolean isSystemUser) { in setIsSystemUser() argument
289 this.isSystemUser = isSystemUser; in setIsSystemUser()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowUserManagerTest.java181 public void isSystemUser() { in isSystemUser() method in ShadowUserManagerTest
182 assertThat(userManager.isSystemUser()).isTrue(); in isSystemUser()
185 assertThat(userManager.isSystemUser()).isFalse(); in isSystemUser()
188 assertThat(userManager.isSystemUser()).isTrue(); in isSystemUser()