HomeSort by relevance Sort by last modified time
    Searched refs:Messenger (Results 1 - 25 of 107) sorted by null

1 2 3 4 5

  /frameworks/base/core/java/android/os/
Messenger.aidl 20 parcelable Messenger;
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...]
  /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/wifi/java/android/net/wifi/p2p/
IWifiP2pManager.aidl 19 import android.os.Messenger;
28 Messenger getMessenger();
29 Messenger getP2pStateMachineMessenger();
  /frameworks/base/core/java/android/net/nsd/
INsdManager.aidl 19 import android.os.Messenger;
28 Messenger getMessenger();
  /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);
  /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/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();
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowMessenger.java 10 import android.os.Messenger;
13 @Implements(Messenger.class)
  /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...]
  /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);
SeccompBpfTest.java 30 import android.os.Messenger;
56 * Messenger that runs on mHandlerThread.
58 private Messenger mMessenger;
125 mMessenger = new Messenger(new Handler(mHandlerThread.getLooper()) {
168 Messenger remoteMessenger = 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);
  /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/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.
  /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/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...]
NetworkStateTracker.java 21 import android.os.Messenger;
223 public void supplyMessenger(Messenger messenger);
  /frameworks/base/core/java/android/nfc/cardemulation/
HostApduService.java 12 import android.os.Messenger;
220 * Messenger interface to NfcService for sending responses.
225 Messenger mNfcService = null;
227 final Messenger mMessenger = new Messenger(new MsgHandler());
318 Log.e("TAG", "Local messenger has died.");
349 Log.e("TAG", "Local messenger has died.");

Completed in 1303 milliseconds

1 2 3 4 5