/frameworks/base/core/java/android/os/ |
D | Messenger.java | 34 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 …]
|
D | Messenger.aidl | 20 parcelable Messenger;
|
/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/ |
D | BidirectionalAsyncChannelServer.java | 23 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()
|
D | BidirectionalAsyncChannel.java | 24 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/ |
D | SimpleFgService.java | 26 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/ |
D | MessengerTest.java | 28 private Messenger mServiceMessenger; 33 mServiceMessenger = new Messenger(service); 44 private Messenger mTestMessenger; 53 mTestMessenger = new Messenger(mTestHandler); in go()
|
D | MessengerService.java | 35 private final Messenger mMessenger = new Messenger(mHandler);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | TakeScreenshotService.java | 43 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/ |
D | AsyncChannel.java | 30 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 …]
|
D | AsyncService.java | 24 import android.os.Messenger; 47 protected Messenger mMessenger; 87 mMessenger = new Messenger(mHandler); in onCreate()
|
D | ScreenshotHelper.java | 21 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/ |
D | VisualVoicemailService.java | 30 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() {
|
D | TelephonyScanManager.java | 28 import android.os.Messenger; 110 private final Messenger mMessenger; 217 mMessenger = new Messenger(mHandler); in TelephonyScanManager()
|
/frameworks/base/core/java/android/nfc/cardemulation/ |
D | HostNfcFService.java | 28 import android.os.Messenger; 169 Messenger mNfcService = null; 171 final Messenger mMessenger = new Messenger(new MsgHandler());
|
D | HostApduService.java | 28 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/ |
D | InitService.java | 43 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()
|
D | TestService.java | 25 import android.os.Messenger; 58 Messenger messenger = intent.getParcelableExtra(Constants.EXTRA_RECEIVER_CALLBACK); in onUnbind()
|
D | TestActivity.java | 23 import android.os.Messenger; 33 private Messenger mResultTo;
|
/frameworks/base/core/java/android/net/nsd/ |
D | INsdManager.aidl | 19 import android.os.Messenger; 29 Messenger getMessenger(); in getMessenger()
|
/frameworks/base/core/java/android/os/image/ |
D | DynamicSystemClient.java | 35 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/ |
D | CameraPrewarmService.java | 24 import android.os.Messenger; 64 return new Messenger(mHandler).getBinder(); in onBind()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsObservers.java | 34 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/ |
D | INetworkStatsService.aidl | 30 import android.os.Messenger; 80 in DataUsageRequest request, in Messenger messenger, in IBinder binder); in registerUsageCallback()
|
/frameworks/base/location/java/android/location/ |
D | SettingInjectorService.java | 26 import android.os.Messenger; 182 Messenger messenger = intent.getParcelableExtra(MESSENGER_KEY); in sendStatus()
|
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/ |
D | MmTelFeatureTests.java | 31 import android.os.Messenger; 113 private final Messenger mHandlerMessenger = new Messenger(mHandler);
|