Searched refs:UserState (Results 1 – 12 of 12) sorted by relevance
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowUserManagerTest.java | 29 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/ |
D | user-state.h | 35 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()
|
D | parse-state.h | 91 UserState *userState() const { return userState_; } in userState() 92 ParseState &set_userState(UserState *u) { in set_userState() 219 UserState *userState_{nullptr};
|
D | instrumented-parser.h | 57 if (UserState * ustate{state.userState()}) { in Parse()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowUserManager.java | 70 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/ |
D | RobolectricTestUtilities.java | 53 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/ |
D | parsing.cpp | 95 UserState userState{allCooked_, common::LanguageFeatureControl{}}; in DumpCookedChars() 112 UserState userState{allCooked_, options_.features}; in Parse()
|
D | basic-parsers.h | 850 if (UserState * ustate{state.userState()}) { in Parse() 882 if (UserState * ustate{state.userState()}) { in Parse()
|
D | token-parsers.h | 610 if (UserState * ustate{state.userState()}) { in Parse()
|
/external/llvm/lib/CodeGen/ |
D | WinEHPrepare.cpp | 607 int UserState = FuncInfo.EHPadStateMap[ChildCleanup]; in calculateClrEHStateNumbers() local 609 FuncInfo.ClrEHUnwindMap[UserState].TryParentState; in calculateClrEHStateNumbers()
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | WinEHPrepare.cpp | 640 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/ |
D | WinEHPrepare.cpp | 618 int UserState = FuncInfo.EHPadStateMap[ChildCleanup]; in calculateClrEHStateNumbers() local 620 FuncInfo.ClrEHUnwindMap[UserState].TryParentState; in calculateClrEHStateNumbers()
|