Home
last modified time | relevance | path

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

/cts/tests/tests/os/src/android/os/cts/
DMessengerTest.java39 private Messenger mMessenger; field in MessengerTest
75 mMessenger = new Messenger(mHandler); in setUp()
102 mMessenger.send(message); in testSend()
115 assertEquals(mMessenger.getBinder().hashCode(), mMessenger.hashCode()); in testHashCode()
121 assertNotNull(mMessenger.getBinder()); in testGetBinder()
126 mMessenger.writeToParcel(parcel, 0); in testWriteToParcel()
129 assertTrue(messenger.equals(mMessenger)); in testWriteToParcel()
134 assertEquals(0, mMessenger.describeContents()); in testDescribeContents()
139 Messenger.writeMessengerOrNullToParcel(mMessenger, parcelWithMessenger); in testWriteMessengerOrNullToParcel()
143 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/tests/app/app/src/android/app/stubs/
DDisplayEventActivity.java51 private Messenger mMessenger; field in DisplayEventActivity
61 mMessenger = intent.getParcelableExtra(TEST_MESSENGER, Messenger.class); in onCreate()
97 mMessenger.send(msg); in launched()
110 mMessenger.send(msg); in callback()
DLocalForegroundService.java56 private final Messenger mMessenger = new Messenger(new IncomingHandler()); field in LocalForegroundService
184 reply.putBinder(CommandReceiver.EXTRA_MESSENGER, mMessenger.getBinder()); in handleIncomingMessengerIfNeeded()
/cts/tests/tests/media/common/src/android/media/cts/
DLocalMediaProjectionService.java45 Messenger mMessenger; field in LocalMediaProjectionService
49 mMessenger = intent.getParcelableExtra(EXTRA_MESSENGER); in onStartCommand()
104 mMessenger.send(msg); in sendMessage()
/cts/hostsidetests/seccomp/app/src/android/seccomp/cts/app/
DIsolatedService.java34 final Messenger mMessenger = new Messenger(new ServiceHandler()); field in IsolatedService
38 return mMessenger.getBinder(); in onBind()
DSeccompDeviceTest.java68 private Messenger mMessenger; field in SeccompDeviceTest
91 mMessenger = new Messenger(new IncomingHandler(looper)); in initializeSyscallMap()
152 msg.replyTo = mMessenger; in getTestResult()
/cts/hostsidetests/tagging/common/src/android/cts/tagging/
DTestingService.java66 final Messenger mMessenger = new Messenger(new IncomingHandler(this)); field in TestingService
73 return mMessenger.getBinder(); in onBind()
DServiceRunnerActivity.java67 final Messenger mMessenger = new Messenger(new IncomingHandler(this)); field in ServiceRunnerActivity
77 msg.replyTo = mMessenger;
/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.java81 final Messenger mMessenger = new Messenger(new IncomingHandler(this)); field in PermissionTestService
104 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/tests/notification/NotificationTrampolineBase/src/com/android/test/notificationtrampoline/
DNotificationTrampolineTestService.java71 private Messenger mMessenger; field in NotificationTrampolineTestService
80 mMessenger = new Messenger(mHandler); in onCreate()
87 return mMessenger.getBinder(); in onBind()
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
DErrorLoggingService.java94 private final Messenger mMessenger = new Messenger(new MainHandler(mLog, mEventWaiters)); field in ErrorLoggingService
104 return mMessenger.getBinder(); in onBind()
109 private Messenger mMessenger; field in ErrorLoggingService.EventWaiter
113 mMessenger = messenger; in EventWaiter()
121 return mMessenger; in getMessenger()
/cts/tests/location/location_fine/src/android/location/cts/fine/
DSettingInjectorServiceTest.java169 private final Messenger mMessenger = new Messenger(this); field in SettingInjectorServiceTest.MessageCapture
178 return mMessenger; in getMessenger()
/cts/tests/tests/display/src/android/display/cts/
DDisplayEventTest.java101 private Messenger mMessenger; field in DisplayEventTest
258 mMessenger = new Messenger(mHandler); in setUp()
357 intent.putExtra(TEST_MESSENGER, mMessenger); in launchTestActivity()
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/
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.java73 private final Messenger mMessenger = new Messenger(new CheckHandler()); field in LauncherCallbackTestsService
193 return mMessenger.getBinder(); in onBind()
/cts/tests/tests/security/src/android/security/cts/
DAttributionSourceService.java55 private final Messenger mMessenger = new Messenger(new MainHandler()); field in AttributionSourceService
64 return mMessenger.getBinder(); in onBind()
/cts/tests/app/AppExitTest/src/android/app/cts/
DActivityManagerAppExitInfoTest.java178 private Messenger mMessenger; field in ActivityManagerAppExitInfoTest
206 mMessenger = new Messenger(mHandler); in setUp()
421 intent.putExtra(EXTRA_MESSENGER, mMessenger); in startService()
444 intent.putExtra(EXTRA_MESSENGER, mMessenger); in startIsolatedService()
1482 heartbeat.monitor(mMessenger); in runFreezerTest()