Searched refs:MockReceiver (Results 1 – 8 of 8) sorted by relevance
/cts/tests/app/BroadcastsTest/src/android/app/cts/broadcasts/ |
D | BroadcastReceiverTest.java | 223 map.putString(MockReceiver.RESULT_EXTRAS_INVARIABLE_KEY, in testManifestReceiverPackage() 224 MockReceiver.RESULT_EXTRAS_INVARIABLE_VALUE); in testManifestReceiverPackage() 225 map.putString(MockReceiver.RESULT_EXTRAS_REMOVE_KEY, in testManifestReceiverPackage() 226 MockReceiver.RESULT_EXTRAS_REMOVE_VALUE); in testManifestReceiverPackage() 235 assertEquals(MockReceiver.RESULT_CODE, internalReceiver.getResultCode()); in testManifestReceiverPackage() 236 assertEquals(MockReceiver.RESULT_DATA, internalReceiver.getResultData()); in testManifestReceiverPackage() 239 assertEquals(MockReceiver.RESULT_EXTRAS_INVARIABLE_VALUE, in testManifestReceiverPackage() 240 resultExtras.getString(MockReceiver.RESULT_EXTRAS_INVARIABLE_KEY)); in testManifestReceiverPackage() 241 assertEquals(MockReceiver.RESULT_EXTRAS_ADD_VALUE, in testManifestReceiverPackage() 242 resultExtras.getString(MockReceiver.RESULT_EXTRAS_ADD_KEY)); in testManifestReceiverPackage() [all …]
|
D | MockReceiver.java | 29 public class MockReceiver extends BroadcastReceiver { class
|
/cts/tests/app/src/android/app/cts/ |
D | PendingIntentTest.java | 24 import android.app.stubs.MockReceiver; 301 MockReceiver.prepareReceive(null, 0); in testGetBroadcast() 302 mIntent = new Intent(MockReceiver.MOCKACTION); in testGetBroadcast() 303 mIntent.setClass(mContext, MockReceiver.class); in testGetBroadcast() 309 MockReceiver.waitForReceive(WAIT_TIME); in testGetBroadcast() 310 assertEquals(MockReceiver.MOCKACTION, MockReceiver.sAction); in testGetBroadcast() 582 MockReceiver.prepareReceive(null, -1); in testSend() 584 mIntent.setAction(MockReceiver.MOCKACTION); in testSend() 585 mIntent.setClass(mContext, MockReceiver.class); in testSend() 591 MockReceiver.waitForReceive(WAIT_TIME); in testSend() [all …]
|
/cts/tests/tests/content/src/android/content/cts/ |
D | MockReceiver.java | 29 public class MockReceiver extends BroadcastReceiver { class
|
D | IntentTest.java | 2106 mIntent.setComponent(new ComponentName(mContext, MockReceiver.class)); in testFilterEquals()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | MockReceiver.java | 24 public class MockReceiver extends BroadcastReceiver { class
|
/cts/tests/tests/content/ |
D | Android.bp | 316 "src/android/content/cts/MockReceiver.java",
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageManagerTest.java | 104 import android.content.cts.MockReceiver; 1557 final ComponentName componentName = new ComponentName(mContext, MockReceiver.class); in testGetInfo_noMetaData_InBroadcastReceiver() 1638 final ComponentName componentName = new ComponentName(mContext, MockReceiver.class); in testGetInfo_checkMetaData_InBroadcastReceiver()
|