Home
last modified time | relevance | path

Searched refs:mMessenger (Results 1 – 13 of 13) sorted by relevance

/cts/tests/tests/os/src/android/os/cts/
DMessengerTest.java37 private Messenger mMessenger; field in MessengerTest
73 mMessenger = new Messenger(mHandler); in setUp()
100 mMessenger.send(message); in testSend()
113 assertEquals(mMessenger.getBinder().hashCode(), mMessenger.hashCode()); in testHashCode()
119 assertNotNull(mMessenger.getBinder()); in testGetBinder()
124 mMessenger.writeToParcel(parcel, 0); in testWriteToParcel()
127 assertTrue(messenger.equals(mMessenger)); in testWriteToParcel()
132 assertEquals(0, mMessenger.describeContents()); in testDescribeContents()
137 Messenger.writeMessengerOrNullToParcel(mMessenger, parcelWithMessenger); in testWriteMessengerOrNullToParcel()
141 assertTrue(messenger.equals(mMessenger)); in testWriteMessengerOrNullToParcel()
DMessengerService.java41 private final Messenger mMessenger = new Messenger(mHandler); field in MessengerService
48 return mMessenger.getBinder(); in onBind()
/cts/hostsidetests/seccomp/app/src/android/seccomp/cts/app/
DIsolatedService.java33 final Messenger mMessenger = new Messenger(new ServiceHandler()); field in IsolatedService
37 return mMessenger.getBinder(); in onBind()
DSeccompDeviceTest.java68 private Messenger mMessenger; field in SeccompDeviceTest
91 mMessenger = new Messenger(new IncomingHandler(looper)); in initializeSyscallMap()
151 msg.replyTo = mMessenger; in getTestResult()
/cts/tests/tests/webkit/src/android/webkit/cts/
DTestProcessService.java45 return mMessenger.getBinder(); in onBind()
48 final Messenger mMessenger = new Messenger(new IncomingHandler()); field in TestProcessService
/cts/tests/tests/externalservice/service/src/android/externalservice/service/
DBaseService.java37 private final Messenger mMessenger = new Messenger(mHandler); field in BaseService
42 return mMessenger.getBinder(); in onBind()
DServiceCreator.java78 private final Messenger mMessenger = new Messenger(mHandler); field in ServiceCreator
83 return mMessenger.getBinder(); in onBind()
/cts/tests/tests/uidisolation/src/android/uidisolation/cts/
DServiceRunnerActivity.java77 final Messenger mMessenger = new Messenger(new IncomingHandler(this)); field in ServiceRunnerActivity
87 msg.replyTo = mMessenger;
DPermissionTestService.java80 final Messenger mMessenger = new Messenger(new IncomingHandler(this)); field in PermissionTestService
103 return mMessenger.getBinder(); in onBind()
/cts/hostsidetests/devicepolicy/app/WidgetProvider/src/com/android/cts/widgetprovider/
DSimpleAppWidgetHostService.java72 private Messenger mMessenger; field in SimpleAppWidgetHostService
145 mMessenger = new Messenger(new CheckHandler(handlerThread.getLooper())); in setup()
154 return mMessenger.getBinder(); in onBind()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DAlertWindowsImportanceTests.java79 private final Messenger mMessenger = new Messenger(new IncomingHandler(Looper.getMainLooper())); field in AlertWindowsImportanceTests
94 .putExtra(AlertWindowService.EXTRA_MESSENGER, mMessenger); in setUp()
/cts/hostsidetests/devicepolicy/app/LauncherTestsSupport/src/com/android/cts/launchertests/support/
DLauncherCallbackTestsService.java72 private final Messenger mMessenger = new Messenger(new CheckHandler()); field in LauncherCallbackTestsService
192 return mMessenger.getBinder(); in onBind()
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
DErrorLoggingService.java92 private final Messenger mMessenger = new Messenger(new MainHandler(mLog, mEventWaiters)); field in ErrorLoggingService
102 return mMessenger.getBinder(); in onBind()