Home
last modified time | relevance | path

Searched refs:messenger (Results 1 – 19 of 19) sorted by relevance

/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DMediaRouteProviderService.java292 private boolean onRegisterClient(Messenger messenger, int requestId, int version) { in onRegisterClient() argument
294 int index = findClient(messenger); in onRegisterClient()
296 ClientRecord client = new ClientRecord(messenger, version); in onRegisterClient()
304 sendReply(messenger, SERVICE_MSG_REGISTERED, in onRegisterClient()
315 private boolean onUnregisterClient(Messenger messenger, int requestId) { in onUnregisterClient() argument
316 int index = findClient(messenger); in onUnregisterClient()
323 sendGenericSuccess(messenger, requestId); in onUnregisterClient()
329 private void onBinderDied(Messenger messenger) { in onBinderDied() argument
330 int index = findClient(messenger); in onBinderDied()
340 private boolean onCreateRouteController(Messenger messenger, int requestId, in onCreateRouteController() argument
[all …]
DRegisteredMediaRouteProvider.java193 Messenger messenger = (service != null ? new Messenger(service) : null); in onServiceConnected() local
194 if (MediaRouteProviderService.isValidRemoteMessenger(messenger)) { in onServiceConnected()
195 Connection connection = new Connection(messenger); in onServiceConnected()
/frameworks/base/core/java/android/os/
DMessenger.java111 public static void writeMessengerOrNullToParcel(Messenger messenger, in writeMessengerOrNullToParcel() argument
113 out.writeStrongBinder(messenger != null ? messenger.mTarget.asBinder() in writeMessengerOrNullToParcel()
/frameworks/base/core/java/android/net/nsd/
DNsdManager.java428 final Messenger messenger = getMessenger(); in init() local
429 if (messenger == null) throw new RuntimeException("Failed to initialize"); in init()
433 mAsyncChannel.connect(mContext, mHandler, messenger); in init()
/frameworks/base/core/java/android/bluetooth/
DBluetoothTetheringDataTracker.java428 public void supplyMessenger(Messenger messenger) { in supplyMessenger() argument
429 if (messenger != null) { in supplyMessenger()
430 new AsyncChannel().connect(mContext, mBtdtHandler, messenger); in supplyMessenger()
/frameworks/base/core/java/android/net/
DNetworkStateTracker.java231 public void supplyMessenger(Messenger messenger); in supplyMessenger() argument
DBaseNetworkStateTracker.java171 public void supplyMessenger(Messenger messenger) { in supplyMessenger() argument
DIConnectivityManager.aidl131 void supplyMessenger(int networkType, in Messenger messenger); in supplyMessenger() argument
DConnectivityManager.java1291 public void supplyMessenger(int networkType, Messenger messenger) { in supplyMessenger() argument
1293 mService.supplyMessenger(networkType, messenger); in supplyMessenger()
DDummyDataStateTracker.java218 public void supplyMessenger(Messenger messenger) { in supplyMessenger() argument
DMobileDataStateTracker.java607 public void supplyMessenger(Messenger messenger) { in supplyMessenger() argument
610 ac.connect(mContext, MobileDataStateTracker.this.mHandler, messenger); in supplyMessenger()
DEthernetDataTracker.java423 public void supplyMessenger(Messenger messenger) { in supplyMessenger() argument
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pManager.java821 Messenger messenger = getMessenger(); in initialize() local
822 if (messenger == null) return null; in initialize()
825 if (c.mAsyncChannel.connectSync(srcContext, c.mHandler, messenger) in initialize()
/frameworks/base/wifi/java/android/net/wifi/
DWifiManager.java1384 Messenger messenger = getWifiServiceMessenger(); in init() local
1385 if (messenger == null) { in init()
1396 sAsyncChannel.connect(mContext, handler, messenger); in init()
DWifiStateTracker.java268 public void supplyMessenger(Messenger messenger) { in supplyMessenger() argument
/frameworks/base/services/java/com/android/server/
DConnectivityService.java3453 public void supplyMessenger(int networkType, Messenger messenger) { in supplyMessenger() argument
3457 mNetTrackers[networkType].supplyMessenger(messenger); in supplyMessenger()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DPhoneWindowManager.java3583 Messenger messenger = new Messenger(service); in takeScreenshot()
3605 messenger.send(msg); in takeScreenshot()
/frameworks/base/docs/html/guide/components/
Dbound-services.jd403 * When binding to the service, we return an interface to our messenger
/frameworks/base/docs/html/training/articles/
Dsecurity-tips.jd607 <h3>Using binder and messenger interfaces</h3>