Home
last modified time | relevance | path

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

123

/cts/tests/tests/hardware/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/libs/deviceutil/src/android/cts/util/
DMediaPerfUtils.java57 log.addValue("round", round, ResultType.NEUTRAL, ResultUnit.NONE); in addPerformanceHeadersToLog()
58 log.addValue("codec_name", codecName, ResultType.NEUTRAL, ResultUnit.NONE); in addPerformanceHeadersToLog()
59 log.addValue("mime_type", configFormat.getString(MediaFormat.KEY_MIME), in addPerformanceHeadersToLog()
61 log.addValue("width", configFormat.getInteger(MediaFormat.KEY_WIDTH), in addPerformanceHeadersToLog()
63 log.addValue("height", configFormat.getInteger(MediaFormat.KEY_HEIGHT), in addPerformanceHeadersToLog()
65 log.addValue("config_format", formatForReport(configFormat), in addPerformanceHeadersToLog()
67 log.addValue("input_format", formatForReport(inputFormat), in addPerformanceHeadersToLog()
69 log.addValue("output_format", formatForReport(outputFormat), in addPerformanceHeadersToLog()
86 log.addValue( in addPerformanceStatsToLog()
93 log.addValue("window_time", MOVING_AVERAGE_WINDOW_MS, ResultType.NEUTRAL, ResultUnit.MS); in addPerformanceStatsToLog()
[all …]
/cts/common/host-side/util/src/com/android/compatibility/common/util/
DMetricsReportLog.java67 public void addValue(String source, String message, double value, ResultType type, in addValue() method in MetricsReportLog
69 super.addValue(source, message, value, type, unit); in addValue()
81 public void addValue(String message, double value, ResultType type, ResultUnit unit) { in addValue() method in MetricsReportLog
82 super.addValue(message, value, type, unit); in addValue()
122 public void addValue(String message, int value, ResultType type, ResultUnit unit) { in addValue() method in MetricsReportLog
134 public void addValue(String message, long value, ResultType type, ResultUnit unit) { in addValue() method in MetricsReportLog
146 public void addValue(String message, float value, ResultType type, ResultUnit unit) { in addValue() method in MetricsReportLog
158 public void addValue(String message, boolean value, ResultType type, ResultUnit unit) { in addValue() method in MetricsReportLog
170 public void addValue(String message, String value, ResultType type, ResultUnit unit) { in addValue() method in MetricsReportLog
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVXCheckTestActivity.java192 getReportLog().addValue("Roll error RMS", mReport.roll_rms_error, in activitySetUp()
194 getReportLog().addValue("Pitch error RMS", mReport.pitch_rms_error, in activitySetUp()
196 getReportLog().addValue("Yaw error RMS", mReport.yaw_rms_error, in activitySetUp()
199 getReportLog().addValue("Roll error MAX", mReport.roll_max_error, in activitySetUp()
201 getReportLog().addValue("Pitch error MAX", mReport.pitch_max_error, in activitySetUp()
203 getReportLog().addValue("Yaw error MAX", mReport.yaw_max_error, in activitySetUp()
206 getReportLog().addValue("Number of frames", mReport.n_of_frame, in activitySetUp()
208 getReportLog().addValue("Number of valid frames", mReport.n_of_valid_frame, in activitySetUp()
211 getReportLog().addValue("Sensor period mean", mReport.sensor_period_avg*1000, in activitySetUp()
213 getReportLog().addValue("Sensor period stdev", mReport.sensor_period_stdev*1000, in activitySetUp()
[all …]
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DDeviceReportLog.java70 public void addValue(String source, String message, double value, ResultType type, in addValue() method in DeviceReportLog
72 super.addValue(source, message, value, type, unit); in addValue()
84 public void addValue(String message, double value, ResultType type, ResultUnit unit) { in addValue() method in DeviceReportLog
85 super.addValue(message, value, type, unit); in addValue()
124 public void addValue(String message, int value, ResultType type, ResultUnit unit) { in addValue() method in DeviceReportLog
136 public void addValue(String message, long value, ResultType type, ResultUnit unit) { in addValue() method in DeviceReportLog
148 public void addValue(String message, float value, ResultType type, ResultUnit unit) { in addValue() method in DeviceReportLog
160 public void addValue(String message, boolean value, ResultType type, ResultUnit unit) { in addValue() method in DeviceReportLog
172 public void addValue(String message, String value, ResultType type, ResultUnit unit) { in addValue() method in DeviceReportLog
/cts/tests/sample/src/android/sample/cts/
DSampleDeviceReportLogTest.java71 reportLog.addValue(EXPECTED_PRODUCT_TAG, 1.0 * MULTIPLICATION_RESULT, ResultType.NEUTRAL, in testMultiplication()
73 reportLog.addValue(ACTUAL_PRODUCT_TAG, 1.0 * product, ResultType.NEUTRAL, ResultUnit.NONE); in testMultiplication()
120 reportLog.addValue(START_TAG, 1.0 * start, ResultType.NEUTRAL, ResultUnit.NONE); in countHelper()
121 reportLog.addValue(END_TAG, 1.0 * end, ResultType.NEUTRAL, ResultUnit.NONE); in countHelper()
/cts/tests/tests/hardware/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.java171 stats.addValue(SensorStats.EVENT_COUNT_KEY, mNumEvent); in verify()
172 stats.addValue(SensorStats.EVENT_COUNT_EXPECTED_KEY, mExpectedMinNumEvent); in verify()
173 stats.addValue(SensorStats.WRONG_SENSOR_KEY, mWrongSensorObserved); in verify()
179 stats.addValue(PASSED_KEY, success); 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()
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()
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()
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.java119 stats.addValue(PASSED_KEY, true); in verify()
128 stats.addValue(SensorStats.FREQUENCY_KEY, measuredFrequencyHz); in verify()
129 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()
DMeanVerification.java88 stats.addValue(PASSED_KEY, true); in verify()
116 stats.addValue(PASSED_KEY, !failed); in verify()
117 stats.addValue(SensorStats.MEAN_KEY, means); in verify()
/cts/tests/jank/src/android/jank/cts/
DCtsJankTestBase.java37 mLog.addValue(source, "frame_fps", in afterTest()
40 mLog.addValue(source, "frame_max_frame_duration", in afterTest()
43 mLog.addValue(source, "frame_max_jank", in afterTest()
/cts/common/device-side/util/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/common/util/src/com/android/compatibility/common/util/
DReportLog.java192 public void addValue(String message, double value, ResultType type, ResultUnit unit) { in addValue() method in ReportLog
199 public void addValue(String source, String message, double value, ResultType type, in addValue() method in ReportLog
207 public void addValue(String message, int value, ResultType type, ResultUnit unit) { in addValue() method in ReportLog
214 public void addValue(String message, long value, ResultType type, ResultUnit unit) { in addValue() method in ReportLog
221 public void addValue(String message, float value, ResultType type, ResultUnit unit) { in addValue() method in ReportLog
228 public void addValue(String message, boolean value, ResultType type, ResultUnit unit) { in addValue() method in ReportLog
235 public void addValue(String message, String value, ResultType type, ResultUnit unit) { in addValue() method in ReportLog
/cts/tests/tests/media/src/android/media/cts/
DAudioTrack_ListenerTest.java211 log.addValue("average_marker_diff", markerStat.getAvg(), ResultType.LOWER_BETTER, in doTest()
213 log.addValue("maximum_marker_abs_diff", markerStat.getMaxAbs(), ResultType.LOWER_BETTER, in doTest()
215 log.addValue("average_marker_abs_diff", markerStat.getAvgAbs(), ResultType.LOWER_BETTER, in doTest()
217 log.addValue("average_periodic_diff", periodicStat.getAvg(), ResultType.LOWER_BETTER, in doTest()
219 log.addValue("maximum_periodic_abs_diff", periodicStat.getMaxAbs(), ResultType.LOWER_BETTER, in doTest()
221 log.addValue("average_periodic_abs_diff", periodicStat.getAvgAbs(), ResultType.LOWER_BETTER, in doTest()
DDecoderConformanceTest.java265 mReportLog.addValue("mime", mime, ResultType.NEUTRAL, ResultUnit.NONE); in decodeTestVectors()
266 mReportLog.addValue("is_goog", isGoog, ResultType.NEUTRAL, ResultUnit.NONE); in decodeTestVectors()
267 mReportLog.addValue("pass", pass, ResultType.NEUTRAL, ResultUnit.NONE); in decodeTestVectors()
268 mReportLog.addValue("vector_name", vectorName, ResultType.NEUTRAL, ResultUnit.NONE); in decodeTestVectors()
269 mReportLog.addValue("decode_name", decoderName, ResultType.NEUTRAL, in decodeTestVectors()
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensoroperations/
DFakeSensorOperation.java64 getStats().addValue("executed", true); in execute()
86 getStats().addValue(SensorStats.ERROR, msg); in doFail()
/cts/tests/camera/src/android/hardware/camera2/cts/
DPerformanceTest.java123 mReportLog.addValue("camera_id", id, ResultType.NEUTRAL, ResultUnit.NONE); in testCameraLaunch()
237 mReportLog.addValue("camera_id", id, ResultType.NEUTRAL, ResultUnit.NONE); in testSingleCapture()
355 mReportLog.addValue("camera_id", id, ResultType.NEUTRAL, ResultUnit.NONE); in testReprocessingLatency()
356 mReportLog.addValue("format", format, ResultType.NEUTRAL, ResultUnit.NONE); in testReprocessingLatency()
384 mReportLog.addValue("camera_id", id, ResultType.NEUTRAL, ResultUnit.NONE); in testReprocessingThroughput()
385 mReportLog.addValue("format", format, ResultType.NEUTRAL, ResultUnit.NONE); in testReprocessingThroughput()
412 mReportLog.addValue("camera_id", id, ResultType.NEUTRAL, ResultUnit.NONE); in testHighQualityReprocessingLatency()
413 mReportLog.addValue("format", format, ResultType.NEUTRAL, ResultUnit.NONE); in testHighQualityReprocessingLatency()
441 mReportLog.addValue("camera_id", id, ResultType.NEUTRAL, ResultUnit.NONE); in testHighQualityReprocessingThroughput()
442 mReportLog.addValue("format", format, ResultType.NEUTRAL, ResultUnit.NONE); in testHighQualityReprocessingThroughput()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioLoopbackActivity.java300 getReportLog().addValue( in recordTestResults()
306 getReportLog().addValue( in recordTestResults()
313 getReportLog().addValue( in recordTestResults()
319 getReportLog().addValue( in recordTestResults()
325 getReportLog().addValue( in recordTestResults()
335 getReportLog().addValue( in recordHeasetPortFound()
/cts/tests/dram/src/android/dram/cts/
DBandwidthTest.java171 report.addValue("buffer_size", bufferSize, ResultType.NEUTRAL, ResultUnit.NONE); in doRunMemcpy()
187 report.addValue("memcpy_in_fps", screensPerSecAverage, ResultType.HIGHER_BETTER, in doRunMemcpy()
206 report.addValue("buffer_size", bufferSize, ResultType.NEUTRAL, ResultUnit.NONE); in doRunMemset()
222 report.addValue("memset_in_fps", screensPerSecAverage, ResultType.HIGHER_BETTER, in doRunMemset()
/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()

123