Home
last modified time | relevance | path

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

/cts/tests/tests/content/src/android/content/cts/
DIntentFilterTest.java107 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/
DP2pBroadcastReceiverTest.java40 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()
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.java69 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()
DP2pTestListActivity.java47 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/
DConnectivityBackgroundTestActivity.java91 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/
DImmersiveAudioActivity.java66 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/
DWifiManagerTest.java276 private IntentFilter mIntentFilter; field in WifiManagerTest