Home
last modified time | relevance | path

Searched refs:mHandlerLooper (Results 1 – 13 of 13) sorted by relevance

/aosp12/packages/services/Car/cpp/watchdog/server/src/
H A DWatchdogPerfService.cpp230 mHandlerLooper->pollAll(/*timeoutMillis=*/-1); in start()
251 mHandlerLooper->removeMessages(this); in terminate()
252 mHandlerLooper->wake(); in terminate()
290 mHandlerLooper->removeMessages(this); in onBootFinished()
459 .lastUptime = mHandlerLooper->now(), in startCustomCollection()
463 mHandlerLooper->removeMessages(this); in startCustomCollection()
478 mHandlerLooper->removeMessages(this); in endCustomCollection()
510 mHandlerLooper->removeMessages(this); in handleMessage()
577 mHandlerLooper->removeMessages(this); in handleMessage()
578 mHandlerLooper->wake(); in handleMessage()
[all …]
H A DWatchdogProcessService.cpp132 mHandlerLooper(handlerLooper), in WatchdogProcessService()
345 mHandlerLooper->removeMessages(mMessageHandler, what); in doHealthCheck()
387 mHandlerLooper->sendMessageDelayed(durationNs.count(), mMessageHandler, Message(what)); in doHealthCheck()
523 mHandlerLooper->sendMessageDelayed(durationNs.count(), mMessageHandler, Message(what)); in startHealthCheckingLocked()
638 mHandlerLooper->removeMessages(mMessageHandler, MSG_VHAL_WATCHDOG_ALIVE); in reportWatchdogAliveToVhal()
639 mHandlerLooper->sendMessageDelayed(durationNs.count(), mMessageHandler, in reportWatchdogAliveToVhal()
767 mHandlerLooper->sendMessageDelayed(intervalNs.count(), mMessageHandler, in subscribeToVhalHeartBeatLocked()
793 mHandlerLooper->sendMessageDelayed(intervalNs.count(), mMessageHandler, in updateVhalHeartBeat()
H A DWatchdogPerfService.h181 mHandlerLooper(android::sp<LooperWrapper>::make()), in WatchdogPerfService()
277 android::sp<LooperWrapper> mHandlerLooper GUARDED_BY(mMutex);
H A DWatchdogProcessService.h227 android::sp<Looper> mHandlerLooper;
/aosp12/packages/services/Car/cpp/watchdog/testclient/src/
H A DWatchdogClient.cpp47 WatchdogClient::WatchdogClient(const sp<Looper>& handlerLooper) : mHandlerLooper(handlerLooper) { in WatchdogClient()
56 mHandlerLooper->removeMessages(mMessageHandler, WHAT_CHECK_ALIVE); in checkIfAlive()
58 mHandlerLooper->sendMessage(mMessageHandler, Message(WHAT_CHECK_ALIVE)); in checkIfAlive()
89 mHandlerLooper->sendMessageDelayed(seconds_to_nanoseconds(param.inactiveAfterInSec), in initialize()
93 mHandlerLooper->sendMessageDelayed(seconds_to_nanoseconds(param.terminateAfterInSec), in initialize()
H A DWatchdogClient.h77 ::android::sp<::android::Looper> mHandlerLooper;
/aosp12/hardware/interfaces/automotive/vehicle/2.0/default/common/src/
H A DWatchdogClient.cpp40 : mHandlerLooper(handlerLooper), mVhalManager(vhalManager), mCurrentSessionId(-1) { in WatchdogClient()
45 mHandlerLooper->removeMessages(mMessageHandler, WHAT_CHECK_ALIVE); in checkIfAlive()
50 mHandlerLooper->sendMessage(mMessageHandler, Message(WHAT_CHECK_ALIVE)); in checkIfAlive()
/aosp12/frameworks/base/cmds/incidentd/src/
H A DIncidentService.cpp133 mHandlerLooper(handlerLooper), in ReportHandler()
157 mHandlerLooper->removeMessages(this, WHAT_TAKE_REPORT); in schedulePersistedReport()
158 mHandlerLooper->sendMessage(this, Message(WHAT_TAKE_REPORT)); in schedulePersistedReport()
165 mHandlerLooper->removeMessages(this, WHAT_TAKE_REPORT); in scheduleStreamingReport()
166 mHandlerLooper->sendMessage(this, Message(WHAT_TAKE_REPORT)); in scheduleStreamingReport()
176 mHandlerLooper->removeMessages(this, WHAT_SEND_BROADCASTS); in schedule_send_broadcasts_locked()
177 mHandlerLooper->sendMessageDelayed(mBacklogDelay, this, Message(WHAT_SEND_BROADCASTS)); in schedule_send_broadcasts_locked()
H A DIncidentService.h82 sp<Looper> mHandlerLooper; variable
/aosp12/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/
H A DWatchdogClient.h59 ::android::sp<::android::Looper> mHandlerLooper;
/aosp12/packages/services/Car/cpp/powerpolicy/server/src/
H A DCarPowerPolicyServer.cpp418 mHandlerLooper = looper; in init()
581 mHandlerLooper->sendMessage(mMessageHandler, MSG_CONNECT_TO_VHAL); in connectToVhal()
602 mHandlerLooper->sendMessageDelayed(kConnectionRetryIntervalNs, mMessageHandler, in connectToVhalHelper()
H A DCarPowerPolicyServer.h218 sp<android::Looper> mHandlerLooper; variable
/aosp12/packages/services/Car/cpp/watchdog/server/tests/
H A DWatchdogPerfServiceTest.cpp76 service->mHandlerLooper = looperStub; in injectFakes()