Home
last modified time | relevance | path

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

/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/view/src/android/view/inputmethod/cts/
DInputMethodManagerTest.java26 import android.os.ResultReceiver;
116 ResultReceiver receiver = new ResultReceiver(handler); in testInputMethodManager()
118 receiver = new ResultReceiver(handler); in testInputMethodManager()
/cts/tests/tests/content/src/android/content/cts/
DContextWrapperTest.java153 final IntentFilter filterHighPriority = new IntentFilter(ResultReceiver.MOCK_ACTION); in testSendOrderedBroadcast1()
155 final IntentFilter filterLowPriority = new IntentFilter(ResultReceiver.MOCK_ACTION); in testSendOrderedBroadcast1()
159 final Intent broadcastIntent = new Intent(ResultReceiver.MOCK_ACTION); in testSendOrderedBroadcast1()
189 mContextWrapper.sendOrderedBroadcast(new Intent(ResultReceiver.MOCK_ACTION), in testSendOrderedBroadcast2()
530 ResultReceiver resultReceiver = new ResultReceiver(); in testAccessStickyBroadcast()
650 final ResultReceiver receiver = new ResultReceiver(); in testSendBroadcast1()
652 registerBroadcastReceiver(receiver, new IntentFilter(ResultReceiver.MOCK_ACTION)); in testSendBroadcast1()
654 mContextWrapper.sendBroadcast(new Intent(ResultReceiver.MOCK_ACTION)); in testSendBroadcast1()
665 final ResultReceiver receiver = new ResultReceiver(); in testSendBroadcast2()
667 registerBroadcastReceiver(receiver, new IntentFilter(ResultReceiver.MOCK_ACTION)); in testSendBroadcast2()
[all …]
DLowPriorityBroadcastReceiver.java19 public class LowPriorityBroadcastReceiver extends ResultReceiver {
DHighPriorityBroadcastReceiver.java22 public class HighPriorityBroadcastReceiver extends ResultReceiver {
DResultReceiver.java28 public class ResultReceiver extends BroadcastReceiver { class
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DActivityTransitionTest.java24 import android.os.ResultReceiver;
133 public static class PassInfo extends ResultReceiver {
DActivityTransitionActivity.java24 import android.os.ResultReceiver;
58 private ResultReceiver mResultReceiver;
/cts/tests/tests/media/src/android/media/cts/
DMediaControllerTest.java28 import android.os.ResultReceiver;
61 mController.sendCommand(command, extras, new ResultReceiver(null)); in testSendCommand()
230 private ResultReceiver mCommandCallback;
401 public void onCommand(String command, Bundle extras, ResultReceiver cb) { in onCommand()
/cts/hostsidetests/devicepolicy/app/LauncherTests/src/com/android/cts/launchertests/
DLauncherAppsTests.java38 import android.os.ResultReceiver;