Searched refs:ResultType (Results 1 – 6 of 6) sorted by relevance
/test/suite_harness/common/util/src/com/android/compatibility/common/util/ |
D | ReportLog.java | 61 ResultType mType; 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() 117 public ResultType getType() { in getType() 145 ResultType type = ResultType.parseReportString( in parse() 177 public void addValues(String message, double[] values, ResultType type, ResultUnit unit) { in addValues() 184 public void addValues(String source, String message, double[] values, ResultType type, in addValues() 192 public void addValue(String message, double value, ResultType type, ResultUnit unit) { in addValue() 199 public void addValue(String source, String message, double value, ResultType type, in addValue() 207 public void addValue(String message, int value, ResultType type, ResultUnit unit) { in addValue() [all …]
|
D | ResultType.java | 22 public enum ResultType { enum 42 public static ResultType parseReportString(String value) { in parseReportString() 43 return ResultType.valueOf(value.toUpperCase()); in parseReportString()
|
/test/suite_harness/common/host-side/util/src/com/android/compatibility/common/util/ |
D | MetricsReportLog.java | 84 public void addValue(String source, String message, double value, ResultType type, in addValue() 98 public void addValue(String message, double value, ResultType type, ResultUnit unit) { in addValue() 112 public void addValues(String source, String message, double[] values, ResultType type, 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() 141 Metric metric = new Metric(SOURCE, MESSAGE, VALUES, ResultType.HIGHER_BETTER, 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() 330 ResultType.HIGHER_BETTER, in testSerialization_whenTestResultWithTestResultHistoryWithoutParsing() 453 ResultType.HIGHER_BETTER.toReportString(), in writeResultDir() 620 assertEquals("Incorrect type", ResultType.HIGHER_BETTER, summary.getType()); in checkResult()
|