Searched refs:onUserStateChange (Results 1 – 9 of 9) sorted by relevance
355 mWatchdogProcessService->onUserStateChange(userId, /*isStarted=*/true); in handleUserStateChange()359 mWatchdogPerfService->onUserStateChange(userId, userState); in handleUserStateChange()363 mWatchdogPerfService->onUserStateChange(userId, userState); in handleUserStateChange()367 mWatchdogPerfService->onUserStateChange(userId, userState); in handleUserStateChange()371 mWatchdogProcessService->onUserStateChange(userId, /*isStarted=*/false); in handleUserStateChange()
232 virtual android::base::Result<void> onUserStateChange(300 android::base::Result<void> onUserStateChange(
104 virtual void onUserStateChange(userid_t userId, bool isStarted) = 0;162 void onUserStateChange(userid_t userId, bool isStarted) override;
367 Result<void> WatchdogPerfService::onUserStateChange(userid_t userId, const UserState& userState) { in onUserStateChange() function in android::automotive::watchdog::WatchdogPerfService
483 void WatchdogProcessService::onUserStateChange(userid_t userId, bool isStarted) { in onUserStateChange() function in android::automotive::watchdog::WatchdogProcessService
481 EXPECT_CALL(*mMockWatchdogProcessService, onUserStateChange(234567, /*isStarted=*/true)); in TEST_F()496 onUserStateChange(234567, UserState::USER_STATE_SWITCHING)); in TEST_F()511 onUserStateChange(234567, UserState::USER_STATE_UNLOCKING)); in TEST_F()526 onUserStateChange(234567, UserState::USER_STATE_POST_UNLOCKED)); in TEST_F()540 EXPECT_CALL(*mMockWatchdogProcessService, onUserStateChange(234567, /*isStarted=*/false)); in TEST_F()565 EXPECT_CALL(*mMockWatchdogProcessService, onUserStateChange(_, _)).Times(0); in TEST_F()
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()1238 ASSERT_RESULT_OK(mService->onUserStateChange(100, UserState::USER_STATE_UNLOCKING)); in TEST_F()[all …]
45 MOCK_METHOD(android::base::Result<void>, onUserStateChange,
87 MOCK_METHOD(void, onUserStateChange, (userid_t, bool), (override));