/packages/services/Car/cpp/watchdog/server/tests/ |
D | IoOveruseMonitorTest.cpp | 371 ASSERT_RESULT_OK(mIoOveruseMonitor->onPeriodicCollection(currentTime, SystemState::NORMAL_MODE, in TEST_F() 418 ASSERT_RESULT_OK(mIoOveruseMonitor->onPeriodicCollection(currentTime, SystemState::NORMAL_MODE, in TEST_F() 473 ASSERT_RESULT_OK(mIoOveruseMonitor->onPeriodicCollection(currentTime, SystemState::NORMAL_MODE, in TEST_F() 536 ASSERT_RESULT_OK(mIoOveruseMonitor->onPeriodicCollection(currentTime, SystemState::GARAGE_MODE, in TEST_F() 595 SystemState::NORMAL_MODE, mMockUidStatsCollector, in TEST_F() 617 ASSERT_RESULT_OK(mIoOveruseMonitor->onPeriodicCollection(currentTime, SystemState::NORMAL_MODE, in TEST_F() 655 ASSERT_RESULT_OK(mIoOveruseMonitor->onPeriodicCollection(currentTime, SystemState::GARAGE_MODE, in TEST_F() 699 ASSERT_RESULT_OK(mIoOveruseMonitor->onPeriodicCollection(currentTime, SystemState::NORMAL_MODE, in TEST_F() 748 ASSERT_RESULT_OK(mIoOveruseMonitor->onPeriodicCollection(currentTime, SystemState::NORMAL_MODE, in TEST_F() 797 SystemState::NORMAL_MODE, mMockUidStatsCollector, in TEST_F() [all …]
|
D | WatchdogPerfServiceTest.cpp | 292 EXPECT_CALL(*mMockDataProcessor, onPeriodicCollection(_, SystemState::NORMAL_MODE, _, _, _)) in skipPeriodicCollection() 496 onPeriodicCollection(_, SystemState::NORMAL_MODE, Eq(mMockUidStatsCollector), in TEST_F() 553 onCustomCollection(_, SystemState::NORMAL_MODE, _, Eq(mMockUidStatsCollector), in TEST_F() 587 onCustomCollection(_, SystemState::NORMAL_MODE, _, Eq(mMockUidStatsCollector), in TEST_F() 620 onPeriodicCollection(_, SystemState::NORMAL_MODE, Eq(mMockUidStatsCollector), in TEST_F() 778 onCustomCollection(_, SystemState::NORMAL_MODE, in TEST_F() 827 onCustomCollection(_, SystemState::NORMAL_MODE, in TEST_F() 1289 onPeriodicCollection(_, SystemState::NORMAL_MODE, Eq(mMockUidStatsCollector), in TEST_F() 1328 onCustomCollection(_, SystemState::NORMAL_MODE, _, Eq(mMockUidStatsCollector), in TEST_F() 1433 onCustomCollection(_, SystemState::NORMAL_MODE, _, Eq(mMockUidStatsCollector), in TEST_F() [all …]
|
D | MockDataProcessor.h | 48 (time_point_millis, SystemState, const wp<UidStatsCollectorInterface>&, 57 (time_point_millis, SystemState, const std::unordered_set<std::string>&,
|
D | PerformanceProfilerTest.cpp | 1588 ASSERT_RESULT_OK(mCollector->onPeriodicCollection(getNowMillis(), SystemState::NORMAL_MODE, in TEST_F() 1614 ASSERT_RESULT_OK(mCollector->onPeriodicCollection(getNowMillis(), SystemState::NORMAL_MODE, in TEST_F() 1639 ASSERT_RESULT_OK(mCollector->onCustomCollection(getNowMillis(), SystemState::NORMAL_MODE, {}, in TEST_F() 1675 ASSERT_RESULT_OK(mCollector->onCustomCollection(getNowMillis(), SystemState::NORMAL_MODE, in TEST_F() 1779 ASSERT_RESULT_OK(mCollector->onPeriodicCollection(getNowMillis(), SystemState::NORMAL_MODE, in TEST_F() 1837 ASSERT_RESULT_OK(mCollector->onPeriodicCollection(getNowMillis(), SystemState::NORMAL_MODE, in TEST_F() 1845 ASSERT_RESULT_OK(mCollector->onPeriodicCollection(getNowMillis(), SystemState::NORMAL_MODE, in TEST_F() 1865 ASSERT_RESULT_OK(mCollector->onPeriodicCollection(getNowMillis(), SystemState::NORMAL_MODE, in TEST_F() 1898 ASSERT_RESULT_OK(mCollector->onPeriodicCollection(getNowMillis(), SystemState::NORMAL_MODE, in TEST_F() 1924 ASSERT_RESULT_OK(mCollector->onPeriodicCollection(getNowMillis(), SystemState::NORMAL_MODE, in TEST_F() [all …]
|
D | MockWatchdogPerfService.h | 42 MOCK_METHOD(void, setSystemState, (SystemState), (override));
|
D | WatchdogInternalHandlerTest.cpp | 452 EXPECT_CALL(*mMockWatchdogPerfService, setSystemState(SystemState::GARAGE_MODE)).Times(1); in TEST_F() 466 EXPECT_CALL(*mMockWatchdogPerfService, setSystemState(SystemState::NORMAL_MODE)).Times(1); in TEST_F()
|
/packages/services/Car/cpp/watchdog/server/src/ |
D | WatchdogPerfService.h | 70 enum SystemState { enum 117 time_point_millis time, SystemState systemState, 132 time_point_millis time, SystemState systemState, 225 virtual void setSystemState(SystemState systemState) = 0; 294 void setSystemState(SystemState systemState) override; 420 SystemState mSystemState GUARDED_BY(mMutex);
|
D | PerformanceProfiler.h | 274 time_point_millis time, SystemState systemState, 285 time_point_millis time, SystemState systemState, 351 time_point_millis time, SystemState systemState,
|
D | IoOveruseMonitor.h | 167 time_point_millis time, SystemState systemState, 173 time_point_millis time, SystemState systemState,
|
D | PerformanceProfiler.cpp | 1035 return processLocked(time, SystemState::NORMAL_MODE, std::unordered_set<std::string>(), in onBoottimeCollection() 1041 time_point_millis time, SystemState systemState, in onPeriodicCollection() 1082 return processLocked(time, SystemState::NORMAL_MODE, std::unordered_set<std::string>(), in onUserSwitchCollection() 1097 return processLocked(time, SystemState::NORMAL_MODE, std::unordered_set<std::string>(), in onWakeUpCollection() 1103 time_point_millis time, SystemState systemState, in onCustomCollection() 1119 time_point_millis time, SystemState systemState, in processLocked() 1133 bool isGarageModeActive = systemState == SystemState::GARAGE_MODE; in processLocked()
|
D | WatchdogPerfService.cpp | 159 constexpr const char* toString(SystemState systemState) { in toString() 161 case SystemState::NORMAL_MODE: in toString() 163 case SystemState::GARAGE_MODE: in toString() 324 void WatchdogPerfService::setSystemState(SystemState systemState) { in setSystemState()
|
D | WatchdogInternalHandler.cpp | 301 ? SystemState::NORMAL_MODE in notifySystemStateChange() 302 : SystemState::GARAGE_MODE); in notifySystemStateChange()
|
D | IoOveruseMonitor.cpp | 252 time_point_millis time, SystemState systemState, in onPeriodicCollection() 287 bool isGarageModeActive = systemState == SystemState::GARAGE_MODE; in onPeriodicCollection() 401 time_point_millis time, SystemState systemState, in onCustomCollection()
|
/packages/services/Car/service/proto/android/car/watchdog/ |
D | atoms.proto | 44 enum SystemState { enum 50 optional SystemState system_state = 3;
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/ |
D | WatchdogPerfHandlerUnitTest.java | 4402 .setSystemState(AtomsProto.CarWatchdogKillStatsReported.SystemState.forNumber(
|