Home
last modified time | relevance | path

Searched refs:TIMEOUT_CRITICAL (Results 1 – 25 of 27) sorted by relevance

12

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/
DWatchdogProcessHandlerUnitTest.java19 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()
DCarWatchdogManagerUnitTest.java21 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 …]
DCarWatchdogServiceUnitTest.java31 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/
DCarWatchdogServiceTest.java22 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/
DCarWatchdogClient.java34 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/
DWatchdogProcessServiceTest.cpp144 {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 …]
DWatchdogServiceHelperTest.cpp300 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/
DWatchdogProcessHandler.java19 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/
DVtsAidlWatchdogTargetTest.cpp126 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/
DWatchdogProcessService.cpp96 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/
DTimeoutLength.aidl37 TIMEOUT_CRITICAL, enumConstant
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/2/android/automotive/watchdog/internal/
DTimeoutLength.aidl37 TIMEOUT_CRITICAL = 0, enumConstant
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/1/android/automotive/watchdog/internal/
DTimeoutLength.aidl37 TIMEOUT_CRITICAL = 0, enumConstant
/packages/services/Car/cpp/watchdog/aidl/android/automotive/watchdog/
DTimeoutLength.aidl31 TIMEOUT_CRITICAL, enumConstant
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/3/android/automotive/watchdog/internal/
DTimeoutLength.aidl37 TIMEOUT_CRITICAL, enumConstant
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog/current/android/automotive/watchdog/
DTimeoutLength.aidl37 TIMEOUT_CRITICAL = 0, enumConstant
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog/3/android/automotive/watchdog/
DTimeoutLength.aidl37 TIMEOUT_CRITICAL = 0, enumConstant
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog/1/android/automotive/watchdog/
DTimeoutLength.aidl21 TIMEOUT_CRITICAL = 0, enumConstant
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog/2/android/automotive/watchdog/
DTimeoutLength.aidl21 TIMEOUT_CRITICAL = 0, enumConstant
/packages/services/Car/cpp/watchdog/aidl/android/automotive/watchdog/internal/
DTimeoutLength.aidl30 TIMEOUT_CRITICAL, enumConstant
/packages/services/Car/cpp/watchdog/testclient/src/
DWatchdogClient.cpp41 {{"critical", TimeoutLength::TIMEOUT_CRITICAL},
/packages/services/Car/car-lib/src/android/car/watchdog/
DCarWatchdogManager.java69 public static final int TIMEOUT_CRITICAL = 0; field in CarWatchdogManager
90 TIMEOUT_CRITICAL,
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_api_list.txt2805 field TIRAMISU_0 int TIMEOUT_CRITICAL = 0;
/packages/services/Car/car-lib-module/api/
Dsystem-current.txt2855 field public static final int TIMEOUT_CRITICAL = 0; // 0x0
/packages/services/Car/car-lib/api/
Dsystem-current.txt2855 field public static final int TIMEOUT_CRITICAL = 0; // 0x0

12