Searched refs:mLocationListener (Results 1 – 8 of 8) sorted by relevance
55 private TestLocationListener mLocationListener; field in GnssMeasurementRegistrationTest68 if (mLocationListener != null) { in tearDown()69 mTestLocationManager.removeLocationUpdates(mLocationListener); in tearDown()114 mLocationListener = new TestLocationListener(EVENTS_COUNT); in testGnssMeasurementRegistration()115 mTestLocationManager.requestLocationUpdates(mLocationListener); in testGnssMeasurementRegistration()118 mLocationListener.await(); in testGnssMeasurementRegistration()119 Log.i(TAG, "Location received = " + mLocationListener.isLocationReceived()); in testGnssMeasurementRegistration()
54 private TestLocationListener mLocationListener; field in GnssNavigationMessageRegistrationTest71 if (mLocationListener != null) { in tearDown()72 mTestLocationManager.removeLocationUpdates(mLocationListener); in tearDown()116 mLocationListener = new TestLocationListener(EVENTS_COUNT); in testGnssNavigationMessageRegistration()117 mTestLocationManager.requestLocationUpdates(mLocationListener); in testGnssNavigationMessageRegistration()120 mLocationListener.await(); in testGnssNavigationMessageRegistration()121 Log.i(TAG, "Location received = " + mLocationListener.isLocationReceived()); in testGnssNavigationMessageRegistration()
37 private TestLocationListener mLocationListener; field in GnssLocationValuesTest50 mLocationListener = new TestLocationListener(LOCATION_TO_COLLECT_COUNT); in setUp()56 if (mLocationListener != null) { in tearDown()57 mTestLocationManager.removeLocationUpdates(mLocationListener); in tearDown()68 mTestLocationManager.requestLocationUpdates(mLocationListener); in testAccuracyFields()69 boolean success = mLocationListener.await(); in testAccuracyFields()76 for (Location location : mLocationListener.getReceivedLocationList()) { in testAccuracyFields()127 mTestLocationManager.requestLocationUpdates(mLocationListener); in testLocationRegularFields()128 boolean success = mLocationListener.await(); in testLocationRegularFields()136 for (Location location : mLocationListener.getReceivedLocationList()) { in testLocationRegularFields()
47 private TestLocationListener mLocationListener; field in GnssMeasurementValuesTest59 if (mLocationListener != null) { in tearDown()60 mTestLocationManager.removeLocationUpdates(mLocationListener); in tearDown()81 mLocationListener = new TestLocationListener(LOCATION_TO_COLLECT_COUNT); in testListenForGnssMeasurements()82 mTestLocationManager.requestLocationUpdates(mLocationListener); in testListenForGnssMeasurements()87 boolean success = mLocationListener.await(); in testListenForGnssMeasurements()94 Log.i(TAG, "Location status received = " + mLocationListener.isLocationReceived()); in testListenForGnssMeasurements()
61 private TestLocationListener mLocationListener; field in GnssMeasurementWhenNoLocationTest78 if (mLocationListener != null) { in tearDown()79 mTestLocationManager.removeLocationUpdates(mLocationListener); in tearDown()116 mLocationListener = new TestLocationListener(LOCATIONS_COUNT); in testGnssMeasurementWhenNoLocation()117 mTestLocationManager.requestLocationUpdates(mLocationListener); in testGnssMeasurementWhenNoLocation()129 + mLocationListener.isLocationReceived()); in testGnssMeasurementWhenNoLocation()153 !mLocationListener.isLocationReceived()); in testGnssMeasurementWhenNoLocation()154 if (mLocationListener.isLocationReceived() && !isMeasurementTestStrict()) { in testGnssMeasurementWhenNoLocation()
50 private TestLocationListener mLocationListener; field in GnssMeasurementsConstellationTest63 if (mLocationListener != null) { in tearDown()64 mTestLocationManager.removeLocationUpdates(mLocationListener); in tearDown()88 mLocationListener = new TestLocationListener(EVENTS_COUNT); in testGnssMultiConstellationSupported()89 mTestLocationManager.requestLocationUpdates(mLocationListener); in testGnssMultiConstellationSupported()
59 private TestLocationListener mLocationListener; field in GnssPseudorangeVerificationTest71 if (mLocationListener != null) { in tearDown()72 mTestLocationManager.removeLocationUpdates(mLocationListener); in tearDown()94 mLocationListener = new TestLocationListener(LOCATION_TO_COLLECT_COUNT); in testPseudorangeValue()95 mTestLocationManager.requestLocationUpdates(mLocationListener); in testPseudorangeValue()101 boolean success = mLocationListener.await(); in testPseudorangeValue()109 Log.i(TAG, "Location status received = " + mLocationListener.isLocationReceived()); in testPseudorangeValue()
54 mLocationManager.removeUpdates(mLocationListener); in onActivityResult()76 LocationManager.GPS_PROVIDER, 0, 0, mLocationListener); in handleLocationAction()79 private final LocationListener mLocationListener = new LocationListener() { field in LocationListenerActivity