/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/ |
D | WindowFocusStealerService.java | 43 public void stealWindowFocus(IBinder parentAppWindowToken, ResultReceiver resultReceiver) { in stealWindowFocus() argument 44 mMainHandler.post(() -> handleStealWindowFocus(parentAppWindowToken, resultReceiver)); in stealWindowFocus() 63 IBinder parentAppWindowToken, ResultReceiver resultReceiver) { in handleStealWindowFocus() argument 75 resultReceiver.send(0, null); in handleStealWindowFocus()
|
D | WindowFocusStealer.java | 81 final MyResultReceiver resultReceiver = new MyResultReceiver(); in stealWindowFocus() local 83 mService.stealWindowFocus(parentAppWindowToken, resultReceiver); in stealWindowFocus() 87 resultReceiver.waitResult(timeout); in stealWindowFocus()
|
D | IWindowFocusStealer.aidl | 22 void stealWindowFocus(in IBinder parentAppWindowToken, in ResultReceiver resultReceiver); in stealWindowFocus() argument
|
/cts/tests/tests/wifi/CtsWifiLocationTestApp/src/android/net/wifi/cts/app/ |
D | TriggerScanAndReturnStatusService.java | 35 ResultReceiver resultReceiver = in onStartJob() local 49 resultReceiver.send(succeeded ? 1 : 0, null); in onStartJob()
|
D | RetrieveTransportInfoAndReturnStatusService.java | 39 ResultReceiver resultReceiver = in onStartJob() local 42 resultReceiver.send( in onStartJob()
|
D | RetrieveScanResultsAndReturnStatusService.java | 35 ResultReceiver resultReceiver = in onStartJob() local 49 resultReceiver.send(succeeded ? 1 : 0, null); in onStartJob()
|
D | RetrieveConnectionInfoAndReturnStatusService.java | 35 ResultReceiver resultReceiver = in onStartJob() local 49 resultReceiver.send(succeeded ? 1 : 0, null); in onStartJob()
|
D | ScheduleJobActivity.java | 47 ResultReceiver resultReceiver = getIntent().getParcelableExtra(RESULT_RECEIVER_EXTRA); in onCreate() local 50 bundle.putParcelable(RESULT_RECEIVER_EXTRA, resultReceiver); in onCreate()
|
/cts/tests/tests/shortcutmanager/common/src/android.content.pm.cts.shortcutmanager.common/ |
D | ReplyUtil.java | 79 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/ |
D | RequestPinAppWidgetTest.java | 93 BlockingBroadcastReceiver resultReceiver = new BlockingBroadcastReceiver() in runPinWidgetTest() local 98 resultReceiver.await(); in runPinWidgetTest() 101 assertEquals("dummy-2", resultReceiver.result.getStringExtra("dummy")); in runPinWidgetTest()
|
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/ |
D | DirectShellCommand.java | 171 final MyResultReceiver resultReceiver = new MyResultReceiver(pipeFds[0]); in run() local 176 out.getFileDescriptor(), err.getFileDescriptor(), args, null, resultReceiver); in run() 178 return resultReceiver::getResult; in run()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | IncrementalDeviceConnection.java | 190 final ResultReceiver resultReceiver; in connectToService() local 192 resultReceiver = new ResultReceiver(null) { in connectToService() 204 resultReceiver = new ResultReceiver(null) { in connectToService() 222 parameters, null, resultReceiver); in connectToService()
|
/cts/tests/tests/wifi/src/android/net/wifi/cts/ |
D | WaitForResultActivity.java | 106 ResultReceiver resultReceiver = new ResultReceiver(null) { in startServiceToWaitForResult() local 118 .putExtra(RESULT_RECEIVER_EXTRA, convertToGeneric(resultReceiver)) in startServiceToWaitForResult()
|
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/ |
D | MockIme.java | 486 public void showSoftInput(int flags, ResultReceiver resultReceiver) { in showSoftInput() argument 487 getTracer().showSoftInput(flags, resultReceiver, in showSoftInput() 488 () -> super.showSoftInput(flags, resultReceiver)); in showSoftInput() 492 public void hideSoftInput(int flags, ResultReceiver resultReceiver) { in hideSoftInput() argument 493 getTracer().hideSoftInput(flags, resultReceiver, in hideSoftInput() 494 () -> super.hideSoftInput(flags, resultReceiver)); in hideSoftInput() 1213 void showSoftInput(int flags, ResultReceiver resultReceiver, @NonNull Runnable runnable) { 1216 arguments.putParcelable("resultReceiver", resultReceiver); 1220 void hideSoftInput(int flags, ResultReceiver resultReceiver, @NonNull Runnable runnable) { 1223 arguments.putParcelable("resultReceiver", resultReceiver);
|
/cts/hostsidetests/appsecurity/test-apps/IsolatedSplitApp/src/com/android/cts/isolatedsplitapp/ |
D | SplitAppTest.java | 478 final ExtrasResultReceiver resultReceiver = new ExtrasResultReceiver(); in sendOrderedBroadcast() local 480 resultReceiver, null, 0, null, null); in sendOrderedBroadcast() 481 return resultReceiver; in sendOrderedBroadcast()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | CommandReceiver.java | 391 BroadcastReceiver resultReceiver) { in sendCommandWithResultReceiver() argument 394 context.sendOrderedBroadcast(intent, null, resultReceiver, null, in sendCommandWithResultReceiver()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaControllerTest.java | 179 ResultReceiver resultReceiver = new ResultReceiver(mHandler); in testSendCommandWithIllegalArgumentsThrowsIAE() local 182 mController.sendCommand(/*command=*/ null, args, resultReceiver); in testSendCommandWithIllegalArgumentsThrowsIAE() 189 mController.sendCommand(/*command=*/ "", args, resultReceiver); in testSendCommandWithIllegalArgumentsThrowsIAE()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContextTest.java | 1198 ResultReceiver resultReceiver = new ResultReceiver(); in testAccessStickyBroadcast() local 1205 waitForReceiveBroadCast(resultReceiver); in testAccessStickyBroadcast()
|