Searched refs:ResultType (Results 1 – 6 of 6) sorted by relevance
/platform_testing/libraries/compatibility-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()
|
/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() 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 | 240 SUMMARY_VALUE, ResultType.HIGHER_BETTER, ResultUnit.SCORE); in testSerialization() 334 ResultType.HIGHER_BETTER, in testSerialization_whenTestResultWithTestResultHistoryWithoutParsing() 466 ResultType.HIGHER_BETTER.toReportString(), in writeResultDir() 654 assertEquals("Incorrect type", ResultType.HIGHER_BETTER, summary.getType()); in checkResult()
|
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/tradefed/testtype/ |
D | SecurityTestCase.java | 26 import com.android.compatibility.common.util.ResultType; 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()
|