Home
last modified time | relevance | path

Searched refs:resultReceiver (Results 1 – 10 of 10) sorted by relevance

/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/
DWindowFocusStealerService.java42 public void stealWindowFocus(IBinder parentAppWindowToken, ResultReceiver resultReceiver) { in stealWindowFocus() argument
43 mMainHandler.post(() -> handleStealWindowFocus(parentAppWindowToken, resultReceiver)); in stealWindowFocus()
62 IBinder parentAppWindowToken, ResultReceiver resultReceiver) { in handleStealWindowFocus() argument
74 resultReceiver.send(0, null); in handleStealWindowFocus()
DWindowFocusStealer.java80 final MyResultReceiver resultReceiver = new MyResultReceiver(); in stealWindowFocus() local
82 mService.stealWindowFocus(parentAppWindowToken, resultReceiver); in stealWindowFocus()
86 resultReceiver.waitResult(timeout); in stealWindowFocus()
DIWindowFocusStealer.aidl22 void stealWindowFocus(in IBinder parentAppWindowToken, in ResultReceiver resultReceiver); in stealWindowFocus() argument
/cts/tests/tests/shortcutmanager/common/src/android.content.pm.cts.shortcutmanager.common/
DReplyUtil.java79 final BroadcastReceiver resultReceiver = new BroadcastReceiver() { in invokeAndWaitForReply() local
86 context.registerReceiver(resultReceiver, filter); in invokeAndWaitForReply()
100 context.unregisterReceiver(resultReceiver); in invokeAndWaitForReply()
/cts/tests/tests/appwidget/src/android/appwidget/cts/
DRequestPinAppWidgetTest.java99 BlockingReceiver resultReceiver = new BlockingReceiver().register(ACTION_PIN_RESULT); in runPinWidgetTest() local
103 resultReceiver.await(); in runPinWidgetTest()
106 assertEquals("dummy-2", resultReceiver.mResult.getStringExtra("dummy")); in runPinWidgetTest()
107 resultReceiver.unregister(); in runPinWidgetTest()
/cts/hostsidetests/appsecurity/test-apps/ClassLoaderSplitApp/src/com/android/cts/classloadersplitapp/
DSplitAppTest.java150 final ExtrasResultReceiver resultReceiver = new ExtrasResultReceiver(); in sendOrderedBroadcast() local
152 resultReceiver, null, 0, null, null); in sendOrderedBroadcast()
153 return resultReceiver; in sendOrderedBroadcast()
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DMockIme.java172 public void showSoftInput(int flags, ResultReceiver resultReceiver) { in showSoftInput() argument
173 getTracer().showSoftInput(flags, resultReceiver, in showSoftInput()
174 () -> super.showSoftInput(flags, resultReceiver)); in showSoftInput()
178 public void hideSoftInput(int flags, ResultReceiver resultReceiver) { in hideSoftInput() argument
179 getTracer().hideSoftInput(flags, resultReceiver, in hideSoftInput()
180 () -> super.hideSoftInput(flags, resultReceiver)); in hideSoftInput()
649 public void showSoftInput(int flags, ResultReceiver resultReceiver,
653 arguments.putParcelable("resultReceiver", resultReceiver);
657 public void hideSoftInput(int flags, ResultReceiver resultReceiver,
661 arguments.putParcelable("resultReceiver", resultReceiver);
/cts/hostsidetests/appsecurity/test-apps/IsolatedSplitApp/src/com/android/cts/isolatedsplitapp/
DSplitAppTest.java281 final ExtrasResultReceiver resultReceiver = new ExtrasResultReceiver(); in sendOrderedBroadcast() local
283 resultReceiver, null, 0, null, null); in sendOrderedBroadcast()
284 return resultReceiver; in sendOrderedBroadcast()
/cts/tests/tests/os/src/android/os/cts/
DMessengerTest.java95 String[] args, ShellCallback shellCallback, ResultReceiver resultReceiver) {
/cts/tests/tests/content/src/android/content/cts/
DContextWrapperTest.java514 ResultReceiver resultReceiver = new ResultReceiver(); in testAccessStickyBroadcast() local
521 waitForReceiveBroadCast(resultReceiver); in testAccessStickyBroadcast()