/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...] |
Messenger.aidl | 20 parcelable Messenger;
|
/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...] |
/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...] |
/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/p2p/ |
IWifiP2pManager.aidl | 19 import android.os.Messenger; 28 Messenger getMessenger();
|
/cts/tests/src/android/os/cts/ |
MessengerService.java | 25 import android.os.Messenger; 41 private final Messenger mMessenger = new Messenger(mHandler);
|
/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...] |
/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
|
MessengerServiceActivities.java | 15 import android.os.Messenger; 34 /** Messenger for communicating with service. */ 35 Messenger mService = null; 60 final Messenger mMessenger = new Messenger(new IncomingHandler()); 73 mService = new Messenger(service);
|
/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.
|
AsyncChannel.java | 28 import android.os.Messenger; 136 * msg.replyTo = messenger that is disconnecting 149 * msg.replyTo = messenger disconnecting or null if it was never connected. 183 /** Error indicating abnormal termination of destination messenger */ 195 /** Messenger for source */ 196 private Messenger mSrcMessenger; 198 /** Messenger for destination */ 199 private Messenger mDstMessenger; 201 /** Death Monitor for destination messenger */ 231 mSrcMessenger = new Messenger(srcHandler) [all...] |
/frameworks/base/services/java/com/android/server/wifi/ |
WifiTrafficPoller.java | 27 import android.os.Messenger; 61 private final List<Messenger> mClients = new ArrayList<Messenger>(); 96 void addClient(Messenger client) { 100 void removeClient(Messenger client) { 125 mClients.add((Messenger) msg.obj); 168 for (Messenger client : mClients) {
|
/frameworks/base/wifi/java/android/net/wifi/ |
IWifiManager.aidl | 26 import android.os.Messenger; 108 Messenger getWifiServiceMessenger(); 110 Messenger getWifiStateMachineMessenger();
|
/frameworks/base/docs/html/guide/components/ |
bound-services.jd | 21 <li><a href="#Messenger">Using a Messenger</a></li> 140 <dt><a href="#Messenger">Using a Messenger</a></dt> 142 an interface for the service with a {@link android.os.Messenger}. In this manner, the service 145 is the basis for a {@link android.os.Messenger} that can then share an {@link android.os.IBinder} 147 android.os.Message} objects. Additionally, the client can define a {@link android.os.Messenger} of 150 android.os.Messenger} queues all requests into a single thread so that you don't have to design 157 IPC. The previous technique, using a {@link android.os.Messenger}, is actually based on AIDL as 158 its underlying structure. As mentioned above, the {@link android.os.Messenger} creates a queue o [all...] |
/ndk/sources/host-tools/sed-4.2.1/testsuite/ |
8bit.sed | 14 # I see the messenger come
|
/development/samples/training/basic/FragmentBasics/src/com/example/fragments/ |
Ipsum.java | 26 "Article One\n\nExcepteur pour-over occaecat squid biodiesel umami gastropub, nulla laborum salvia dreamcatcher fanny pack. Ullamco culpa retro ea, trust fund excepteur eiusmod direct trade banksy nisi lo-fi cray messenger bag. Nesciunt esse carles selvage put a bird on it gluten-free, wes anderson ut trust fund twee occupy viral. Laboris small batch scenester pork belly, leggings ut farm-to-table aliquip yr nostrud iphone viral next level. Craft beer dreamcatcher pinterest truffaut ethnic, authentic brunch. Esse single-origin coffee banksy do next level tempor. Velit synth dreamcatcher, magna shoreditch in american apparel messenger bag narwhal PBR ennui farm-to-table.",
|