/frameworks/base/core/java/android/os/ |
D | Messenger.java | 25 public final class Messenger implements Parcelable { class 36 public Messenger(Handler target) { in Messenger() method in Messenger 72 return mTarget.asBinder().equals(((Messenger)otherObj) in equals() 91 public static final Parcelable.Creator<Messenger> CREATOR 92 = new Parcelable.Creator<Messenger>() { 93 public Messenger createFromParcel(Parcel in) { 95 return target != null ? new Messenger(target) : null; 98 public Messenger[] newArray(int size) { 99 return new Messenger[size]; 111 public static void writeMessengerOrNullToParcel(Messenger messenger, in writeMessengerOrNullToParcel() [all …]
|
D | Messenger.aidl | 20 parcelable Messenger;
|
D | Message.java | 75 public Messenger replyTo; 464 Messenger.writeMessengerOrNullToParcel(replyTo, dest); in writeToParcel() 476 replyTo = Messenger.readMessengerOrNullFromParcel(source); in readFromParcel()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | 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); in go()
|
D | MessengerService.java | 25 import android.os.Messenger; 40 private final Messenger mMessenger = new Messenger(mHandler);
|
/frameworks/base/core/java/com/android/internal/util/ |
D | AsyncChannel.java | 28 import android.os.Messenger; 175 private Messenger mSrcMessenger; 178 private Messenger mDstMessenger; 207 mSrcMessenger = new Messenger(srcHandler); in connectSrcHandlerToPackageSync() 234 public int connectSync(Context srcContext, Handler srcHandler, Messenger dstMessenger) { in connectSync() 255 return connectSync(srcContext, srcHandler, new Messenger(dstHandler)); in connectSync() 349 public void connect(Context srcContext, Handler srcHandler, Messenger dstMessenger) { in connect() 371 public void connected(Context srcContext, Handler srcHandler, Messenger dstMessenger) { in connected() 377 mSrcMessenger = new Messenger(mSrcHandler); in connected() 394 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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | TakeScreenshotService.java | 24 import android.os.Messenger; 37 final Messenger callback = msg.replyTo; 56 return new Messenger(mHandler).getBinder(); in onBind()
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
D | IWifiP2pManager.aidl | 19 import android.os.Messenger; 28 Messenger getMessenger(); in getMessenger()
|
D | WifiP2pManager.java | 32 import android.os.Messenger; 449 Messenger messenger = getMessenger(); in initialize() 628 public Messenger getMessenger() { in getMessenger()
|
D | WifiP2pService.java | 51 import android.os.Messenger; 230 public Messenger getMessenger() { in getMessenger() 233 return new Messenger(mP2pStateMachine.getHandler()); in getMessenger()
|
/frameworks/base/docs/html/guide/topics/fundamentals/ |
D | 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 of 332 <h3 id="Messenger">Using a Messenger</h3> 337 <p>When you need to perform IPC, using a {@link android.os.Messenger} for your interface is [all …]
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | IWifiManager.aidl | 24 import android.os.Messenger; 104 Messenger getMessenger(); in getMessenger()
|
D | WifiManager.java | 28 import android.os.Messenger; 1193 public Messenger getMessenger() { in getMessenger()
|
D | WifiStateMachine.java | 66 import android.os.Messenger; 888 public void disableNetwork(Messenger replyTo, int netId, int reason) { in disableNetwork() 894 public void startWps(Messenger replyTo, WpsInfo config) { in startWps()
|
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ |
D | ManagerService.java | 26 import android.os.Messenger; 113 private Messenger mMessenger = new Messenger(mIncomingHandler);
|
D | LayoutTestsExecutor.java | 29 import android.os.Messenger; 120 private Messenger mManagerServiceMessenger; 126 mManagerServiceMessenger = new Messenger(service);
|
/frameworks/base/core/java/android/net/ |
D | MobileDataStateTracker.java | 33 import android.os.Messenger; 82 private Messenger mMessenger;
|
/frameworks/base/services/java/com/android/server/ |
D | WifiService.java | 50 import android.os.Messenger; 890 public Messenger getMessenger() { in getMessenger() 897 return new Messenger(mAsyncServiceHandler); in getMessenger()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | DataConnectionTracker.java | 35 import android.os.Messenger; 448 intent.putExtra(EXTRA_MESSENGER, new Messenger(this)); in broadcastMessenger()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | NetworkController.java | 37 import android.os.Messenger; 181 Messenger wifiMessenger = mWifiManager.getMessenger(); in NetworkController()
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
D | PhoneWindowManager.java | 49 import android.os.Messenger; 2611 Messenger messenger = new Messenger(service); in takeScreenshot() 2626 msg.replyTo = new Messenger(h); in takeScreenshot()
|
/frameworks/base/docs/html/guide/developing/tools/ |
D | aidl.jd | 44 href="{@docRoot}guide/topics/fundamentals/bound-services.html#Messenger">using a Messenger</a>.
|
/frameworks/base/api/ |
D | current.txt | 14815 field public android.os.Messenger replyTo; 14828 public final class Messenger implements android.os.Parcelable { 14829 ctor public Messenger(android.os.Handler); 14830 ctor public Messenger(android.os.IBinder); 14833 method public static android.os.Messenger readMessengerOrNullFromParcel(android.os.Parcel); 14835 method public static void writeMessengerOrNullToParcel(android.os.Messenger, android.os.Parcel);
|
D | 14.txt | 14815 field public android.os.Messenger replyTo; 14828 public final class Messenger implements android.os.Parcelable { 14829 ctor public Messenger(android.os.Handler); 14830 ctor public Messenger(android.os.IBinder); 14833 method public static android.os.Messenger readMessengerOrNullFromParcel(android.os.Parcel); 14835 method public static void writeMessengerOrNullToParcel(android.os.Messenger, android.os.Parcel);
|