/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/ |
D | WatchdogProcessHandlerUnitTest.java | 19 import static android.car.watchdog.CarWatchdogManager.TIMEOUT_CRITICAL; 136 mWatchdogProcessHandler.registerClient(client, TIMEOUT_CRITICAL); in testRegisterClient() 139 mWatchdogProcessHandler.getClientCount(TIMEOUT_CRITICAL)).isEqualTo(1); in testRegisterClient() 155 mWatchdogProcessHandler.registerClient(client, TIMEOUT_CRITICAL); in testDoubleRegisterClient() 158 () -> mWatchdogProcessHandler.registerClient(client, TIMEOUT_CRITICAL)); in testDoubleRegisterClient() 165 mWatchdogProcessHandler.registerClient(client, TIMEOUT_CRITICAL); in testUnregisterClient() 168 mWatchdogProcessHandler.getClientCount(TIMEOUT_CRITICAL)).isEqualTo(1); in testUnregisterClient() 173 mWatchdogProcessHandler.getClientCount(TIMEOUT_CRITICAL)).isEqualTo(0); in testUnregisterClient() 294 mWatchdogProcessHandler.registerClient(client, TIMEOUT_CRITICAL); in testClientHealthCheck()
|
D | CarWatchdogManagerUnitTest.java | 21 import static android.car.watchdog.CarWatchdogManager.TIMEOUT_CRITICAL; 129 clientImpl.onCheckHealthStatus(123456, TIMEOUT_CRITICAL); in testRegisterClient() 136 mCarWatchdogManager.registerClient(mExecutor, client, TIMEOUT_CRITICAL); in testUnregisterUnregisteredClient() 146 mCarWatchdogManager.registerClient(mExecutor, client1, TIMEOUT_CRITICAL); in testRegisterMultipleClients() 148 () -> mCarWatchdogManager.registerClient(mExecutor, client2, TIMEOUT_CRITICAL)); in testRegisterMultipleClients() 168 }).when(mService).registerClient(any(), eq(TIMEOUT_CRITICAL)); in testRegisterUnregisterClientRaceConditionPostUdc() 195 clientImpl.onCheckHealthStatus(123456, TIMEOUT_CRITICAL); in testRegisterUnregisterClientRaceConditionPostUdc() 216 }).when(mService).registerClient(any(), eq(TIMEOUT_CRITICAL)); in testRegisterUnregisterClientRaceConditionPreVic() 242 clientImpl.onCheckHealthStatus(123456, TIMEOUT_CRITICAL); in testRegisterUnregisterClientRaceConditionPreVic() 727 mCarWatchdogManager.registerClient(mExecutor, client, TIMEOUT_CRITICAL); in registerClient() [all …]
|
D | CarWatchdogServiceUnitTest.java | 31 import static android.car.watchdog.CarWatchdogManager.TIMEOUT_CRITICAL; 339 mWatchdogServiceForSystemImpl.checkIfAlive(123456, TIMEOUT_CRITICAL); in testCarWatchdogServiceHealthCheck() 348 mCarWatchdogService.tellClientAlive(client, TIMEOUT_CRITICAL); in testTellClientAlive() 350 verify(mMockWatchdogProcessHandler).tellClientAlive(eq(client), eq(TIMEOUT_CRITICAL)); in testTellClientAlive() 357 mCarWatchdogService.registerClient(client, TIMEOUT_CRITICAL); in testRegisterClient() 359 verify(mMockWatchdogProcessHandler).registerClient(eq(client), eq(TIMEOUT_CRITICAL)); in testRegisterClient() 366 mCarWatchdogService.registerClient(client, TIMEOUT_CRITICAL); in testUnregisterClient()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/watchdog/ |
D | CarWatchdogServiceTest.java | 22 import static android.car.watchdog.CarWatchdogManager.TIMEOUT_CRITICAL; 178 assertThat(mCarWatchdogService.getClientCount(TIMEOUT_CRITICAL)).isEqualTo(1); in testRegisterUnregisterClient() 180 assertThat(mCarWatchdogService.getClientCount(TIMEOUT_CRITICAL)).isEqualTo(0); in testRegisterUnregisterClient() 205 mWatchdogServiceForSystemImpl.checkIfAlive(123456, TIMEOUT_CRITICAL); in testClientUnderStoppedUser() 210 mWatchdogServiceForSystemImpl.checkIfAlive(987654, TIMEOUT_CRITICAL); in testClientUnderStoppedUser() 230 mWatchdogServiceForSystemImpl.checkIfAlive(123456, TIMEOUT_CRITICAL); in testMultipleClients() 239 mWatchdogServiceForSystemImpl.checkIfAlive(987654, TIMEOUT_CRITICAL); in testMultipleClients() 263 mWatchdogServiceForSystemImpl.checkIfAlive(123456, TIMEOUT_CRITICAL); in testClientResponse() 281 mWatchdogServiceForSystemImpl.checkIfAlive(987654, TIMEOUT_CRITICAL); in testClientResponse() 314 mCarWatchdogManager.registerClient(mExecutor, mAndroidClient, TIMEOUT_CRITICAL); in registerClient()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/ |
D | CarWatchdogClient.java | 34 private static final String TIMEOUT_CRITICAL = "critical"; field in CarWatchdogClient 92 case TIMEOUT_CRITICAL: in parseCommand() 93 timeout = CarWatchdogManager.TIMEOUT_CRITICAL; in parseCommand() 175 case CarWatchdogManager.TIMEOUT_CRITICAL: in getTimeForInactiveMain()
|
/packages/services/Car/cpp/watchdog/server/tests/ |
D | WatchdogProcessServiceTest.cpp | 144 {TimeoutLength::TIMEOUT_CRITICAL, clientInfoMap}); in setWatchdogProcessServiceState() 408 auto status = mWatchdogProcessService->registerClient(client, TimeoutLength::TIMEOUT_CRITICAL); in TEST_F() 412 status = mWatchdogProcessService->registerClient(client, TimeoutLength::TIMEOUT_CRITICAL); in TEST_F() 422 auto status = mWatchdogProcessService->registerClient(client, TimeoutLength::TIMEOUT_CRITICAL); in TEST_F() 441 mWatchdogProcessService->registerClient(client, TimeoutLength::TIMEOUT_CRITICAL).isOk()) in TEST_F() 450 auto status = mWatchdogProcessService->registerClient(client, TimeoutLength::TIMEOUT_CRITICAL); in TEST_F() 568 mWatchdogProcessService->registerClient(client, TimeoutLength::TIMEOUT_CRITICAL); in TEST_F() 820 ->hasClientInfoWithPackageName(TimeoutLength::TIMEOUT_CRITICAL, "shell")); in TEST_F() 822 auto status = mWatchdogProcessService->registerClient(client, TimeoutLength::TIMEOUT_CRITICAL); in TEST_F() 825 ->hasClientInfoWithPackageName(TimeoutLength::TIMEOUT_CRITICAL, "shell")); in TEST_F() [all …]
|
D | WatchdogServiceHelperTest.cpp | 300 checkIfAlive(0, InternalTimeoutLength::TIMEOUT_CRITICAL)) in TEST_F() 304 0, TimeoutLength::TIMEOUT_CRITICAL); in TEST_F() 317 TimeoutLength::TIMEOUT_CRITICAL); in TEST_F() 327 0, TimeoutLength::TIMEOUT_CRITICAL); in TEST_F() 336 checkIfAlive(0, InternalTimeoutLength::TIMEOUT_CRITICAL)) in TEST_F() 341 0, TimeoutLength::TIMEOUT_CRITICAL); in TEST_F()
|
/packages/services/Car/service/src/com/android/car/watchdog/ |
D | WatchdogProcessHandler.java | 19 import static android.car.watchdog.CarWatchdogManager.TIMEOUT_CRITICAL; 62 { TIMEOUT_CRITICAL, TIMEOUT_MODERATE, TIMEOUT_NORMAL }; 376 analyzeClientResponse(TIMEOUT_CRITICAL); in doHealthCheck() 378 sendPingToClients(TIMEOUT_CRITICAL); in doHealthCheck() 509 case TIMEOUT_CRITICAL: in timeoutToString() 526 case TIMEOUT_CRITICAL: in getTimeoutDurationMs()
|
/packages/services/Car/cpp/watchdog/vts/ |
D | VtsAidlWatchdogTargetTest.cpp | 126 watchdogServer->registerClient(mockClient, TimeoutLength::TIMEOUT_CRITICAL); in TEST_P() 130 mockClient->waitCheckIfAlive(TimeoutLength::TIMEOUT_CRITICAL, &sessionId)); in TEST_P() 138 ASSERT_FALSE(watchdogServer->registerClient(nullptr, TimeoutLength::TIMEOUT_CRITICAL).isOk()) in TEST_P()
|
/packages/services/Car/cpp/watchdog/server/src/ |
D | WatchdogProcessService.cpp | 96 const std::vector<TimeoutLength> kTimeouts = {TimeoutLength::TIMEOUT_CRITICAL, 114 constexpr TimeoutLength kCarWatchdogServiceTimeoutDelay = TimeoutLength::TIMEOUT_CRITICAL; 204 case TimeoutLength::TIMEOUT_CRITICAL: in toProtoHealthCheckTimeout() 219 case TimeoutLength::TIMEOUT_CRITICAL: in timeoutToString() 342 std::vector<TimeoutLength> timeouts = {TimeoutLength::TIMEOUT_CRITICAL}; in unregisterCarWatchdogService() 583 getTimeoutDurationNs(TimeoutLength::TIMEOUT_CRITICAL)) in onDumpProto() 1012 auto durationNs = getTimeoutDurationNs(TimeoutLength::TIMEOUT_CRITICAL); in reportWatchdogAliveToVhal() 1341 case TimeoutLength::TIMEOUT_CRITICAL: in getTimeoutDurationNs() 1443 case static_cast<int>(TimeoutLength::TIMEOUT_CRITICAL): in handleMessage()
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/current/android/automotive/watchdog/internal/ |
D | TimeoutLength.aidl | 37 TIMEOUT_CRITICAL, enumConstant
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/2/android/automotive/watchdog/internal/ |
D | TimeoutLength.aidl | 37 TIMEOUT_CRITICAL = 0, enumConstant
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/1/android/automotive/watchdog/internal/ |
D | TimeoutLength.aidl | 37 TIMEOUT_CRITICAL = 0, enumConstant
|
/packages/services/Car/cpp/watchdog/aidl/android/automotive/watchdog/ |
D | TimeoutLength.aidl | 31 TIMEOUT_CRITICAL, enumConstant
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/3/android/automotive/watchdog/internal/ |
D | TimeoutLength.aidl | 37 TIMEOUT_CRITICAL, enumConstant
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog/current/android/automotive/watchdog/ |
D | TimeoutLength.aidl | 37 TIMEOUT_CRITICAL = 0, enumConstant
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog/3/android/automotive/watchdog/ |
D | TimeoutLength.aidl | 37 TIMEOUT_CRITICAL = 0, enumConstant
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog/1/android/automotive/watchdog/ |
D | TimeoutLength.aidl | 21 TIMEOUT_CRITICAL = 0, enumConstant
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog/2/android/automotive/watchdog/ |
D | TimeoutLength.aidl | 21 TIMEOUT_CRITICAL = 0, enumConstant
|
/packages/services/Car/cpp/watchdog/aidl/android/automotive/watchdog/internal/ |
D | TimeoutLength.aidl | 30 TIMEOUT_CRITICAL, enumConstant
|
/packages/services/Car/cpp/watchdog/testclient/src/ |
D | WatchdogClient.cpp | 41 {{"critical", TimeoutLength::TIMEOUT_CRITICAL},
|
/packages/services/Car/car-lib/src/android/car/watchdog/ |
D | CarWatchdogManager.java | 69 public static final int TIMEOUT_CRITICAL = 0; field in CarWatchdogManager 90 TIMEOUT_CRITICAL,
|
/packages/services/Car/tools/GenericCarApiBuilder/ |
D | complete_car_api_list.txt | 2805 field TIRAMISU_0 int TIMEOUT_CRITICAL = 0;
|
/packages/services/Car/car-lib-module/api/ |
D | system-current.txt | 2855 field public static final int TIMEOUT_CRITICAL = 0; // 0x0
|
/packages/services/Car/car-lib/api/ |
D | system-current.txt | 2855 field public static final int TIMEOUT_CRITICAL = 0; // 0x0
|