Searched refs:messenger (Results 1 – 11 of 11) sorted by relevance
92 Messenger messenger = new Messenger(mHandler); in testConstructorAndEquals() local94 assertTrue(messenger.equals(objMessenger)); in testConstructorAndEquals()95 messenger = new Messenger(mIBinder); in testConstructorAndEquals()96 assertFalse(messenger.equals(objMessenger)); in testConstructorAndEquals()119 Messenger messenger = new Messenger(mIBinder); in testGetBinder() local120 assertSame(mIBinder, messenger.getBinder()); in testGetBinder()128 Messenger messenger = Messenger.CREATOR.createFromParcel(parcel); in testWriteToParcel() local129 assertTrue(messenger.equals(mMessenger)); in testWriteToParcel()141 Messenger messenger = Messenger.readMessengerOrNullFromParcel(parcelWithMessenger); in testWriteMessengerOrNullToParcel() local142 assertNotNull(messenger); in testWriteMessengerOrNullToParcel()[all …]
65 final Messenger messenger = new Messenger(handler); in onCreate() local67 extras.putParcelable(EXTRA_MESSENGER, messenger); in onCreate()71 final Messenger messenger = arguments.getParcelable(EXTRA_MESSENGER, Messenger.class); in onCreate() local75 messenger.send(msg); in onCreate()
1735 final Messenger messenger = new Messenger(new Handler(handlerThread.getLooper(), msg -> { in testServiceDoneLRUPosition() local1756 extras.putBinder(CommandReceiver.EXTRA_MESSENGER, messenger.getBinder()); in testServiceDoneLRUPosition()
42 final Messenger messenger = new Messenger(new Handler(Looper.getMainLooper(), msg -> { in requestStartForegroundService() local59 .putExtra(EXTRA_MESSENGER, messenger); in requestStartForegroundService()
132 private Messenger messenger; field in LockHoldingService135 messenger = new Messenger(new LockHoldingHandler()); in onBind()136 return messenger.getBinder(); in onBind()
751 static Messenger messenger;797 messenger = new Messenger(service);830 messenger.send(msg);842 messenger.send(msg);852 messenger.send(msg);858 messenger = null;
24 void monitor(in Messenger messenger); in monitor() argument
86 public void monitor(Messenger messenger) {104 messenger.send(msg);
180 final Messenger messenger = new Messenger(binder); in handleIncomingMessengerIfNeeded() local186 messenger.send(msg); in handleIncomingMessengerIfNeeded()
104 Messenger messenger = intent.getParcelableExtra(EXTRA_MESSENGER); in sendPidBack() local113 messenger.send(msg); in sendPidBack()
111 EventWaiter(Set<Integer> events, Messenger messenger) { in EventWaiter() argument113 mMessenger = messenger; in EventWaiter()