Home
last modified time | relevance | path

Searched refs:replyTo (Results 1 – 25 of 41) sorted by relevance

12

/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/
DBidirectionalAsyncChannelServer.java49 AsyncChannel channel = mClients.get(msg.replyTo); in BidirectionalAsyncChannelServer()
59 mClients.put(msg.replyTo, channel); in BidirectionalAsyncChannelServer()
60 channel.connected(context, this, msg.replyTo); in BidirectionalAsyncChannelServer()
70 mClients.remove(msg.replyTo); in BidirectionalAsyncChannelServer()
/frameworks/base/core/java/android/os/
DMessage.java74 public Messenger replyTo; field in Message
152 m.replyTo = orig.replyTo; in obtain()
303 replyTo = null; in recycleUnchecked()
330 this.replyTo = o.replyTo; in copyFrom()
613 Messenger.writeMessengerOrNullToParcel(replyTo, dest); in writeToParcel()
626 replyTo = Messenger.readMessengerOrNullFromParcel(source); in readFromParcel()
/frameworks/base/core/java/android/nfc/cardemulation/
DHostApduService.java254 if (mNfcService == null) mNfcService = msg.replyTo; in handleMessage()
268 responseMsg.replyTo = mMessenger; in handleMessage()
286 msg.replyTo = mMessenger; in handleMessage()
303 msg.replyTo = mMessenger; in handleMessage()
DHostNfcFService.java182 if (mNfcService == null) mNfcService = msg.replyTo; in handleMessage()
196 responseMsg.replyTo = mMessenger; in handleMessage()
214 msg.replyTo = mMessenger; in handleMessage()
/frameworks/base/core/tests/coretests/src/android/os/
DMessengerTest.java66 msg.replyTo = mTestMessenger; in executeTest()
84 if (!mTestMessenger.equals(msg.replyTo)) { in handleMessage()
86 "Message.replyTo is not me: " + msg.replyTo)); in handleMessage()
DMessageQueueTest.java167 msg.replyTo = null; in testFieldIntegrity()
198 if (newMsg.replyTo != null) { in testFieldIntegrity()
246 if (msg.replyTo != null) { in testFieldIntegrity()
DMessengerService.java34 msg.replyTo.send(reply);
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/
DTestMmTelFeature.java43 if (result.replyTo != null) { in sendDtmf()
45 result.replyTo.send(result); in sendDtmf()
87 onCompleteMessage.replyTo.send(onCompleteMessage); in setUiTtyMode()
DMmTelFeatureTests.java137 resultMessage.replyTo = mHandlerMessenger; in testSetTtyMessageMessenger()
147 resultMessage.replyTo = mHandlerMessenger; in testSendDtmfMessageMessenger()
/frameworks/base/services/core/java/com/android/server/
DNsdService.java133 cInfo = new ClientInfo(c, msg.replyTo); in processMessage()
134 mClients.put(msg.replyTo, cInfo); in processMessage()
151 cInfo = mClients.get(msg.replyTo); in processMessage()
154 mClients.remove(msg.replyTo); in processMessage()
163 ac.connect(mContext, getHandler(), msg.replyTo); in processMessage()
271 clientInfo = mClients.get(msg.replyTo); in processMessage()
295 clientInfo = mClients.get(msg.replyTo); in processMessage()
314 clientInfo = mClients.get(msg.replyTo); in processMessage()
334 clientInfo = mClients.get(msg.replyTo); in processMessage()
353 clientInfo = mClients.get(msg.replyTo); in processMessage()
[all …]
/frameworks/base/telephony/java/android/telephony/
DVisualVoicemailService.java119 private VisualVoicemailTask(Messenger replyTo, int taskId) { in VisualVoicemailTask() argument
121 mReplyTo = replyTo; in VisualVoicemailTask()
161 VisualVoicemailTask task = new VisualVoicemailTask(msg.replyTo, msg.arg1);
/frameworks/base/core/java/com/android/internal/util/
DAsyncChannel.java459 msg.replyTo = mSrcMessenger; in disconnect()
479 msg.replyTo = mSrcMessenger; in sendMessage()
564 dstMsg.replyTo = mSrcMessenger; in replyToMessage()
565 srcMsg.replyTo.send(dstMsg); in replyToMessage()
818 msg.replyTo = sm.mMessenger; in sendMessageSynchronously()
850 msg.replyTo = mDstMessenger; in replyHalfConnected()
889 msg.replyTo = mDstMessenger; in replyDisconnected()
DScreenshotHelper.java91 msg.replyTo = new Messenger(h); in takeScreenshot()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DConnectivityServiceMock.java182 NetworkAgentInfo nai = mNetworkAgentInfos.get(msg.replyTo); in handleMessage()
200 if (mNetworkFactoryInfos.containsKey(msg.replyTo)) { in handleAsyncChannelHalfConnect()
215 } else if (mNetworkAgentInfos.containsKey(msg.replyTo)) { in handleAsyncChannelHalfConnect()
219 mNetworkAgentInfos.get(msg.replyTo).asyncChannel. in handleAsyncChannelHalfConnect()
223 NetworkAgentInfo nai = mNetworkAgentInfos.remove(msg.replyTo); in handleAsyncChannelHalfConnect()
238 NetworkAgentInfo nai = mNetworkAgentInfos.get(msg.replyTo); in handleAsyncChannelDisconnected()
265 mNetworkAgentInfos.remove(msg.replyTo); in handleAsyncChannelDisconnected()
307 NetworkFactoryInfo nfi = mNetworkFactoryInfos.remove(msg.replyTo); in handleAsyncChannelDisconnected()
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
DTestService.java179 newMsg.replyTo = msg.replyTo;
186 final Messenger replyTo = msg.replyTo;
189 if (replyTo != null) {
195 replyTo.send(msg);
206 newMsg.replyTo = msg.replyTo;
210 if (msg.replyTo != null) {
213 msg.replyTo.send(reply);
DFrameworkPerfActivity.java283 msg.replyTo = mMessenger; in dispatchCurOp()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DWifiScanningServiceImpl.java144 if (msg.replyTo == null) { in handleMessage()
148 ExternalClientInfo client = (ExternalClientInfo) mClients.get(msg.replyTo); in handleMessage()
151 + msg.replyTo); in handleMessage()
158 ac.connected(mContext, this, msg.replyTo); in handleMessage()
160 client = new ExternalClientInfo(msg.sendingUid, msg.replyTo, ac); in handleMessage()
169 ExternalClientInfo client = (ExternalClientInfo) mClients.get(msg.replyTo); in handleMessage()
176 ExternalClientInfo client = (ExternalClientInfo) mClients.get(msg.replyTo); in handleMessage()
208 ClientInfo ci = mClients.get(msg.replyTo); in handleMessage()
210 loge("Could not find client info for message " + msg.replyTo + ", msg=" + msg); in handleMessage()
597 ClientInfo ci = mClients.get(msg.replyTo); in processMessage()
[all …]
/frameworks/support/media/src/main/java/androidx/media/
DMediaBrowserServiceCompat.java580 new ServiceCallbacksCompat(msg.replyTo)); in handleMessage()
583 mServiceBinderImpl.disconnect(new ServiceCallbacksCompat(msg.replyTo)); in handleMessage()
589 new ServiceCallbacksCompat(msg.replyTo)); in handleMessage()
594 new ServiceCallbacksCompat(msg.replyTo)); in handleMessage()
599 new ServiceCallbacksCompat(msg.replyTo)); in handleMessage()
602 mServiceBinderImpl.registerCallbacks(new ServiceCallbacksCompat(msg.replyTo), in handleMessage()
607 mServiceBinderImpl.unregisterCallbacks(new ServiceCallbacksCompat(msg.replyTo)); in handleMessage()
613 new ServiceCallbacksCompat(msg.replyTo)); in handleMessage()
619 new ServiceCallbacksCompat(msg.replyTo)); in handleMessage()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DTakeScreenshotService.java38 final Messenger callback = msg.replyTo;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java831 ac.connect(mContext, getHandler(), message.replyTo); in processMessage()
1337 if (addLocalService(message.replyTo, servInfo)) { in processMessage()
1346 removeLocalService(message.replyTo, servInfo); in processMessage()
1351 clearLocalServices(message.replyTo); in processMessage()
1356 if (!addServiceRequest(message.replyTo, in processMessage()
1365 removeServiceRequest(message.replyTo, (WifiP2pServiceRequest) message.obj); in processMessage()
1370 clearServiceRequests(message.replyTo); in processMessage()
3177 if (msg.replyTo == null) return; in replyToMessage()
3184 if (msg.replyTo == null) return; in replyToMessage()
3192 if (msg.replyTo == null) return; in replyToMessage()
/frameworks/base/core/java/android/net/
DNetworkAgent.java224 ac.connected(null, this, msg.replyTo); in handleMessage()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java260 mTrafficPoller.addClient(msg.replyTo); in handleMessage()
272 mTrafficPoller.removeClient(msg.replyTo); in handleMessage()
277 ac.connect(mContext, this, msg.replyTo); in handleMessage()
386 if (msg.replyTo == null) return; in replyFailed()
391 msg.replyTo.send(reply); in replyFailed()
DAvailableNetworkNotifier.java427 msg.replyTo = mSrcMessenger; in handleConnectToNetworkAction()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipMenuActivityController.java171 mToActivityMessenger = msg.replyTo;
/frameworks/base/tests/net/java/android/net/nsd/
DNsdManagerTest.java378 chan.connect(context, this, msg.replyTo); in handleMessage()

12