Home
last modified time | relevance | path

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

12

/tools/test/connectivity/acts/framework/tests/
Dacts_records_test.py35 def verify_record(self, record, result, details, extras): argument
37 self.assertEqual(record.test_name, self.tn)
38 self.assertEqual(record.result, result)
39 self.assertEqual(record.details, details)
40 self.assertEqual(record.extras, extras)
41 self.assertTrue(record.begin_time, "begin time should not be empty.")
42 self.assertTrue(record.end_time, "end time should not be empty.")
44 self.assertIsNone(record.uid)
51 d[records.TestResultEnums.RECORD_BEGIN_TIME] = record.begin_time
52 d[records.TestResultEnums.RECORD_END_TIME] = record.end_time
[all …]
Dacts_test_decorators_test.py216 record = results.executed[0]
217 self.assertIsNotNone(record.extras,
219 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.py385 def _on_fail(self, record): argument
394 if record.details:
395 self.log.error(record.details)
396 self.log.info(RESULT_LINE_TEMPLATE, record.test_name, record.result)
397 self.on_fail(record.test_name, record.begin_time)
408 def _on_pass(self, record): argument
417 msg = record.details
420 self.log.info(RESULT_LINE_TEMPLATE, record.test_name, record.result)
421 self.on_pass(record.test_name, record.begin_time)
432 def _on_skip(self, record): argument
[all …]
Drecords.py211 d["ControllerInfo"] = {record.controller_name: record.controller_info
212 for record in self.controller_info}
213 d["Results"] = [record.to_dict() for record in self.executed]
237 for record in self.error:
238 if isinstance(record, TestResultRecord):
242 elif isinstance(record, ExceptionRecord):
247 l.append({k: record.to_dict()[k] for k in keys})
Dtest_runner.py237 record = records.TestResultRecord('*all*', test_cls_name)
238 record.test_skip(signals.TestSkip('Test class does not exist.'))
239 self.results.add_record(record)
Dlogger.py86 def format(self, record): argument
87 colored_record = copy(record)
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/mobly/
DMoblyYamlResultParser.java90 MoblyYamlResultRecordHandler.Record record = in reportToListeners() local
93 new TestDescription(record.getTestClass(), record.getTestName()); in reportToListeners()
96 record.getStackTrace(), in reportToListeners()
100 ? record.getBeginTime() in reportToListeners()
101 : Math.min(mRunStartTime, record.getBeginTime()); in reportToListeners()
102 mRunEndTime = Math.max(mRunEndTime, record.getEndTime()); in reportToListeners()
104 listener.testStarted(testDescription, record.getBeginTime()); in reportToListeners()
105 if (record.getResult() != MoblyYamlResultRecordHandler.RecordResult.PASS) { in reportToListeners()
110 record.getEndTime(), in reportToListeners()
/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/result/proto/
DFileProtoResultReporterTest.java85 TestRecord record = TestRecordProtoUtil.readFromFile(mOutput); in testWriteResults() local
87 Any anyDescription = record.getDescription(); in testWriteResults()
182 TestRecord record = TestRecordProtoUtil.readFromFile(mOutput, false); in testWriteReadAtestResults() local
183 assertEquals("record id", record.getTestRecordId()); in testWriteReadAtestResults()
184 assertEquals("child record1", record.getChildren(0).getTestRecordId()); in testWriteReadAtestResults()
185 assertEquals("child record2", record.getChildren(1).getTestRecordId()); in testWriteReadAtestResults()
/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/tradefederation/core/src/com/android/tradefed/result/proto/
DProtoResultParser.java178 TestRecord record = null; in processFileProto() local
180 record = TestRecordProtoUtil.readFromFile(protoFile); in processFileProto()
189 handleInvocationStart(record); in processFileProto()
191 } else if (record.getParentTestRecordId().isEmpty()) { in processFileProto()
192 handleInvocationEnded(record); in processFileProto()
194 evalProto(record, false); in processFileProto()
DProtoResultReporter.java210 TestRecord record = mInvocationRecordBuilder.build(); in invocationEnded() local
212 processFinalProto(record); in invocationEnded()
498 private ChildReference createChildReference(TestRecord record) { in createChildReference() argument
500 child.setTestRecordId(record.getTestRecordId()); in createChildReference()
501 child.setInlineTestRecord(record); in createChildReference()
DFileProtoResultReporter.java100 private void writeProto(TestRecord record) { in writeProto() argument
115 record.writeDelimitedTo(output); in writeProto()
117 record.writeTo(output); in writeProto()
DStreamProtoResultReporter.java91 private void writeRecordToSocket(TestRecord record) { in writeRecordToSocket() argument
103 record.writeDelimitedTo(mReportSocket.getOutputStream()); in writeRecordToSocket()
/tools/tradefederation/core/test_result_interfaces/com/android/tradefed/util/proto/
DTestRecordProtoUtil.java58 TestRecord record = null; in readFromFile() local
69 record = TestRecord.parseFrom(data.getContents()); in readFromFile()
72 record = TestRecord.parseFrom(is); in readFromFile()
75 return record; in readFromFile()
/tools/test/connectivity/acts/framework/acts/test_utils/tel/
DTelephonyBaseTest.py564 record = records.TestResultRecord(test_name, self.TAG)
565 record.test_begin()
567 record.test_fail(signal)
568 self.results.add_record(record)
571 self.on_fail(test_name, record.begin_time)
/tools/apksig/src/main/java/com/android/apksig/
DApkSigner.java521 for (CentralDirectoryRecord record : outputCdRecords) { in sign()
522 outputCentralDirSizeBytes += record.getSize(); in sign()
530 for (CentralDirectoryRecord record : outputCdRecords) { in sign()
531 record.copyTo(outputCentralDir); in sign()
/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/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/controllers/fuchsia_lib/bt/
Dsdp_lib.py26 def addService(self, record): argument
38 "record": record,
/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/metalava/
DFORMAT.md38 that we can not just record explicitly what the API contract is, but also
334 record the default value for usage from languages that support default parameter
/tools/test/connectivity/acts_tests/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