Home
last modified time | relevance | path

Searched refs:mCarWatchdogService (Results 1 – 5 of 5) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/
DCarWatchdogServiceUnitTest.java68 private CarWatchdogService mCarWatchdogService; field in CarWatchdogServiceUnitTest
76 mCarWatchdogService = new CarWatchdogService(mMockContext); in setUpMocks()
79 mCarWatchdogService.init(); in setUpMocks()
93 mCarWatchdogService.registerClient(client, TIMEOUT_CRITICAL); in testRegisterClient()
111 mCarWatchdogService.registerClient(client, TIMEOUT_CRITICAL); in testUnregisterUnregisteredClient()
112 mCarWatchdogService.unregisterClient(client); in testUnregisterUnregisteredClient()
150 mCarWatchdogService.registerClient(client, TIMEOUT_CRITICAL); in testClientHealthCheck()
168 mCarWatchdogService.tellClientAlive(this, sessionId); in checkIfAlive()
/packages/services/Car/tests/carservice_test/src/com/android/car/watchdog/
DCarWatchdogServiceTest.java92 private CarWatchdogService mCarWatchdogService; field in CarWatchdogServiceTest
97 mCarWatchdogService = new CarWatchdogService(mMockContext); in setUpMocks()
101 when(mServiceBinder.queryLocalInterface(anyString())).thenReturn(mCarWatchdogService); in setUpMocks()
107 mCarWatchdogService.init(); in setUpMocks()
122 assertThat(mCarWatchdogService.getClientCount(TIMEOUT_CRITICAL)).isEqualTo(1); in testRegisterUnregisterClient()
124 assertThat(mCarWatchdogService.getClientCount(TIMEOUT_CRITICAL)).isEqualTo(0); in testRegisterUnregisterClient()
/packages/services/Car/service/src/com/android/car/
DICarImpl.java120 private final CarWatchdogService mCarWatchdogService; field in ICarImpl
255 mCarWatchdogService = new CarWatchdogService(serviceContext); in ICarImpl()
257 mCarWatchdogService = carWatchdogService; in ICarImpl()
305 allServices.add(mCarWatchdogService); in ICarImpl()
531 return mCarWatchdogService; in getCarService()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DICarImplTest.java88 @Mock private CarWatchdogService mCarWatchdogService; field in ICarImplTest
169 mCarWatchdogService); in testNoShardedPreferencesAccessedBeforeUserZeroUnlock()
DMockedCarTestBase.java108 private final CarWatchdogService mCarWatchdogService = mock(CarWatchdogService.class); field in MockedCarTestBase
219 /* errorNotifier= */ null , "MockedCar", mCarUserService, mCarWatchdogService); in setUp()