Home
last modified time | relevance | path

Searched refs:TestLog (Results 1 – 6 of 6) sorted by relevance

/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/result/
DTestLogTest.java18 import com.android.cts.tradefed.result.TestLog.TestLogType;
50 TestLog log = TestLog.fromDataName("logcat-baz_test", "http://logs/baz_test"); in testFromDataName()
56 assertNull(TestLog.fromDataName("kmsg-baz_test", null)); in testFromDataName_unrecognizedDataName()
60 assertNull(TestLog.fromDataName(null, "http://logs/baz_test")); in testFromDataName_nullDataName()
64 assertNull(TestLog.fromDataName("logcat-bar_test", null)); in testFromDataName_nullUrl()
68 assertNull(TestLog.fromDataName(null, null)); in testFromDataName_allNull()
72TestLog log = TestLog.fromXml(newXml("<TestLog type=\"logcat\" url=\"http://logs/baz_test\">")); in testFromXml()
78 assertNull(TestLog.fromXml(newXml("<TestLog type=\"kmsg\" url=\"http://logs/baz_test\">"))); in testFromXml_unrecognizedType()
82 assertNull(TestLog.fromXml(newXml("<TestLog url=\"http://logs/baz_test\">"))); in testFromXml_noTypeAttribute()
86 assertNull(TestLog.fromXml(newXml("<TestLog type=\"bugreport\">"))); in testFromXml_noUrlAttribute()
[all …]
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
DTestLog.java28 class TestLog { class
82 static TestLog fromDataName(String dataName, String url) { in fromDataName()
92 return new TestLog(logType, url); in fromDataName()
97 static TestLog fromXml(XmlPullParser parser) { in fromXml()
110 return new TestLog(logType, url); in fromXml()
117 public static TestLog of(TestLogType logType, String url) { in of()
118 return new TestLog(logType, url); in of()
121 private TestLog(TestLogType logType, String url) { in TestLog() method in TestLog
DTest.java20 import com.android.cts.tradefed.result.TestLog.TestLogType;
54 private List<TestLog> mTestLogs;
77 public void addTestLog(TestLog testLog) { in addTestLog()
227 } else if (eventType == XmlPullParser.START_TAG && TestLog.isTag(parser.getName())) { in parse()
238 TestLog log = TestLog.fromXml(parser); in parseTestLog()
246 private synchronized void addTestLogLocked(TestLog testLog) { in addTestLogLocked()
256 for (TestLog log : mTestLogs) { in serializeTestLogsLocked()
DCtsXmlResultReporter.java245 TestLog log = TestLog.fromDataName(dataName, logFile.getUrl()); in testLogSaved()
/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/
DTestLog.java28 public class TestLog extends RSBaseCompute { class
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DCoreMathVerifier.java2202 static public void computeLog(TestLog.ArgumentsHalfHalf args, Target t) {
2209 static public void computeLog(TestLog.ArgumentsFloatFloat args, Target t) {