/packages/modules/IntentResolver/tests/shared/src/com/android/intentresolver/data/repository/ |
D | FakeUserRepository.kt | 26 internal data class UserState(val user: User, val available: Boolean) in <lambda>() class 28 private val userState = MutableStateFlow(userList.map { UserState(it, available = true) }) in <lambda>() 37 userState.update { it + UserState(user, available) } in <lambda>() 54 UserState(user, available) in <lambda>()
|
/packages/services/Car/cpp/watchdog/server/src/ |
D | WatchdogInternalHandler.cpp | 46 using ::aidl::android::automotive::watchdog::internal::UserState; 307 UserState userState = static_cast<UserState>(static_cast<uint32_t>(arg2)); in notifySystemStateChange() 350 const UserState& userState) { in handleUserStateChange() 353 case UserState::USER_STATE_STARTED: in handleUserStateChange() 357 case UserState::USER_STATE_SWITCHING: in handleUserStateChange() 361 case UserState::USER_STATE_UNLOCKING: in handleUserStateChange() 365 case UserState::USER_STATE_POST_UNLOCKED: in handleUserStateChange() 369 case UserState::USER_STATE_STOPPED: in handleUserStateChange() 373 case UserState::USER_STATE_REMOVED: in handleUserStateChange()
|
D | WatchdogPerfService.cpp | 46 using ::aidl::android::automotive::watchdog::internal::UserState; 367 Result<void> WatchdogPerfService::onUserStateChange(userid_t userId, const UserState& userState) { in onUserStateChange() 384 case static_cast<int>(UserState::USER_STATE_SWITCHING): in onUserStateChange() 398 case static_cast<int>(UserState::USER_STATE_UNLOCKING): in onUserStateChange() 413 case static_cast<int>(UserState::USER_STATE_POST_UNLOCKED): { in onUserStateChange()
|
D | WatchdogPerfService.h | 234 const aidl::android::automotive::watchdog::internal::UserState& userState) = 0; 302 const aidl::android::automotive::watchdog::internal::UserState& userState) override;
|
D | WatchdogInternalHandler.h | 143 const aidl::android::automotive::watchdog::internal::UserState& userState);
|
/packages/services/Car/cpp/watchdog/server/tests/ |
D | WatchdogInternalHandlerTest.cpp | 58 using ::aidl::android::automotive::watchdog::internal::UserState; 486 static_cast<int32_t>(UserState::USER_STATE_STARTED)); in TEST_F() 496 onUserStateChange(234567, UserState::USER_STATE_SWITCHING)); in TEST_F() 501 UserState::USER_STATE_SWITCHING)); in TEST_F() 511 onUserStateChange(234567, UserState::USER_STATE_UNLOCKING)); in TEST_F() 516 UserState::USER_STATE_UNLOCKING)); in TEST_F() 526 onUserStateChange(234567, UserState::USER_STATE_POST_UNLOCKED)); in TEST_F() 531 UserState::USER_STATE_POST_UNLOCKED)); in TEST_F() 545 static_cast<int32_t>(UserState::USER_STATE_STOPPED)); in TEST_F() 559 static_cast<int32_t>(UserState::USER_STATE_REMOVED)); in TEST_F()
|
D | WatchdogPerfServiceTest.cpp | 57 using ::aidl::android::automotive::watchdog::internal::UserState; 871 ASSERT_RESULT_OK(mService->onUserStateChange(100, UserState::USER_STATE_SWITCHING)); in TEST_F() 909 ASSERT_RESULT_OK(mService->onUserStateChange(100, UserState::USER_STATE_POST_UNLOCKED)); in TEST_F() 950 ASSERT_RESULT_OK(mService->onUserStateChange(100, UserState::USER_STATE_SWITCHING)); in TEST_F() 1001 ASSERT_RESULT_OK(mService->onUserStateChange(100, UserState::USER_STATE_UNLOCKING)); in TEST_F() 1039 ASSERT_RESULT_OK(mService->onUserStateChange(100, UserState::USER_STATE_POST_UNLOCKED)); in TEST_F() 1079 ASSERT_RESULT_OK(mService->onUserStateChange(toUserId, UserState::USER_STATE_SWITCHING)); in TEST_F() 1109 ASSERT_RESULT_OK(mService->onUserStateChange(newToUserId, UserState::USER_STATE_SWITCHING)); in TEST_F() 1147 ASSERT_RESULT_OK(mService->onUserStateChange(newToUserId, UserState::USER_STATE_POST_UNLOCKED)); in TEST_F() 1188 ASSERT_RESULT_OK(mService->onUserStateChange(100, UserState::USER_STATE_SWITCHING)); in TEST_F() [all …]
|
D | MockWatchdogPerfService.h | 46 (userid_t userId, const aidl::android::automotive::watchdog::internal::UserState&),
|
/packages/services/Car/service/src/com/android/car/watchdog/ |
D | CarWatchdogService.java | 49 import android.automotive.watchdog.internal.UserState; 192 userId, UserState.USER_STATE_REMOVED); 624 ? UserState.USER_STATE_STARTED in notifyAllUserStates() 625 : UserState.USER_STATE_STOPPED; in notifyAllUserStates() 629 userState == UserState.USER_STATE_STOPPED); in notifyAllUserStates() 785 userState = UserState.USER_STATE_STARTED; in subscribeUserStateChange() 789 userState = UserState.USER_STATE_SWITCHING; in subscribeUserStateChange() 793 userState = UserState.USER_STATE_UNLOCKING; in subscribeUserStateChange() 797 userState = UserState.USER_STATE_POST_UNLOCKED; in subscribeUserStateChange() 802 userState = UserState.USER_STATE_STOPPED; in subscribeUserStateChange()
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog/3/android/automotive/watchdog/ |
D | UserState.aidl | 39 enum UserState { enum
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog/current/android/automotive/watchdog/ |
D | UserState.aidl | 39 enum UserState { enum
|
/packages/services/Car/cpp/watchdog/aidl/android/automotive/watchdog/ |
D | UserState.aidl | 27 enum UserState { enum
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog/2/android/automotive/watchdog/ |
D | UserState.aidl | 20 enum UserState { enum
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog/1/android/automotive/watchdog/ |
D | UserState.aidl | 20 enum UserState { enum
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/1/android/automotive/watchdog/internal/ |
D | UserState.aidl | 36 enum UserState { enum
|
/packages/services/Car/cpp/watchdog/aidl/android/automotive/watchdog/internal/ |
D | UserState.aidl | 23 enum UserState { enum
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/current/android/automotive/watchdog/internal/ |
D | UserState.aidl | 36 enum UserState { enum
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/3/android/automotive/watchdog/internal/ |
D | UserState.aidl | 36 enum UserState { enum
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/2/android/automotive/watchdog/internal/ |
D | UserState.aidl | 36 enum UserState { enum
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/ |
D | CarWatchdogServiceUnitTest.java | 91 import android.automotive.watchdog.internal.UserState; 421 UserState.USER_STATE_STOPPED); in testWatchdogDaemonRestart() 423 UserState.USER_STATE_STARTED); in testWatchdogDaemonRestart() 444 UserState.USER_STATE_SWITCHING); in testUserSwitchingLifecycleEvents() 446 UserState.USER_STATE_UNLOCKING); in testUserSwitchingLifecycleEvents() 448 UserState.USER_STATE_POST_UNLOCKED); in testUserSwitchingLifecycleEvents() 458 UserState.USER_STATE_REMOVED); in testUserRemovedBroadcast()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | RunningState.java | 338 static class UserState { class in RunningState 611 UserState mUser; 893 userItem.mUser = new UserState(); in addOtherUserItem()
|