Searched refs:ReportLog (Results 1 – 8 of 8) sorted by relevance
19 import com.android.compatibility.common.util.ReportLog.Metric;45 private ReportLog mReportLog;49 mReportLog = new ReportLog(); in setUp()54 ReportLog.serialize(null); in testSerialize_null()62 ReportLog.serialize(mReportLog); in testSerialize_noData()68 ReportLog.serialize(mReportLog)); in testSerialize_summaryOnly()73 assertEquals(HEADER_XML, ReportLog.serialize(mReportLog)); in testSerialize_detailOnly()80 ReportLog.serialize(mReportLog)); in testSerialize_full()85 ReportLog.parse((String) null); in testParse_null()93 ReportLog report = ReportLog.parse(HEADER_XML); in testParse_noData()[all …]
238 ReportLog report = new ReportLog(); in testSerialization()239 ReportLog.Metric summary = new ReportLog.Metric(SUMMARY_SOURCE, SUMMARY_MESSAGE, in testSerialization()328 ReportLog report = new ReportLog(); in testSerialization_whenTestResultWithTestResultHistoryWithoutParsing()329 ReportLog.Metric summary = in testSerialization_whenTestResultWithTestResultHistoryWithoutParsing()330 new ReportLog.Metric( in testSerialization_whenTestResultWithTestResultHistoryWithoutParsing()648 ReportLog report = moduleBTest4.getReportLog(); in checkResult()650 ReportLog.Metric summary = report.getSummary(); in checkResult()
33 static class LocalReportLog extends ReportLog {}
71 ReportLog getReportLog(); in getReportLog()76 void setReportLog(ReportLog report); in setReportLog()120 void passed(ReportLog report); in passed()
35 public class ReportLog implements Serializable { class165 public ReportLog() { in ReportLog() method in ReportLog169 public ReportLog(String reportLogName, String streamName) { in ReportLog() method in ReportLog302 public static String serialize(ReportLog reportlog) throws XmlPullParserException, in serialize()320 public static void serialize(XmlSerializer serializer, ReportLog reportLog) in serialize()339 public static ReportLog parse(String result) throws XmlPullParserException, IOException { in parse()345 return new ReportLog(); in parse()354 return new ReportLog(); in parse()365 public static ReportLog parse(XmlPullParser parser) throws XmlPullParserException, IOException { in parse()368 ReportLog report = new ReportLog(); in parse()
35 public void serialize(ReportLog reportLog) throws IOException { in serialize()39 ReportLog.Metric summary = reportLog.getSummary(); in serialize()
30 private ReportLog mReport;116 public ReportLog getReportLog() { in getReportLog()124 public void setReportLog(ReportLog report) { in setReportLog()197 public void passed(ReportLog report) { in passed()
301 test.setReportLog(ReportLog.parse(parser)); in getResultFromDir()556 ReportLog report = r.getReportLog(); in writeResults()558 ReportLog.serialize(serializer, report); in writeResults()