Searched refs:TestLogType (Results 1 – 3 of 3) sorted by relevance
18 import com.android.cts.tradefed.result.TestLog.TestLogType;34 assertNull(TestLogType.fromDataName(null)); in testTestLogType_fromDataName()35 assertNull(TestLogType.fromDataName("")); in testTestLogType_fromDataName()36 assertNull(TestLogType.fromDataName("kmsg-foo_bar_test")); in testTestLogType_fromDataName()38 assertEquals(TestLogType.LOGCAT, in testTestLogType_fromDataName()39 TestLogType.fromDataName("logcat-foo_bar_test")); in testTestLogType_fromDataName()40 assertEquals(TestLogType.BUGREPORT, in testTestLogType_fromDataName()41 TestLogType.fromDataName("bug-foo_bar_test")); in testTestLogType_fromDataName()45 assertEquals("logcat", TestLogType.LOGCAT.getAttrValue()); in testTestLogType_getAttrValue()46 assertEquals("bugreport", TestLogType.BUGREPORT.getAttrValue()); in testTestLogType_getAttrValue()[all …]
35 public enum TestLogType { enum in TestLog50 static TestLogType fromDataName(String dataName) { in fromDataName()55 for (TestLogType type : values()) { in fromDataName()65 private TestLogType(String dataNamePrefix) { in TestLogType() method in TestLog.TestLogType75 private final TestLogType mLogType;83 TestLogType logType = TestLogType.fromDataName(dataName); in fromDataName()109 TestLogType logType = TestLogType.valueOf(type.toUpperCase()); in fromXml()117 public static TestLog of(TestLogType logType, String url) { in of()121 private TestLog(TestLogType logType, String url) { in TestLog()127 TestLogType getLogType() { in getLogType()
20 import com.android.cts.tradefed.result.TestLog.TestLogType;248 mTestLogs = new ArrayList<>(TestLogType.values().length); in addTestLogLocked()