Home
last modified time | relevance | path

Searched refs:mWatchdogPerfService (Results 1 – 8 of 8) sorted by relevance

/packages/services/Car/cpp/watchdog/server/src/
DServiceManager.cpp40 mWatchdogProcessService != nullptr || mWatchdogPerfService != nullptr) { in startServices()
72 mWatchdogPerfService, in startServices()
86 if (mWatchdogPerfService != nullptr) { in terminateServices()
87 mWatchdogPerfService->terminate(); in terminateServices()
88 mWatchdogPerfService.clear(); in terminateServices()
128 mWatchdogPerfService = sp<WatchdogPerfService>::make(watchdogServiceHelper, elapsedRealtime); in startWatchdogPerfService()
129 if (auto result = mWatchdogPerfService->registerDataProcessor( in startWatchdogPerfService()
134 if (auto result = mWatchdogPerfService->start(); !result.ok()) { in startWatchdogPerfService()
DWatchdogInternalHandler.cpp104 if (auto result = mWatchdogPerfService->onCustomCollection(fd, args, numArgs); in dump()
154 if (auto result = mWatchdogPerfService->onDump(fd); !result.ok()) { in dumpServices()
167 if (auto result = mWatchdogPerfService->onDumpProto(proto); !result.ok()) { in dumpProto()
187 !mWatchdogPerfService->dumpHelpText(fd) || !mIoOveruseMonitor->dumpHelpText(fd)) { in dumpHelpText()
198 if (const auto result = mWatchdogPerfService->registerDataProcessor(mIoOveruseMonitor); in checkAndRegisterIoOveruseMonitor()
223 mWatchdogPerfService->onCarWatchdogServiceRegistered(); in registerCarWatchdogService()
300 mWatchdogPerfService->setSystemState(garageMode == GarageMode::GARAGE_MODE_OFF in notifySystemStateChange()
313 if (const auto result = mWatchdogPerfService->onBootFinished(); !result.ok()) { in notifySystemStateChange()
332 mWatchdogPerfService->onShutdownEnter(); in handlePowerCycleChange()
336 mWatchdogPerfService->onSuspendExit(); in handlePowerCycleChange()
[all …]
DWatchdogBinderMediator.cpp91 mWatchdogPerfService(watchdogPerfService), in WatchdogBinderMediator()
102 mWatchdogPerfService, in WatchdogBinderMediator()
108 if (mWatchdogProcessService == nullptr || mWatchdogPerfService == nullptr || in init()
115 if (mWatchdogPerfService == nullptr) { in init()
DWatchdogInternalHandler.h69 mWatchdogPerfService(watchdogPerfService), in WatchdogInternalHandler()
130 mWatchdogPerfService.clear(); in terminate()
148 android::sp<WatchdogPerfServiceInterface> mWatchdogPerfService; variable
DServiceManager.h41 mWatchdogPerfService(nullptr), in ServiceManager()
92 android::sp<WatchdogPerfServiceInterface> mWatchdogPerfService; variable
DWatchdogBinderMediator.h131 mWatchdogPerfService.clear(); in terminate()
141 android::sp<WatchdogPerfServiceInterface> mWatchdogPerfService; variable
/packages/services/Car/cpp/watchdog/server/tests/
DWatchdogInternalHandlerTest.cpp181 ASSERT_NE(mWatchdogInternalHandler->mWatchdogPerfService, nullptr); in TEST_F()
188 ASSERT_EQ(mWatchdogInternalHandler->mWatchdogPerfService, nullptr); in TEST_F()
DWatchdogBinderMediatorTest.cpp134 ASSERT_NE(mediator->mWatchdogPerfService, nullptr); in TEST_F()