/frameworks/base/core/java/android/os/ |
D | Messenger.java | 32 public final class Messenger implements Parcelable { class 43 public Messenger(Handler target) { in Messenger() method in Messenger 79 return mTarget.asBinder().equals(((Messenger)otherObj) in equals() 98 public static final @android.annotation.NonNull Parcelable.Creator<Messenger> CREATOR 99 = new Parcelable.Creator<Messenger>() { 100 public Messenger createFromParcel(Parcel in) { 102 return target != null ? new Messenger(target) : null; 105 public Messenger[] newArray(int size) { 106 return new Messenger[size]; 118 public static void writeMessengerOrNullToParcel(Messenger messenger, in writeMessengerOrNullToParcel() [all …]
|
/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()
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
D | IWifiP2pManager.aidl | 19 import android.os.Messenger; 28 Messenger getMessenger(in IBinder binder); in getMessenger() 29 Messenger getP2pStateMachineMessenger(); in getP2pStateMachineMessenger()
|
/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 | 13 import android.os.Messenger; 125 Messenger messenger = new Messenger(service); in takeScreenshot() 144 msg.replyTo = new Messenger(h); in takeScreenshot()
|
/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/core/java/android/net/ |
D | NetworkProvider.java | 28 import android.os.Messenger; 71 private final Messenger mMessenger; 105 mMessenger = new Messenger(handler); in NetworkProvider() 111 public @Nullable Messenger getMessenger() { in getMessenger()
|
D | IConnectivityManager.aidl | 35 import android.os.Messenger; 160 int registerNetworkFactory(in Messenger messenger, in String name); in registerNetworkFactory() 161 void unregisterNetworkFactory(in Messenger messenger); in unregisterNetworkFactory() 163 int registerNetworkProvider(in Messenger messenger, in String name); in registerNetworkProvider() 164 void unregisterNetworkProvider(in Messenger messenger); in unregisterNetworkProvider() 168 Network registerNetworkAgent(in Messenger messenger, in NetworkInfo ni, in LinkProperties lp, in registerNetworkAgent() 173 in Messenger messenger, int timeoutSec, in IBinder binder, int legacy, in requestNetwork() 182 in Messenger messenger, in IBinder binder, String callingPackageName); in listenForNetwork()
|
D | INetworkStatsService.aidl | 29 import android.os.Messenger; 80 in DataUsageRequest request, in Messenger messenger, in IBinder binder); in registerUsageCallback()
|
/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() {
|
/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/core/java/android/net/nsd/ |
D | INsdManager.aidl | 19 import android.os.Messenger; 29 Messenger getMessenger(); in getMessenger()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | IWifiScanner.aidl | 19 import android.os.Messenger; 27 Messenger getMessenger(); in getMessenger()
|
D | IWifiManager.aidl | 39 import android.os.Messenger; 142 int startLocalOnlyHotspot(in Messenger messenger, in IBinder binder, String packageName); in startLocalOnlyHotspot() 146 void startWatchLocalOnlyHotspot(in Messenger messenger, in IBinder binder); in startWatchLocalOnlyHotspot() 160 Messenger getWifiServiceMessenger(String packageName); in getWifiServiceMessenger()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | TakeScreenshotService.java | 25 import android.os.Messenger; 41 final Messenger callback = msg.replyTo; 81 return new Messenger(mHandler).getBinder(); in onBind()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | LocalOnlyHotspotRequestInfo.java | 25 import android.os.Messenger; 41 private final Messenger mMessenger; 53 LocalOnlyHotspotRequestInfo(@NonNull IBinder binder, @NonNull Messenger messenger, in LocalOnlyHotspotRequestInfo()
|
/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/os/image/ |
D | DynamicSystemClient.java | 36 import android.os.Messenger; 247 mService = new Messenger(service); in onServiceConnected() 274 private final Messenger mMessenger; 279 private Messenger mService; 293 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/wifi/tests/src/android/net/wifi/ |
D | WifiManagerTest.java | 72 import android.os.Messenger; 118 private Messenger mWifiServiceMessenger; 119 final ArgumentCaptor<Messenger> mMessengerCaptor = ArgumentCaptor.forClass(Messenger.class); 130 mWifiServiceMessenger = new Messenger(mHandler); in setUp() 180 when(mWifiService.startLocalOnlyHotspot(any(Messenger.class), any(IBinder.class), in testCreationAndCloseOfLocalOnlyHotspotReservation() 198 when(mWifiService.startLocalOnlyHotspot(any(Messenger.class), any(IBinder.class), in testLocalOnlyHotspotReservationCallsStopProperlyInTryWithResources() 359 .startLocalOnlyHotspot(any(Messenger.class), any(IBinder.class), anyString()); in testStartLocalOnlyHotspot() 370 .startLocalOnlyHotspot(any(Messenger.class), any(IBinder.class), anyString()); in testStartLocalOnlyHotspotThrowsSecurityException() 382 .startLocalOnlyHotspot(any(Messenger.class), any(IBinder.class), anyString()); in testStartLocalOnlyHotspotThrowsIllegalStateException() 392 when(mWifiService.startLocalOnlyHotspot(any(Messenger.class), any(IBinder.class), in testCorrectLooperIsUsedForHandler() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | LocalOnlyHotspotRequestInfoTest.java | 27 import android.os.Messenger; 49 private Messenger mMessenger; 62 mMessenger = new Messenger(mHandler); in setUp()
|
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/ |
D | MmTelFeatureTests.java | 30 import android.os.Messenger; 109 private final Messenger mHandlerMessenger = new Messenger(mHandler);
|