/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
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...] |
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...] |
/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. 32 public final class Messenger implements Parcelable { 36 * Create a new Messenger pointing to the given Handler. Any Message 37 * objects sent through this Messenger will appear in the Handler as if 43 public Messenger(Handler target) { 48 * Send a Message to this Messenger's Handler. 61 * Retrieve the IBinder that this Messenger is using to communicate with 64 * @return Returns the IBinder backing this Messenger. 71 * Comparison operator on two Messenger objects, such that tru [all...] |
Messenger.aidl | 20 parcelable Messenger;
|
/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);
|
/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...] |
MessengerService.java | 25 import android.os.Messenger; 41 private final Messenger mMessenger = new Messenger(mHandler);
|
/frameworks/base/core/java/android/net/ |
IConnectivityManager.aidl | 30 import android.os.Messenger; 123 void supplyMessenger(int networkType, in Messenger messenger); 137 void registerNetworkFactory(in Messenger messenger, in String name); 139 void unregisterNetworkFactory(in Messenger messenger); 141 void registerNetworkAgent(in Messenger messenger, in NetworkInfo ni, in LinkProperties lp, 145 in Messenger messenger, int timeoutSec, in IBinder binder, int legacy) [all...] |
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
IWifiP2pManager.aidl | 19 import android.os.Messenger; 28 Messenger getMessenger(); 29 Messenger getP2pStateMachineMessenger();
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowMessenger.java | 10 import android.os.Messenger; 13 @Implements(Messenger.class)
|
/frameworks/base/core/java/android/net/nsd/ |
INsdManager.aidl | 19 import android.os.Messenger; 28 Messenger getMessenger();
|
/frameworks/base/wifi/java/android/net/wifi/ |
IRttManager.aidl | 19 import android.os.Messenger; 26 Messenger getMessenger();
|
IWifiScanner.aidl | 19 import android.os.Messenger; 27 Messenger getMessenger();
|
/frameworks/base/core/tests/coretests/src/android/os/ |
MessengerService.java | 25 import android.os.Messenger; 40 private final Messenger mMessenger = new Messenger(mHandler);
|
MessengerTest.java | 27 import android.os.Messenger; 32 private Messenger mServiceMessenger; 37 mServiceMessenger = new Messenger(service); 48 private Messenger mTestMessenger; 57 mTestMessenger = new Messenger(mTestHandler);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
TakeScreenshotService.java | 24 import android.os.Messenger; 37 final Messenger callback = msg.replyTo; 56 return new Messenger(mHandler).getBinder();
|
/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(
|
/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);
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
MessengerService.java | 28 import android.os.Messenger; 42 * {@link Messenger} class for communicating with clients. This allows for 56 ArrayList<Messenger> mClients = new ArrayList<Messenger>(); 62 * from the service. The Message's replyTo field must be a Messenger of 69 * from the service. The Message's replyTo field must be a Messenger of 117 final Messenger mMessenger = new Messenger(new IncomingHandler()); 137 * When binding to the service, we return an interface to our messenger
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
NetworkAgentInfo.java | 27 import android.os.Messenger; 38 * AsyncChannel/messenger for reaching that NetworkAgent and lists of NetworkRequests 80 public final Messenger messenger; field in class:NetworkAgentInfo 86 public NetworkAgentInfo(Messenger messenger, AsyncChannel ac, NetworkInfo info, 89 this.messenger = messenger;
|
/cts/tests/tests/security/src/android/security/cts/ |
SeccompDeathTestService.java | 24 import android.os.Messenger; 60 final private Messenger mMessenger = new Messenger(new Handler() { 82 Messenger harness = new Messenger(harnessBinder);
|
/cts/tests/tests/uidisolation/src/android/uidisolation/cts/ |
ServiceRunnerActivity.java | 28 import android.os.Messenger; 35 private Messenger mService; 77 final Messenger mMessenger = new Messenger(new IncomingHandler(this)); 82 mService = new Messenger(service);
|
/frameworks/base/core/java/com/android/internal/util/ |
AsyncService.java | 24 import android.os.Messenger; 46 /** Messenger transport */ 47 protected Messenger mMessenger; 87 mMessenger = new Messenger(mHandler); 122 * Returns the Messenger's binder.
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
WifiTrafficPoller.java | 27 import android.os.Messenger; 64 private final List<Messenger> mClients = new ArrayList<Messenger>(); 99 void addClient(Messenger client) { 103 void removeClient(Messenger client) { 146 mClients.add((Messenger) msg.obj); 204 for (Messenger client : mClients) {
|