Home
last modified time | relevance | path

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

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowUserManagerTest.java29 import org.robolectric.shadows.ShadowUserManager.UserState;
264 shadowOf(userManager).setUserState(userHandle, UserState.STATE_RUNNING_UNLOCKED); in isUserRunning()
267 shadowOf(userManager).setUserState(userHandle, UserState.STATE_RUNNING_LOCKED); in isUserRunning()
270 shadowOf(userManager).setUserState(userHandle, UserState.STATE_RUNNING_UNLOCKING); in isUserRunning()
273 shadowOf(userManager).setUserState(userHandle, UserState.STATE_STOPPING); in isUserRunning()
276 shadowOf(userManager).setUserState(userHandle, UserState.STATE_BOOTING); in isUserRunning()
279 shadowOf(userManager).setUserState(userHandle, UserState.STATE_SHUTDOWN); in isUserRunning()
290 shadowOf(userManager).setUserState(userHandle, UserState.STATE_RUNNING_UNLOCKED); in isUserRunningOrStopping()
293 shadowOf(userManager).setUserState(userHandle, UserState.STATE_RUNNING_LOCKED); in isUserRunningOrStopping()
296 shadowOf(userManager).setUserState(userHandle, UserState.STATE_RUNNING_UNLOCKING); in isUserRunningOrStopping()
[all …]
/external/llvm-project/flang/include/flang/Parser/
Duser-state.h35 class UserState {
37 UserState(const AllCookedSources &allCooked, in UserState() function
45 UserState &set_debugOutput(llvm::raw_ostream &out) { in set_debugOutput()
51 UserState &set_log(ParsingLog *log) { in set_log()
57 UserState &set_instrumentedParse(bool yes) { in set_instrumentedParse()
Dparse-state.h91 UserState *userState() const { return userState_; } in userState()
92 ParseState &set_userState(UserState *u) { in set_userState()
219 UserState *userState_{nullptr};
Dinstrumented-parser.h57 if (UserState * ustate{state.userState()}) { in Parse()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowUserManager.java70 private Map<Integer, UserState> userState = new HashMap<>();
479 UserState state = userState.get(handle.getIdentifier()); in isUserRunning()
481 if (state == UserState.STATE_RUNNING_LOCKED in isUserRunning()
482 || state == UserState.STATE_RUNNING_UNLOCKED in isUserRunning()
483 || state == UserState.STATE_RUNNING_UNLOCKING) { in isUserRunning()
496 UserState state = userState.get(handle.getIdentifier()); in isUserRunningOrStopping()
498 if (state == UserState.STATE_RUNNING_LOCKED in isUserRunningOrStopping()
499 || state == UserState.STATE_RUNNING_UNLOCKED in isUserRunningOrStopping()
500 || state == UserState.STATE_RUNNING_UNLOCKING in isUserRunningOrStopping()
501 || state == UserState.STATE_STOPPING) { in isUserRunningOrStopping()
[all …]
/external/connectedappssdk/tests/robotests/src/test/java/com/google/android/enterprise/connectedapps/
DRobolectricTestUtilities.java53 import org.robolectric.shadows.ShadowUserManager.UserState;
129 shadowOf(userManager).setUserState(personalProfileUserHandle, UserState.STATE_RUNNING_UNLOCKED); in createPersonalUser()
142 shadowOf(userManager).setUserState(workProfileUserHandle, UserState.STATE_RUNNING_LOCKED); in turnOnWorkProfileWithoutUnlocking()
151 shadowOf(userManager).setUserState(workProfileUserHandle, UserState.STATE_RUNNING_UNLOCKED); in turnOnWorkProfile()
163 shadowOf(userManager).setUserState(workProfileUserHandle, UserState.STATE_SHUTDOWN); in turnOffWorkProfile()
240 shadowOf(userManager).setUserState(personalProfileUserHandle, UserState.STATE_RUNNING_UNLOCKED); in setRunningOnWorkProfile()
/external/llvm-project/flang/lib/Parser/
Dparsing.cpp95 UserState userState{allCooked_, common::LanguageFeatureControl{}}; in DumpCookedChars()
112 UserState userState{allCooked_, options_.features}; in Parse()
Dbasic-parsers.h850 if (UserState * ustate{state.userState()}) { in Parse()
882 if (UserState * ustate{state.userState()}) { in Parse()
Dtoken-parsers.h610 if (UserState * ustate{state.userState()}) { in Parse()
/external/llvm/lib/CodeGen/
DWinEHPrepare.cpp607 int UserState = FuncInfo.EHPadStateMap[ChildCleanup]; in calculateClrEHStateNumbers() local
609 FuncInfo.ClrEHUnwindMap[UserState].TryParentState; in calculateClrEHStateNumbers()
/external/llvm-project/llvm/lib/CodeGen/
DWinEHPrepare.cpp640 int UserState = FuncInfo.EHPadStateMap[ChildCleanup]; in calculateClrEHStateNumbers() local
642 FuncInfo.ClrEHUnwindMap[UserState].TryParentState; in calculateClrEHStateNumbers()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DWinEHPrepare.cpp618 int UserState = FuncInfo.EHPadStateMap[ChildCleanup]; in calculateClrEHStateNumbers() local
620 FuncInfo.ClrEHUnwindMap[UserState].TryParentState; in calculateClrEHStateNumbers()