Home
last modified time | relevance | path

Searched refs:mIntentFilter (Results 1 – 11 of 11) sorted by relevance

/cts/tests/tests/content/src/android/content/cts/
DIntentFilterTest.java58 private IntentFilter mIntentFilter; field in IntentFilterTest
72 mIntentFilter = new IntentFilter(); in setUp()
120 mIntentFilter.addCategory(CATEGORY + i); in testCategories()
122 assertEquals(10, mIntentFilter.countCategories()); in testCategories()
123 Iterator<String> iter = mIntentFilter.categoriesIterator(); in testCategories()
129 assertEquals(CATEGORY + i, mIntentFilter.getCategory(i)); in testCategories()
130 assertTrue(mIntentFilter.hasCategory(CATEGORY + i)); in testCategories()
131 assertFalse(mIntentFilter.hasCategory(CATEGORY + i + 10)); in testCategories()
220 mIntentFilter.setPriority(expected); in testAccessPriority()
221 assertEquals(expected, mIntentFilter.getPriority()); in testAccessPriority()
[all …]
/cts/tests/tests/net/src/android/net/wifi/cts/
DScanResultTest.java51 private IntentFilter mIntentFilter; field in ScanResultTest
78 mIntentFilter = new IntentFilter(); in setUp()
79 mIntentFilter.addAction(WifiManager.NETWORK_STATE_CHANGED_ACTION); in setUp()
80 mIntentFilter.addAction(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION); in setUp()
81 mIntentFilter.addAction(WifiManager.SUPPLICANT_CONNECTION_CHANGE_ACTION); in setUp()
82 mIntentFilter.addAction(WifiManager.SUPPLICANT_STATE_CHANGED_ACTION); in setUp()
83 mIntentFilter.addAction(WifiManager.WIFI_STATE_CHANGED_ACTION); in setUp()
84 mIntentFilter.addAction(WifiManager.RSSI_CHANGED_ACTION); in setUp()
85 mIntentFilter.addAction(WifiManager.NETWORK_IDS_CHANGED_ACTION); in setUp()
86 mIntentFilter.addAction(WifiManager.ACTION_PICK_WIFI_NETWORK); in setUp()
[all …]
DConcurrencyTest.java50 private IntentFilter mIntentFilter; field in ConcurrencyTest
79 mIntentFilter = new IntentFilter(); in setUp()
80 mIntentFilter.addAction(WifiManager.WIFI_STATE_CHANGED_ACTION); in setUp()
81 mIntentFilter.addAction(WifiP2pManager.WIFI_P2P_STATE_CHANGED_ACTION); in setUp()
83 mContext.registerReceiver(mReceiver, mIntentFilter); in setUp()
DWifiInfoTest.java50 private IntentFilter mIntentFilter; field in WifiInfoTest
72 mIntentFilter = new IntentFilter(); in setUp()
73 mIntentFilter.addAction(WifiManager.WIFI_STATE_CHANGED_ACTION); in setUp()
75 mContext.registerReceiver(mReceiver, mIntentFilter); in setUp()
DWifiManagerTest.java78 private IntentFilter mIntentFilter; field in WifiManagerTest
125 mIntentFilter = new IntentFilter(); in setUp()
126 mIntentFilter.addAction(WifiManager.NETWORK_STATE_CHANGED_ACTION); in setUp()
127 mIntentFilter.addAction(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION); in setUp()
128 mIntentFilter.addAction(WifiManager.SUPPLICANT_CONNECTION_CHANGE_ACTION); in setUp()
129 mIntentFilter.addAction(WifiManager.SUPPLICANT_STATE_CHANGED_ACTION); in setUp()
130 mIntentFilter.addAction(WifiManager.WIFI_STATE_CHANGED_ACTION); in setUp()
131 mIntentFilter.addAction(WifiManager.RSSI_CHANGED_ACTION); in setUp()
132 mIntentFilter.addAction(WifiManager.NETWORK_IDS_CHANGED_ACTION); in setUp()
133 mIntentFilter.addAction(WifiManager.ACTION_PICK_WIFI_NETWORK); in setUp()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/
DP2pBroadcastReceiverTest.java39 private final IntentFilter mIntentFilter = new IntentFilter(); field in P2pBroadcastReceiverTest
50 mIntentFilter.addAction(WifiP2pManager.WIFI_P2P_THIS_DEVICE_CHANGED_ACTION); in P2pBroadcastReceiverTest()
51 mIntentFilter.addAction(WifiP2pManager.WIFI_P2P_CONNECTION_CHANGED_ACTION); in P2pBroadcastReceiverTest()
52 mIntentFilter.addAction(WifiP2pManager.WIFI_P2P_PEERS_CHANGED_ACTION); in P2pBroadcastReceiverTest()
53 mIntentFilter.addAction(WifiP2pManager.WIFI_P2P_STATE_CHANGED_ACTION); in P2pBroadcastReceiverTest()
58 mContext.registerReceiver(this, mIntentFilter); in init()
DGoNegRespTestCase.java32 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/
DResponderTestActivity.java65 private final IntentFilter mIntentFilter = new IntentFilter(); field in ResponderTestActivity
72 mIntentFilter.addAction(WifiP2pManager.WIFI_P2P_THIS_DEVICE_CHANGED_ACTION); in ResponderTestActivity()
101 registerReceiver(mReceiver, mIntentFilter); in onResume()
DP2pTestListActivity.java46 private final IntentFilter mIntentFilter = new IntentFilter(); field in P2pTestListActivity
53 mIntentFilter.addAction(WifiP2pManager.WIFI_P2P_STATE_CHANGED_ACTION); in P2pTestListActivity()
114 registerReceiver(mReceiver, mIntentFilter); in onResume()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/
DConnectivityScreenOffTestActivity.java92 private final IntentFilter mIntentFilter; field in ConnectivityScreenOffTestActivity
111 mIntentFilter = new IntentFilter(); in ConnectivityScreenOffTestActivity()
112 mIntentFilter.addAction(Intent.ACTION_SCREEN_ON); in ConnectivityScreenOffTestActivity()
113 mIntentFilter.addAction(Intent.ACTION_SCREEN_OFF); in ConnectivityScreenOffTestActivity()
114 mIntentFilter.addAction(Intent.ACTION_POWER_CONNECTED); in ConnectivityScreenOffTestActivity()
115 mIntentFilter.addAction(Intent.ACTION_POWER_DISCONNECTED); in ConnectivityScreenOffTestActivity()
178 registerReceiver(mReceiver, mIntentFilter); in configureFromSystemServices()
/cts/tools/dex-tools/dex/
Dclasses.out.dex69470 private android.content.IntentFilter mIntentFilter