/cts/tests/tests/content/src/android/content/cts/ |
D | IntentFilterTest.java | 67 private IntentFilter mIntentFilter; field in IntentFilterTest 83 mIntentFilter = new IntentFilter(); in setUp() 133 mIntentFilter.addCategory(CATEGORY + i); in testCategories() 135 assertEquals(10, mIntentFilter.countCategories()); in testCategories() 136 Iterator<String> iter = mIntentFilter.categoriesIterator(); in testCategories() 142 assertEquals(CATEGORY + i, mIntentFilter.getCategory(i)); in testCategories() 143 assertTrue(mIntentFilter.hasCategory(CATEGORY + i)); in testCategories() 144 assertFalse(mIntentFilter.hasCategory(CATEGORY + i + 10)); in testCategories() 341 mIntentFilter.setPriority(expected); in testAccessPriority() 342 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/tests/tests/wifi/src/android/net/wifi/cts/ |
D | ScanResultTest.java | 77 private IntentFilter mIntentFilter; field in ScanResultTest 108 mIntentFilter = new IntentFilter(); in setUp() 109 mIntentFilter.addAction(WifiManager.NETWORK_STATE_CHANGED_ACTION); in setUp() 110 mIntentFilter.addAction(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION); in setUp() 111 mIntentFilter.addAction(WifiManager.SUPPLICANT_CONNECTION_CHANGE_ACTION); in setUp() 112 mIntentFilter.addAction(WifiManager.SUPPLICANT_STATE_CHANGED_ACTION); in setUp() 113 mIntentFilter.addAction(WifiManager.WIFI_STATE_CHANGED_ACTION); in setUp() 114 mIntentFilter.addAction(WifiManager.RSSI_CHANGED_ACTION); in setUp() 115 mIntentFilter.addAction(WifiManager.NETWORK_IDS_CHANGED_ACTION); in setUp() 116 mIntentFilter.addAction(WifiManager.ACTION_PICK_WIFI_NETWORK); in setUp() [all …]
|
D | WifiInfoTest.java | 66 private IntentFilter mIntentFilter; field in WifiInfoTest 88 mIntentFilter = new IntentFilter(); in setUp() 89 mIntentFilter.addAction(WifiManager.WIFI_STATE_CHANGED_ACTION); in setUp() 91 mContext.registerReceiver(mReceiver, mIntentFilter); in setUp()
|
D | ConcurrencyTest.java | 98 private IntentFilter mIntentFilter; field in ConcurrencyTest 169 mIntentFilter = new IntentFilter(); in setUp() 170 mIntentFilter.addAction(WifiManager.WIFI_STATE_CHANGED_ACTION); in setUp() 171 mIntentFilter.addAction(WifiP2pManager.WIFI_P2P_STATE_CHANGED_ACTION); in setUp() 172 mIntentFilter.addAction(WifiP2pManager.WIFI_P2P_DISCOVERY_CHANGED_ACTION); in setUp() 173 mIntentFilter.addAction(WifiP2pManager.WIFI_P2P_CONNECTION_CHANGED_ACTION); in setUp() 175 mContext.registerReceiver(mReceiver, mIntentFilter); in setUp()
|
D | WifiManagerTest.java | 193 private IntentFilter mIntentFilter; field in WifiManagerTest 309 mIntentFilter = new IntentFilter(); in setUp() 310 mIntentFilter.addAction(WifiManager.NETWORK_STATE_CHANGED_ACTION); in setUp() 311 mIntentFilter.addAction(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION); in setUp() 312 mIntentFilter.addAction(WifiManager.SUPPLICANT_CONNECTION_CHANGE_ACTION); in setUp() 313 mIntentFilter.addAction(WifiManager.SUPPLICANT_STATE_CHANGED_ACTION); in setUp() 314 mIntentFilter.addAction(WifiManager.WIFI_STATE_CHANGED_ACTION); in setUp() 315 mIntentFilter.addAction(WifiManager.RSSI_CHANGED_ACTION); in setUp() 316 mIntentFilter.addAction(WifiManager.NETWORK_IDS_CHANGED_ACTION); in setUp() 317 mIntentFilter.addAction(WifiManager.ACTION_PICK_WIFI_NETWORK); in setUp() [all …]
|
/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 onResume()
|
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() 177 registerReceiver(mReceiver, mIntentFilter); in configureFromSystemServices()
|