Home
last modified time | relevance | path

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

12

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DLocalOnlyHotspotRequestInfoTest.java49 private Messenger mMessenger; field in LocalOnlyHotspotRequestInfoTest
62 mMessenger = new Messenger(mHandler); in setUp()
72 mLOHSRequestInfo = new LocalOnlyHotspotRequestInfo(mAppBinder, mMessenger, mCallback); in verifyBinderLinkToDeathIsCalled()
81 mLOHSRequestInfo = new LocalOnlyHotspotRequestInfo(mAppBinder, mMessenger, null); in verifyNullCallbackChecked()
97 mLOHSRequestInfo = new LocalOnlyHotspotRequestInfo(null, mMessenger, mCallback); in verifyNullBinderChecked()
105 mLOHSRequestInfo = new LocalOnlyHotspotRequestInfo(mAppBinder, mMessenger, mCallback); in verifyUnlinkDeathRecipientUnlinksFromBinder()
115 mLOHSRequestInfo = new LocalOnlyHotspotRequestInfo(mAppBinder, mMessenger, mCallback); in verifyBinderDeathTriggersCallback()
127 mLOHSRequestInfo = new LocalOnlyHotspotRequestInfo(mAppBinder, mMessenger, mCallback); in verifyRemoteExceptionTriggersCallback()
136 mLOHSRequestInfo = new LocalOnlyHotspotRequestInfo(mAppBinder, mMessenger, mCallback); in verifyPid()
145 mLOHSRequestInfo = new LocalOnlyHotspotRequestInfo(mAppBinder, mMessenger, mCallback); in verifySendFailedMessage()
[all …]
/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/opt/net/wifi/service/java/com/android/server/wifi/
DLocalOnlyHotspotRequestInfo.java41 private final Messenger mMessenger; field in LocalOnlyHotspotRequestInfo
57 mMessenger = Preconditions.checkNotNull(messenger); in LocalOnlyHotspotRequestInfo()
93 mMessenger.send(message); in sendHotspotFailedMessage()
107 mMessenger.send(message); in sendHotspotStartedMessage()
118 mMessenger.send(message); in sendHotspotStoppedMessage()
/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/core/java/android/os/
DHandler.java904 if (mMessenger != null) { in getIMessenger()
905 return mMessenger; in getIMessenger()
907 mMessenger = new MessengerImpl(); in getIMessenger()
908 return mMessenger; in getIMessenger()
944 IMessenger mMessenger; field in Handler
/frameworks/base/telephony/java/android/telephony/
DTelephonyScanManager.java111 private final Messenger mMessenger; field in TelephonyScanManager
218 mMessenger = new Messenger(mHandler); in TelephonyScanManager()
252 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/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.java306 res.mMessenger.send(reqNetworkMsg); in testDataPathPmkWithoutPermission()
341 res.mMessenger.send(reqNetworkMsg); in testDataPathWithPortInfoOnPublisher()
379 res.mMessenger.send(reqNetworkMsg); in testDataPathWithPortInfoInvalidPort()
412 res.mMessenger.send(reqNetworkMsg); in testDataPathWithPortInfoButNoSecurityOnSubscriber()
449 res.mMessenger.send(reqNetworkMsg); in testDestroyNdiDuringNdpSetupResponder()
523 messenger = ress[i].mMessenger; in testMultipleNdpsOnSingleNdi()
1209 res.mMessenger.send(reqNetworkMsg); in testDataPathInitiatorResponderMismatchUtility()
1269 res.mMessenger.send(reqNetworkMsg); in testDataPathInitiatorResponderInvalidUidUtility()
1353 res.mMessenger.send(reqNetworkMsg); in testDataPathInitiatorUtilityMore()
1441 res.mMessenger.send(endNetworkReqMsg); in testDataPathInitiatorUtilityMore()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java447 mMessenger = m; in DeathHandlerData()
452 return "deathRecipient=" + mDeathRecipient + ", messenger=" + mMessenger; in toString()
456 Messenger mMessenger; field in WifiP2pServiceImpl.DeathHandlerData
670 if (dhd.mMessenger != null && mDeathDataByBinder.isEmpty()) { in close()
672 dhd.mMessenger.send( in close()
674 dhd.mMessenger.send(mClientHandler.obtainMessage(WifiP2pManager.REMOVE_GROUP)); in close()
4037 if (c.mMessenger == null) { in sendServiceResponse()
4041 c.mMessenger.send(msg); in sendServiceResponse()
4044 clearClientInfo(c.mMessenger); in sendServiceResponse()
4067 if (c.mMessenger == null) { in clearClientDeadChannels()
[all …]
/frameworks/base/wifi/java/android/net/wifi/
DWifiManager.java3352 private final Messenger mMessenger; field in LocalOnlyHotspotCallbackProxy
3406 mMessenger = new Messenger(mHandler); in LocalOnlyHotspotCallbackProxy()
3410 return mMessenger; in getMessenger()
3423 mMessenger.send(msg); in notifyFailed()
3495 private final Messenger mMessenger; field in LocalOnlyHotspotObserverProxy
3543 mMessenger = new Messenger(mHandler); in LocalOnlyHotspotObserverProxy()
3547 return mMessenger; in getMessenger()
3553 mMessenger.send(msg); in registered()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DNetworkScanRequestTracker.java213 Messenger messenger = nsri.mMessenger; in notifyMessenger()
250 private final Messenger mMessenger; field in NetworkScanRequestTracker.NetworkScanRequestInfo
263 mMessenger = m; in NetworkScanRequestInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipMenuActivityController.java176 private Messenger mMessenger = new Messenger(mHandler); field in PipMenuActivityController
407 intent.putExtra(EXTRA_CONTROLLER_MESSENGER, mMessenger); in startMenuActivity()
DPipMenuActivity.java133 private Messenger mMessenger = new Messenger(new Handler() { field in PipMenuActivity
401 notifyActivityCallback(mMessenger); in updateFromIntent()
/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/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.java1876 protected final Messenger mMessenger; field in WifiScanningServiceImpl.ClientInfo
1880 mMessenger = messenger; in ClientInfo()
1888 mClients.put(mMessenger, this); in register()
1895 mClients.remove(mMessenger); in unregister()
1972 return "ClientInfo[uid=" + mUid + "," + mMessenger + "]"; in toString()
2032 mMessenger.send(message); in reportEvent()
2053 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()

12