Searched refs:ResultUnit (Results 1 – 6 of 6) sorted by relevance
/platform_testing/libraries/compatibility-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()
|
/platform_testing/libraries/compatibility-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 | 240 SUMMARY_VALUE, ResultType.HIGHER_BETTER, ResultUnit.SCORE); in testSerialization() 335 ResultUnit.SCORE); in testSerialization_whenTestResultWithTestResultHistoryWithoutParsing() 467 ResultUnit.SCORE.toReportString(), in writeResultDir() 655 assertEquals("Incorrect unit", ResultUnit.SCORE, summary.getUnit()); in checkResult()
|
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/tradefed/testtype/ |
D | SecurityTestCase.java | 27 import com.android.compatibility.common.util.ResultUnit; 231 reportLog.addValue("kptr_restrict", kptrRestrict, ResultType.NEUTRAL, ResultUnit.NONE); in assertNotKernelPointer() 241 reportLog.addValue("address" + i, ptr, ResultType.NEUTRAL, ResultUnit.NONE); in assertNotKernelPointer() 255 "is_kernel_pointer", isKernelPointer, ResultType.NEUTRAL, ResultUnit.NONE); in assertNotKernelPointer() 329 reportLog.addValue("path", driver, ResultType.NEUTRAL, ResultUnit.NONE); in containsDriver() 330 reportLog.addValue("exists", containsDriver, ResultType.NEUTRAL, ResultUnit.NONE); in containsDriver() 358 reportLog.addValue("test_name", testName, ResultType.NEUTRAL, ResultUnit.NONE); in buildMetricsReportLog()
|