Home
last modified time | relevance | path

Searched refs:measurements (Results 1 – 10 of 10) sorted by relevance

/cts/apps/CtsVerifier/assets/scripts/
Dexecute_power_tests.py326 def computeBaselineState(self, measurements): argument
341 if len(measurements) < 100:
352 sorted_measurements = sorted(measurements)
353 number_measurements = len(measurements)
384 measurements)):
398 float(right_index - left_index) / len(measurements)))
400 plt.plot(measurements)
463 measurements = self.collectMeasurements(
466 if self.computeBaselineState(measurements)[0] is True:
473 measurements = self.collectMeasurements(
[all …]
/cts/tests/location/location_gnss/src/android/location/cts/gnss/
DGnssPseudorangeVerificationTest.java161 for (ArrayList<GnssMeasurement> measurements : measurementConstellationMap.values()) { in testPseudorangeValue()
162 validatePseudorange(measurements, softAssert, timeInNs); in testPseudorangeValue()
180 Collection<GnssMeasurement> measurements) { in groupByConstellation() argument
182 for (GnssMeasurement measurement: measurements){ in groupByConstellation()
193 Collection<GnssMeasurement> measurements) { in filterMeasurements() argument
195 for (GnssMeasurement measurement : measurements) { in filterMeasurements()
218 private void validatePseudorange(Collection<GnssMeasurement> measurements, in validatePseudorange() argument
223 for(GnssMeasurement measurement : measurements) { in validatePseudorange()
230 for (GnssMeasurement measurement : measurements) { in validatePseudorange()
/cts/tests/tests/os/src/android/os/health/cts/
DHealthStatsTest.java135 Map<String,Long> measurements; in checkHealthStats() local
140 measurements = readback.getMeasurements(MEASUREMENTS_0); in checkHealthStats()
141 Assert.assertEquals(1, measurements.size()); in checkHealthStats()
142 Assert.assertEquals(800L, measurements.get("Z").longValue()); in checkHealthStats()
145 measurements = readback.getMeasurements(MEASUREMENTS_1); in checkHealthStats()
147 Assert.assertEquals(2, measurements.size()); in checkHealthStats()
148 Assert.assertEquals(900L, measurements.get("Y").longValue()); in checkHealthStats()
149 Assert.assertEquals(901L, measurements.get("X").longValue()); in checkHealthStats()
/cts/tests/location/location_none/src/android/location/cts/none/
DGnssMeasurementsEventTest.java70 Collection<GnssMeasurement> measurements = newEvent.getMeasurements(); in testWriteToParcel() local
71 assertEquals(2, measurements.size()); in testWriteToParcel()
72 Iterator<GnssMeasurement> iterator = measurements.iterator(); in testWriteToParcel()
/cts/tests/vibrator/src/android/os/cts/
DVibratorTest.java563 float[] measurements = frequencyProfile.getMaxAmplitudeMeasurements(); in testVibratorFrequencyProfileOutputAccelerationMeasurements() local
566 assertThat(measurements.length).isAtLeast(3); in testVibratorFrequencyProfileOutputAccelerationMeasurements()
570 measurements.length, minFrequencyHz, maxFrequencyHz, measurementIntervalHz) in testVibratorFrequencyProfileOutputAccelerationMeasurements()
571 .that(minFrequencyHz + ((measurements.length - 1) * measurementIntervalHz)) in testVibratorFrequencyProfileOutputAccelerationMeasurements()
575 for (int i = 0; i < measurements.length; i++) { in testVibratorFrequencyProfileOutputAccelerationMeasurements()
576 assertWithMessage("Expected measurements[%s] value %s within range", i, measurements[i]) in testVibratorFrequencyProfileOutputAccelerationMeasurements()
577 .that(measurements[i]).isIn(Range.closed(0f, 1f)); in testVibratorFrequencyProfileOutputAccelerationMeasurements()
578 hasPositiveMeasurement |= measurements[i] > 0; in testVibratorFrequencyProfileOutputAccelerationMeasurements()
/cts/tests/mediapc/common/src/android/mediapc/cts/common/
DAutoConstants.java.tmpl21 * stored in order as they appear in the Android CDD. Constants relating to measurements are stored
/cts/tests/mediapc/requirements/
Drequirements.proto38 // A Media Performance Class Requirement with required measurements and
52 map<string, RequiredMeasurement> measurements = 6; field
Drequirements.txtpb259 measurements: {
425 measurements: {
603 measurements: {
841 measurements: {
898 measurements: {
906 measurements: {
917 measurements: {
925 measurements: {
933 measurements: {
1799 measurements {
[all …]
/cts/tests/mediapc/common/
DREADME.md29 BiPredicate defines the operator to test measurements for our requirement with.
86 This method defines each of the required measurements. Each
/cts/hostsidetests/sustainedperf/dhrystone/
DRationale71 Readers who want to use the benchmark for their own measurements can