Home
last modified time | relevance | path

Searched refs:record (Results 1 – 25 of 33) sorted by relevance

12

/tools/test/connectivity/acts/framework/tests/
Dacts_records_test.py33 def verify_record(self, record, result, details, extras): argument
35 self.assertEqual(record.test_name, self.tn)
36 self.assertEqual(record.result, result)
37 self.assertEqual(record.details, details)
38 self.assertEqual(record.extras, extras)
39 self.assertTrue(record.begin_time, "begin time should not be empty.")
40 self.assertTrue(record.end_time, "end time should not be empty.")
42 self.assertIsNone(record.uid)
49 d[records.TestResultEnums.RECORD_BEGIN_TIME] = record.begin_time
50 d[records.TestResultEnums.RECORD_END_TIME] = record.end_time
[all …]
Dacts_test_decorators_test.py118 record = results.executed[0]
119 self.assertIsNotNone(record.extras, 'Expected the test record to have extras.')
120 self.assertEqual(record.extras[extra_key], extra_value)
/tools/trebuchet/trebuchet/startup-summarizer/src/
DStartupSummarizer.kt155 records.forEach { appName, record -> in printPlainText() method
156 if (record.numSamples() > SAMPLE_THRESHOLD_APPLICATION) { in printPlainText()
158 printAppRecordPlainText(record) in printPlainText()
164 fun printAppRecordPlainText(record : ApplicationRecord) { in printAppRecordPlainText()
165 if (record.quicken.numSamples() > SAMPLE_THRESHOLD_COMPILER) { in printAppRecordPlainText()
167 printCompilerRecordPlainText(record.quicken) in printAppRecordPlainText()
170 if (record.speed.numSamples() > SAMPLE_THRESHOLD_COMPILER) { in printAppRecordPlainText()
172 printCompilerRecordPlainText(record.speed) in printAppRecordPlainText()
175 if (record.speedProfile.numSamples() > SAMPLE_THRESHOLD_COMPILER) { in printAppRecordPlainText()
177 printCompilerRecordPlainText(record.speedProfile) in printAppRecordPlainText()
[all …]
/tools/test/connectivity/acts/framework/acts/
Dbase_test.py394 for record in manager.get_controller_info_records():
396 record.to_dict(),
477 def _on_fail(self, record): argument
486 if record.details:
487 self.log.error(record.details)
488 self.log.info(RESULT_LINE_TEMPLATE, record.test_name, record.result)
489 self.on_fail(record.test_name, record.begin_time)
501 def _on_pass(self, record): argument
510 msg = record.details
513 self.log.info(RESULT_LINE_TEMPLATE, record.test_name, record.result)
[all …]
Drecords.py241 d["Results"] = [record.to_dict() for record in self.executed]
266 for record in self.error:
267 if isinstance(record, TestResultRecord):
271 elif isinstance(record, ExceptionRecord):
276 l.append({k: record.to_dict()[k] for k in keys})
Dtest_runner.py272 record = records.TestResultRecord("*all*", test_cls_name)
273 record.test_skip(signals.TestSkip("Test class does not exist."))
274 self.results.add_record(record)
Dlogger.py88 def format(self, record): argument
89 colored_record = copy(record)
/tools/apksig/src/main/java/com/android/apksig/internal/zip/
DCentralDirectoryRecord.java269 static String getName(ByteBuffer record, int position, int nameLengthBytes) { in getName() argument
272 if (record.hasArray()) { in getName()
273 nameBytes = record.array(); in getName()
274 nameBytesOffset = record.arrayOffset() + position; in getName()
278 int originalPosition = record.position(); in getName()
280 record.position(position); in getName()
281 record.get(nameBytes); in getName()
283 record.position(originalPosition); in getName()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/proto/
DTestRecordProtoUtilTest.java43 TestRecord record = TestRecordProtoUtil.readFromFile(protoFile); in testRead() local
44 assertEquals(5, record.getAttemptId()); in testRead()
45 assertEquals(TestStatus.ASSUMPTION_FAILURE, record.getStatus()); in testRead()
56 TestRecord record = builder.build(); in dumpTestRecord() local
58 record.writeDelimitedTo(stream); in dumpTestRecord()
/tools/test/connectivity/acts/framework/tests/libs/metrics/
Drecordable_metric_test.py56 mock_metric.record(10, "test", "new")
60 mock_metric.record(20, "test", "other")
79 mock_metric.record(10, "test", "new")
96 mock_metric.record(value, key, "new")
121 mock_metric.record(10, "test", "new")
/tools/test/connectivity/acts/framework/acts/libs/metrics/
Dcpu_metric.py28 record = {
37 self.record(record, current_time, android_device.serial)
Dmetric.py103 def record(self, value, key, channel=None): member in RecordableMetric
/tools/tradefederation/core/src/com/android/tradefed/util/proto/
DTestRecordProtoUtil.java47 TestRecord record = null; in readFromFile() local
57 record = TestRecord.parseFrom(data.getContents()); in readFromFile()
60 return record; in readFromFile()
/tools/tradefederation/core/src/com/android/tradefed/result/proto/
DProtoResultReporter.java178 TestRecord record = mInvocationRecordBuilder.build(); in invocationEnded() local
180 processFinalProto(record); in invocationEnded()
387 private ChildReference createChildReference(TestRecord record) { in createChildReference() argument
389 child.setTestRecordId(record.getTestRecordId()); in createChildReference()
390 child.setInlineTestRecord(record); in createChildReference()
DStreamProtoResultReporter.java82 private void writeRecordToSocket(TestRecord record) { in writeRecordToSocket() argument
90 record.writeDelimitedTo(mReportSocket.getOutputStream()); in writeRecordToSocket()
/tools/tradefederation/contrib/src/com/android/framework/tests/
DBandwidthStats.java193 public void addRecord(ComparisonRecord record, float threshold) { in addRecord() argument
194 if (record.getDifference() < threshold) { in addRecord()
198 mFailures.add(record); in addRecord()
/tools/tradefederation/core/src/com/android/tradefed/util/
DTestRecordInterpreter.java33 public static CollectingTestListener interpreteRecord(TestRecord record) { in interpreteRecord() argument
36 parser.processFinalizedProto(record); in interpreteRecord()
/tools/test/connectivity/acts/framework/acts/test_utils/tel/
DTelephonyBaseTest.py509 record = records.TestResultRecord(test_name, self.TAG)
510 record.test_begin()
512 record.test_fail(signal)
513 self.results.add_record(record)
516 self.on_fail(test_name, record.begin_time)
/tools/test/connectivity/acts/framework/acts/libs/logging/
Dlog_stream.py155 def emit(self, record): argument
156 self._log.log(record.levelno, record.getMessage())
/tools/tradefederation/core/tests/src/com/android/tradefed/result/proto/
DFileProtoResultReporterTest.java69 TestRecord record = TestRecordProtoUtil.readFromFile(mOutput); in testWriteResults() local
71 Any anyDescription = record.getDescription(); in testWriteResults()
/tools/tradefederation/core/proto/
Dtest_record.proto27 // A record containing the status, logs, and other information associated with a
33 // The UUID of this TestRecord's parent. Unset if this is a top-level record.
/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceUtilStatsMonitor.java161 DeviceUtilRecord record = getDeviceRecord(deviceDesc.getSerial()); in run() local
162 record.addSample(deviceDesc.getState()); in run()
/tools/apksig/src/main/java/com/android/apksig/
DApkSigner.java515 for (CentralDirectoryRecord record : outputCdRecords) { in sign()
516 outputCentralDirSizeBytes += record.getSize(); in sign()
524 for (CentralDirectoryRecord record : outputCdRecords) { in sign()
525 record.copyTo(outputCentralDir); in sign()
/tools/test/connectivity/acts/tests/google/coex/config/
Dsample_config.json48 //Music record duration in seconds,
/tools/test/connectivity/acts/tests/google/wifi/aware/
DREADME.md12 they just record the measured performance. Even when tests do have a pass/

12