Home
last modified time | relevance | path

Searched refs:record (Results 1 – 25 of 26) 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.py180 record = results.executed[0]
181 self.assertIsNotNone(record.extras,
183 self.assertEqual(record.extras[extra_key], extra_value)
/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/test/connectivity/acts/framework/acts/
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.py234 record = records.TestResultRecord('*all*', test_cls_name)
235 record.test_skip(signals.TestSkip('Test class does not exist.'))
236 self.results.add_record(record)
Dlogger.py86 def format(self, record): argument
87 colored_record = copy(record)
/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/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/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/src/com/android/tradefed/util/
DTestRecordInterpreter.java33 public static CollectingTestListener interpreteRecord(TestRecord record) { in interpreteRecord() argument
36 parser.processFinalizedProto(record); in interpreteRecord()
/tools/tradefederation/core/src/com/android/tradefed/result/proto/
DFileProtoResultReporter.java95 private void writeProto(TestRecord record) { in writeProto() argument
110 record.writeDelimitedTo(output); in writeProto()
112 record.writeTo(output); in writeProto()
DStreamProtoResultReporter.java83 private void writeRecordToSocket(TestRecord record) { in writeRecordToSocket() argument
95 record.writeDelimitedTo(mReportSocket.getOutputStream()); in writeRecordToSocket()
DProtoResultParser.java171 TestRecord record = null; in processFileProto() local
173 record = TestRecordProtoUtil.readFromFile(protoFile); in processFileProto()
182 handleInvocationStart(record); in processFileProto()
184 } else if (record.getParentTestRecordId().isEmpty()) { in processFileProto()
185 handleInvocationEnded(record); in processFileProto()
187 evalProto(record, false); in processFileProto()
DProtoResultReporter.java210 TestRecord record = mInvocationRecordBuilder.build(); in invocationEnded() local
212 processFinalProto(record); in invocationEnded()
494 private ChildReference createChildReference(TestRecord record) { in createChildReference() argument
496 child.setTestRecordId(record.getTestRecordId()); in createChildReference()
497 child.setInlineTestRecord(record); in createChildReference()
/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/test/connectivity/acts/framework/acts/controllers/fuchsia_lib/bt/
Dsdp_lib.py26 def addService(self, record): argument
38 "record": record,
/tools/test/connectivity/acts/tests/google/coex/config/
Dsample_config.json48 //Music record duration in seconds,
/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/test/connectivity/acts/framework/acts/test_utils/tel/
DTelephonyBaseTest.py563 record = records.TestResultRecord(test_name, self.TAG)
564 record.test_begin()
566 record.test_fail(signal)
567 self.results.add_record(record)
570 self.on_fail(test_name, record.begin_time)
/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/apksig/src/main/java/com/android/apksig/
DApkSigner.java555 for (CentralDirectoryRecord record : outputCdRecords) { in sign()
556 outputCentralDirSizeBytes += record.getSize(); in sign()
565 for (CentralDirectoryRecord record : outputCdRecords) { in sign()
566 record.copyTo(outputCentralDir); in sign()
/tools/test/connectivity/acts/tests/google/wifi/aware/
DREADME.md12 they just record the measured performance. Even when tests do have a pass/
/tools/metalava/
DAPI-LINT.md40 Metalava also has support for "baselines", which are files which record all the
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/google/fuchsia/bt/
Dcmd_input.py1440 record = {
1523 result = self.pri_dut.sdp_lib.addService(record)

12