/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | TestResult.java | 54 ReportLog reportLog) { in setPassedResult() argument 56 testDetails, reportLog)); in setPassedResult() 66 ReportLog reportLog) { in setFailedResult() argument 68 testDetails, reportLog)); in setFailedResult() 72 String testDetails, ReportLog reportLog) { in createResult() argument 74 addResultData(data, testResult, testName, testDetails, reportLog); in createResult() 79 String testDetails, ReportLog reportLog) { in addResultData() argument 83 intent.putExtra(TEST_METRICS, reportLog); in addResultData() 94 ReportLog reportLog = (ReportLog) data.getSerializableExtra(TEST_METRICS); in fromActivityResult() local 95 return new TestResult(name, result, details, reportLog); in fromActivityResult() [all …]
|
D | PassFailButtons.java | 106 private final ReportLog reportLog; field in PassFailButtons.Activity 109 this.reportLog = new CtsVerifierReportLog(); in Activity() 167 public ReportLog getReportLog() { return reportLog; } in getReportLog() 172 private final ReportLog reportLog; field in PassFailButtons.ListActivity 175 this.reportLog = new CtsVerifierReportLog(); in ListActivity() 215 public ReportLog getReportLog() { return reportLog; } in getReportLog() 221 private final ReportLog reportLog; field in PassFailButtons.TestListActivity 224 this.reportLog = new CtsVerifierReportLog(); in TestListActivity() 264 public ReportLog getReportLog() { return reportLog; } in getReportLog() 400 String testDetails, ReportLog reportLog, View target) { in setTestResultAndFinish() argument [all …]
|
D | TestResultsReport.java | 134 ReportLog reportLog = mAdapter.getReportLog(i); in getContents() local 135 if (reportLog != null) { in getContents() 137 metricsXmlSerializer.serialize(reportLog); in getContents()
|
D | TestListAdapter.java | 246 ReportLog reportLog = (ReportLog) deserialize(cursor.getBlob(4)); in getRefreshResults() local 249 reportLogs.put(testName, reportLog); in getRefreshResults() 284 ReportLog reportLog) { in SetTestResultTask() argument 288 mReportLog = reportLog; in SetTestResultTask()
|
D | TestResultsProvider.java | 215 String testDetails, ReportLog reportLog) { in setTestResult() argument 220 values.put(TestResultsProvider.COLUMN_TEST_METRICS, serialize(reportLog)); in setTestResult()
|
/cts/common/util/tests/src/com/android/compatibility/common/util/ |
D | ReportLogTest.java | 35 private ReportLog reportLog; field in ReportLogTest 39 this.reportLog = new ReportLog(); in setUp() 44 reportLog.setSummary("Sample Summary", 1.0, ResultType.HIGHER_BETTER, ResultUnit.BYTE); in testEncodeDecode() 45 reportLog.addValues("Details", VALUES, ResultType.NEUTRAL, ResultUnit.FPS); in testEncodeDecode() 47 String encodedReportLog = reportLog.toEncodedString(); in testEncodeDecode() 51 ReportLog.Result summary = reportLog.getSummary(); in testEncodeDecode()
|
D | MetricsStoreTest.java | 44 ReportLog reportLog = MetricsStore.removeResult(DEVICE_SERIAL, ABI, CLASSMETHOD_NAME); in testStoreAndRemove() local 45 assertSame(mReportLog, reportLog); in testStoreAndRemove()
|
/cts/common/util/src/com/android/compatibility/common/util/ |
D | MetricsXmlSerializer.java | 35 public void serialize(ReportLog reportLog) throws IOException { in serialize() argument 36 if (reportLog == null) { in serialize() 39 ReportLog.Result summary = reportLog.getSummary(); in serialize() 40 List<ReportLog.Result> detailedMetrics = reportLog.getDetailedMetrics(); in serialize()
|
D | MetricsStore.java | 41 String deviceSerial, String abi, String classMethodName, ReportLog reportLog) { in storeResult() argument 42 mMap.put(generateTestKey(deviceSerial, abi, classMethodName), reportLog); in storeResult() local
|
D | ReportLog.java | 193 ReportLog reportLog = new ReportLog(); in fromEncodedString() local 197 reportLog.mSummary = Result.fromEncodedString(tok.nextToken()); in fromEncodedString() 203 reportLog.mDetails.add(Result.fromEncodedString(detailedTok.nextToken())); in fromEncodedString() 206 return reportLog; in fromEncodedString()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sample/ |
D | SampleTestActivity.java | 85 ReportLog reportLog = new PassFailButtons.CtsVerifierReportLog(); in recordMetricsExample() local 86 reportLog.setSummary("Sample Summary", 1.0, ResultType.HIGHER_BETTER, ResultUnit.BYTE); in recordMetricsExample() 88 TestResult.setPassedResult(this, "manualSample", "manualDetails", reportLog); in recordMetricsExample()
|