Home
last modified time | relevance | path

Searched refs:TestLocationListener (Results 1 – 14 of 14) sorted by relevance

/cts/tests/tests/location/src/android/location/cts/
DGnssLocationRateChangeTest.java36 private TestLocationListener mLocationListenerMain;
37 private TestLocationListener mLocationListenerAfterRateChanges;
49 mLocationListenerMain = new TestLocationListener(LOCATION_TO_COLLECT_COUNT); in setUp()
50 mLocationListenerAfterRateChanges = new TestLocationListener(LOCATION_TO_COLLECT_COUNT); in setUp()
DGnssTtffTests.java117 TestLocationListener networkLocationListener in checkTtffByThreshold()
118 = new TestLocationListener(LOCATION_TO_COLLECT_COUNT); in checkTtffByThreshold()
127 TestLocationListener locationListener = new TestLocationListener(LOCATION_TO_COLLECT_COUNT); in checkTtffByThreshold()
DGnssLocationUpdateIntervalTest.java89 TestLocationListener activeLocationListener = new TestLocationListener( in testLocationUpdatesAtInterval()
91 TestLocationListener passiveLocationListener = new TestLocationListener( in testLocationUpdatesAtInterval()
DTestLocationListener.java31 class TestLocationListener implements LocationListener { class
40 TestLocationListener(int locationToCollect) { in TestLocationListener() method in TestLocationListener
DGnssNavigationMessageRegistrationTest.java54 private TestLocationListener mLocationListener;
116 mLocationListener = new TestLocationListener(EVENTS_COUNT); in testGnssNavigationMessageRegistration()
DGnssMeasurementRegistrationTest.java55 private TestLocationListener mLocationListener;
114 mLocationListener = new TestLocationListener(EVENTS_COUNT); in testGnssMeasurementRegistration()
DGnssMeasurementsConstellationTest.java48 private TestLocationListener mLocationListener;
86 mLocationListener = new TestLocationListener(EVENTS_COUNT); in testGnssMultiConstellationSupported()
DGnssNavigationMessageTest.java44 private TestLocationListener mLocationListener;
80 mLocationListener = new TestLocationListener(EVENTS_COUNT); in testGnssNavigationMessageMandatoryFieldRanges()
DGnssMeasurementValuesTest.java49 private TestLocationListener mLocationListener;
86 mLocationListener = new TestLocationListener(LOCATION_TO_COLLECT_COUNT); in testListenForGnssMeasurements()
DGnssStatusTest.java38 TestLocationListener locationListener = new TestLocationListener(LOCATION_TO_COLLECT_COUNT); in checkGnssChange()
DGnssMeasurementWhenNoLocationTest.java61 private TestLocationListener mLocationListener;
134 mLocationListener = new TestLocationListener(LOCATIONS_COUNT); in testGnssMeasurementWhenNoLocation()
DGnssLocationValuesTest.java35 private TestLocationListener mLocationListener;
46 mLocationListener = new TestLocationListener(LOCATION_TO_COLLECT_COUNT); in setUp()
DGnssPseudorangeVerificationTest.java73 private TestLocationListener mLocationListener;
108 mLocationListener = new TestLocationListener(LOCATION_TO_COLLECT_COUNT); in testPseudorangeValue()
253 mLocationListener = new TestLocationListener(LOCATION_TO_COLLECT_COUNT); in testPseudoPosition()
/cts/tests/tests/batterysaving/src/android/os/cts/batterysaving/
DBatterySaverLocationTest.java88 private static class TestLocationListener implements LocationListener { class in BatterySaverLocationTest
270 normalLocationRequest, new TestLocationListener(), Looper.getMainLooper()); in testLocationRequestThrottling()
272 ignoreSettingsLocationRequest, new TestLocationListener(), Looper.getMainLooper()); in testLocationRequestThrottling()