Home
last modified time | relevance | path

Searched refs:mMessenger (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/core/java/android/nfc/cardemulation/
DHostApduService.java243 final Messenger mMessenger = new Messenger(new MsgHandler()); field in HostApduService
268 responseMsg.replyTo = mMessenger; in handleMessage()
286 msg.replyTo = mMessenger; in handleMessage()
303 msg.replyTo = mMessenger; in handleMessage()
317 return mMessenger.getBinder(); in onBind()
332 mMessenger.send(responseMsg); in sendResponseApdu()
363 mMessenger.send(unhandledMsg); in notifyUnhandled()
DHostNfcFService.java171 final Messenger mMessenger = new Messenger(new MsgHandler()); field in HostNfcFService
196 responseMsg.replyTo = mMessenger; in handleMessage()
214 msg.replyTo = mMessenger; in handleMessage()
233 return mMessenger.getBinder(); in onBind()
248 mMessenger.send(responseMsg); in sendResponsePacket()
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsObserversTest.java103 private Messenger mMessenger; field in NetworkStatsObserversTest
124 mMessenger = new Messenger(mHandler); in setUp()
136 DataUsageRequest request = mStatsObservers.register(inputRequest, mMessenger, mockBinder, in testRegister_thresholdTooLow_setsDefaultThreshold()
149 DataUsageRequest request = mStatsObservers.register(inputRequest, mMessenger, mockBinder, in testRegister_highThreshold_accepted()
161 DataUsageRequest request1 = mStatsObservers.register(inputRequest, mMessenger, mockBinder, in testRegister_twoRequests_twoIds()
167 DataUsageRequest request2 = mStatsObservers.register(inputRequest, mMessenger, mockBinder, in testRegister_twoRequests_twoIds()
187 DataUsageRequest request = mStatsObservers.register(inputRequest, mMessenger, mockBinder, in testUnregister_knownRequest_releasesCaller()
205 DataUsageRequest request = mStatsObservers.register(inputRequest, mMessenger, mockBinder, in testUnregister_knownRequest_invalidUid_doesNotUnregister()
232 DataUsageRequest request = mStatsObservers.register(inputRequest, mMessenger, mockBinder, in testUpdateStats_initialSample_doesNotNotify()
256 DataUsageRequest request = mStatsObservers.register(inputRequest, mMessenger, mockBinder, in testUpdateStats_belowThreshold_doesNotNotify()
[all …]
/frameworks/base/core/java/com/android/internal/util/
DAsyncService.java47 protected Messenger mMessenger; field in AsyncService
87 mMessenger = new Messenger(mHandler); in onCreate()
126 return mMessenger.getBinder(); in onBind()
DAsyncChannel.java772 private Messenger mMessenger; field in AsyncChannel.SyncMessenger
813 sm.mMessenger = new Messenger(sm.mHandler); in obtain()
841 msg.replyTo = sm.mMessenger; in sendMessageSynchronously()
/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/
DBidirectionalAsyncChannelServer.java43 private Messenger mMessenger; field in BidirectionalAsyncChannelServer
80 mMessenger = new Messenger(handler); in BidirectionalAsyncChannelServer()
84 return mMessenger; in getMessenger()
/frameworks/base/core/java/android/net/
DNetworkProvider.java71 private final Messenger mMessenger; field in NetworkProvider
105 mMessenger = new Messenger(handler); in NetworkProvider()
112 return mMessenger; in getMessenger()
/frameworks/base/core/tests/coretests/src/android/os/
DMessengerService.java35 private final Messenger mMessenger = new Messenger(mHandler); field in MessengerService
42 return mMessenger.getBinder(); in onBind()
/frameworks/base/core/java/android/os/image/
DDynamicSystemClient.java251 msg.replyTo = mMessenger; in onServiceConnected()
274 private final Messenger mMessenger; field in DynamicSystemClient
293 mMessenger = new Messenger(new IncomingHandler(this)); in DynamicSystemClient()
357 msg.replyTo = mMessenger; in unbind()
/frameworks/base/telephony/java/android/telephony/
DTelephonyScanManager.java106 private final Messenger mMessenger; field in TelephonyScanManager
113 mMessenger = new Messenger(new Handler(mLooper) { in TelephonyScanManager()
211 subId, request, mMessenger, new Binder(), callingPackage, in requestNetworkScan()
DVisualVoicemailService.java156 private final Messenger mMessenger = new Messenger(new Handler() { field in VisualVoicemailService
185 return mMessenger.getBinder(); in onBind()
/frameworks/base/tests/ActivityManagerPerfTests/stub-app/src/com/android/stubs/am/
DInitService.java59 private final Messenger mMessenger; field in InitService.Stub
71 mMessenger = new Messenger(mHandler); in Stub()
138 intent.putExtra(Constants.EXTRA_RECEIVER_CALLBACK, mMessenger); in handleBindService()
222 intent.putExtra(Constants.EXTRA_RECEIVER_CALLBACK, mMessenger); in startActivity()
232 intent.putExtra(Constants.EXTRA_RECEIVER_CALLBACK, mMessenger); in stopActivity()
/frameworks/base/core/java/android/os/
DHandler.java908 if (mMessenger != null) { in getIMessenger()
909 return mMessenger; in getIMessenger()
911 mMessenger = new MessengerImpl(); in getIMessenger()
912 return mMessenger; in getIMessenger()
948 IMessenger mMessenger; field in Handler
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsObservers.java229 private final Messenger mMessenger; field in NetworkStatsObservers.RequestInfo
241 mMessenger = messenger; in RequestInfo()
302 mMessenger.send(msg); in callCallback()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareDataPathStateManagerTest.java299 res.mMessenger.send(reqNetworkMsg); in testDataPathWithPortInfoOnPublisher()
337 res.mMessenger.send(reqNetworkMsg); in testDataPathWithPortInfoInvalidPort()
370 res.mMessenger.send(reqNetworkMsg); in testDataPathWithPortInfoButNoSecurityOnSubscriber()
407 res.mMessenger.send(reqNetworkMsg); in testDestroyNdiDuringNdpSetupResponder()
481 messenger = ress[i].mMessenger; in testMultipleNdpsOnSingleNdi()
1171 res.mMessenger.send(reqNetworkMsg); in testDataPathInitiatorResponderMismatchUtility()
1232 res.mMessenger.send(reqNetworkMsg); in testDataPathInitiatorResponderInvalidUidUtility()
1293 res.mMessenger.send(reqNetworkMsg); in testDataPathInitiatorResponderInvalidPackageNameUtility()
1377 res.mMessenger.send(reqNetworkMsg); in testDataPathInitiatorUtilityMore()
1477 res.mMessenger.send(endNetworkReqMsg); in testDataPathInitiatorUtilityMore()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DNetworkScanRequestTracker.java216 Messenger messenger = nsri.mMessenger; in notifyMessenger()
253 private final Messenger mMessenger; field in NetworkScanRequestTracker.NetworkScanRequestInfo
266 mMessenger = m; in NetworkScanRequestInfo()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java457 mMessenger = m; in DeathHandlerData()
462 return "deathRecipient=" + mDeathRecipient + ", messenger=" + mMessenger; in toString()
466 Messenger mMessenger; field in WifiP2pServiceImpl.DeathHandlerData
676 if (dhd.mMessenger != null && mDeathDataByBinder.isEmpty()) { in close()
678 dhd.mMessenger.send( in close()
680 dhd.mMessenger.send(mClientHandler.obtainMessage(WifiP2pManager.REMOVE_GROUP)); in close()
4147 if (c.mMessenger == null) { in sendServiceResponse()
4151 c.mMessenger.send(msg); in sendServiceResponse()
4154 clearClientInfo(c.mMessenger); in sendServiceResponse()
4177 if (c.mMessenger == null) { in clearClientDeadChannels()
[all …]
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
DFrameworkPerfActivity.java137 final Messenger mMessenger = new Messenger(mHandler); field in FrameworkPerfActivity
283 msg.replyTo = mMessenger; in dispatchCurOp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipMenuActivity.java199 private Messenger mMessenger = new Messenger(mHandler); field in PipMenuActivity
502 notifyActivityCallback(mMessenger); in updateFromIntent()
631 m.replyTo = mMessenger; in notifyMenuStateChange()
DPipMenuActivityController.java169 private Messenger mMessenger = new Messenger(mHandler); field in PipMenuActivityController
459 intent.putExtra(EXTRA_CONTROLLER_MESSENGER, mMessenger);
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/
DDynamicSystemInstallationService.java113 final Messenger mMessenger = new Messenger(new IncomingHandler(this)); field in DynamicSystemInstallationService
186 return mMessenger.getBinder(); in onBind()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DWifiScanningServiceImpl.java2259 protected final Messenger mMessenger; field in WifiScanningServiceImpl.ClientInfo
2263 mMessenger = messenger; in ClientInfo()
2271 mClients.put(mMessenger, this); in register()
2278 mClients.remove(mMessenger); in unregister()
2347 return "ClientInfo[uid=" + mUid + "," + mMessenger + "]"; in toString()
2407 mMessenger.send(message); in reportEvent()
2428 msg.replyTo = mMessenger; in sendRequestToClientHandler()
/frameworks/base/services/core/java/com/android/server/
DNsdService.java809 private final Messenger mMessenger; field in NsdService.ClientInfo
821 mMessenger = m; in ClientInfo()
829 sb.append("mMessenger ").append(mMessenger).append("\n"); in toString()