Home
last modified time | relevance | path

Searched refs:Messenger (Results 1 – 25 of 53) sorted by relevance

123

/frameworks/base/core/java/android/os/
DMessenger.java34 public final class Messenger implements Parcelable { class
45 public Messenger(Handler target) { in Messenger() method in Messenger
81 return mTarget.asBinder().equals(((Messenger)otherObj) in equals()
100 public static final @android.annotation.NonNull Parcelable.Creator<Messenger> CREATOR
101 = new Parcelable.Creator<Messenger>() {
102 public Messenger createFromParcel(Parcel in) {
104 return target != null ? new Messenger(target) : null;
107 public Messenger[] newArray(int size) {
108 return new Messenger[size];
120 public static void writeMessengerOrNullToParcel(Messenger messenger, in writeMessengerOrNullToParcel()
[all …]
DMessenger.aidl20 parcelable Messenger;
/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/
DBidirectionalAsyncChannelServer.java23 import android.os.Messenger;
41 private final Map<Messenger, AsyncChannel> mClients = new HashMap<>();
43 private Messenger mMessenger;
80 mMessenger = new Messenger(handler); in BidirectionalAsyncChannelServer()
83 public Messenger getMessenger() { in getMessenger()
87 public Set<Messenger> getClientMessengers() { in getClientMessengers()
DBidirectionalAsyncChannel.java24 import android.os.Messenger;
45 public void connect(final Looper looper, final Messenger messenger, in connect()
/frameworks/base/services/tests/servicestests/test-apps/SimpleServiceTestApp/src/com/android/servicestests/apps/simpleservicetestapp/
DSimpleFgService.java26 import android.os.Messenger;
63 private final Messenger mMessenger = new Messenger(mHandler);
66 private Messenger mRemoteMessenger;
85 mRemoteMessenger = new Messenger(intent.getExtras().getBinder(EXTRA_MESSENGER)); in onStartCommand()
/frameworks/base/core/tests/coretests/src/android/os/
DMessengerTest.java28 private Messenger mServiceMessenger;
33 mServiceMessenger = new Messenger(service);
44 private Messenger mTestMessenger;
53 mTestMessenger = new Messenger(mTestHandler); in go()
DMessengerService.java35 private final Messenger mMessenger = new Messenger(mHandler);
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DTakeScreenshotService.java43 import android.os.Messenger;
117 final Messenger m = new Messenger(mHandler); in onBind()
151 private final Messenger mReplyTo;
153 RequestCallbackImpl(Messenger replyTo) { in RequestCallbackImpl()
171 final Messenger replyTo = msg.replyTo; in handleMessage()
233 private static void sendComplete(Messenger target) { in sendComplete()
244 private static void reportUri(Messenger target, Uri uri) { in reportUri()
/frameworks/base/core/java/com/android/internal/util/
DAsyncChannel.java30 import android.os.Messenger;
202 private Messenger mSrcMessenger;
205 private Messenger mDstMessenger;
238 mSrcMessenger = new Messenger(srcHandler); in connectSrcHandlerToPackageSync()
266 public int connectSync(Context srcContext, Handler srcHandler, Messenger dstMessenger) { in connectSync()
287 return connectSync(srcContext, srcHandler, new Messenger(dstHandler)); in connectSync()
382 public void connect(Context srcContext, Handler srcHandler, Messenger dstMessenger) { in connect()
405 public void connected(Context srcContext, Handler srcHandler, Messenger dstMessenger) { in connected()
411 mSrcMessenger = new Messenger(mSrcHandler); in connected()
427 connect(srcContext, srcHandler, new Messenger(dstHandler)); in connect()
[all …]
DAsyncService.java24 import android.os.Messenger;
47 protected Messenger mMessenger;
87 mMessenger = new Messenger(mHandler); in onCreate()
DScreenshotHelper.java21 import android.os.Messenger;
328 msg.replyTo = new Messenger(h); in takeScreenshot()
345 Messenger messenger = new Messenger(mScreenshotService); in takeScreenshot()
380 Messenger messenger = new Messenger(mScreenshotService); in takeScreenshot()
/frameworks/base/telephony/java/android/telephony/
DVisualVoicemailService.java30 import android.os.Messenger;
117 private final Messenger mReplyTo;
119 private VisualVoicemailTask(Messenger replyTo, int taskId) { in VisualVoicemailTask()
156 private final Messenger mMessenger = new Messenger(new Handler() {
DTelephonyScanManager.java28 import android.os.Messenger;
110 private final Messenger mMessenger;
217 mMessenger = new Messenger(mHandler); in TelephonyScanManager()
/frameworks/base/core/java/android/nfc/cardemulation/
DHostNfcFService.java28 import android.os.Messenger;
169 Messenger mNfcService = null;
171 final Messenger mMessenger = new Messenger(new MsgHandler());
DHostApduService.java28 import android.os.Messenger;
241 Messenger mNfcService = null;
243 final Messenger mMessenger = new Messenger(new MsgHandler());
/frameworks/base/tests/ActivityManagerPerfTests/stub-app/src/com/android/stubs/am/
DInitService.java43 import android.os.Messenger;
57 private final Messenger mCallback;
59 private final Messenger mMessenger;
65 Stub(Context context, Messenger callback) { in Stub()
71 mMessenger = new Messenger(mHandler); in Stub()
237 private static void sendResult(Messenger callback, int what, int seq, int result, Object obj) { in sendResult()
255 private Messenger mCallback;
258 MyServiceConnection(Messenger callback) { in MyServiceConnection()
289 Messenger callback = intent.getParcelableExtra(Constants.EXTRA_RECEIVER_CALLBACK); in onStartCommand()
DTestService.java25 import android.os.Messenger;
58 Messenger messenger = intent.getParcelableExtra(Constants.EXTRA_RECEIVER_CALLBACK); in onUnbind()
DTestActivity.java23 import android.os.Messenger;
33 private Messenger mResultTo;
/frameworks/base/core/java/android/net/nsd/
DINsdManager.aidl19 import android.os.Messenger;
29 Messenger getMessenger(); in getMessenger()
/frameworks/base/core/java/android/os/image/
DDynamicSystemClient.java35 import android.os.Messenger;
243 mService = new Messenger(service); in onServiceConnected()
264 private final Messenger mMessenger;
269 private Messenger mService;
282 mMessenger = new Messenger(new IncomingHandler(this)); in DynamicSystemClient()
/frameworks/base/core/java/android/service/media/
DCameraPrewarmService.java24 import android.os.Messenger;
64 return new Messenger(mHandler).getBinder(); in onBind()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsObservers.java34 import android.os.Messenger;
77 public DataUsageRequest register(DataUsageRequest inputRequest, Messenger messenger, in register()
209 Messenger messenger, IBinder binder, int callingUid, in buildRequestInfo()
229 private final Messenger mMessenger;
237 Messenger messenger, IBinder binder, int callingUid, in RequestInfo()
332 Messenger messenger, IBinder binder, int callingUid, in NetworkUsageRequestInfo()
374 Messenger messenger, IBinder binder, int callingUid, in UserUsageRequestInfo()
/frameworks/base/core/java/android/net/
DINetworkStatsService.aidl30 import android.os.Messenger;
80 in DataUsageRequest request, in Messenger messenger, in IBinder binder); in registerUsageCallback()
/frameworks/base/location/java/android/location/
DSettingInjectorService.java26 import android.os.Messenger;
182 Messenger messenger = intent.getParcelableExtra(MESSENGER_KEY); in sendStatus()
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/
DMmTelFeatureTests.java31 import android.os.Messenger;
113 private final Messenger mHandlerMessenger = new Messenger(mHandler);

123