/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 | 169 final Messenger mMessenger = new Messenger(new MsgHandler()); field in HostNfcFService 194 responseMsg.replyTo = mMessenger; in handleMessage() 212 msg.replyTo = mMessenger; in handleMessage() 231 return mMessenger.getBinder(); in onBind() 246 mMessenger.send(responseMsg); in sendResponsePacket()
|
/frameworks/base/core/java/android/net/ |
D | NetworkFactory.java | 107 private Messenger mMessenger = null; field in NetworkFactory 119 if (mMessenger == null) { in register() 120 mMessenger = new Messenger(this); in register() 121 ConnectivityManager.from(mContext).registerNetworkFactory(mMessenger, LOG_TAG); in register() 127 if (mMessenger != null) { in unregister() 128 ConnectivityManager.from(mContext).unregisterNetworkFactory(mMessenger); in unregister() 129 mMessenger = null; in unregister()
|
D | ConnectivityManager.java | 1463 private final Messenger mMessenger; field in ConnectivityManager.PacketKeepalive 1488 mMessenger = new Messenger(new Handler(mLooper) { in PacketKeepalive() 1531 mService.startNattKeepalive(network, intervalSeconds, k.mMessenger, new Binder(), in startNattKeepalive()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | NetworkStatsObserversTest.java | 105 private Messenger mMessenger; field in NetworkStatsObserversTest 128 mMessenger = new Messenger(mHandler); in setUp() 139 DataUsageRequest request = mStatsObservers.register(inputRequest, mMessenger, mockBinder, in testRegister_thresholdTooLow_setsDefaultThreshold() 151 DataUsageRequest request = mStatsObservers.register(inputRequest, mMessenger, mockBinder, in testRegister_highThreshold_accepted() 162 DataUsageRequest request1 = mStatsObservers.register(inputRequest, mMessenger, mockBinder, in testRegister_twoRequests_twoIds() 168 DataUsageRequest request2 = mStatsObservers.register(inputRequest, mMessenger, mockBinder, in testRegister_twoRequests_twoIds() 186 DataUsageRequest request = mStatsObservers.register(inputRequest, mMessenger, mockBinder, in testUnregister_knownRequest_releasesCaller() 203 DataUsageRequest request = mStatsObservers.register(inputRequest, mMessenger, mockBinder, in testUnregister_knownRequest_invalidUid_doesNotUnregister() 220 DataUsageRequest request = mStatsObservers.register(inputRequest, mMessenger, mockBinder, in testUpdateStats_initialSample_doesNotNotify() 250 DataUsageRequest request = mStatsObservers.register(inputRequest, mMessenger, mockBinder, in testUpdateStats_belowThreshold_doesNotNotify() [all …]
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncJobService.java | 34 private Messenger mMessenger; field in SyncJobService 43 mMessenger = intent.getParcelableExtra(EXTRA_MESSENGER); in onStartCommand() 53 if (mMessenger == null) { in sendMessage() 58 mMessenger.send(message); in sendMessage()
|
/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 | 750 private Messenger mMessenger; field in AsyncChannel.SyncMessenger 790 sm.mMessenger = new Messenger(sm.mHandler); in obtain() 817 msg.replyTo = sm.mMessenger; in sendMessageSynchronously()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | BidirectionalAsyncChannelServer.java | 42 private Messenger mMessenger; field in BidirectionalAsyncChannelServer 79 mMessenger = new Messenger(handler); in BidirectionalAsyncChannelServer() 83 return mMessenger; in getMessenger()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | MessengerService.java | 40 private final Messenger mMessenger = new Messenger(mHandler); field in MessengerService 47 return mMessenger.getBinder(); in onBind()
|
/frameworks/base/core/java/android/os/ |
D | Handler.java | 722 if (mMessenger != null) { in getIMessenger() 723 return mMessenger; in getIMessenger() 725 mMessenger = new MessengerImpl(); in getIMessenger() 726 return mMessenger; in getIMessenger() 758 IMessenger mMessenger; field in Handler
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
D | MediaRouteProviderService.java | 387 sendReply(client.mMessenger, SERVICE_MSG_DESCRIPTOR_CHANGED, 0, 0, in sendDescriptorChanged() 497 public final Messenger mMessenger; field in MediaRouteProviderService.ClientRecord 505 mMessenger = messenger; in ClientRecord() 511 mMessenger.getBinder().linkToDeath(this, 0); in register() 526 mMessenger.getBinder().unlinkToDeath(this, 0); in dispose() 532 return mMessenger.getBinder() == other.getBinder(); in hasMessenger() 573 mPrivateHandler.obtainMessage(PRIVATE_MSG_CLIENT_DIED, mMessenger).sendToTarget(); in binderDied() 578 return getClientId(mMessenger); in toString()
|
/frameworks/support/v4/java/android/support/v4/media/ |
D | MediaBrowserServiceCompat.java | 136 private Messenger mMessenger; field in MediaBrowserServiceCompat.MediaBrowserServiceImplBase 140 mMessenger = new Messenger(mHandler); in onCreate() 146 return mMessenger.getBinder(); in onBind() 205 Messenger mMessenger; field in MediaBrowserServiceCompat.MediaBrowserServiceImplApi21 226 if (mMessenger == null) { in notifyChildrenChanged() 252 if (mMessenger == null) { in getBrowserRootHints() 269 mMessenger = new Messenger(mHandler); in onGetRoot() 272 BundleCompat.putBinder(rootExtras, EXTRA_MESSENGER_BINDER, mMessenger.getBinder()); in onGetRoot()
|
D | MediaBrowserCompat.java | 1665 private Messenger mMessenger; field in MediaBrowserCompat.ServiceBinderWrapper 1669 mMessenger = new Messenger(target); in ServiceBinderWrapper() 1729 mMessenger.send(msg); in sendRequest()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | KeepaliveTracker.java | 84 private final Messenger mMessenger; field in KeepaliveTracker.KeepaliveInfo 103 mMessenger = messenger; in KeepaliveInfo() 140 KeepaliveTracker.this.notifyMessenger(mMessenger, slot, err); in notifyMessenger()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsObservers.java | 234 private final Messenger mMessenger; field in NetworkStatsObservers.RequestInfo 246 mMessenger = messenger; in RequestInfo() 307 mMessenger.send(msg); in callCallback()
|
/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/p2p/ |
D | WifiP2pServiceImpl.java | 3034 mClientInfoList.remove(clientInfo.mMessenger); in removeServiceRequest() 3059 mClientInfoList.remove(clientInfo.mMessenger); in clearServiceRequests() 3099 mClientInfoList.remove(clientInfo.mMessenger); in removeLocalService() 3116 mClientInfoList.remove(clientInfo.mMessenger); in clearLocalServices() 3140 c.mMessenger.send(msg); in sendServiceResponse() 3143 clearClientInfo(c.mMessenger); in sendServiceResponse() 3167 c.mMessenger.send(msg); in clearClientDeadChannels() 3170 deadClients.add(c.mMessenger); in clearClientDeadChannels() 3210 private Messenger mMessenger; field in WifiP2pServiceImpl.ClientInfo 3223 mMessenger = m; in ClientInfo()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | RttService.java | 173 private final Messenger mMessenger; field in RttService.RttServiceImpl.ClientInfo 181 mMessenger = m; in ClientInfo()
|
/frameworks/base/services/core/java/com/android/server/ |
D | NsdService.java | 866 private final Messenger mMessenger; field in NsdService.ClientInfo 878 mMessenger = m; in ClientInfo() 886 sb.append("mMessenger ").append(mMessenger).append("\n"); in toString()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
D | WifiScanningServiceImpl.java | 1800 protected final Messenger mMessenger; field in WifiScanningServiceImpl.ClientInfo 1804 mMessenger = messenger; in ClientInfo() 1812 mClients.put(mMessenger, this); in register() 1819 mClients.remove(mMessenger); in unregister() 1958 mMessenger.send(message); in reportEvent() 1979 msg.replyTo = mMessenger; in sendRequestToClientHandler()
|
/frameworks/base/docs/html-intl/intl/zh-cn/guide/components/ |
D | bound-services.jd | 389 final Messenger mMessenger = new Messenger(new IncomingHandler()); 398 return mMessenger.getBinder();
|
/frameworks/base/docs/html-intl/intl/ru/guide/components/ |
D | bound-services.jd | 389 final Messenger mMessenger = new Messenger(new IncomingHandler()); 398 return mMessenger.getBinder();
|
/frameworks/base/docs/html-intl/intl/ko/guide/components/ |
D | bound-services.jd | 389 final Messenger mMessenger = new Messenger(new IncomingHandler()); 398 return mMessenger.getBinder();
|
/frameworks/base/docs/html-intl/intl/zh-tw/guide/components/ |
D | bound-services.jd | 389 final Messenger mMessenger = new Messenger(new IncomingHandler()); 398 return mMessenger.getBinder();
|