Home
last modified time | relevance | path

Searched refs:addValue (Results 1 – 25 of 79) sorted by relevance

1234

/cts/tests/sensor/src/android/hardware/cts/helpers/
DSensorStatsTest.java33 stats.addValue("value0", 0); in testFlatten()
34 stats.addValue("value1", 1); in testFlatten()
37 subStats.addValue("value2", 2); in testFlatten()
38 subStats.addValue("value3", 3); in testFlatten()
41 subSubStats.addValue("value4", 4); in testFlatten()
42 subSubStats.addValue("value5", 5); in testFlatten()
52 stats.addValue("value6", null); in testFlatten()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DMediaPerfUtils.java63 log.addValue("round", round, ResultType.NEUTRAL, ResultUnit.NONE); in addPerformanceHeadersToLog()
64 log.addValue("codec_name", codecName, ResultType.NEUTRAL, ResultUnit.NONE); in addPerformanceHeadersToLog()
65 log.addValue("mime_type", mime, ResultType.NEUTRAL, ResultUnit.NONE); in addPerformanceHeadersToLog()
66 log.addValue("width", width, ResultType.NEUTRAL, ResultUnit.NONE); in addPerformanceHeadersToLog()
67 log.addValue("height", height, ResultType.NEUTRAL, ResultUnit.NONE); in addPerformanceHeadersToLog()
68 log.addValue("config_format", formatForReport(configFormat), in addPerformanceHeadersToLog()
70 log.addValue("input_format", formatForReport(inputFormat), in addPerformanceHeadersToLog()
72 log.addValue("output_format", formatForReport(outputFormat), in addPerformanceHeadersToLog()
82 log.addValue("reported_low", reported.getLower(), ResultType.NEUTRAL, ResultUnit.FPS); in addPerformanceHeadersToLog()
83 log.addValue("reported_high", reported.getUpper(), ResultType.NEUTRAL, ResultUnit.FPS); in addPerformanceHeadersToLog()
[all …]
DDeviceReportLog.java71 public void addValue(String source, String message, double value, ResultType type, in addValue() method in DeviceReportLog
73 super.addValue(source, message, value, type, unit); in addValue()
85 public void addValue(String message, double value, ResultType type, ResultUnit unit) { in addValue() method in DeviceReportLog
86 super.addValue(message, value, type, unit); in addValue()
125 public void addValue(String message, int value, ResultType type, ResultUnit unit) { in addValue() method in DeviceReportLog
137 public void addValue(String message, long value, ResultType type, ResultUnit unit) { in addValue() method in DeviceReportLog
149 public void addValue(String message, float value, ResultType type, ResultUnit unit) { in addValue() method in DeviceReportLog
161 public void addValue(String message, boolean value, ResultType type, ResultUnit unit) { in addValue() method in DeviceReportLog
173 public void addValue(String message, String value, ResultType type, ResultUnit unit) { in addValue() method in DeviceReportLog
/cts/tests/mediapc/common/src/android/mediapc/cts/common/
DRequiredMeasurement.java125 log.addValue(this.id(), "<nullptr>", ResultType.NEUTRAL, ResultUnit.NONE); in writeValue()
127 log.addValue(this.id(), (int)this.measuredValue, ResultType.NEUTRAL, ResultUnit.NONE); in writeValue()
129 log.addValue(this.id(), (long)this.measuredValue, ResultType.NEUTRAL, ResultUnit.NONE); in writeValue()
131 log.addValue(this.id(), (float)this.measuredValue, ResultType.NEUTRAL, ResultUnit.NONE); in writeValue()
133 log.addValue(this.id(), (double)this.measuredValue, ResultType.NEUTRAL, in writeValue()
136 log.addValue(this.id(), (boolean)this.measuredValue, ResultType.NEUTRAL, in writeValue()
139 log.addValue(this.id(), (String)this.measuredValue, ResultType.NEUTRAL, in writeValue()
143 log.addValue(this.id(), this.measuredValue.toString(), ResultType.NEUTRAL, in writeValue()
/cts/tests/tests/keystore/src/android/keystore/cts/performance/
DPerformanceTestBase.java70 reportLog.addValue( in measure()
75 reportLog.addValue( in measure()
77 reportLog.addValue( in measure()
79 reportLog.addValue( in measure()
81 reportLog.addValue( in measure()
83 reportLog.addValue( in measure()
88 reportLog.addValue( in measure()
90 reportLog.addValue( in measure()
95 reportLog.addValue( in measure()
100 reportLog.addValue( in measure()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVXCheckTestActivity.java199 getReportLog().addValue("Roll error RMS", mReport.roll_rms_error, in activitySetUp()
201 getReportLog().addValue("Pitch error RMS", mReport.pitch_rms_error, in activitySetUp()
203 getReportLog().addValue("Yaw error RMS", mReport.yaw_rms_error, in activitySetUp()
206 getReportLog().addValue("Roll error MAX", mReport.roll_max_error, in activitySetUp()
208 getReportLog().addValue("Pitch error MAX", mReport.pitch_max_error, in activitySetUp()
210 getReportLog().addValue("Yaw error MAX", mReport.yaw_max_error, in activitySetUp()
213 getReportLog().addValue("Number of frames", mReport.n_of_frame, in activitySetUp()
215 getReportLog().addValue("Number of valid frames", mReport.n_of_valid_frame, in activitySetUp()
218 getReportLog().addValue("Sensor period mean", mReport.sensor_period_avg*1000, in activitySetUp()
220 getReportLog().addValue("Sensor period stdev", mReport.sensor_period_stdev*1000, in activitySetUp()
[all …]
/cts/tests/sample/src/android/sample/cts/
DSampleDeviceReportLogTest.java73 reportLog.addValue(EXPECTED_PRODUCT_TAG, 1.0 * MULTIPLICATION_RESULT, ResultType.NEUTRAL, in testMultiplication()
75 reportLog.addValue(ACTUAL_PRODUCT_TAG, 1.0 * product, ResultType.NEUTRAL, ResultUnit.NONE); in testMultiplication()
124 reportLog.addValue(START_TAG, 1.0 * start, ResultType.NEUTRAL, ResultUnit.NONE); in countHelper()
125 reportLog.addValue(END_TAG, 1.0 * end, ResultType.NEUTRAL, ResultUnit.NONE); in countHelper()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DImmersiveAudioActivity.java272 reportLog.addValue( in recordTestResults()
277 reportLog.addValue( in recordTestResults()
282 reportLog.addValue( in recordTestResults()
287 reportLog.addValue( in recordTestResults()
292 reportLog.addValue( in recordTestResults()
297 reportLog.addValue( in recordTestResults()
302 reportLog.addValue( in recordTestResults()
307 reportLog.addValue( in recordTestResults()
DProAudioActivity.java265 reportLog.addValue( in recordTestResults()
271 reportLog.addValue( in recordTestResults()
277 reportLog.addValue( in recordTestResults()
283 reportLog.addValue( in recordTestResults()
289 reportLog.addValue( in recordTestResults()
295 reportLog.addValue( in recordTestResults()
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/
DEventGapVerification.java71 stats.addValue(PASSED_KEY, "skipped (under load)"); in verify()
81 stats.addValue(PASSED_KEY, pass); in verify()
82 stats.addValue(SensorStats.EVENT_GAP_COUNT_KEY, count); in verify()
83 stats.addValue(SensorStats.EVENT_GAP_POSITIONS_KEY, getIndexArray(mEventGaps)); in verify()
DEventBasicVerification.java173 stats.addValue(SensorStats.EVENT_COUNT_KEY, mNumEvent); in verify()
174 stats.addValue(SensorStats.EVENT_COUNT_EXPECTED_KEY, mExpectedMinNumEvent); in verify()
175 stats.addValue(SensorStats.WRONG_SENSOR_KEY, mWrongSensorObserved); in verify()
181 stats.addValue(PASSED_KEY, success); in verify()
DMeanLargerThanVerification.java101 stats.addValue(PASSED_KEY, true); in verify()
114 stats.addValue(PASSED_KEY, !failed); in verify()
115 stats.addValue(SensorStats.MEAN_KEY, means); in verify()
DTimestampClockSourceVerification.java106 stats.addValue(SensorStats.EVENT_TIME_WRONG_CLOCKSOURCE_COUNT_KEY, failuresCount); in verify()
107 stats.addValue( in verify()
113 stats.addValue(SensorStats.EVENT_TIME_WRONG_CLOCKSOURCE_COUNT_KEY, 0); in verify()
115 stats.addValue(PASSED_KEY, success); in verify()
DEventOrderingVerification.java74 stats.addValue(PASSED_KEY, count == 0); in verify()
75 stats.addValue(SensorStats.EVENT_OUT_OF_ORDER_COUNT_KEY, count); in verify()
76 stats.addValue( in verify()
DContinuousEventSanitizedVerification.java77 stats.addValue(PASSED_KEY, false); in verify()
78 stats.addValue(SensorStats.EVENT_NOT_SANITIZED_KEY, mNonSanitizedEvents); in verify()
100 stats.addValue(PASSED_KEY, true); in verify()
DMagnitudeVerification.java94 stats.addValue(PASSED_KEY, true); in verify()
101 stats.addValue(PASSED_KEY, !failed); in verify()
102 stats.addValue(SensorStats.MAGNITUDE_KEY, mean); in verify()
DFifoLengthVerification.java96 stats.addValue(PASSED_KEY, "skipped (no fifo length requirements)"); in verify()
122 stats.addValue(PASSED_KEY, success); in verify()
123 stats.addValue(SensorStats.EVENT_FIFO_LENGTH, batchCount); in verify()
DFrequencyVerification.java132 stats.addValue(PASSED_KEY, true); in verify()
141 stats.addValue(SensorStats.FREQUENCY_KEY, measuredFrequencyHz); in verify()
142 stats.addValue(PASSED_KEY, !failed); in verify()
DEventTimestampSynchronizationVerification.java104 stats.addValue(SensorStats.EVENT_TIME_SYNCHRONIZATION_COUNT_KEY, failuresCount); in verify()
105 stats.addValue( in verify()
110 stats.addValue(PASSED_KEY, success); in verify()
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DDecoderLowLatencyTest.java295 log.addValue("codec_name", mDecoderName, ResultType.NEUTRAL, ResultUnit.NONE); in testLowLatencyVideo()
296 log.addValue("mime_type", mime, ResultType.NEUTRAL, ResultUnit.NONE); in testLowLatencyVideo()
297 log.addValue("width", width, ResultType.NEUTRAL, ResultUnit.NONE); in testLowLatencyVideo()
298 log.addValue("height", height, ResultType.NEUTRAL, ResultUnit.NONE); in testLowLatencyVideo()
299 log.addValue("video_res", mTestFile, ResultType.NEUTRAL, ResultUnit.NONE); in testLowLatencyVideo()
300 log.addValue("decode_to", surface == null ? "buffer" : "surface", in testLowLatencyVideo()
303 log.addValue("average_latency", latencyMean, ResultType.LOWER_BETTER, ResultUnit.MS); in testLowLatencyVideo()
304 log.addValue("max_latency", latencyMax, ResultType.LOWER_BETTER, ResultUnit.MS); in testLowLatencyVideo()
/cts/common/device-side/util-axt/tests/src/com/android/compatibility/common/util/
DDeviceReportTest.java78 log.addValue(TEST_MESSAGE_1, TEST_VALUE_1, TEST_TYPE_1, TEST_UNIT_1); in testSubmit()
105 log1.addValue(TEST_MESSAGE_1, TEST_VALUE_1, TEST_TYPE_1, TEST_UNIT_1); in testFile()
110 log2.addValue(TEST_MESSAGE_2, TEST_VALUE_2, TEST_TYPE_2, TEST_UNIT_2); in testFile()
115 log3.addValue(TEST_MESSAGE_3, TEST_VALUE_3, TEST_TYPE_3, TEST_UNIT_3); in testFile()
120 log4.addValue(TEST_MESSAGE_4, TEST_VALUE_4, TEST_TYPE_4, TEST_UNIT_4); in testFile()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DCtsVerifierReportLog.java149 public void addValue(String message, double value, ResultType type, ResultUnit unit) { in addValue() method in CtsVerifierReportLog
161 public void addValue(String source, String message, double value, ResultType type, in addValue() method in CtsVerifierReportLog
174 public void addValue(String message, int value, ResultType type, ResultUnit unit) { in addValue() method in CtsVerifierReportLog
186 public void addValue(String message, long value, ResultType type, ResultUnit unit) { in addValue() method in CtsVerifierReportLog
198 public void addValue(String message, float value, ResultType type, ResultUnit unit) { in addValue() method in CtsVerifierReportLog
210 public void addValue(String message, boolean value, ResultType type, ResultUnit unit) { in addValue() method in CtsVerifierReportLog
222 public void addValue(String message, String value, ResultType type, ResultUnit unit) { in addValue() method in CtsVerifierReportLog
/cts/tests/sensor/src/android/hardware/cts/helpers/sensoroperations/
DFakeSensorOperation.java64 getStats().addValue("executed", true); in execute()
86 getStats().addValue(SensorStats.ERROR, msg); in doFail()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioTrack_ListenerTest.java223 log.addValue("average_marker_diff", markerStat.getAvg(), ResultType.LOWER_BETTER, in doTest()
225 log.addValue("maximum_marker_abs_diff", markerStat.getMaxAbs(), ResultType.LOWER_BETTER, in doTest()
227 log.addValue("average_marker_abs_diff", markerStat.getAvgAbs(), ResultType.LOWER_BETTER, in doTest()
229 log.addValue("average_periodic_diff", periodicStat.getAvg(), ResultType.LOWER_BETTER, in doTest()
231 log.addValue("maximum_periodic_abs_diff", periodicStat.getMaxAbs(), ResultType.LOWER_BETTER, in doTest()
233 log.addValue("average_periodic_abs_diff", periodicStat.getAvgAbs(), ResultType.LOWER_BETTER, in doTest()
/cts/tests/openglperf2/src/android/opengl2/cts/reference/
DGLReferenceBenchmark.java70 report.addValue("update_time_average", updateAverage, ResultType.LOWER_BETTER, in testReferenceBenchmark()
72 report.addValue("render_time_average", renderAverage, ResultType.LOWER_BETTER, in testReferenceBenchmark()

1234