Searched refs:mIntentFilter (Results 1 – 8 of 8) sorted by relevance
/cts/tests/tests/content/src/android/content/cts/ |
D | IntentFilterTest.java | 107 private IntentFilter mIntentFilter; field in IntentFilterTest 134 mIntentFilter = new IntentFilter(); in setUp() 186 mIntentFilter.addCategory(CATEGORY + i); in testCategories() 188 assertEquals(10, mIntentFilter.countCategories()); in testCategories() 189 Iterator<String> iter = mIntentFilter.categoriesIterator(); in testCategories() 195 assertEquals(CATEGORY + i, mIntentFilter.getCategory(i)); in testCategories() 196 assertTrue(mIntentFilter.hasCategory(CATEGORY + i)); in testCategories() 197 assertFalse(mIntentFilter.hasCategory(CATEGORY + i + 10)); in testCategories() 399 mIntentFilter.setPriority(expected); in testAccessPriority() 400 assertEquals(expected, mIntentFilter.getPriority()); in testAccessPriority() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/ |
D | P2pBroadcastReceiverTest.java | 40 private final IntentFilter mIntentFilter = new IntentFilter(); field in P2pBroadcastReceiverTest 52 mIntentFilter.addAction(WifiP2pManager.WIFI_P2P_THIS_DEVICE_CHANGED_ACTION); in P2pBroadcastReceiverTest() 53 mIntentFilter.addAction(WifiP2pManager.WIFI_P2P_CONNECTION_CHANGED_ACTION); in P2pBroadcastReceiverTest() 54 mIntentFilter.addAction(WifiP2pManager.WIFI_P2P_PEERS_CHANGED_ACTION); in P2pBroadcastReceiverTest() 55 mIntentFilter.addAction(WifiP2pManager.WIFI_P2P_STATE_CHANGED_ACTION); in P2pBroadcastReceiverTest() 60 mContext.registerReceiver(this, mIntentFilter); in init()
|
D | GoNegRespTestCase.java | 32 private final IntentFilter mIntentFilter = new IntentFilter(); field in GoNegRespTestCase 37 mIntentFilter.addAction(WifiP2pManager.WIFI_P2P_CONNECTION_CHANGED_ACTION); in GoNegRespTestCase() 43 mContext.registerReceiver(mReceiver, mIntentFilter); in setUp()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/ |
D | ResponderTestActivity.java | 69 private final IntentFilter mIntentFilter = new IntentFilter(); field in ResponderTestActivity 76 mIntentFilter.addAction(WifiP2pManager.WIFI_P2P_THIS_DEVICE_CHANGED_ACTION); in ResponderTestActivity() 107 registerReceiver(mReceiver, mIntentFilter); in onStart()
|
D | P2pTestListActivity.java | 47 private final IntentFilter mIntentFilter = new IntentFilter(); field in P2pTestListActivity 54 mIntentFilter.addAction(WifiP2pManager.WIFI_P2P_STATE_CHANGED_ACTION); in P2pTestListActivity() 146 registerReceiver(mReceiver, mIntentFilter); in onResume()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/ |
D | ConnectivityBackgroundTestActivity.java | 91 private final IntentFilter mIntentFilter; field in ConnectivityBackgroundTestActivity 110 mIntentFilter = new IntentFilter(); in ConnectivityBackgroundTestActivity() 111 mIntentFilter.addAction(Intent.ACTION_SCREEN_ON); in ConnectivityBackgroundTestActivity() 112 mIntentFilter.addAction(Intent.ACTION_SCREEN_OFF); in ConnectivityBackgroundTestActivity() 113 mIntentFilter.addAction(Intent.ACTION_POWER_CONNECTED); in ConnectivityBackgroundTestActivity() 114 mIntentFilter.addAction(Intent.ACTION_POWER_DISCONNECTED); in ConnectivityBackgroundTestActivity() 180 registerReceiver(mReceiver, mIntentFilter); in configureFromSystemServices()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | ImmersiveAudioActivity.java | 66 IntentFilter mIntentFilter; field in ImmersiveAudioActivity 105 mIntentFilter = new IntentFilter(); in onCreate() 106 mIntentFilter.addAction(IMMERSIVE_AUDIO_RESULTS); in onCreate() 122 registerReceiver(mBroadcastReceiver, mIntentFilter, RECEIVER_EXPORTED); in onResume()
|
/cts/tests/tests/wifi/src/android/net/wifi/cts/ |
D | WifiManagerTest.java | 276 private IntentFilter mIntentFilter; field in WifiManagerTest
|