Home
last modified time | relevance | path

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

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowUserManagerTest.java229 public void isUserRunning() { in isUserRunning() method in ShadowUserManagerTest
232 assertThat(userManager.isUserRunning(userHandle)).isFalse(); in isUserRunning()
235 assertThat(userManager.isUserRunning(userHandle)).isTrue(); in isUserRunning()
238 assertThat(userManager.isUserRunning(userHandle)).isTrue(); in isUserRunning()
241 assertThat(userManager.isUserRunning(userHandle)).isTrue(); in isUserRunning()
244 assertThat(userManager.isUserRunning(userHandle)).isFalse(); in isUserRunning()
247 assertThat(userManager.isUserRunning(userHandle)).isFalse(); in isUserRunning()
250 assertThat(userManager.isUserRunning(userHandle)).isFalse(); in isUserRunning()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowUserManager.java355 protected boolean isUserRunning(UserHandle handle) { in isUserRunning() method in ShadowUserManager