Home
last modified time | relevance | path

Searched refs:replyTo (Results 1 – 25 of 34) 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
150 m.replyTo = orig.replyTo; in obtain()
301 replyTo = null; in recycleUnchecked()
328 this.replyTo = o.replyTo; in copyFrom()
595 Messenger.writeMessengerOrNullToParcel(replyTo, dest); in writeToParcel()
608 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.java180 if (mNfcService == null) mNfcService = msg.replyTo; in handleMessage()
194 responseMsg.replyTo = mMessenger; in handleMessage()
212 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/net/wifi/service/java/com/android/server/wifi/
DRttService.java80 if (DBG) Slog.d(TAG, "closing client " + msg.replyTo); in handleMessage()
82 ClientInfo ci = mClients.remove(msg.replyTo); in handleMessage()
88 ac.connected(mContext, this, msg.replyTo); in handleMessage()
91 mClients.put(msg.replyTo, client); in handleMessage()
100 ci = mClients.get(msg.replyTo); in handleMessage()
103 Slog.e(TAG, "Could not find client info for message " + msg.replyTo); in handleMessage()
366 client = mClients.get(msg.replyTo); in processMessage()
427 ci = mClients.get(msg.replyTo); in processMessage()
583 ci = mClients.get(msg.replyTo); in processMessage()
628 if (msg.replyTo != null) { in replySucceeded()
[all …]
DWifiServiceImpl.java242 mTrafficPoller.addClient(msg.replyTo); in handleMessage()
254 mTrafficPoller.removeClient(msg.replyTo); in handleMessage()
259 ac.connect(mContext, this, msg.replyTo); in handleMessage()
322 if (msg.replyTo == null) return; in replyFailed()
327 msg.replyTo.send(reply); in replyFailed()
/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/services/core/java/com/android/server/
DNsdService.java136 cInfo = new ClientInfo(c, msg.replyTo); in processMessage()
137 mClients.put(msg.replyTo, cInfo); in processMessage()
154 cInfo = mClients.get(msg.replyTo); in processMessage()
157 mClients.remove(msg.replyTo); in processMessage()
166 ac.connect(mContext, getHandler(), msg.replyTo); in processMessage()
274 clientInfo = mClients.get(msg.replyTo); in processMessage()
298 clientInfo = mClients.get(msg.replyTo); in processMessage()
317 clientInfo = mClients.get(msg.replyTo); in processMessage()
337 clientInfo = mClients.get(msg.replyTo); in processMessage()
356 clientInfo = mClients.get(msg.replyTo); in processMessage()
[all …]
DConnectivityService.java1997 NetworkAgentInfo nai = mNetworkAgentInfos.get(msg.replyTo); in maybeHandleAsyncChannelMessage()
2010 NetworkAgentInfo nai = mNetworkAgentInfos.get(msg.replyTo); in maybeHandleNetworkAgentMessage()
2215 if (mNetworkFactoryInfos.containsKey(msg.replyTo)) { in handleAsyncChannelHalfConnect()
2229 } else if (mNetworkAgentInfos.containsKey(msg.replyTo)) { in handleAsyncChannelHalfConnect()
2233 mNetworkAgentInfos.get(msg.replyTo).asyncChannel. in handleAsyncChannelHalfConnect()
2237 NetworkAgentInfo nai = mNetworkAgentInfos.remove(msg.replyTo); in handleAsyncChannelHalfConnect()
2252 NetworkAgentInfo nai = mNetworkAgentInfos.get(msg.replyTo); in handleAsyncChannelDisconnected()
2284 mNetworkAgentInfos.remove(msg.replyTo); in handleAsyncChannelDisconnected()
2328 NetworkFactoryInfo nfi = mNetworkFactoryInfos.remove(msg.replyTo); in handleAsyncChannelDisconnected()
/frameworks/base/core/java/com/android/internal/util/
DAsyncChannel.java460 msg.replyTo = mSrcMessenger; in disconnect()
480 msg.replyTo = mSrcMessenger; in sendMessage()
565 dstMsg.replyTo = mSrcMessenger; in replyToMessage()
566 srcMsg.replyTo.send(dstMsg); in replyToMessage()
817 msg.replyTo = sm.mMessenger; in sendMessageSynchronously()
846 msg.replyTo = mDstMessenger; in replyHalfConnected()
885 msg.replyTo = mDstMessenger; in replyDisconnected()
/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.java143 ExternalClientInfo client = (ExternalClientInfo) mClients.get(msg.replyTo); in handleMessage()
146 + msg.replyTo); in handleMessage()
153 ac.connected(mContext, this, msg.replyTo); in handleMessage()
155 client = new ExternalClientInfo(msg.sendingUid, msg.replyTo, ac); in handleMessage()
164 ExternalClientInfo client = (ExternalClientInfo) mClients.get(msg.replyTo); in handleMessage()
171 ExternalClientInfo client = (ExternalClientInfo) mClients.get(msg.replyTo); in handleMessage()
203 ClientInfo ci = mClients.get(msg.replyTo); in handleMessage()
205 loge("Could not find client info for message " + msg.replyTo + ", msg=" + msg); in handleMessage()
594 ClientInfo ci = mClients.get(msg.replyTo); in processMessage()
1074 ClientInfo ci = mClients.get(msg.replyTo); in processMessage()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareRttStateManagerTest.java122 msg.replyTo.send(successMessage); in testStartRanging()
136 msg.replyTo.send(failMessage); in testStartRanging()
/frameworks/support/media-compat/java/android/support/v4/media/
DMediaBrowserServiceCompat.java485 new ServiceCallbacksCompat(msg.replyTo)); in handleMessage()
488 mServiceBinderImpl.disconnect(new ServiceCallbacksCompat(msg.replyTo)); in handleMessage()
494 new ServiceCallbacksCompat(msg.replyTo)); in handleMessage()
499 new ServiceCallbacksCompat(msg.replyTo)); in handleMessage()
504 new ServiceCallbacksCompat(msg.replyTo)); in handleMessage()
507 mServiceBinderImpl.registerCallbacks(new ServiceCallbacksCompat(msg.replyTo), in handleMessage()
511 mServiceBinderImpl.unregisterCallbacks(new ServiceCallbacksCompat(msg.replyTo)); in handleMessage()
517 new ServiceCallbacksCompat(msg.replyTo)); in handleMessage()
523 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.java711 ac.connect(mContext, getHandler(), message.replyTo); in processMessage()
1236 if (addLocalService(message.replyTo, servInfo)) { in processMessage()
1245 removeLocalService(message.replyTo, servInfo); in processMessage()
1250 clearLocalServices(message.replyTo); in processMessage()
1255 if (!addServiceRequest(message.replyTo, in processMessage()
1264 removeServiceRequest(message.replyTo, (WifiP2pServiceRequest) message.obj); in processMessage()
1269 clearServiceRequests(message.replyTo); in processMessage()
3006 if (msg.replyTo == null) return; in replyToMessage()
3013 if (msg.replyTo == null) return; in replyToMessage()
3021 if (msg.replyTo == null) return; in replyToMessage()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNat464Xlat.java176 msg.replyTo = mNetwork.messenger; in updateConnectivityService()
/frameworks/base/core/java/android/net/
DNetworkAgent.java238 ac.connected(null, this, msg.replyTo); in handleMessage()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipMenuActivityController.java163 mToActivityMessenger = msg.replyTo;
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DRegisteredMediaRouteProvider.java629 msg.replyTo = mReceiveMessenger; in sendRequest()

12