Home
last modified time | relevance | path

Searched refs:ResultReceiver (Results 1 – 25 of 39) sorted by relevance

12

/cts/tests/tests/os/src/android/os/cts/
DResultReceiverTest.java23 import android.os.ResultReceiver;
39 ResultReceiver receiver = new ResultReceiver(mHandler); in testResultReceiver()
45 ResultReceiver target = ResultReceiver.CREATOR.createFromParcel(p); in testResultReceiver()
49 private class MockResultReceiver extends ResultReceiver {
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DWaitForResultActivity.java28 import android.os.ResultReceiver;
92 private static ResultReceiver convertToGeneric(ResultReceiver receiver) { in convertToGeneric()
96 ResultReceiver receiverGeneric = ResultReceiver.CREATOR.createFromParcel(parcel); in convertToGeneric()
106 ResultReceiver resultReceiver = new ResultReceiver(null) { in startServiceToWaitForResult()
/cts/tests/framework/base/windowmanager/backgroundactivity/common/src/android/server/wm/backgroundactivity/common/
DEventReceiver.java23 import android.os.ResultReceiver;
46 public ResultReceiver getNotifier() { in getNotifier()
47 return new ResultReceiver(mHandler) { in getNotifier()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/
DIWindowFocusStealer.aidl19 import android.os.ResultReceiver;
22 void stealWindowFocus(in IBinder parentAppWindowToken, in ResultReceiver resultReceiver); in stealWindowFocus()
DWindowFocusStealerService.java27 import android.os.ResultReceiver;
43 public void stealWindowFocus(IBinder parentAppWindowToken, ResultReceiver resultReceiver) { in stealWindowFocus()
63 IBinder parentAppWindowToken, ResultReceiver resultReceiver) { in handleStealWindowFocus()
DWindowFocusStealer.java26 import android.os.ResultReceiver;
41 private static final class MyResultReceiver extends ResultReceiver {
/cts/tests/app/shared/src/android/app/stubs/shared/
DICloseSystemDialogsTestsService.aidl19 import android.os.ResultReceiver;
40 void postNotification(int notificationId, in ResultReceiver receiver, boolean usePendingIntent); in postNotification()
/cts/tests/tests/permission3/UsePermissionApp22CalendarOnly/src/android/permission3/cts/usepermission/
DCheckPermissionService.kt21 import android.os.ResultReceiver
38 val result = extras.getParcelable<ResultReceiver>("$packageName.RESULT")!! in onHandleIntent()
/cts/tests/tests/content/src/android/content/cts/
DContextTest.java610 final IntentFilter filterHighPriority = new IntentFilter(ResultReceiver.MOCK_ACTION); in testSendOrderedBroadcast1()
612 final IntentFilter filterLowPriority = new IntentFilter(ResultReceiver.MOCK_ACTION); in testSendOrderedBroadcast1()
616 final Intent broadcastIntent = new Intent(ResultReceiver.MOCK_ACTION); in testSendOrderedBroadcast1()
647 Intent intent = new Intent(ResultReceiver.MOCK_ACTION); in testSendOrderedBroadcast2()
673 final ResultReceiver receiver = new HighPriorityBroadcastReceiver(); in testSendOrderedBroadcastWithAppOp()
674 final ResultReceiver finalReceiver = new ResultReceiver(); in testSendOrderedBroadcastWithAppOp()
682 registerBroadcastReceiver(receiver, new IntentFilter(ResultReceiver.MOCK_ACTION)); in testSendOrderedBroadcastWithAppOp()
685 new Intent(ResultReceiver.MOCK_ACTION), in testSendOrderedBroadcastWithAppOp()
717 final ResultReceiver receiver = new ResultReceiver(); in testSendOrderedBroadcastWithAppOp_NotGranted()
725 registerBroadcastReceiver(receiver, new IntentFilter(ResultReceiver.MOCK_ACTION)); in testSendOrderedBroadcastWithAppOp_NotGranted()
[all …]
DLowPriorityBroadcastReceiver.java19 public class LowPriorityBroadcastReceiver extends ResultReceiver {
DHighPriorityBroadcastReceiver.java22 public class HighPriorityBroadcastReceiver extends ResultReceiver {
DResultReceiver.java26 public class ResultReceiver extends BroadcastReceiver { class
/cts/tests/tests/wifi/CtsWifiLocationTestApp/src/android/net/wifi/cts/app/
DTriggerScanAndReturnStatusService.java22 import android.os.ResultReceiver;
35 ResultReceiver resultReceiver = in onStartJob()
DRetrieveTransportInfoAndReturnStatusService.java26 import android.os.ResultReceiver;
39 ResultReceiver resultReceiver = in onStartJob()
DRetrieveScanResultsAndReturnStatusService.java22 import android.os.ResultReceiver;
35 ResultReceiver resultReceiver = in onStartJob()
DRetrieveConnectionInfoAndReturnStatusService.java22 import android.os.ResultReceiver;
35 ResultReceiver resultReceiver = in onStartJob()
DScheduleJobActivity.java25 import android.os.ResultReceiver;
47 ResultReceiver resultReceiver = getIntent().getParcelableExtra(RESULT_RECEIVER_EXTRA); in onCreate()
/cts/tests/framework/base/windowmanager/backgroundactivity/AppB/src/android/server/wm/backgroundactivity/appb/
DStartPendingIntentReceiver.java26 import android.os.ResultReceiver;
37 ResultReceiver eventNotifier = intent.getParcelableExtra(EVENT_NOTIFIER_EXTRA); in onReceive()
/cts/tests/tests/security/src/android/security/cts/
DDeviceIdleControllerTest.java24 import android.os.ResultReceiver;
48 new ResultReceiver(null) { in testAddWhiteList()
/cts/tests/framework/base/windowmanager/backgroundactivity/AppA/src/android/server/wm/backgroundactivity/appa/
DStartBackgroundActivityReceiver.java25 import android.os.ResultReceiver;
36 ResultReceiver eventNotifier = intent.getParcelableExtra(EVENT_NOTIFIER_EXTRA); in onReceive()
DSendPendingIntentReceiver.java32 import android.os.ResultReceiver;
44 ResultReceiver eventNotifier = receivedIntent.getParcelableExtra(EVENT_NOTIFIER_EXTRA); in onReceive()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DBlockedNumberUtil.java33 import android.os.ResultReceiver;
77 ResultReceiver receiver = new ResultReceiver(new Handler(Looper.getMainLooper())) { in runBlockedNumberService()
/cts/tests/framework/base/windowmanager/overlayappbase/src/android/server/wm/overlay/
DOverlayActivity.java29 import android.os.ResultReceiver;
55 ResultReceiver receiver = getIntent().getParcelableExtra(EXTRA_TOKEN_RECEIVER); in onResume()
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/
DDirectShellCommand.java25 import android.os.ResultReceiver;
98 private static final class MyResultReceiver extends ResultReceiver {
168 String[].class, shellCallbackClass, ResultReceiver.class); in run()
/cts/tests/tests/content/src/android/content/pm/cts/
DIncrementalDeviceConnection.java29 import android.os.ResultReceiver;
190 final ResultReceiver resultReceiver; in connectToService()
192 resultReceiver = new ResultReceiver(null) { in connectToService()
204 resultReceiver = new ResultReceiver(null) { in connectToService()

12