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.java27 public static final String MOCK_ACTION = field in ResultReceiver
33 mReceivedBroadCast = MOCK_ACTION.equals(intent.getAction()); in onReceive()
DContextTest.java155 "am broadcast -a " + ResultReceiver.MOCK_ACTION + " -f "
722 final IntentFilter filterHighPriority = new IntentFilter(ResultReceiver.MOCK_ACTION); in testSendOrderedBroadcast1()
724 final IntentFilter filterLowPriority = new IntentFilter(ResultReceiver.MOCK_ACTION); in testSendOrderedBroadcast1()
728 final Intent broadcastIntent = new Intent(ResultReceiver.MOCK_ACTION) in testSendOrderedBroadcast1()
761 Intent intent = new Intent(ResultReceiver.MOCK_ACTION) in testSendOrderedBroadcast2()
794 registerBroadcastReceiver(receiver, new IntentFilter(ResultReceiver.MOCK_ACTION)); in testSendOrderedBroadcastWithAppOp()
797 new Intent(ResultReceiver.MOCK_ACTION).setPackage(mContext.getPackageName()), in testSendOrderedBroadcastWithAppOp()
834 registerBroadcastReceiver(receiver, new IntentFilter(ResultReceiver.MOCK_ACTION)); in testSendOrderedBroadcastWithAppOp_NotGranted()
837 new Intent(ResultReceiver.MOCK_ACTION).setPackage(mContext.getPackageName()), in testSendOrderedBroadcastWithAppOp_NotGranted()
1857 registerBroadcastReceiver(receiver, new IntentFilter(ResultReceiver.MOCK_ACTION)); in testSendBroadcast1()
[all …]