/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;
|
Message.java | 60 * {@link Messenger} to send the message across processes this can only 71 * Optional Messenger where replies to this message can be sent. The 75 public Messenger replyTo; 322 * processes via {@link Messenger}, you will need to set your ClassLoader 464 Messenger.writeMessengerOrNullToParcel(replyTo, dest); 476 replyTo = Messenger.readMessengerOrNullFromParcel(source);
|
/cts/tests/tests/os/src/android/os/cts/ |
MessengerTest.java | 34 import android.os.Messenger; 41 @TestTargetClass(Messenger.class) 44 private Messenger mMessenger; 47 private Messenger mServiceMessenger; 98 // Create another messenger to send msg. 102 mServiceMessenger = new Messenger(service); 116 mMessenger = new Messenger(mHandler); 135 method = "Messenger", 140 method = "Messenger", 150 Messenger messenger = new Messenger(mHandler) local 192 Messenger messenger = new Messenger(mIBinder); local 206 Messenger messenger = Messenger.CREATOR.createFromParcel(parcel); local 236 Messenger messenger = Messenger.readMessengerOrNullFromParcel(parcelWithMessenger); local [all...] |
/packages/apps/Nfc/src/com/android/nfc/snep/ |
SnepClient.java | 75 SnepMessenger messenger; local 80 messenger = mMessenger; 85 messenger.sendMessage(SnepMessage.getPutRequest(msg)); 86 messenger.getMessage(); 94 SnepMessenger messenger; local 99 messenger = mMessenger; 104 messenger.sendMessage(SnepMessage.getGetRequest(mAcceptableLength, msg)); 105 return messenger.getMessage(); 121 SnepMessenger messenger; local 138 messenger = new SnepMessenger(true, socket, fragmentLength) [all...] |
SnepServer.java | 122 static boolean handleRequest(SnepMessenger messenger, Callback callback) throws IOException { 125 request = messenger.getMessage(); 129 messenger.sendMessage(SnepMessage.getMessage( 138 messenger.sendMessage(SnepMessage.getMessage( 141 messenger.sendMessage(callback.doGet(request.getAcceptableLength(), 145 messenger.sendMessage(callback.doPut(request.getNdefMessage())); 148 messenger.sendMessage(SnepMessage.getMessage(
|
/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();
|
/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);
|
/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. 174 /** Messenger for source */ 175 private Messenger mSrcMessenger; 177 /** Messenger for destination */ 178 private Messenger mDstMessenger; 207 mSrcMessenger = new Messenger(srcHandler); 225 * Connect a handler to Messenger synchronously. 234 public int connectSync(Context srcContext, Handler srcHandler, Messenger dstMessenger) [all...] |
/frameworks/base/docs/html/guide/topics/fundamentals/ |
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
|
/frameworks/base/wifi/java/android/net/wifi/ |
IWifiManager.aidl | 24 import android.os.Messenger; 104 Messenger getMessenger();
|
WifiApConfigStore.java | 24 import android.os.Messenger; 171 Messenger getMessenger() { 172 return new Messenger(getHandler());
|
/development/samples/BluetoothHDP/src/com/example/bluetooth/health/ |
BluetoothHDPActivity.java | 37 import android.os.Messenger; 72 private Messenger mHealthService; 124 private final Messenger mMessenger = new Messenger(mIncomingHandler); 207 mHealthService = new Messenger(service);
|
BluetoothHDPService.java | 30 import android.os.Messenger; 98 private Messenger mClient; 138 final Messenger mMessenger = new Messenger(new IncomingHandler());
|
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
FrameworkPerfActivity.java | 28 import android.os.Messenger; 83 Messenger mService; 93 mService = new Messenger(service); 136 final Messenger mMessenger = new Messenger(mHandler);
|
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ |
ManagerService.java | 26 import android.os.Messenger; 113 private Messenger mMessenger = new Messenger(mIncomingHandler);
|
/packages/apps/Contacts/src/com/android/contacts/vcard/ |
ExportVCardActivity.java | 34 import android.os.Messenger; 114 private final Messenger mIncomingMessenger = new Messenger(new IncomingHandler());
|
/external/webkit/Source/WebCore/platform/ |
RuntimeApplicationChecks.cpp | 71 static bool isMicrosoftMessenger = mainBundleIsEqualTo("com.microsoft.Messenger");
|