Searched refs:ResultUnit (Results 1 – 6 of 6) sorted by relevance
/test/suite_harness/common/util/src/com/android/compatibility/common/util/ |
D | ReportLog.java | 62 ResultUnit mUnit; 64 Metric(String source, String message, double value, ResultType type, ResultUnit unit) { in Metric() 79 Metric(String source, String message, double[] values, ResultType type, ResultUnit unit) { in Metric() 121 public ResultUnit getUnit() { in getUnit() 147 ResultUnit unit = ResultUnit.parseReportString( in parse() 177 public void addValues(String message, double[] values, ResultType type, ResultUnit unit) { in addValues() 185 ResultUnit unit) { in addValues() 192 public void addValue(String message, double value, ResultType type, ResultUnit unit) { in addValue() 200 ResultUnit unit) { in addValue() 207 public void addValue(String message, int value, ResultType type, ResultUnit unit) { in addValue() [all …]
|
D | ResultUnit.java | 22 public enum ResultUnit { enum 56 public static ResultUnit parseReportString(String value) { in parseReportString() 57 return ResultUnit.valueOf(value.toUpperCase()); in parseReportString()
|
/test/suite_harness/common/host-side/util/src/com/android/compatibility/common/util/ |
D | MetricsReportLog.java | 85 ResultUnit unit) { in addValue() 98 public void addValue(String message, double value, ResultType type, ResultUnit unit) { in addValue() 113 ResultUnit unit) { in addValues() 126 public void addValues(String message, double[] values, ResultType type, ResultUnit unit) { in addValues() 139 public void addValue(String message, int value, ResultType type, ResultUnit unit) { in addValue() 151 public void addValue(String message, long value, ResultType type, ResultUnit unit) { in addValue() 163 public void addValue(String message, float value, ResultType type, ResultUnit unit) { in addValue() 175 public void addValue(String message, boolean value, ResultType type, ResultUnit unit) { in addValue() 187 public void addValue(String message, String value, ResultType type, ResultUnit unit) { in addValue() 199 public void addValues(String message, int[] values, ResultType type, ResultUnit unit) { in addValues() [all …]
|
/test/suite_harness/common/util/tests/src/com/android/compatibility/common/util/ |
D | ReportLogTest.java | 66 mReportLog.setSummary("Sample", 1.0, ResultType.HIGHER_BETTER, ResultUnit.BYTE); in testSerialize_summaryOnly() 72 mReportLog.addValues("Details", VALUES, ResultType.NEUTRAL, ResultUnit.FPS); in testSerialize_detailOnly() 77 mReportLog.setSummary("Sample", 1.0, ResultType.HIGHER_BETTER, ResultUnit.BYTE); in testSerialize_full() 78 mReportLog.addValues("Details", VALUES, ResultType.NEUTRAL, ResultUnit.FPS); in testSerialize_full() 111 Metric metric = new Metric(SOURCE, MESSAGE, 1.0, ResultType.HIGHER_BETTER, ResultUnit.BYTE); in testLimits_source() 119 metric = new Metric(source, MESSAGE, 1.0, ResultType.HIGHER_BETTER, ResultUnit.BYTE); in testLimits_source() 126 Metric metric = new Metric(SOURCE, MESSAGE, 1.0, ResultType.HIGHER_BETTER, ResultUnit.BYTE); in testLimits_message() 134 metric = new Metric(SOURCE, message, 1.0, ResultType.HIGHER_BETTER, ResultUnit.BYTE); in testLimits_message() 142 ResultUnit.BYTE); in testLimits_values() 148 metric = new Metric(SOURCE, MESSAGE, values, ResultType.HIGHER_BETTER, ResultUnit.BYTE); in testLimits_values()
|
D | MetricsXmlSerializerTest.java | 72 mLocalReportLog.setSummary("Sample", 1.0, ResultType.HIGHER_BETTER, ResultUnit.BYTE); in testSerialize() 73 mLocalReportLog.addValues("Details", VALUES, ResultType.NEUTRAL, ResultUnit.FPS); in testSerialize()
|
D | ResultHandlerTest.java | 237 SUMMARY_VALUE, ResultType.HIGHER_BETTER, ResultUnit.SCORE); in testSerialization() 331 ResultUnit.SCORE); in testSerialization_whenTestResultWithTestResultHistoryWithoutParsing() 454 ResultUnit.SCORE.toReportString(), in writeResultDir() 621 assertEquals("Incorrect unit", ResultUnit.SCORE, summary.getUnit()); in checkResult()
|