Searched refs:mIntentReceiver (Results 1 – 3 of 3) sorted by relevance
68 private TestIntentReceiver mIntentReceiver; field in LocationManagerTest112 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 …]
63 private TestIntentReceiver mIntentReceiver; field in LocationManagerTest178 assertNotNull(mIntentReceiver.getLastReceivedIntent());273 mIntentReceiver = new TestIntentReceiver(intentKey);274 mContext.registerReceiver(mIntentReceiver, mIntentReceiver.getFilter());281 synchronized (mIntentReceiver) {283 mIntentReceiver.wait(TEST_TIME_OUT_MS);
63 private BroadcastReceiver mIntentReceiver; field in HearingAidProfileTest223 mIntentReceiver = new HearingAidIntentReceiver(); in test_getConnectionStateChangedIntent()224 mContext.registerReceiver(mIntentReceiver, filter); in test_getConnectionStateChangedIntent()240 mContext.unregisterReceiver(mIntentReceiver); in test_getConnectionStateChangedIntent()