/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | LocalOnlyHotspotRequestInfoTest.java | 49 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/ |
D | HostApduService.java | 243 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()
|
D | HostNfcFService.java | 171 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/ |
D | LocalOnlyHotspotRequestInfo.java | 41 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/ |
D | NetworkStatsObserversTest.java | 107 private Messenger mMessenger; field in NetworkStatsObserversTest 128 mMessenger = new Messenger(mHandler); in setUp() 140 DataUsageRequest request = mStatsObservers.register(inputRequest, mMessenger, mockBinder, in testRegister_thresholdTooLow_setsDefaultThreshold() 153 DataUsageRequest request = mStatsObservers.register(inputRequest, mMessenger, mockBinder, in testRegister_highThreshold_accepted() 165 DataUsageRequest request1 = mStatsObservers.register(inputRequest, mMessenger, mockBinder, in testRegister_twoRequests_twoIds() 171 DataUsageRequest request2 = mStatsObservers.register(inputRequest, mMessenger, mockBinder, in testRegister_twoRequests_twoIds() 191 DataUsageRequest request = mStatsObservers.register(inputRequest, mMessenger, mockBinder, in testUnregister_knownRequest_releasesCaller() 209 DataUsageRequest request = mStatsObservers.register(inputRequest, mMessenger, mockBinder, in testUnregister_knownRequest_invalidUid_doesNotUnregister() 236 DataUsageRequest request = mStatsObservers.register(inputRequest, mMessenger, mockBinder, in testUpdateStats_initialSample_doesNotNotify() 261 DataUsageRequest request = mStatsObservers.register(inputRequest, mMessenger, mockBinder, in testUpdateStats_belowThreshold_doesNotNotify() [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | AsyncService.java | 47 protected Messenger mMessenger; field in AsyncService 87 mMessenger = new Messenger(mHandler); in onCreate() 126 return mMessenger.getBinder(); in onBind()
|
D | AsyncChannel.java | 772 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/core/java/android/net/ |
D | NetworkFactory.java | 137 private Messenger mMessenger = null; field in NetworkFactory 151 if (mMessenger == null) { in register() 152 mMessenger = new Messenger(this); in register() 153 mSerialNumber = ConnectivityManager.from(mContext).registerNetworkFactory(mMessenger, in register() 160 if (mMessenger != null) { in unregister() 161 ConnectivityManager.from(mContext).unregisterNetworkFactory(mMessenger); in unregister() 162 mMessenger = null; in unregister()
|
/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/ |
D | BidirectionalAsyncChannelServer.java | 43 private Messenger mMessenger; field in BidirectionalAsyncChannelServer 80 mMessenger = new Messenger(handler); in BidirectionalAsyncChannelServer() 84 return mMessenger; in getMessenger()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | MessengerService.java | 35 private final Messenger mMessenger = new Messenger(mHandler); field in MessengerService 42 return mMessenger.getBinder(); in onBind()
|
/frameworks/base/core/java/android/os/image/ |
D | DynamicSystemClient.java | 254 msg.replyTo = mMessenger; in onServiceConnected() 273 private final Messenger mMessenger; field in DynamicSystemClient 292 mMessenger = new Messenger(new IncomingHandler(this)); in DynamicSystemClient() 356 msg.replyTo = mMessenger; in unbind()
|
/frameworks/base/telephony/java/android/telephony/ |
D | TelephonyScanManager.java | 106 private final Messenger mMessenger; field in TelephonyScanManager 113 mMessenger = new Messenger(new Handler(mLooper) { in TelephonyScanManager() 208 subId, request, mMessenger, new Binder(), callingPackage); in requestNetworkScan()
|
D | VisualVoicemailService.java | 156 private final Messenger mMessenger = new Messenger(new Handler() { field in VisualVoicemailService 185 return mMessenger.getBinder(); in onBind()
|
/frameworks/base/core/java/android/os/ |
D | Handler.java | 853 if (mMessenger != null) { in getIMessenger() 854 return mMessenger; in getIMessenger() 856 mMessenger = new MessengerImpl(); in getIMessenger() 857 return mMessenger; in getIMessenger() 893 IMessenger mMessenger; field in Handler
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsObservers.java | 230 private final Messenger mMessenger; field in NetworkStatsObservers.RequestInfo 242 mMessenger = messenger; in RequestInfo() 303 mMessenger.send(msg); in callCallback()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/ |
D | WifiAwareDataPathStateManagerTest.java | 305 res.mMessenger.send(reqNetworkMsg); in testDataPathPmkWithoutPermission() 340 res.mMessenger.send(reqNetworkMsg); in testDataPathWithPortInfoOnPublisher() 378 res.mMessenger.send(reqNetworkMsg); in testDataPathWithPortInfoInvalidPort() 411 res.mMessenger.send(reqNetworkMsg); in testDataPathWithPortInfoButNoSecurityOnSubscriber() 448 res.mMessenger.send(reqNetworkMsg); in testDestroyNdiDuringNdpSetupResponder() 522 messenger = ress[i].mMessenger; in testMultipleNdpsOnSingleNdi() 1205 res.mMessenger.send(reqNetworkMsg); in testDataPathInitiatorResponderMismatchUtility() 1265 res.mMessenger.send(reqNetworkMsg); in testDataPathInitiatorResponderInvalidUidUtility() 1349 res.mMessenger.send(reqNetworkMsg); in testDataPathInitiatorUtilityMore() 1437 res.mMessenger.send(endNetworkReqMsg); in testDataPathInitiatorUtilityMore() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | NetworkScanRequestTracker.java | 198 Messenger messenger = nsri.mMessenger; in notifyMessenger() 235 private final Messenger mMessenger; field in NetworkScanRequestTracker.NetworkScanRequestInfo 248 mMessenger = m; in NetworkScanRequestInfo()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImpl.java | 429 mMessenger = m; in DeathHandlerData() 434 return "deathRecipient=" + mDeathRecipient + ", messenger=" + mMessenger; in toString() 438 Messenger mMessenger; field in WifiP2pServiceImpl.DeathHandlerData 650 if (dhd.mMessenger != null && mDeathDataByBinder.isEmpty()) { in close() 652 dhd.mMessenger.send( in close() 654 dhd.mMessenger.send(mClientHandler.obtainMessage(WifiP2pManager.REMOVE_GROUP)); in close() 4002 if (c.mMessenger == null) { in sendServiceResponse() 4006 c.mMessenger.send(msg); in sendServiceResponse() 4009 clearClientInfo(c.mMessenger); in sendServiceResponse() 4032 if (c.mMessenger == null) { in clearClientDeadChannels() [all …]
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiManager.java | 3289 private final Messenger mMessenger; field in LocalOnlyHotspotCallbackProxy 3343 mMessenger = new Messenger(mHandler); in LocalOnlyHotspotCallbackProxy() 3347 return mMessenger; in getMessenger() 3360 mMessenger.send(msg); in notifyFailed() 3432 private final Messenger mMessenger; field in LocalOnlyHotspotObserverProxy 3480 mMessenger = new Messenger(mHandler); in LocalOnlyHotspotObserverProxy() 3484 return mMessenger; in getMessenger() 3490 mMessenger.send(msg); in registered()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
D | PipMenuActivityController.java | 183 private Messenger mMessenger = new Messenger(mHandler); field in PipMenuActivityController 417 intent.putExtra(EXTRA_CONTROLLER_MESSENGER, mMessenger); in startMenuActivity()
|
D | PipMenuActivity.java | 138 private Messenger mMessenger = new Messenger(new Handler() { field in PipMenuActivity 445 notifyActivityCallback(mMessenger); in updateFromIntent()
|
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/ |
D | DynamicSystemInstallationService.java | 102 final Messenger mMessenger = new Messenger(new IncomingHandler(this)); field in DynamicSystemInstallationService 152 return mMessenger.getBinder(); in onBind()
|
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
D | FrameworkPerfActivity.java | 137 final Messenger mMessenger = new Messenger(mHandler); field in FrameworkPerfActivity 283 msg.replyTo = mMessenger; in dispatchCurOp()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
D | WifiScanningServiceImpl.java | 1876 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/ |
D | NsdService.java | 812 private final Messenger mMessenger; field in NsdService.ClientInfo 824 mMessenger = m; in ClientInfo() 832 sb.append("mMessenger ").append(mMessenger).append("\n"); in toString()
|