Home
last modified time | relevance | path

Searched refs:mIntentReceiver (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/location/src/android/location/cts/
DLocationManagerTest.java68 private TestIntentReceiver mIntentReceiver; field in LocationManagerTest
112 if (mIntentReceiver != null) { in tearDown()
113 mContext.unregisterReceiver(mIntentReceiver); in tearDown()
436 assertNotNull(mIntentReceiver.getLastReceivedIntent()); in testLocationUpdatesWithPendingIntent()
445 mIntentReceiver.clearReceivedIntents(); in testLocationUpdatesWithPendingIntent()
448 assertNull(mIntentReceiver.getLastReceivedIntent()); in testLocationUpdatesWithPendingIntent()
551 assertNotNull(mIntentReceiver.getLastReceivedIntent()); in testLocationUpdatesWithCriteriaAndPendingIntent()
552 Location location = (Location) mIntentReceiver.getLastReceivedIntent().getExtras() in testLocationUpdatesWithCriteriaAndPendingIntent()
562 mIntentReceiver.clearReceivedIntents(); in testLocationUpdatesWithCriteriaAndPendingIntent()
565 assertNull(mIntentReceiver.getLastReceivedIntent()); in testLocationUpdatesWithCriteriaAndPendingIntent()
[all …]
/cts/tests/tests/location2/src/android/location2/cts/
DLocationManagerTest.java63 private TestIntentReceiver mIntentReceiver; field in LocationManagerTest
178 assertNotNull(mIntentReceiver.getLastReceivedIntent());
273 mIntentReceiver = new TestIntentReceiver(intentKey);
274 mContext.registerReceiver(mIntentReceiver, mIntentReceiver.getFilter());
281 synchronized (mIntentReceiver) {
283 mIntentReceiver.wait(TEST_TIME_OUT_MS);
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DHearingAidProfileTest.java63 private BroadcastReceiver mIntentReceiver; field in HearingAidProfileTest
223 mIntentReceiver = new HearingAidIntentReceiver(); in test_getConnectionStateChangedIntent()
224 mContext.registerReceiver(mIntentReceiver, filter); in test_getConnectionStateChangedIntent()
240 mContext.unregisterReceiver(mIntentReceiver); in test_getConnectionStateChangedIntent()