/cts/tests/location/location_none/src/android/location/cts/none/ |
D | GnssMeasurementTest.java | 39 GnssMeasurement measurement = new GnssMeasurement(); in testDescribeContents() local 40 assertEquals(0, measurement.describeContents()); in testDescribeContents() 45 GnssMeasurement measurement = new GnssMeasurement(); in testReset() local 46 measurement.reset(); in testReset() 51 GnssMeasurement measurement = new GnssMeasurement(); in testWriteToParcel() local 52 setTestValues(measurement); in testWriteToParcel() 54 measurement.writeToParcel(parcel, 0); in testWriteToParcel() 63 GnssMeasurement measurement = new GnssMeasurement(); in testSet() local 64 setTestValues(measurement); in testSet() 66 newMeasurement.set(measurement); in testSet() [all …]
|
/cts/tests/location/location_privileged/src/android/location/cts/privileged/ |
D | GnssMeasurementTest.java | 44 GnssMeasurement measurement = new GnssMeasurement(); in testDescribeContents() local 45 assertEquals(0, measurement.describeContents()); in testDescribeContents() 50 GnssMeasurement measurement = new GnssMeasurement(); in testReset() local 51 measurement.reset(); in testReset() 56 GnssMeasurement measurement = new GnssMeasurement(); in testWriteToParcel() local 57 setTestValues(measurement); in testWriteToParcel() 59 measurement.writeToParcel(parcel, 0); in testWriteToParcel() 68 GnssMeasurement measurement = new GnssMeasurement(); in testSet() local 69 setTestValues(measurement); in testSet() 71 newMeasurement.set(measurement); in testSet() [all …]
|
D | GnssMeasurementValuesTest.java | 154 for (GnssMeasurement measurement : event.getMeasurements()) { in testListenForGnssMeasurements() 155 … TestMeasurementUtil.assertAllGnssMeasurementSystemFields(measurement, softAssert, timeInNs); in testListenForGnssMeasurements()
|
/cts/tests/location/common/src/android/location/cts/common/ |
D | TestMeasurementUtil.java | 141 public static boolean gnssMeasurementHasCarrierPhasePrr(GnssMeasurement measurement) { in gnssMeasurementHasCarrierPhasePrr() argument 142 return (measurement.getPseudorangeRateUncertaintyMetersPerSecond() < in gnssMeasurementHasCarrierPhasePrr() 226 TestLocationManager testLocationManager, GnssMeasurement measurement, in assertAllGnssMeasurementMandatoryFields() argument 229 verifySvid(measurement, softAssert, timeInNs); in assertAllGnssMeasurementMandatoryFields() 230 verifyReceivedSatelliteVehicleTimeInNs(measurement, softAssert, timeInNs); in assertAllGnssMeasurementMandatoryFields() 231 verifyAccumulatedDeltaRanges(measurement, softAssert, timeInNs); in assertAllGnssMeasurementMandatoryFields() 233 int state = measurement.getState(); in assertAllGnssMeasurementMandatoryFields() 245 String.valueOf(measurement.getReceivedSvTimeUncertaintyNanos()), in assertAllGnssMeasurementMandatoryFields() 246 measurement.getReceivedSvTimeUncertaintyNanos() > 0L); in assertAllGnssMeasurementMandatoryFields() 249 (long) measurement.getTimeOffsetNanos()); in assertAllGnssMeasurementMandatoryFields() [all …]
|
D | TestGnssMeasurementListener.java | 135 for (GnssMeasurement measurement : event.getMeasurements()) { in onGnssMeasurementsReceived() 136 if (measurement.hasSatellitePvt()) { in onGnssMeasurementsReceived() 143 for (GnssMeasurement measurement : event.getMeasurements()) { in onGnssMeasurementsReceived() 144 if (measurement.hasCorrelationVectors()) { in onGnssMeasurementsReceived()
|
/cts/tests/location/location_gnss/src/android/location/cts/gnss/ |
D | GnssMeasurementValuesTest.java | 136 for (GnssMeasurement measurement : event.getMeasurements()) { in testListenForGnssMeasurements() 138 measurement, softAssert, timeInNs); in testListenForGnssMeasurements() 140 TestMeasurementUtil.gnssMeasurementHasCarrierPhasePrr(measurement); in testListenForGnssMeasurements() 141 if (measurement.hasCarrierFrequencyHz()) { in testListenForGnssMeasurements() 143 TestMeasurementUtil.getUniqueSvStringId(measurement.getConstellationType(), in testListenForGnssMeasurements() 144 measurement.getSvid(), measurement.getCarrierFrequencyHz())); in testListenForGnssMeasurements() 147 TestMeasurementUtil.getUniqueSvStringId(measurement.getConstellationType(), in testListenForGnssMeasurements() 148 measurement.getSvid())); in testListenForGnssMeasurements()
|
D | GnssPseudorangeVerificationTest.java | 182 for (GnssMeasurement measurement: measurements){ in groupByConstellation() 183 int constellationType = measurement.getConstellationType(); in groupByConstellation() 187 measurementConstellationMap.get(constellationType).add(measurement); in groupByConstellation() 195 for (GnssMeasurement measurement : measurements) { in filterMeasurements() 196 int constellationType = measurement.getConstellationType(); in filterMeasurements() 197 if ((measurement.getState() & GnssMeasurement.STATE_CODE_LOCK) == 0) { in filterMeasurements() 201 if ((measurement.getState() in filterMeasurements() 204 filteredMeasurement.add(measurement); in filterMeasurements() 206 } else if ((measurement.getState() & (GnssMeasurement.STATE_TOW_DECODED in filterMeasurements() 208 filteredMeasurement.add(measurement); in filterMeasurements() [all …]
|
D | GnssMeasurementWhenNoLocationTest.java | 180 for (GnssMeasurement measurement : gpsMeasurements) { in testGnssMeasurementWhenNoLocation() 181 gpsPrns[i] = measurement.getSvid(); in testGnssMeasurementWhenNoLocation() 196 for (GnssMeasurement measurement : gpsMeasurements) { in testGnssMeasurementWhenNoLocation() 198 measurement, softAssert, timeInNs); in testGnssMeasurementWhenNoLocation()
|
D | GnssMeasurementsConstellationTest.java | 116 for (GnssMeasurement measurement : event.getMeasurements()) { in testGnssMultiConstellationSupported() 117 constellationType = measurement.getConstellationType(); in testGnssMultiConstellationSupported()
|
/cts/tests/location/location_gnss/src/android/location/cts/gnss/pseudorange/ |
D | PseudorangePositionVelocityFromRealTimeEvents.java | 105 for (GnssMeasurement measurement : event.getMeasurements()) { in computePositionVelocitySolutionsFromRawMeas() 107 if (measurement.getConstellationType() != GnssStatus.CONSTELLATION_GPS) { in computePositionVelocitySolutionsFromRawMeas() 111 if (isGpsL5FrequencyHz(measurement.getCarrierFrequencyHz())) { in computePositionVelocitySolutionsFromRawMeas() 117 if (measurement.getCn0DbHz() >= C_TO_N0_THRESHOLD_DB_HZ in computePositionVelocitySolutionsFromRawMeas() 118 && (measurement.getState() & (1L << TOW_DECODED_MEASUREMENT_STATE_BIT)) != 0) { in computePositionVelocitySolutionsFromRawMeas() 129 long receivedGPSTowNs = measurement.getReceivedSvTimeNanos(); in computePositionVelocitySolutionsFromRawMeas() 133 mUsefulSatellitesToTowNs[measurement.getSvid() - 1] = receivedGPSTowNs; in computePositionVelocitySolutionsFromRawMeas() 137 measurement.getAccumulatedDeltaRangeMeters(), in computePositionVelocitySolutionsFromRawMeas() 138 measurement.getAccumulatedDeltaRangeState() in computePositionVelocitySolutionsFromRawMeas() 140 measurement.getPseudorangeRateMetersPerSecond(), in computePositionVelocitySolutionsFromRawMeas() [all …]
|
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | VisualizerTest.java | 399 MeasurementPeakRms measurement = new MeasurementPeakRms(); in test4_1MeasurePeakRms() local 400 status = mVisualizer.getMeasurementPeakRms(measurement); in test4_1MeasurePeakRms() 406 Log.i("VisTest", "peak="+measurement.mPeak+" rms="+measurement.mRms); in test4_1MeasurePeakRms() 407 int deltaPeak = Math.abs(measurement.mPeak - EXPECTED_PEAK_MB); in test4_1MeasurePeakRms() 408 int deltaRms = Math.abs(measurement.mRms - EXPECTED_RMS_MB); in test4_1MeasurePeakRms() 472 MeasurementPeakRms measurement = new MeasurementPeakRms(); in test4_2MeasurePeakRmsLongMP3() local 473 status = mVisualizer.getMeasurementPeakRms(measurement); in test4_2MeasurePeakRmsLongMP3() 479 Log.i("VisTest", "peak="+measurement.mPeak+" rms="+measurement.mRms); in test4_2MeasurePeakRmsLongMP3() 480 int deltaPeak = Math.abs(measurement.mPeak - EXPECTED_PEAK_MB); in test4_2MeasurePeakRmsLongMP3() 481 int deltaRms = Math.abs(measurement.mRms - EXPECTED_RMS_MB); in test4_2MeasurePeakRmsLongMP3()
|
D | LoudnessEnhancerTest.java | 208 MeasurementPeakRms measurement = new MeasurementPeakRms(); in test3_0MeasureGainChange() local 209 status = visualizer.getMeasurementPeakRms(measurement); in test3_0MeasureGainChange() 230 Log.i("LETest", "peak="+measurement.mPeak+" rms="+measurement.mRms); in test3_0MeasureGainChange() 233 int deltaPeak = Math.abs(measurement2.mPeak - (measurement.mPeak + LOUDNESS_GAIN) ); in test3_0MeasureGainChange()
|
/cts/tests/mediapc/common/ |
D | README.md | 18 we have one required measurement, so we will create one constant, 68 Requirement classes need to define a method for each required measurement. These 72 we only have one required measurement so only need to make one method for it: 90 * The datatype of the measurement. This is during the call to the 92 * The ID for the measurement. This is the String constant we defined earlier. 93 * The predicate for the measurement. This is the BiPredicate we defined 98 requirement measurement is greater than or equal to to 100, the device 101 requirement measurement is greater than or equal to to 125, the device 163 After the test, once our required measurement(s) have been calculated, we use 164 the set measurement method(s) we defined to report them:
|
/cts/tests/mediapc/common/src/android/mediapc/cts/common/ |
D | Requirement.java | 105 protected <T> void setMeasuredValue(String measurement, T measuredValue) { in setMeasuredValue() argument 107 (RequiredMeasurement<T>)this.mRequiredMeasurements.get(measurement); in setMeasuredValue()
|
/cts/hostsidetests/sustainedperf/dhrystone/ |
D | Rationale | 13 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 …]
|
D | Drystone-2.1.sh | 29 XCPU/compiler performance measurement, in particular in the area of
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | GnssDeviceInfo.java | 143 for (GnssMeasurement measurement : event.getMeasurements()) { in collectAccumulatedDeltaRangeMeasurements() 144 if ((measurement.getAccumulatedDeltaRangeState() & ADR_STATE_VALID) in collectAccumulatedDeltaRangeMeasurements()
|
/cts/tests/mediapc/requirements/ |
D | requirements.proto | 91 // A required measurement needed verifiy a MPC requirement. 99 // Whether this measurement is used to differentiate between tests. Some
|
/cts/apps/CtsVerifier/libs/ |
D | opencv3-android.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/opencv/
org/ ... |