Searched refs:setUserState (Results 1 – 2 of 2) sorted by relevance
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowUserManagerTest.java | 234 shadowOf(userManager).setUserState(userHandle, UserState.STATE_RUNNING_UNLOCKED); in isUserRunning() 237 shadowOf(userManager).setUserState(userHandle, UserState.STATE_RUNNING_LOCKED); in isUserRunning() 240 shadowOf(userManager).setUserState(userHandle, UserState.STATE_RUNNING_UNLOCKING); in isUserRunning() 243 shadowOf(userManager).setUserState(userHandle, UserState.STATE_STOPPING); in isUserRunning() 246 shadowOf(userManager).setUserState(userHandle, UserState.STATE_BOOTING); in isUserRunning() 249 shadowOf(userManager).setUserState(userHandle, UserState.STATE_SHUTDOWN); in isUserRunning() 260 shadowOf(userManager).setUserState(userHandle, UserState.STATE_RUNNING_UNLOCKED); in isUserRunningOrStopping() 263 shadowOf(userManager).setUserState(userHandle, UserState.STATE_RUNNING_LOCKED); in isUserRunningOrStopping() 266 shadowOf(userManager).setUserState(userHandle, UserState.STATE_RUNNING_UNLOCKING); in isUserRunningOrStopping() 269 shadowOf(userManager).setUserState(userHandle, UserState.STATE_STOPPING); in isUserRunningOrStopping() [all …]
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowUserManager.java | 409 public void setUserState(UserHandle handle, UserState state) { in setUserState() method in ShadowUserManager
|