Home
last modified time | relevance | path

Searched refs:MOCKACTION (Results 1 – 3 of 3) sorted by relevance

/cts/tests/app/src/android/app/cts/
DPendingIntentTest.java182 mIntent = new Intent(MockReceiver.MOCKACTION); in testGetBroadcast()
190 assertEquals(MockReceiver.MOCKACTION, MockReceiver.sAction); in testGetBroadcast()
363 mIntent.setAction(MockReceiver.MOCKACTION); in testSend()
374 assertEquals(MockReceiver.MOCKACTION, MockReceiver.sAction); in testSend()
381 mIntent = new Intent(MockReceiver.MOCKACTION); in testSendWithParamInt()
389 assertEquals(MockReceiver.MOCKACTION, MockReceiver.sAction); in testSendWithParamInt()
400 assertEquals(MockReceiver.MOCKACTION, MockReceiver.sAction); in testSendWithParamInt()
404 assertEquals(MockReceiver.sAction, MockReceiver.MOCKACTION); in testSendWithParamInt()
411 mIntent = new Intent(MockReceiver.MOCKACTION); in testSendWithParamContextIntIntent()
421 assertEquals(MockReceiver.MOCKACTION, MockReceiver.sAction); in testSendWithParamContextIntIntent()
[all …]
DAlarmManagerTest.java39 public static final String MOCKACTION = "android.app.AlarmManagerTest.TEST_ALARMRECEIVER"; field in AlarmManagerTest
91 mIntent = new Intent(MOCKACTION) in setUp()
/cts/tests/app/app/src/android/app/stubs/
DMockReceiver.java28 public static final String MOCKACTION = "android.app.stubs.PendingIntentTest.TEST_RECEIVER"; field in MockReceiver
41 if (sAction.equals(MOCKACTION)) { in onReceive()