Home
last modified time | relevance | path

Searched refs:measurement (Results 1 – 10 of 10) 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.java113 public static boolean gnssMeasurementHasCarrierPhasePrr(GnssMeasurement measurement) { in gnssMeasurementHasCarrierPhasePrr() argument
114 return (measurement.getPseudorangeRateUncertaintyMetersPerSecond() < in gnssMeasurementHasCarrierPhasePrr()
157 public static void assertAllGnssMeasurementMandatoryFields(GnssMeasurement measurement, in assertAllGnssMeasurementMandatoryFields() argument
160 verifySvid(measurement, softAssert, timeInNs); in assertAllGnssMeasurementMandatoryFields()
161 verifyReceivedSatelliteVehicleTimeInNs(measurement, softAssert, timeInNs); in assertAllGnssMeasurementMandatoryFields()
162 verifyAccumulatedDeltaRanges(measurement, softAssert, timeInNs); in assertAllGnssMeasurementMandatoryFields()
164 int state = measurement.getState(); in assertAllGnssMeasurementMandatoryFields()
176 String.valueOf(measurement.getReceivedSvTimeUncertaintyNanos()), in assertAllGnssMeasurementMandatoryFields()
177 measurement.getReceivedSvTimeUncertaintyNanos() > 0L); in assertAllGnssMeasurementMandatoryFields()
180 (long) measurement.getTimeOffsetNanos()); in assertAllGnssMeasurementMandatoryFields()
[all …]
DGnssMeasurementWhenNoLocationTest.java158 for (GnssMeasurement measurement : gpsMeasurements) { in testGnssMeasurementWhenNoLocation()
159 gpsPrns[i] = measurement.getSvid(); in testGnssMeasurementWhenNoLocation()
175 for (GnssMeasurement measurement : gpsMeasurements) { in testGnssMeasurementWhenNoLocation()
176 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.java117 for (GnssMeasurement measurement : event.getMeasurements()) { in testGnssMultiConstellationSupported()
118 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/ ...