Home
last modified time | relevance | path

Searched refs:UserState (Results 1 – 4 of 4) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowUserManager.java59 private Map<Integer, UserState> userState = new HashMap<>();
357 UserState state = userState.get(handle.getIdentifier()); in isUserRunning()
359 if (state == UserState.STATE_RUNNING_LOCKED in isUserRunning()
360 || state == UserState.STATE_RUNNING_UNLOCKED in isUserRunning()
361 || state == UserState.STATE_RUNNING_UNLOCKING) { in isUserRunning()
374 UserState state = userState.get(handle.getIdentifier()); in isUserRunningOrStopping()
376 if (state == UserState.STATE_RUNNING_LOCKED in isUserRunningOrStopping()
377 || state == UserState.STATE_RUNNING_UNLOCKED in isUserRunningOrStopping()
378 || state == UserState.STATE_RUNNING_UNLOCKING in isUserRunningOrStopping()
379 || state == UserState.STATE_STOPPING) { in isUserRunningOrStopping()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowUserManagerTest.java29 import org.robolectric.shadows.ShadowUserManager.UserState;
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()
[all …]
/external/llvm/lib/CodeGen/
DWinEHPrepare.cpp607 int UserState = FuncInfo.EHPadStateMap[ChildCleanup]; in calculateClrEHStateNumbers() local
609 FuncInfo.ClrEHUnwindMap[UserState].TryParentState; in calculateClrEHStateNumbers()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DWinEHPrepare.cpp617 int UserState = FuncInfo.EHPadStateMap[ChildCleanup]; in calculateClrEHStateNumbers() local
619 FuncInfo.ClrEHUnwindMap[UserState].TryParentState; in calculateClrEHStateNumbers()