/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
MediaRouteProviderProtocol.java | 20 import android.os.Messenger; 41 * - replyTo : client messenger 49 * - replyTo : client messenger 56 * - replyTo : client messenger 65 * - replyTo : client messenger 73 * - replyTo : client messenger 81 * - replyTo : client messenger 89 * - replyTo : client messenger 98 * - replyTo : client messenger 107 * - replyTo : client messenger [all...] |
MediaRouteProviderService.java | 27 import android.os.Messenger; 62 private final Messenger mReceiveMessenger; 86 mReceiveMessenger = new Messenger(mReceiveHandler); 137 private boolean onRegisterClient(Messenger messenger, int requestId, int version) { 139 int index = findClient(messenger); 141 ClientRecord client = new ClientRecord(messenger, version); 149 sendReply(messenger, SERVICE_MSG_REGISTERED, 160 private boolean onUnregisterClient(Messenger messenger, int requestId) 587 final Messenger messenger = msg.replyTo; local [all...] |
RegisteredMediaRouteProvider.java | 30 import android.os.Messenger; 195 Messenger messenger = (service != null ? new Messenger(service) : null); local 196 if (isValidRemoteMessenger(messenger)) { 197 Connection connection = new Connection(messenger); 206 Log.e(TAG, this + ": Service returned invalid messenger binder"); 382 private final Messenger mServiceMessenger; 384 private final Messenger mReceiveMessenger; 394 public Connection(Messenger serviceMessenger) [all...] |
/packages/apps/Nfc/src/com/android/nfc/snep/ |
SnepClient.java | 95 SnepMessenger messenger; local 100 messenger = mMessenger; 105 messenger.sendMessage(SnepMessage.getPutRequest(msg)); 106 messenger.getMessage(); 114 SnepMessenger messenger; local 119 messenger = mMessenger; 124 messenger.sendMessage(SnepMessage.getGetRequest(mAcceptableLength, msg)); 125 return messenger.getMessage(); 141 SnepMessenger messenger; local 158 messenger = new SnepMessenger(true, socket, fragmentLength) [all...] |
SnepServer.java | 140 static boolean handleRequest(SnepMessenger messenger, Callback callback) throws IOException { 143 request = messenger.getMessage(); 147 messenger.sendMessage(SnepMessage.getMessage( 156 messenger.sendMessage(SnepMessage.getMessage( 159 messenger.sendMessage(callback.doGet(request.getAcceptableLength(), 163 messenger.sendMessage(callback.doPut(request.getNdefMessage())); 166 messenger.sendMessage(SnepMessage.getMessage(
|
/cts/tests/tests/os/src/android/os/cts/ |
MessengerTest.java | 30 import android.os.Messenger; 39 private Messenger mMessenger; 42 private Messenger mServiceMessenger; 93 // Create another messenger to send msg. 97 mServiceMessenger = new Messenger(service); 111 mMessenger = new Messenger(mHandler); 128 Messenger messenger = new Messenger(mHandler); local 129 Messenger objMessenger = new Messenger(mHandler) 155 Messenger messenger = new Messenger(mIBinder); local 164 Messenger messenger = Messenger.CREATOR.createFromParcel(parcel); local 177 Messenger messenger = Messenger.readMessengerOrNullFromParcel(parcelWithMessenger); local [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
MessengerTest.java | 13 import android.os.Messenger; 23 Messenger messenger = new Messenger(handler); local 27 messenger.send(msg);
|
/frameworks/base/core/java/android/os/ |
Messenger.java | 22 * processes, by creating a Messenger pointing to a Handler in one process, 23 * and handing that Messenger to another process. 25 public final class Messenger implements Parcelable { 29 * Create a new Messenger pointing to the given Handler. Any Message 30 * objects sent through this Messenger will appear in the Handler as if 36 public Messenger(Handler target) { 41 * Send a Message to this Messenger's Handler. 54 * Retrieve the IBinder that this Messenger is using to communicate with 57 * @return Returns the IBinder backing this Messenger. 64 * Comparison operator on two Messenger objects, such that tru [all...] |
/frameworks/base/location/java/android/location/ |
SettingInjectorService.java | 24 import android.os.Messenger; 127 * Name of the intent key used to specify the messenger 131 public static final String MESSENGER_KEY = "messenger"; 187 * Send the summary and enabled values back to the caller via the messenger encoded in the 202 Messenger messenger = intent.getParcelableExtra(MESSENGER_KEY); local 204 messenger.send(message);
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
UserDictionaryAddWordActivity.java | 25 import android.os.Messenger; 78 if (!(listener instanceof Messenger)) return; // This will work if listener is null too. 79 final Messenger messenger = (Messenger)listener; 85 messenger.send(m);
|
/frameworks/base/core/java/android/net/ |
NetworkStateTracker.java | 21 import android.os.Messenger; 241 public void supplyMessenger(Messenger messenger);
|
BaseNetworkStateTracker.java | 21 import android.os.Messenger; 187 public void supplyMessenger(Messenger messenger) {
|
DummyDataStateTracker.java | 22 import android.os.Messenger; 220 public void supplyMessenger(Messenger messenger) {
|
IConnectivityManager.aidl | 26 import android.os.Messenger; 136 void supplyMessenger(int networkType, in Messenger messenger);
|
ConnectivityManager.java | 26 import android.os.Messenger; [all...] |
EthernetDataTracker.java | 25 import android.os.Messenger; 423 public void supplyMessenger(Messenger messenger) {
|
MobileDataStateTracker.java | 28 import android.os.Messenger; 766 public void supplyMessenger(Messenger messenger) { 769 ac.connect(mContext, MobileDataStateTracker.this.mHandler, messenger); [all...] |
/frameworks/base/core/java/android/bluetooth/ |
BluetoothTetheringDataTracker.java | 35 import android.os.Messenger; 428 public void supplyMessenger(Messenger messenger) { 429 if (messenger != null) { 430 new AsyncChannel().connect(mContext, mBtdtHandler, messenger);
|
/frameworks/base/core/java/android/net/nsd/ |
NsdManager.java | 29 import android.os.Messenger; 437 final Messenger messenger = getMessenger(); local 438 if (messenger == null) throw new RuntimeException("Failed to initialize"); 442 mAsyncChannel.connect(mContext, mHandler, messenger); 597 * @return Messenger pointing to the NetworkService handler 599 private Messenger getMessenger() {
|
/frameworks/base/wifi/java/android/net/wifi/ |
WifiManager.java | 31 import android.os.Messenger; 1543 Messenger messenger = getWifiServiceMessenger(); local [all...] |
WifiStateTracker.java | 33 import android.os.Messenger; 320 public void supplyMessenger(Messenger messenger) {
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
WifiP2pManager.java | 38 import android.os.Messenger; 850 Messenger messenger = getMessenger(); local [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/ |
VCardService.java | 28 import android.os.Messenger; 306 public synchronized void handleRequestAvailableExportDestination(final Messenger messenger) { 319 messenger.send(message);
|
/packages/apps/Settings/src/com/android/settings/location/ |
SettingsInjector.java | 33 import android.os.Messenger; 439 Messenger messenger = new Messenger(handler); local 442 intent.putExtra(SettingInjectorService.MESSENGER_KEY, messenger);
|
/frameworks/base/services/java/com/android/server/ |
ConnectivityService.java | 91 import android.os.Messenger; [all...] |