Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/
DObexRejectServer.java42 private final Handler mMessageHandler; field in ObexRejectServer
59 mMessageHandler = new Handler(timeoutLooper, this); in ObexRejectServer()
61 mMessageHandler.sendEmptyMessageDelayed(MSG_ID_TIMEOUT, TIMEOUT_VALUE); in ObexRejectServer()
72 mMessageHandler.removeCallbacksAndMessages(null); in shutdown()
/packages/services/Car/cpp/watchdog/testclient/src/
DWatchdogClient.cpp48 mMessageHandler = new MessageHandlerImpl(this); in WatchdogClient()
56 mHandlerLooper->removeMessages(mMessageHandler, WHAT_CHECK_ALIVE); in checkIfAlive()
58 mHandlerLooper->sendMessage(mMessageHandler, Message(WHAT_CHECK_ALIVE)); in checkIfAlive()
90 mMessageHandler, Message(WHAT_BECOME_INACTIVE)); in initialize()
94 mMessageHandler, Message(WHAT_TERMINATE)); in initialize()
DWatchdogClient.h78 ::android::sp<MessageHandlerImpl> mMessageHandler;
/packages/services/Car/cpp/watchdog/server/src/
DWatchdogProcessService.cpp334 mHandlerLooper->sendMessage(mMessageHandler, Message(MSG_CACHE_VHAL_PROCESS_IDENTIFIER)); in registerCarWatchdogService()
466 mHandlerLooper->removeMessages(mMessageHandler, MSG_VHAL_HEALTH_CHECK); in setEnabled()
474 mHandlerLooper->sendMessageDelayed(intervalNs.count(), mMessageHandler, in setEnabled()
478 mHandlerLooper->removeMessages(mMessageHandler, static_cast<int>(timeout)); in setEnabled()
650 mHandlerLooper->removeMessages(mMessageHandler, what); in doHealthCheck()
694 mHandlerLooper->sendMessageDelayed(durationNs.count(), mMessageHandler, Message(what)); in doHealthCheck()
703 mMessageHandler = sp<MessageHandlerImpl>::make(thiz); in start()
730 mHandlerLooper->removeMessages(mMessageHandler, MSG_VHAL_HEALTH_CHECK); in terminate()
888 mHandlerLooper->sendMessageDelayed(durationNs.count(), mMessageHandler, Message(what)); in startHealthCheckingLocked()
990 mHandlerLooper->removeMessages(mMessageHandler, MSG_VHAL_HEALTH_CHECK); in handleVhalDeath()
[all …]
DPackageInfoResolver.cpp111 sInstance->mHandlerLooper->removeMessages(sInstance->mMessageHandler); in terminate()
218 mHandlerLooper->removeMessages(mMessageHandler, MSG_RESOLVE_PACKAGE_NAME); in asyncFetchPackageNamesForUids()
219 mHandlerLooper->sendMessage(mMessageHandler, Message(MSG_RESOLVE_PACKAGE_NAME)); in asyncFetchPackageNamesForUids()
DPackageInfoResolver.h149 mMessageHandler(android::sp<MessageHandlerImpl>::make(this)) {
181 android::sp<MessageHandlerImpl> mMessageHandler; variable
DWatchdogProcessService.h309 android::sp<MessageHandlerImpl> mMessageHandler; variable
/packages/services/Car/cpp/telemetry/cartelemetryd/src/
DTelemetryServer.cpp56 mMessageHandler(new MessageHandlerImpl(this)) {} in TelemetryServer()
61 mLooper->sendMessageDelayed(mPushCarDataDelayNs.count(), mMessageHandler, in setListener()
71 mLooper->removeMessages(mMessageHandler, kMsgPushCarDataToListener); in clearListener()
245 mLooper->sendMessageDelayed(mPushCarDataDelayNs.count(), mMessageHandler, in writeCarData()
256 mLooper->removeMessages(mMessageHandler, kMsgPushCarDataToListener); in pushCarDataToListeners()
DTelemetryServer.h209 android::sp<MessageHandlerImpl> mMessageHandler; variable
/packages/services/Car/car-lib/src/android/car/storagemonitoring/
DCarStorageMonitoringManager.java47 private final SingleMessageHandler<IoStats> mMessageHandler; field in CarStorageMonitoringManager
76 manager.mMessageHandler.sendEvents(Collections.singletonList(snapshot)); in onSnapshot()
96 mMessageHandler = new SingleMessageHandler<IoStats>(getEventHandler(), MSG_IO_STATS_EVENT) { in CarStorageMonitoringManager()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/model/
DAppEventProducer.java91 private final Handler mMessageHandler; field in AppEventProducer
98 mMessageHandler = new Handler(MODEL_EXECUTOR.getLooper(), this::handleMessage); in AppEventProducer()
126 mMessageHandler.obtainMessage(MSG_LAUNCH, targetPredictor, 0, event).sendToTarget(); in sendEvent()
/packages/services/Car/cpp/watchdog/server/tests/
DWatchdogProcessServiceTest.cpp180 mMessageHandler = sp<MessageHandlerImpl>::make(this); in SetUp()
198 mMessageHandler.clear(); in TearDown()
272 mMessageHandler, in expectRequestAidlVhalPidAndRespond()
281 mHandlerLooper->sendMessageDelayed(delay.count(), mMessageHandler, in syncLooper()
386 sp<MessageHandlerImpl> mMessageHandler; member in android::automotive::watchdog::WatchdogProcessServiceTest
/packages/apps/Nfc/src/com/android/nfc/
DNfcDispatcher.java102 private final Handler mMessageHandler = new MessageHandler(); field in NfcDispatcher
103 private final Messenger mMessenger = new Messenger(mMessageHandler);