Searched refs:mWatchdogProcessService (Results 1 – 11 of 11) sorted by relevance
/packages/services/Car/cpp/watchdog/server/tests/ |
D | WatchdogProcessServiceTest.cpp | 108 mWatchdogProcessService(watchdogProcessService) {} in WatchdogProcessServicePeer() 111 Mutex::Autolock lock(mWatchdogProcessService->mMutex); in expectVhalProcessIdentifier() 112 EXPECT_TRUE(mWatchdogProcessService->mVhalProcessIdentifier.has_value()); in expectVhalProcessIdentifier() 113 EXPECT_THAT(mWatchdogProcessService->mVhalProcessIdentifier.value(), matcher); in expectVhalProcessIdentifier() 117 EXPECT_FALSE(mWatchdogProcessService->mVhalProcessIdentifier.has_value()); in expectNoVhalProcessIdentifier() 128 Mutex::Autolock lock(mWatchdogProcessService->mMutex); in setWatchdogProcessServiceState() 129 mWatchdogProcessService->mIsEnabled = isEnabled; in setWatchdogProcessServiceState() 130 mWatchdogProcessService->mMonitor = monitor; in setWatchdogProcessServiceState() 131 mWatchdogProcessService->mOverriddenClientHealthCheckWindowNs = in setWatchdogProcessServiceState() 133 mWatchdogProcessService->mStoppedUserIds = stoppedUserIds; in setWatchdogProcessServiceState() [all …]
|
D | WatchdogInternalHandlerTest.cpp | 180 ASSERT_NE(mWatchdogInternalHandler->mWatchdogProcessService, nullptr); in TEST_F() 187 ASSERT_EQ(mWatchdogInternalHandler->mWatchdogProcessService, nullptr); in TEST_F()
|
D | WatchdogBinderMediatorTest.cpp | 133 ASSERT_NE(mediator->mWatchdogProcessService, nullptr); in TEST_F()
|
/packages/services/Car/cpp/watchdog/server/src/ |
D | ServiceManager.cpp | 40 mWatchdogProcessService != nullptr || mWatchdogPerfService != nullptr) { in startServices() 54 if (auto result = mWatchdogServiceHelper->init(mWatchdogProcessService); !result.ok()) { in startServices() 71 SharedRefBase::make<WatchdogBinderMediator>(mWatchdogProcessService, in startServices() 82 if (mWatchdogProcessService != nullptr) { in terminateServices() 83 mWatchdogProcessService->terminate(); in terminateServices() 84 mWatchdogProcessService.clear(); in terminateServices() 107 mWatchdogProcessService = sp<WatchdogProcessService>::make(mainLooper); in startWatchdogProcessService() 108 if (auto result = mWatchdogProcessService->start(); !result.ok()) { in startWatchdogProcessService()
|
D | WatchdogInternalHandler.cpp | 153 mWatchdogProcessService->onDump(fd); in dumpServices() 172 mWatchdogProcessService->onDumpProto(proto); in dumpProto() 248 return mWatchdogProcessService->registerMonitor(monitor); in registerMonitor() 259 return mWatchdogProcessService->unregisterMonitor(monitor); in unregisterMonitor() 272 return mWatchdogProcessService->tellCarWatchdogServiceAlive(service, clientsNotResponding, in tellCarWatchdogServiceAlive() 285 return mWatchdogProcessService->tellDumpFinished(monitor, processIdentifier); in tellDumpFinished() 327 mWatchdogProcessService->setEnabled(/*isEnabled=*/false); in handlePowerCycleChange() 331 mWatchdogProcessService->setEnabled(/*isEnabled=*/false); in handlePowerCycleChange() 340 mWatchdogProcessService->setEnabled(/*isEnabled=*/true); in handlePowerCycleChange() 355 mWatchdogProcessService->onUserStateChange(userId, /*isStarted=*/true); in handleUserStateChange() [all …]
|
D | WatchdogServiceHelper.cpp | 63 mWatchdogProcessService(nullptr), in WatchdogServiceHelper() 74 mWatchdogProcessService = watchdogProcessService; in init() 87 if (mWatchdogProcessService == nullptr) { in registerService() 96 if (auto status = mWatchdogProcessService in registerService() 111 mWatchdogProcessService->unregisterCarWatchdogService(binder); in registerService() 155 mWatchdogProcessService->unregisterCarWatchdogService(curBinder); in handleBinderDeath() 161 mWatchdogProcessService.clear(); in terminate() 226 mWatchdogProcessService->unregisterCarWatchdogService(binder); in unregisterServiceLocked()
|
D | WatchdogBinderMediator.cpp | 90 mWatchdogProcessService(watchdogProcessService), in WatchdogBinderMediator() 101 mWatchdogProcessService, in WatchdogBinderMediator() 108 if (mWatchdogProcessService == nullptr || mWatchdogPerfService == nullptr || in init() 111 if (mWatchdogProcessService == nullptr) { in init() 156 return mWatchdogProcessService->registerClient(client, timeout); in registerClient() 164 return mWatchdogProcessService->unregisterClient(client); in unregisterClient() 172 return mWatchdogProcessService->tellClientAlive(client, sessionId); in tellClientAlive()
|
D | ServiceManager.h | 40 mWatchdogProcessService(nullptr), in ServiceManager() 69 return mWatchdogProcessService; in getWatchdogProcessService() 91 android::sp<WatchdogProcessServiceInterface> mWatchdogProcessService; variable
|
D | WatchdogInternalHandler.h | 68 mWatchdogProcessService(watchdogProcessService), in WatchdogInternalHandler() 129 mWatchdogProcessService.clear(); in terminate() 147 android::sp<WatchdogProcessServiceInterface> mWatchdogProcessService; variable
|
D | WatchdogBinderMediator.h | 130 mWatchdogProcessService.clear(); in terminate() 140 android::sp<WatchdogProcessServiceInterface> mWatchdogProcessService;
|
D | WatchdogServiceHelper.h | 135 android::sp<WatchdogProcessServiceInterface> mWatchdogProcessService; variable
|