Searched refs:mWatchdogProcessService (Results 1 – 9 of 9) sorted by relevance
/aosp12/packages/services/Car/cpp/watchdog/server/tests/ |
H A D | WatchdogProcessServiceTest.cpp | 67 mWatchdogProcessService = new WatchdogProcessService(looper); in SetUp() 70 void TearDown() override { mWatchdogProcessService.clear(); } in TearDown() 72 sp<WatchdogProcessService> mWatchdogProcessService; member in android::automotive::watchdog::WatchdogProcessServiceTest 121 Status status = mWatchdogProcessService->unregisterClient(client); in TEST_F() 144 status = mWatchdogProcessService->registerCarWatchdogService(binder); in TEST_F() 161 Status status = mWatchdogProcessService->registerMonitor(monitorOne); in TEST_F() 163 status = mWatchdogProcessService->registerMonitor(monitorOne); in TEST_F() 165 status = mWatchdogProcessService->registerMonitor(monitorTwo); in TEST_F() 177 mWatchdogProcessService->registerMonitor(monitor); in TEST_F() 178 Status status = mWatchdogProcessService->unregisterMonitor(monitor); in TEST_F() [all …]
|
H A D | WatchdogBinderMediatorTest.cpp | 130 ASSERT_NE(mediator->mWatchdogProcessService, nullptr); in TEST_F() 166 EXPECT_NE(mWatchdogBinderMediator->mWatchdogProcessService, nullptr); in TEST_F() 173 EXPECT_EQ(mWatchdogBinderMediator->mWatchdogProcessService, nullptr); in TEST_F()
|
H A D | WatchdogInternalHandlerTest.cpp | 145 ASSERT_NE(mWatchdogInternalHandler->mWatchdogProcessService, nullptr); in TEST_F() 153 ASSERT_EQ(mWatchdogInternalHandler->mWatchdogProcessService, nullptr); in TEST_F()
|
/aosp12/packages/services/Car/cpp/watchdog/server/src/ |
H A D | WatchdogInternalHandler.cpp | 121 return mWatchdogProcessService->registerMonitor(monitor); in registerMonitor() 132 return mWatchdogProcessService->unregisterMonitor(monitor); in unregisterMonitor() 145 return mWatchdogProcessService->tellCarWatchdogServiceAlive(service, clientsNotResponding, in tellCarWatchdogServiceAlive() 157 return mWatchdogProcessService->tellDumpFinished(monitor, pid); in tellDumpFinished() 209 mWatchdogProcessService->setEnabled(/*isEnabled=*/false); in handlePowerCycleChange() 214 mWatchdogProcessService->setEnabled(/*isEnabled=*/false); in handlePowerCycleChange() 218 mWatchdogProcessService->setEnabled(/*isEnabled=*/true); in handlePowerCycleChange() 233 mWatchdogProcessService->notifyUserStateChange(userId, /*isStarted=*/true); in handleUserStateChange() 237 mWatchdogProcessService->notifyUserStateChange(userId, /*isStarted=*/false); in handleUserStateChange() 286 mWatchdogProcessService->setEnabled(!disable); in controlProcessHealthCheck()
|
H A D | WatchdogServiceHelper.cpp | 56 mWatchdogProcessService = watchdogProcessService; in init() 57 return mWatchdogProcessService->registerWatchdogServiceHelper(this); in init() 67 if (mWatchdogProcessService == nullptr) { in registerService() 82 if (Status status = mWatchdogProcessService->registerCarWatchdogService(newBinder); in registerService() 111 mWatchdogProcessService->unregisterCarWatchdogService(curBinder); in binderDied() 117 mWatchdogProcessService.clear(); in terminate() 177 mWatchdogProcessService->unregisterCarWatchdogService(binder); in unregisterServiceLocked()
|
H A D | WatchdogBinderMediator.cpp | 85 mWatchdogProcessService(watchdogProcessService), in WatchdogBinderMediator() 95 mWatchdogProcessService, mWatchdogPerfService, in WatchdogBinderMediator() 101 if (mWatchdogProcessService == nullptr || mWatchdogPerfService == nullptr || in init() 104 if (mWatchdogProcessService == nullptr) { in init() 178 if (auto result = mWatchdogProcessService->dump(fd, args); !result.ok()) { in dumpServices() 210 return mWatchdogProcessService->registerClient(client, timeout); in registerClient() 217 return mWatchdogProcessService->unregisterClient(client); in unregisterClient() 225 return mWatchdogProcessService->tellClientAlive(client, sessionId); in tellClientAlive()
|
H A D | WatchdogInternalHandler.h | 53 mWatchdogProcessService(watchdogProcessService), in WatchdogInternalHandler() 97 mWatchdogProcessService.clear(); in terminate() 113 android::sp<WatchdogProcessService> mWatchdogProcessService; variable
|
H A D | WatchdogBinderMediator.h | 105 mWatchdogProcessService.clear(); in terminate() 118 android::sp<WatchdogProcessService> mWatchdogProcessService; variable
|
H A D | WatchdogServiceHelper.h | 91 WatchdogServiceHelper() : mService(nullptr), mWatchdogProcessService(nullptr) {} in WatchdogServiceHelper() 131 android::sp<WatchdogProcessService> mWatchdogProcessService; variable
|