Home
last modified time | relevance | path

Searched refs:measurement (Results 1 – 11 of 11) sorted by relevance

/cts/tests/tests/location/src/android/location/cts/
DGnssMeasurementTest.java25 GnssMeasurement measurement = new GnssMeasurement(); in testDescribeContents() local
26 measurement.describeContents(); in testDescribeContents()
30 GnssMeasurement measurement = new GnssMeasurement(); in testReset() local
31 measurement.reset(); in testReset()
34 private static void setTestValues(GnssMeasurement measurement) { in setTestValues() argument
35 measurement.setAccumulatedDeltaRangeMeters(1.0); in setTestValues()
36 measurement.setAccumulatedDeltaRangeState(2); in setTestValues()
37 measurement.setAccumulatedDeltaRangeUncertaintyMeters(3.0); in setTestValues()
38 measurement.setCarrierCycles(4); in setTestValues()
39 measurement.setCarrierFrequencyHz(5.0f); in setTestValues()
[all …]
DTestMeasurementUtil.java132 public static boolean gnssMeasurementHasCarrierPhasePrr(GnssMeasurement measurement) { in gnssMeasurementHasCarrierPhasePrr() argument
133 return (measurement.getPseudorangeRateUncertaintyMetersPerSecond() < in gnssMeasurementHasCarrierPhasePrr()
176 public static void assertAllGnssMeasurementMandatoryFields(GnssMeasurement measurement, in assertAllGnssMeasurementMandatoryFields() argument
179 verifySvid(measurement, softAssert, timeInNs); in assertAllGnssMeasurementMandatoryFields()
180 verifyReceivedSatelliteVehicleTimeInNs(measurement, softAssert, timeInNs); in assertAllGnssMeasurementMandatoryFields()
181 verifyAccumulatedDeltaRanges(measurement, softAssert, timeInNs); in assertAllGnssMeasurementMandatoryFields()
183 int state = measurement.getState(); in assertAllGnssMeasurementMandatoryFields()
195 String.valueOf(measurement.getReceivedSvTimeUncertaintyNanos()), in assertAllGnssMeasurementMandatoryFields()
196 measurement.getReceivedSvTimeUncertaintyNanos() > 0L); in assertAllGnssMeasurementMandatoryFields()
199 (long) measurement.getTimeOffsetNanos()); in assertAllGnssMeasurementMandatoryFields()
[all …]
DGnssPseudorangeVerificationTest.java154 for (GnssMeasurement measurement: measurements){ in filterMeasurements()
155 int constellationType = measurement.getConstellationType(); in filterMeasurements()
157 if ((measurement.getState() in filterMeasurements()
158 & (measurement.STATE_GLO_TOD_DECODED | measurement.STATE_GLO_TOD_KNOWN)) != 0) { in filterMeasurements()
159 filteredMeasurement.add(measurement); in filterMeasurements()
162 else if ((measurement.getState() in filterMeasurements()
163 & (measurement.STATE_TOW_DECODED | measurement.STATE_TOW_KNOWN)) != 0) { in filterMeasurements()
164 filteredMeasurement.add(measurement); in filterMeasurements()
179 for(GnssMeasurement measurement : measurements) { in validatePseudorange()
180 long receivedSvTimeNanosTod = measurement.getReceivedSvTimeNanos() in validatePseudorange()
[all …]
DGnssMeasurementWhenNoLocationTest.java165 for (GnssMeasurement measurement : gpsMeasurements) { in testGnssMeasurementWhenNoLocation()
166 gpsPrns[i] = measurement.getSvid(); in testGnssMeasurementWhenNoLocation()
182 for (GnssMeasurement measurement : gpsMeasurements) { in testGnssMeasurementWhenNoLocation()
183 TestMeasurementUtil.assertAllGnssMeasurementMandatoryFields(measurement, in testGnssMeasurementWhenNoLocation()
DGnssMeasurementValuesTest.java121 for (GnssMeasurement measurement : event.getMeasurements()) { in testListenForGnssMeasurements()
122 TestMeasurementUtil.assertAllGnssMeasurementMandatoryFields(measurement, in testListenForGnssMeasurements()
125 TestMeasurementUtil.gnssMeasurementHasCarrierPhasePrr(measurement); in testListenForGnssMeasurements()
DGnssMeasurementsConstellationTest.java116 for (GnssMeasurement measurement : event.getMeasurements()) { in testGnssMultiConstellationSupported()
117 constellationType = measurement.getConstellationType(); in testGnssMultiConstellationSupported()
/cts/tests/tests/media/src/android/media/cts/
DVisualizerTest.java333 MeasurementPeakRms measurement = new MeasurementPeakRms(); in test4_1MeasurePeakRms() local
334 status = mVisualizer.getMeasurementPeakRms(measurement); in test4_1MeasurePeakRms()
340 Log.i("VisTest", "peak="+measurement.mPeak+" rms="+measurement.mRms); in test4_1MeasurePeakRms()
341 int deltaPeak = Math.abs(measurement.mPeak - EXPECTED_PEAK_MB); in test4_1MeasurePeakRms()
342 int deltaRms = Math.abs(measurement.mRms - EXPECTED_RMS_MB); in test4_1MeasurePeakRms()
405 MeasurementPeakRms measurement = new MeasurementPeakRms(); in test4_2MeasurePeakRmsLongMP3() local
406 status = mVisualizer.getMeasurementPeakRms(measurement); in test4_2MeasurePeakRmsLongMP3()
412 Log.i("VisTest", "peak="+measurement.mPeak+" rms="+measurement.mRms); in test4_2MeasurePeakRmsLongMP3()
413 int deltaPeak = Math.abs(measurement.mPeak - EXPECTED_PEAK_MB); in test4_2MeasurePeakRmsLongMP3()
414 int deltaRms = Math.abs(measurement.mRms - EXPECTED_RMS_MB); in test4_2MeasurePeakRmsLongMP3()
DLoudnessEnhancerTest.java189 MeasurementPeakRms measurement = new MeasurementPeakRms(); in test3_0MeasureGainChange() local
190 status = visualizer.getMeasurementPeakRms(measurement); in test3_0MeasureGainChange()
211 Log.i("LETest", "peak="+measurement.mPeak+" rms="+measurement.mRms); in test3_0MeasureGainChange()
214 int deltaPeak = Math.abs(measurement2.mPeak - (measurement.mPeak + LOUDNESS_GAIN) ); in test3_0MeasureGainChange()
/cts/hostsidetests/sustainedperf/dhrystone/
DRationale13 CPU/compiler performance measurement, in particular in the area of
77 performance measurement, i.e. within the measurement loop - the
86 the result have no impact on performance measurement since they are
92 for time measurement since they are necessarily system-dependent.
104 compilers should be prevented from moving code out of the measurement
122 subtract the time for the measurement loop overhead. (This calculation
130 In this section, all changes are described that affect the measurement
134 In addition to adding the measurement loop and the printout statements,
145 to Str_2_Loc (5'th statement of "main") out of the measurement loop
152 o In the three arithmetic computations at the end of the measurement
[all …]
DDrystone-2.1.sh29 XCPU/compiler performance measurement, in particular in the area of
/cts/apps/CtsVerifier/libs/
Dopencv3-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...