Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/nfc/cardemulation/
DHostApduService.java227 final Messenger mMessenger = new Messenger(new MsgHandler()); field in HostApduService
252 responseMsg.replyTo = mMessenger; in handleMessage()
270 msg.replyTo = mMessenger; in handleMessage()
287 msg.replyTo = mMessenger; in handleMessage()
301 return mMessenger.getBinder(); in onBind()
316 mMessenger.send(responseMsg); in sendResponseApdu()
347 mMessenger.send(unhandledMsg); in notifyUnhandled()
/frameworks/base/core/java/android/net/
DNetworkFactory.java105 private Messenger mMessenger = null; field in NetworkFactory
117 if (mMessenger == null) { in register()
118 mMessenger = new Messenger(this); in register()
119 ConnectivityManager.from(mContext).registerNetworkFactory(mMessenger, LOG_TAG); in register()
125 if (mMessenger != null) { in unregister()
126 ConnectivityManager.from(mContext).unregisterNetworkFactory(mMessenger); in unregister()
127 mMessenger = null; in unregister()
/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.java752 private Messenger mMessenger; field in AsyncChannel.SyncMessenger
792 sm.mMessenger = new Messenger(sm.mHandler); in obtain()
819 msg.replyTo = sm.mMessenger; in sendMessageSynchronously()
/frameworks/base/core/tests/coretests/src/android/os/
DMessengerService.java40 private final Messenger mMessenger = new Messenger(mHandler); field in MessengerService
47 return mMessenger.getBinder(); in onBind()
/frameworks/base/core/java/android/os/
DHandler.java710 if (mMessenger != null) { in getIMessenger()
711 return mMessenger; in getIMessenger()
713 mMessenger = new MessengerImpl(); in getIMessenger()
714 return mMessenger; in getIMessenger()
746 IMessenger mMessenger; field in Handler
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DMediaRouteProviderService.java372 sendReply(client.mMessenger, SERVICE_MSG_DESCRIPTOR_CHANGED, 0, 0, in sendDescriptorChanged()
482 public final Messenger mMessenger; field in MediaRouteProviderService.ClientRecord
490 mMessenger = messenger; in ClientRecord()
496 mMessenger.getBinder().linkToDeath(this, 0); in register()
511 mMessenger.getBinder().unlinkToDeath(this, 0); in dispose()
517 return mMessenger.getBinder() == other.getBinder(); in hasMessenger()
558 mPrivateHandler.obtainMessage(PRIVATE_MSG_CLIENT_DIED, mMessenger).sendToTarget(); in binderDied()
563 return getClientId(mMessenger); in toString()
/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/opt/net/wifi/service/java/com/android/server/wifi/
DRttService.java151 private final Messenger mMessenger; field in RttService.RttServiceImpl.ClientInfo
157 mMessenger = m; in ClientInfo()
DWifiScanningServiceImpl.java466 private final Messenger mMessenger; field in WifiScanningServiceImpl.ClientInfo
470 mMessenger = m; in ClientInfo()
478 sb.append("mMessenger ").append(mMessenger).append("\n"); in toString()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java2935 mClientInfoList.remove(clientInfo.mMessenger); in removeServiceRequest()
2960 mClientInfoList.remove(clientInfo.mMessenger); in clearServiceRequests()
3000 mClientInfoList.remove(clientInfo.mMessenger); in removeLocalService()
3017 mClientInfoList.remove(clientInfo.mMessenger); in clearLocalServices()
3041 c.mMessenger.send(msg); in sendServiceResponse()
3044 clearClientInfo(c.mMessenger); in sendServiceResponse()
3068 c.mMessenger.send(msg); in clearClientDeadChannels()
3071 deadClients.add(c.mMessenger); in clearClientDeadChannels()
3111 private Messenger mMessenger; field in WifiP2pServiceImpl.ClientInfo
3124 mMessenger = m; in ClientInfo()
/frameworks/base/services/core/java/com/android/server/
DNsdService.java879 private final Messenger mMessenger; field in NsdService.ClientInfo
891 mMessenger = m; in ClientInfo()
899 sb.append("mMessenger ").append(mMessenger).append("\n"); in toString()
/frameworks/base/docs/html/guide/components/
Dbound-services.jd394 final Messenger mMessenger = new Messenger(new IncomingHandler());
403 return mMessenger.getBinder();