Home
last modified time | relevance | path

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

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowUserManagerTest.java193 public void isPrimaryUser() { in isPrimaryUser() method in ShadowUserManagerTest
194 assertThat(userManager.isPrimaryUser()).isTrue(); in isPrimaryUser()
197 assertThat(userManager.isPrimaryUser()).isFalse(); in isPrimaryUser()
200 assertThat(userManager.isPrimaryUser()).isTrue(); in isPrimaryUser()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowUserManager.java300 public void setIsPrimaryUser(boolean isPrimaryUser) { in setIsPrimaryUser() argument
302 if (isPrimaryUser) { in setIsPrimaryUser()