Home
last modified time | relevance | path

Searched refs:MOCK_ACTION (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/content/src/android/content/cts/
DResultReceiver.java29 public static final String MOCK_ACTION = field in ResultReceiver
35 mReceivedBroadCast = MOCK_ACTION.equals(intent.getAction()); in onReceive()
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()
652 registerBroadcastReceiver(receiver, new IntentFilter(ResultReceiver.MOCK_ACTION)); in testSendBroadcast1()
654 mContextWrapper.sendBroadcast(new Intent(ResultReceiver.MOCK_ACTION)); in testSendBroadcast1()
667 registerBroadcastReceiver(receiver, new IntentFilter(ResultReceiver.MOCK_ACTION)); in testSendBroadcast2()
669 mContextWrapper.sendBroadcast(new Intent(ResultReceiver.MOCK_ACTION), null); in testSendBroadcast2()