/tools/test/connectivity/acts/framework/tests/ |
D | acts_records_test.py | 35 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 …]
|
D | acts_test_decorators_test.py | 180 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/ |
D | MoblyYamlResultParser.java | 90 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/ |
D | records.py | 211 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})
|
D | test_runner.py | 234 record = records.TestResultRecord('*all*', test_cls_name) 235 record.test_skip(signals.TestSkip('Test class does not exist.')) 236 self.results.add_record(record)
|
D | logger.py | 86 def format(self, record): argument 87 colored_record = copy(record)
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/proto/ |
D | TestRecordProtoUtilTest.java | 43 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/ |
D | TestRecordProtoUtil.java | 58 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/ |
D | CentralDirectoryRecord.java | 269 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/ |
D | TestRecordInterpreter.java | 33 public static CollectingTestListener interpreteRecord(TestRecord record) { in interpreteRecord() argument 36 parser.processFinalizedProto(record); in interpreteRecord()
|
/tools/tradefederation/core/src/com/android/tradefed/result/proto/ |
D | FileProtoResultReporter.java | 95 private void writeProto(TestRecord record) { in writeProto() argument 110 record.writeDelimitedTo(output); in writeProto() 112 record.writeTo(output); in writeProto()
|
D | StreamProtoResultReporter.java | 83 private void writeRecordToSocket(TestRecord record) { in writeRecordToSocket() argument 95 record.writeDelimitedTo(mReportSocket.getOutputStream()); in writeRecordToSocket()
|
D | ProtoResultParser.java | 171 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()
|
D | ProtoResultReporter.java | 210 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/ |
D | FileProtoResultReporterTest.java | 85 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/ |
D | sdp_lib.py | 26 def addService(self, record): argument 38 "record": record,
|
/tools/test/connectivity/acts/tests/google/coex/config/ |
D | sample_config.json | 48 //Music record duration in seconds,
|
/tools/test/connectivity/acts/framework/acts/libs/logging/ |
D | log_stream.py | 155 def emit(self, record): argument 156 self._log.log(record.levelno, record.getMessage())
|
/tools/test/connectivity/acts/framework/acts/test_utils/tel/ |
D | TelephonyBaseTest.py | 563 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/ |
D | test_record.proto | 27 // 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/ |
D | ApkSigner.java | 555 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/ |
D | README.md | 12 they just record the measured performance. Even when tests do have a pass/
|
/tools/metalava/ |
D | API-LINT.md | 40 Metalava also has support for "baselines", which are files which record all the
|
D | FORMAT.md | 38 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/ |
D | cmd_input.py | 1440 record = { 1523 result = self.pri_dut.sdp_lib.addService(record)
|