HomeSort by relevance Sort by last modified time
    Searched full:reportlog (Results 1 - 25 of 37) sorted by null

1 2

  /cts/apps/CtsVerifier/src/com/android/cts/verifier/
TestResult.java 19 import com.android.compatibility.common.util.ReportLog;
45 private final ReportLog mReportLog;
49 setPassedResult(activity, testId, testDetails, null /*reportLog*/);
54 ReportLog reportLog) {
56 testDetails, reportLog));
61 setFailedResult(activity, testId, testDetails, null /*reportLog*/);
66 ReportLog reportLog) {
68 testDetails, reportLog));
    [all...]
PassFailButtons.java 19 import com.android.compatibility.common.util.ReportLog;
100 /** @return A {@link ReportLog} that is used to record test metric data. */
101 ReportLog getReportLog();
106 private final ReportLog reportLog;
109 this.reportLog = new CtsVerifierReportLog();
167 public ReportLog getReportLog() { return reportLog; }
172 private final ReportLog reportLog;
    [all...]
TestListAdapter.java 19 import com.android.compatibility.common.util.ReportLog;
74 /** Map from test name to {@link ReportLog}. */
75 private final Map<String, ReportLog> mReportLogs = new HashMap<String, ReportLog>();
208 Map<String, ReportLog> mReportLogs;
214 Map<String, ReportLog> reportLogs) {
235 Map<String, ReportLog> reportLogs = new HashMap<String, ReportLog>();
246 ReportLog reportLog = (ReportLog) deserialize(cursor.getBlob(4))
    [all...]
TestResultsReport.java 25 import com.android.compatibility.common.util.ReportLog;
133 // TODO(stuartscott): For v2: ReportLog.serialize(xml, mAdapter.getReportLog(i));
134 ReportLog reportLog = mAdapter.getReportLog(i);
135 if (reportLog != null) {
137 metricsXmlSerializer.serialize(reportLog);
TestResultsProvider.java 19 import com.android.compatibility.common.util.ReportLog;
78 /** ReportLog containing the test result metrics. */
229 String testDetails, ReportLog reportLog) {
234 values.put(TestResultsProvider.COLUMN_TEST_METRICS, serialize(reportLog));
  /cts/common/util/src/com/android/compatibility/common/util/
MetricsXmlSerializer.java 24 //TODO(stuartscott): Delete file for v2, ReportLog can serialize itself.
26 * Serialize Metric data from {@link ReportLog} into compatibility report friendly XML
36 public void serialize(ReportLog reportLog) throws IOException {
37 if (reportLog == null) {
40 ReportLog.Metric summary = reportLog.getSummary();
ReportLog.java 35 public class ReportLog implements Serializable {
165 public ReportLog() {
169 public ReportLog(String reportLogName, String streamName) {
296 * Serializes a given {@link ReportLog} to a String.
302 public static String serialize(ReportLog reportlog) throws XmlPullParserException,
309 serialize(serializer, reportlog);
315 * Serializes a given {@link ReportLog} to XML.
317 * @param reportLog
320 public static void serialize(XmlSerializer serializer, ReportLog reportLog
    [all...]
TestResult.java 28 private ReportLog mReport;
110 public ReportLog getReportLog() {
118 public void setReportLog(ReportLog report) {
190 public void passed(ReportLog report) {
ITestResult.java 69 ReportLog getReportLog();
74 void setReportLog(ReportLog report);
118 void passed(ReportLog report);
  /cts/common/util/tests/src/com/android/compatibility/common/util/
ReportLogTest.java 19 import com.android.compatibility.common.util.ReportLog.Metric;
29 * Unit tests for {@link ReportLog}
47 private ReportLog mReportLog;
51 mReportLog = new ReportLog();
56 ReportLog.serialize(null);
64 ReportLog.serialize(mReportLog);
70 ReportLog.serialize(mReportLog));
75 assertEquals(HEADER_XML, ReportLog.serialize(mReportLog));
82 ReportLog.serialize(mReportLog));
87 ReportLog.parse((String) null)
    [all...]
MetricsXmlSerializerTest.java 27 //TODO(stuartscott): Delete file for v2, ReportLog can serialize itself.
33 static class LocalReportLog extends ReportLog {}
ResultHandlerTest.java 169 ReportLog report = new ReportLog();
170 ReportLog.Metric summary = new ReportLog.Metric(SUMMARY_SOURCE, SUMMARY_MESSAGE,
318 ReportLog report = moduleBTest4.getReportLog();
320 ReportLog.Metric summary = report.getSummary();
  /cts/common/host-side/util/src/com/android/compatibility/common/util/
MetricsStore.java 30 private static final ConcurrentHashMap<String, ReportLog> mMap =
31 new ConcurrentHashMap<String, ReportLog>();
44 * @param reportLog Contains the result to be stored
47 ReportLog reportLog) {
49 mMap.put(generateTestKey(startTime, abi, classMethodName), reportLog);
56 public static ReportLog removeResult(IBuildInfo buildInfo, String abi, String classMethodName) {
MetricsReportLog.java 27 * A {@link ReportLog} that can be used with the in memory metrics store used for host side metrics.
29 public final class MetricsReportLog extends ReportLog {
43 * Note that ReportLog.getClassMethodNames() provide this.
55 File jsonFile = new File(dir, mReportLogName + ".reportlog.json");
  /cts/tests/sample/src/android/sample/cts/
SampleDeviceReportLogTest.java 70 DeviceReportLog reportLog = new DeviceReportLog(REPORT_LOG_NAME, streamName);
71 reportLog.addValue(EXPECTED_PRODUCT_TAG, 1.0 * MULTIPLICATION_RESULT, ResultType.NEUTRAL,
73 reportLog.addValue(ACTUAL_PRODUCT_TAG, 1.0 * product, ResultType.NEUTRAL, ResultUnit.NONE);
74 reportLog.setSummary(ACTUAL_PRODUCT_TAG, 1.0 * product, ResultType.NEUTRAL, ResultUnit.NONE);
75 reportLog.submit(getInstrumentation());
119 DeviceReportLog reportLog = new DeviceReportLog(REPORT_LOG_NAME, streamName);
120 reportLog.addValue(START_TAG, 1.0 * start, ResultType.NEUTRAL, ResultUnit.NONE);
121 reportLog.addValue(END_TAG, 1.0 * end, ResultType.NEUTRAL, ResultUnit.NONE);
122 reportLog.setSummary(END_TAG, 1.0 * end, ResultType.NEUTRAL, ResultUnit.NONE);
123 reportLog.submit(getInstrumentation())
    [all...]
SampleDeviceResultTest.java 85 DeviceReportLog reportLog = new DeviceReportLog(REPORT_LOG_NAME, streamName);
87 reportLog.addValues("times", result, ResultType.LOWER_BETTER, ResultUnit.MS);
88 reportLog.addValue("min", stat.mMin, ResultType.LOWER_BETTER, ResultUnit.MS);
89 reportLog.addValue("max", stat.mMax, ResultType.LOWER_BETTER, ResultUnit.MS);
91 reportLog.setSummary("average", stat.mAverage, ResultType.LOWER_BETTER, ResultUnit.MS);
93 reportLog.submit(getInstrumentation());
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sample/
SampleTestActivity.java 19 import com.android.compatibility.common.util.ReportLog;
86 ReportLog reportLog = new PassFailButtons.CtsVerifierReportLog();
87 reportLog.setSummary("Sample Summary", 1.0, ResultType.HIGHER_BETTER, ResultUnit.BYTE);
88 reportLog.addValues("Sample Values", metricValues, ResultType.NEUTRAL, ResultUnit.FPS);
89 TestResult.setPassedResult(this, "manualSample", "manualDetails", reportLog);
  /cts/hostsidetests/ui/src/android/ui/cts/
TaskSwitchingTest.java 21 import com.android.compatibility.common.util.ReportLog;
51 private ReportLog mReport = null;
117 mReport = ReportLog.parse(testMetrics.get(RESULT_KEY));
  /cts/common/device-side/util/tests/src/com/android/compatibility/common/util/
DeviceReportTest.java 86 ReportLog result = ReportLog.parse(metrics);
124 File jsonFile1 = new File(dir, REPORT_NAME_1 + ".reportlog.json");
125 File jsonFile2 = new File(dir, REPORT_NAME_2 + ".reportlog.json");
  /cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
ReportLogCollector.java 140 for (File reportLog : reportLogs) {
141 try (BufferedReader metricsReader = new BufferedReader(new FileReader(reportLog))) {
186 reportLog.createNewFile();
188 FileWriter(reportLog))) {
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
Test.java 19 import com.android.compatibility.common.util.ReportLog;
48 private ReportLog mReport;
125 public ReportLog getReportLog() {
129 public void setReportLog(ReportLog report) {
TestPackageResult.java 20 import com.android.compatibility.common.util.ReportLog;
250 ReportLog report = null;
253 report = ReportLog.parse(perfResult);
  /cts/common/device-side/util/src/com/android/compatibility/common/util/
DeviceReportLog.java 24 import com.android.compatibility.common.util.ReportLog;
38 public class DeviceReportLog extends ReportLog {
57 File jsonFile = new File(dir, mReportLogName + ".reportlog.json");
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
AudioFrequencyActivity.java 22 import com.android.compatibility.common.util.ReportLog;
HeadsetHonorSystemActivity.java 22 import com.android.compatibility.common.util.ReportLog;

Completed in 969 milliseconds

1 2