/tools/test/connectivity/acts/framework/tests/ |
D | acts_records_test.py | 33 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 …]
|
D | acts_test_decorators_test.py | 118 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/ |
D | StartupSummarizer.kt | 155 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/ |
D | base_test.py | 394 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 …]
|
D | records.py | 241 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})
|
D | test_runner.py | 272 record = records.TestResultRecord("*all*", test_cls_name) 273 record.test_skip(signals.TestSkip("Test class does not exist.")) 274 self.results.add_record(record)
|
D | logger.py | 88 def format(self, record): argument 89 colored_record = copy(record)
|
/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/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/test/connectivity/acts/framework/tests/libs/metrics/ |
D | recordable_metric_test.py | 56 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/ |
D | cpu_metric.py | 28 record = { 37 self.record(record, current_time, android_device.serial)
|
D | metric.py | 103 def record(self, value, key, channel=None): member in RecordableMetric
|
/tools/tradefederation/core/src/com/android/tradefed/util/proto/ |
D | TestRecordProtoUtil.java | 47 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/ |
D | ProtoResultReporter.java | 178 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()
|
D | StreamProtoResultReporter.java | 82 private void writeRecordToSocket(TestRecord record) { in writeRecordToSocket() argument 90 record.writeDelimitedTo(mReportSocket.getOutputStream()); in writeRecordToSocket()
|
/tools/tradefederation/contrib/src/com/android/framework/tests/ |
D | BandwidthStats.java | 193 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/ |
D | TestRecordInterpreter.java | 33 public static CollectingTestListener interpreteRecord(TestRecord record) { in interpreteRecord() argument 36 parser.processFinalizedProto(record); in interpreteRecord()
|
/tools/test/connectivity/acts/framework/acts/test_utils/tel/ |
D | TelephonyBaseTest.py | 509 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/ |
D | log_stream.py | 155 def emit(self, record): argument 156 self._log.log(record.levelno, record.getMessage())
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/proto/ |
D | FileProtoResultReporterTest.java | 69 TestRecord record = TestRecordProtoUtil.readFromFile(mOutput); in testWriteResults() local 71 Any anyDescription = record.getDescription(); in testWriteResults()
|
/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/tradefederation/core/src/com/android/tradefed/device/ |
D | DeviceUtilStatsMonitor.java | 161 DeviceUtilRecord record = getDeviceRecord(deviceDesc.getSerial()); in run() local 162 record.addSample(deviceDesc.getState()); in run()
|
/tools/apksig/src/main/java/com/android/apksig/ |
D | ApkSigner.java | 515 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/ |
D | sample_config.json | 48 //Music record duration in seconds,
|
/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/
|