Searched refs:mLocationListener (Results 1 – 6 of 6) sorted by relevance
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()
55 private TestLocationListener mLocationListener; field in GnssMeasurementRegistrationTest69 if (mLocationListener != null) { in tearDown()70 mTestLocationManager.removeLocationUpdates(mLocationListener); in tearDown()118 mLocationListener = new TestLocationListener(EVENTS_COUNT); in testGnssMeasurementRegistration()119 mTestLocationManager.requestLocationUpdates(mLocationListener); in testGnssMeasurementRegistration()122 mLocationListener.await(); in testGnssMeasurementRegistration()123 Log.i(TAG, "Location received = " + mLocationListener.isLocationReceived()); in testGnssMeasurementRegistration()
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()128 + mLocationListener.isLocationReceived()); in testGnssMeasurementWhenNoLocation()148 !mLocationListener.isLocationReceived()); in testGnssMeasurementWhenNoLocation()
51 private TestLocationListener mLocationListener; field in GnssMeasurementsConstellationTest64 if (mLocationListener != null) { in tearDown()65 mTestLocationManager.removeLocationUpdates(mLocationListener); in tearDown()89 mLocationListener = new TestLocationListener(EVENTS_COUNT); in testGnssMultiConstellationSupported()90 mTestLocationManager.requestLocationUpdates(mLocationListener); in testGnssMultiConstellationSupported()
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