/cts/tests/tests/location/src/android/location/cts/ |
D | GnssLocationRateChangeTest.java | 45 mTestLocationManager = new TestLocationManager(getContext()); in setUp() 57 mTestLocationManager.removeLocationUpdates(mLocationListenerMain); in tearDown() 60 mTestLocationManager.removeLocationUpdates(mLocationListenerAfterRateChanges); in tearDown() 77 mTestLocationManager.requestLocationUpdates(mLocationListenerMain); in testVariedRates() 83 mTestLocationManager.requestLocationUpdates(mLocationListenerMain, in testVariedRates() 86 mTestLocationManager.removeLocationUpdates(mLocationListenerMain); in testVariedRates() 88 mTestLocationManager.requestLocationUpdates(mLocationListenerAfterRateChanges); in testVariedRates() 107 mTestLocationManager.requestLocationUpdates(mLocationListenerMain); in testVariedRatesOnOff() 113 mTestLocationManager.requestLocationUpdates(mLocationListenerMain, in testVariedRatesOnOff() 116 mTestLocationManager.removeLocationUpdates(mLocationListenerMain); in testVariedRatesOnOff() [all …]
|
D | GnssNavigationMessageRegistrationTest.java | 60 mTestLocationManager = new TestLocationManager(getContext()); in setUp() 67 mTestLocationManager in tearDown() 72 mTestLocationManager.removeLocationUpdates(mLocationListener); in tearDown() 75 mTestLocationManager.unregisterGnssStatusCallback(mGnssStatusCallback); in tearDown() 88 .canTestRunOnCurrentDevice(mTestLocationManager, isCtsVerifierTest())) { in testGnssNavigationMessageRegistration() 95 … mTestLocationManager.registerGnssNavigationMessageCallback(mTestGnssNavigationMessageListener); in testGnssNavigationMessageRegistration() 105 TestMeasurementUtil.verifyGnssNavMessageMandatoryField(mTestLocationManager, events); in testGnssNavigationMessageRegistration() 117 mTestLocationManager.requestLocationUpdates(mLocationListener); in testGnssNavigationMessageRegistration() 125 mTestLocationManager.registerGnssStatusCallback(mGnssStatusCallback); in testGnssNavigationMessageRegistration()
|
D | GnssMeasurementWhenNoLocationTest.java | 73 mTestLocationManager = new TestLocationManager(getContext()); in setUp() 80 mTestLocationManager.removeLocationUpdates(mLocationListener); in tearDown() 83 mTestLocationManager.unregisterGnssMeasurementCallback(mMeasurementListener); in tearDown() 86 mTestLocationManager.unregisterGnssStatusCallback(mGnssStatusCallback); in tearDown() 99 .canTestRunOnCurrentDevice(mTestLocationManager, isCtsVerifierTest())) { in testGnssMeasurementWhenNoLocation() 120 if (!mTestLocationManager.sendExtraCommand(AGPS_DELETE_COMMAND)) { in testGnssMeasurementWhenNoLocation() 127 mTestLocationManager.registerGnssMeasurementCallback(mMeasurementListener); in testGnssMeasurementWhenNoLocation() 131 mTestLocationManager.registerGnssStatusCallback(mGnssStatusCallback); in testGnssMeasurementWhenNoLocation() 135 mTestLocationManager.requestLocationUpdates(mLocationListener); in testGnssMeasurementWhenNoLocation() 200 TestMeasurementUtil.assertAllGnssMeasurementMandatoryFields(mTestLocationManager, in testGnssMeasurementWhenNoLocation()
|
D | GnssMeasurementValuesTest.java | 57 mTestLocationManager = new TestLocationManager(getContext()); in setUp() 65 mTestLocationManager.removeLocationUpdates(mLocationListener); in tearDown() 68 mTestLocationManager.unregisterGnssMeasurementCallback(mMeasurementListener); in tearDown() 82 .canTestRunOnCurrentDevice(mTestLocationManager, isCtsVerifierTest())) { in testListenForGnssMeasurements() 87 mTestLocationManager.requestLocationUpdates(mLocationListener); in testListenForGnssMeasurements() 90 mTestLocationManager.registerGnssMeasurementCallback(mMeasurementListener); in testListenForGnssMeasurements() 96 mTestLocationManager.registerGnssStatusCallback(gnssStatusCallback); in testListenForGnssMeasurements() 105 mTestLocationManager.unregisterGnssStatusCallback(gnssStatusCallback); in testListenForGnssMeasurements() 133 TestMeasurementUtil.assertAllGnssMeasurementMandatoryFields(mTestLocationManager, in testListenForGnssMeasurements()
|
D | GnssStatusTest.java | 15 mTestLocationManager = new TestLocationManager(getContext()); in setUp() 24 if (!TestMeasurementUtil.canTestRunOnCurrentDevice(mTestLocationManager, isCtsVerifierTest())) { in testGnssStatusChanges() 36 mTestLocationManager.registerGnssStatusCallback(testGnssStatusCallback); in checkGnssChange() 39 mTestLocationManager.requestLocationUpdates(locationListener); in checkGnssChange() 44 mTestLocationManager.removeLocationUpdates(locationListener); in checkGnssChange() 46 mTestLocationManager.unregisterGnssStatusCallback(testGnssStatusCallback); in checkGnssChange() 63 if (!TestMeasurementUtil.canTestRunOnCurrentDevice(mTestLocationManager, isCtsVerifierTest())) { in testGnssStatusValues() 90 TestMeasurementUtil.verifyGnssCarrierFrequency(softAssert, mTestLocationManager, in validateGnssStatus()
|
D | GnssMeasurementRegistrationTest.java | 62 mTestLocationManager = new TestLocationManager(getContext()); in setUp() 69 mTestLocationManager.removeLocationUpdates(mLocationListener); in tearDown() 72 mTestLocationManager.unregisterGnssMeasurementCallback(mMeasurementListener); in tearDown() 83 if (!TestMeasurementUtil.canTestRunOnCurrentDevice(mTestLocationManager, in testGnssMeasurementRegistration() 90 mTestLocationManager.registerGnssMeasurementCallback(mMeasurementListener); in testGnssMeasurementRegistration() 115 mTestLocationManager.requestLocationUpdates(mLocationListener); in testGnssMeasurementRegistration()
|
D | GnssTtffTests.java | 32 mTestLocationManager = new TestLocationManager(getContext()); in setUp() 68 mTestLocationManager.sendExtraCommand("delete_aiding_data"); in checkTtffWarmWithWifiOn() 124 mTestLocationManager.requestNetworkLocationUpdates(networkLocationListener); in checkTtffByThreshold() 129 mTestLocationManager.registerGnssStatusCallback(testGnssStatusCallback); in checkTtffByThreshold() 132 mTestLocationManager.requestLocationUpdates(locationListener); in checkTtffByThreshold() 145 mTestLocationManager.removeLocationUpdates(locationListener); in checkTtffByThreshold() 146 mTestLocationManager.unregisterGnssStatusCallback(testGnssStatusCallback); in checkTtffByThreshold()
|
D | GnssNavigationMessageTest.java | 49 mTestLocationManager = new TestLocationManager(getContext()); in setUp() 56 mTestLocationManager.removeLocationUpdates(mLocationListener); in tearDown() 60 mTestLocationManager in tearDown() 75 if (!TestMeasurementUtil.canTestRunOnCurrentDevice(mTestLocationManager, in testGnssNavigationMessageMandatoryFieldRanges() 81 mTestLocationManager.requestLocationUpdates(mLocationListener); in testGnssNavigationMessageMandatoryFieldRanges() 86 mTestLocationManager in testGnssNavigationMessageMandatoryFieldRanges() 104 TestMeasurementUtil.verifyGnssNavMessageMandatoryField(mTestLocationManager, events); in testGnssNavigationMessageMandatoryFieldRanges()
|
D | GnssMeasurementsConstellationTest.java | 55 mTestLocationManager = new TestLocationManager(getContext()); in setUp() 62 mTestLocationManager.removeLocationUpdates(mLocationListener); in tearDown() 65 mTestLocationManager.unregisterGnssMeasurementCallback(mMeasurementListener); in tearDown() 77 .canTestRunOnCurrentDevice(mTestLocationManager, isCtsVerifierTest())) { in testGnssMultiConstellationSupported() 83 mTestLocationManager.registerGnssMeasurementCallback(mMeasurementListener); in testGnssMultiConstellationSupported() 87 mTestLocationManager.requestLocationUpdates(mLocationListener); in testGnssMultiConstellationSupported()
|
D | GnssLocationValuesTest.java | 44 mTestLocationManager = new TestLocationManager(getContext()); in setUp() 53 mTestLocationManager.removeLocationUpdates(mLocationListener); in tearDown() 65 if (!TestMeasurementUtil.canTestRunOnCurrentDevice(mTestLocationManager, isCtsVerifierTest())) { in testAccuracyFields() 70 mTestLocationManager.requestLocationUpdates(mLocationListener); in testAccuracyFields() 137 if (!TestMeasurementUtil.canTestRunOnCurrentDevice(mTestLocationManager, isCtsVerifierTest())) { in testLocationRegularFields() 142 mTestLocationManager.requestLocationUpdates(mLocationListener); in testLocationRegularFields()
|
D | GnssPseudorangeVerificationTest.java | 79 mTestLocationManager = new TestLocationManager(getContext()); in setUp() 86 mTestLocationManager.removeLocationUpdates(mLocationListener); in tearDown() 89 mTestLocationManager.unregisterGnssMeasurementCallback(mMeasurementListener); in tearDown() 104 if (!TestMeasurementUtil.canTestRunOnCurrentDevice(mTestLocationManager, true)) { in testPseudorangeValue() 109 mTestLocationManager.requestLocationUpdates(mLocationListener); in testPseudorangeValue() 113 mTestLocationManager.registerGnssMeasurementCallback(mMeasurementListener); in testPseudorangeValue() 249 if (!TestMeasurementUtil.canTestRunOnCurrentDevice(mTestLocationManager, true)) { in testPseudoPosition() 254 mTestLocationManager.requestLocationUpdates(mLocationListener); in testPseudoPosition() 258 mTestLocationManager.registerGnssMeasurementCallback(mMeasurementListener); in testPseudoPosition()
|
D | GnssLocationUpdateIntervalTest.java | 69 mTestLocationManager = new TestLocationManager(getContext()); in setUp() 78 if (!TestMeasurementUtil.canTestRunOnCurrentDevice(mTestLocationManager, true)) { in testLocationUpdatesAtVariousIntervals() 93 mTestLocationManager.requestLocationUpdates(activeLocationListener, fixIntervalMillis); in testLocationUpdatesAtInterval() 94 mTestLocationManager.requestPassiveLocationUpdates(passiveLocationListener, in testLocationUpdatesAtInterval() 104 mTestLocationManager.removeLocationUpdates(activeLocationListener); in testLocationUpdatesAtInterval() 105 mTestLocationManager.removeLocationUpdates(passiveLocationListener); in testLocationUpdatesAtInterval()
|
D | GnssHardwareInfoTest.java | 38 mTestLocationManager = new TestLocationManager(getContext()); in setUp() 51 mTestLocationManager.getLocationManager().getGnssHardwareModelName(); in testHardwareModelName()
|
D | GnssTestCase.java | 30 protected TestLocationManager mTestLocationManager; field in GnssTestCase
|