HomeSort by relevance Sort by last modified time
    Searched refs:reportLog (Results 1 - 12 of 12) sorted by null

  /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/
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...]
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);
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...]
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...]
  /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) {
  /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/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/util/
CollectorUtil.java 97 for (File reportLog : reportLogs) {
98 writeFile(reportLog, reformatJsonString(readFile(reportLog)));

Completed in 108 milliseconds