/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 | 152 for (GnssMeasurement measurement : event.getMeasurements()) { in testListenForGnssMeasurements() 153 … TestMeasurementUtil.assertAllGnssMeasurementSystemFields(measurement, softAssert, timeInNs); in testListenForGnssMeasurements()
|
/cts/tests/location/common/src/android/location/cts/common/ |
D | TestMeasurementUtil.java | 137 public static boolean gnssMeasurementHasCarrierPhasePrr(GnssMeasurement measurement) { in gnssMeasurementHasCarrierPhasePrr() argument 138 return (measurement.getPseudorangeRateUncertaintyMetersPerSecond() < in gnssMeasurementHasCarrierPhasePrr() 222 TestLocationManager testLocationManager, GnssMeasurement measurement, in assertAllGnssMeasurementMandatoryFields() argument 225 verifySvid(measurement, softAssert, timeInNs); in assertAllGnssMeasurementMandatoryFields() 226 verifyReceivedSatelliteVehicleTimeInNs(measurement, softAssert, timeInNs); in assertAllGnssMeasurementMandatoryFields() 227 verifyAccumulatedDeltaRanges(measurement, softAssert, timeInNs); in assertAllGnssMeasurementMandatoryFields() 229 int state = measurement.getState(); in assertAllGnssMeasurementMandatoryFields() 241 String.valueOf(measurement.getReceivedSvTimeUncertaintyNanos()), in assertAllGnssMeasurementMandatoryFields() 242 measurement.getReceivedSvTimeUncertaintyNanos() > 0L); in assertAllGnssMeasurementMandatoryFields() 245 (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/uwb/src/android/uwb/cts/ |
D | RangingMeasurementTest.java | 65 RangingMeasurement measurement = tryBuild(builder, true); in testBuilder() local 67 assertEquals(status, measurement.getStatus()); in testBuilder() 68 assertEquals(address, measurement.getRemoteDeviceAddress()); in testBuilder() 69 assertEquals(time, measurement.getElapsedRealtimeNanos()); in testBuilder() 70 assertEquals(angleMeasurement, measurement.getAngleOfArrivalMeasurement()); in testBuilder() 71 assertEquals(distanceMeasurement, measurement.getDistanceMeasurement()); in testBuilder() 76 RangingMeasurement measurement = null; in tryBuild() local 78 measurement = builder.build(); in tryBuild() 87 return measurement; in tryBuild() 93 RangingMeasurement measurement = UwbTestUtils.getRangingMeasurement(); in testParcel() local [all …]
|
D | DistanceMeasurementTest.java | 55 DistanceMeasurement measurement = tryBuild(builder, true); in testBuilder() local 57 assertEquals(meters, measurement.getMeters(), 0); in testBuilder() 58 assertEquals(error, measurement.getErrorMeters(), 0); in testBuilder() 59 assertEquals(confidence, measurement.getConfidenceLevel(), 0); in testBuilder() 64 DistanceMeasurement measurement = null; in tryBuild() local 66 measurement = builder.build(); in tryBuild() 75 return measurement; in tryBuild() 81 DistanceMeasurement measurement = UwbTestUtils.getDistanceMeasurement(); in testParcel() local 82 measurement.writeToParcel(parcel, 0); in testParcel() 86 assertEquals(measurement, fromParcel); in testParcel()
|
D | AngleOfArrivalMeasurementTest.java | 47 AngleOfArrivalMeasurement measurement = tryBuild(builder, true); in testBuilder() local 49 assertEquals(azimuth, measurement.getAzimuth()); in testBuilder() 50 assertEquals(altitude, measurement.getAltitude()); in testBuilder() 55 AngleOfArrivalMeasurement measurement = null; in tryBuild() local 57 measurement = builder.build(); in tryBuild() 66 return measurement; in tryBuild() 72 AngleOfArrivalMeasurement measurement = UwbTestUtils.getAngleOfArrivalMeasurement(); in testParcel() local 73 measurement.writeToParcel(parcel, 0); in testParcel() 77 assertEquals(measurement, fromParcel); in testParcel()
|
D | AngleMeasurementTest.java | 43 AngleMeasurement measurement = new AngleMeasurement(radians, errorRadians, confidence); in testConstructs() local 44 assertEquals(measurement.getRadians(), radians, 0); in testConstructs() 45 assertEquals(measurement.getErrorRadians(), errorRadians, 0); in testConstructs() 46 assertEquals(measurement.getConfidenceLevel(), confidence, 0); in testConstructs() 89 AngleMeasurement measurement = UwbTestUtils.getAngleMeasurement(); in testParcel() local 90 measurement.writeToParcel(parcel, 0); in testParcel() 93 assertEquals(measurement, fromParcel); in testParcel()
|
D | RangingReportTest.java | 52 for (RangingMeasurement measurement : measurements) { in testBuilder() 53 builder.addMeasurement(measurement); in testBuilder()
|
/cts/tests/location/location_gnss/src/android/location/cts/gnss/ |
D | GnssMeasurementValuesTest.java | 133 for (GnssMeasurement measurement : event.getMeasurements()) { in testListenForGnssMeasurements() 135 measurement, softAssert, timeInNs); in testListenForGnssMeasurements() 137 TestMeasurementUtil.gnssMeasurementHasCarrierPhasePrr(measurement); in testListenForGnssMeasurements() 138 if (measurement.hasCarrierFrequencyHz()) { in testListenForGnssMeasurements() 140 TestMeasurementUtil.getUniqueSvStringId(measurement.getConstellationType(), in testListenForGnssMeasurements() 141 measurement.getSvid(), measurement.getCarrierFrequencyHz())); in testListenForGnssMeasurements() 144 TestMeasurementUtil.getUniqueSvStringId(measurement.getConstellationType(), in testListenForGnssMeasurements() 145 measurement.getSvid())); in testListenForGnssMeasurements()
|
D | GnssPseudorangeVerificationTest.java | 179 for (GnssMeasurement measurement: measurements){ in groupByConstellation() 180 int constellationType = measurement.getConstellationType(); in groupByConstellation() 184 measurementConstellationMap.get(constellationType).add(measurement); in groupByConstellation() 192 for (GnssMeasurement measurement : measurements) { in filterMeasurements() 193 int constellationType = measurement.getConstellationType(); in filterMeasurements() 194 if ((measurement.getState() & GnssMeasurement.STATE_CODE_LOCK) == 0) { in filterMeasurements() 198 if ((measurement.getState() in filterMeasurements() 201 filteredMeasurement.add(measurement); in filterMeasurements() 203 } else if ((measurement.getState() & (GnssMeasurement.STATE_TOW_DECODED in filterMeasurements() 205 filteredMeasurement.add(measurement); in filterMeasurements() [all …]
|
D | GnssMeasurementWhenNoLocationTest.java | 179 for (GnssMeasurement measurement : gpsMeasurements) { in testGnssMeasurementWhenNoLocation() 180 gpsPrns[i] = measurement.getSvid(); in testGnssMeasurementWhenNoLocation() 195 for (GnssMeasurement measurement : gpsMeasurements) { in testGnssMeasurementWhenNoLocation() 197 measurement, softAssert, timeInNs); in testGnssMeasurementWhenNoLocation()
|
D | GnssMeasurementsConstellationTest.java | 114 for (GnssMeasurement measurement : event.getMeasurements()) { in testGnssMultiConstellationSupported() 115 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/src/android/media/cts/ |
D | VisualizerTest.java | 339 MeasurementPeakRms measurement = new MeasurementPeakRms(); in test4_1MeasurePeakRms() local 340 status = mVisualizer.getMeasurementPeakRms(measurement); in test4_1MeasurePeakRms() 346 Log.i("VisTest", "peak="+measurement.mPeak+" rms="+measurement.mRms); in test4_1MeasurePeakRms() 347 int deltaPeak = Math.abs(measurement.mPeak - EXPECTED_PEAK_MB); in test4_1MeasurePeakRms() 348 int deltaRms = Math.abs(measurement.mRms - EXPECTED_RMS_MB); in test4_1MeasurePeakRms() 413 MeasurementPeakRms measurement = new MeasurementPeakRms(); in test4_2MeasurePeakRmsLongMP3() local 414 status = mVisualizer.getMeasurementPeakRms(measurement); in test4_2MeasurePeakRmsLongMP3() 420 Log.i("VisTest", "peak="+measurement.mPeak+" rms="+measurement.mRms); in test4_2MeasurePeakRmsLongMP3() 421 int deltaPeak = Math.abs(measurement.mPeak - EXPECTED_PEAK_MB); in test4_2MeasurePeakRmsLongMP3() 422 int deltaRms = Math.abs(measurement.mRms - EXPECTED_RMS_MB); in test4_2MeasurePeakRmsLongMP3()
|
D | LoudnessEnhancerTest.java | 191 MeasurementPeakRms measurement = new MeasurementPeakRms(); in test3_0MeasureGainChange() local 192 status = visualizer.getMeasurementPeakRms(measurement); in test3_0MeasureGainChange() 213 Log.i("LETest", "peak="+measurement.mPeak+" rms="+measurement.mRms); in test3_0MeasureGainChange() 216 int deltaPeak = Math.abs(measurement2.mPeak - (measurement.mPeak + LOUDNESS_GAIN) ); in test3_0MeasureGainChange()
|
/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/apps/CtsVerifier/libs/ |
D | opencv3-android.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/opencv/
org/ ... |