/tools/tradefederation/core/lite/com/android/tradefed/lite/ |
D | DryRunner.java | 37 public DryRunner(Description desc) { in DryRunner() argument 38 mDesc = desc; in DryRunner() 56 private void fakeExecution(RunNotifier notifier, RunListener list, Description desc) { in fakeExecution() argument 57 if (desc.getMethodName() == null || !desc.getChildren().isEmpty()) { in fakeExecution() 58 for (Description child : desc.getChildren()) { in fakeExecution() 62 notifier.fireTestStarted(desc); in fakeExecution() 63 notifier.fireTestFinished(desc); in fakeExecution() 65 list.testStarted(desc); in fakeExecution() 66 list.testFinished(desc); in fakeExecution()
|
/tools/tradefederation/core/isolation/com/android/tradefed/isolation/ |
D | IsolationFilter.java | 64 public boolean shouldRun(Description desc) { in shouldRun() argument 65 return this.checkFilters(desc) && this.checkAnnotations(desc); in shouldRun() 68 private boolean checkFilters(Description desc) { in checkFilters() argument 69 String packageName = getPackageName(desc); in checkFilters() 70 String className = desc.getClassName(); in checkFilters() 71 String methodName = String.format("%s#%s", className, desc.getMethodName()); in checkFilters() 76 private boolean checkAnnotations(Description desc) { in checkAnnotations() argument 77 Collection<Annotation> annotations = desc.getAnnotations(); in checkAnnotations() 124 private String getPackageName(Description desc) { in getPackageName() argument 127 classObj = Class.forName(desc.getClassName()); in getPackageName()
|
D | IsolationResultForwarder.java | 49 Description desc = failure.getDescription(); in testFailure() local 56 .setMethodName(desc.getMethodName()) in testFailure() 57 .setClassName(desc.getClassName()) in testFailure() 66 Description desc = failure.getDescription(); in testAssumptionFailure() local 73 .setMethodName(desc.getMethodName()) in testAssumptionFailure() 74 .setClassName(desc.getClassName()) in testAssumptionFailure()
|
/tools/tradefederation/core/src/com/android/tradefed/log/ |
D | LogReceiver.java | 34 public LogReceiver(ITestDevice device, String cmd, String desc) { in LogReceiver() argument 35 this(device, cmd, LOG_SIZE, DELAY, desc); in LogReceiver() 38 public LogReceiver(ITestDevice device, String cmd, String desc, in LogReceiver() argument 40 this(device, cmd, logcat_size, delay_secs, desc); in LogReceiver() 44 long maxFileSize, int logStartDelay, String desc) { in LogReceiver() argument 46 mReceiver = new LargeOutputReceiver(desc, device.getSerialNumber(), in LogReceiver() 48 mDeviceAction = new BackgroundDeviceAction(cmd, desc, device, in LogReceiver() 50 mDesc = desc; in LogReceiver()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/lite/ |
D | DryRunnerTest.java | 44 Description desc = req.getRunner().getDescription(); in testFakeExecution() local 46 DryRunner runner = new DryRunner(desc); in testFakeExecution() 49 assertEquals("Test count should be 3", 3, desc.testCount()); in testFakeExecution() 51 Mockito.verify(list, Mockito.times(desc.testCount())) in testFakeExecution() 53 Mockito.verify(list, Mockito.times(desc.testCount())) in testFakeExecution()
|
/tools/repohooks/rh/ |
D | hooks.py | 362 def check_commit_msg_bug_field(project, commit, desc, _diff, options=None): argument 372 for line in desc.splitlines(): 386 def check_commit_msg_changeid_field(project, commit, desc, _diff, options=None): argument 396 for line in desc.splitlines(): 435 def check_commit_msg_prebuilt_apk_fields(project, commit, desc, diff, argument 458 if not re.search(regex, desc, re.MULTILINE): 499 def check_commit_msg_test_field(project, commit, desc, _diff, options=None): argument 509 for line in desc.splitlines(): 554 def check_commit_msg_relnote_field_format(project, commit, desc, _diff, argument 583 for line in desc.splitlines(): [all …]
|
D | hooks_unittest.py | 277 for desc in msgs: 278 ret = func(self.project, 'commit', desc, diff, options=self.options) 281 bool(ret), msg='Should have accepted: {{{%s}}}' % (desc,)) 284 bool(ret), msg='Should have rejected: {{{%s}}}' % (desc,))
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | TestFilterHelper.java | 166 public boolean shouldTestRun(Description desc) { in shouldTestRun() argument 167 return shouldTestRun(desc.getAnnotations()); in shouldTestRun() 253 public boolean shouldRun(Description desc, List<File> extraJars) { in shouldRun() argument 264 classObj = cl.loadClass(desc.getClassName()); in shouldRun() 275 String className = desc.getClassName(); in shouldRun() 276 String methodName = String.format("%s#%s", className, desc.getMethodName()); in shouldRun() 280 if (!shouldTestRun(desc)) { in shouldRun()
|
D | JUnit4TestFilter.java | 44 for (Description desc : description.getChildren()) { in shouldRun() 45 if (shouldRun(desc)) { in shouldRun()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | JUnitToInvocationResultForwarderTest.java | 125 TestDescription desc = capture.getValue(); in testStartTest_annotations() local 126 assertEquals(InheritingClass.class.getName(), desc.getClassName()); in testStartTest_annotations() 127 assertEquals("testbaseWithAnnotation", desc.getTestName()); in testStartTest_annotations() 128 assertEquals(1, desc.getAnnotations().size()); in testStartTest_annotations() 130 assertTrue(desc.getAnnotations().iterator().next() instanceof MyCustomAnnotation); in testStartTest_annotations()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | IsolatedHostTest.java | 282 TestDescription desc; in executeTests() local 285 desc = in executeTests() 288 listener.testFailed(desc, event.getMessage()); in executeTests() 289 listener.testEnded(desc, new HashMap<String, String>()); in executeTests() 292 desc = in executeTests() 295 listener.testAssumptionFailure(desc, reply.getMessage()); in executeTests() 298 desc = in executeTests() 301 listener.testStarted(desc); in executeTests() 304 desc = in executeTests() 307 listener.testEnded(desc, new HashMap<String, String>()); in executeTests() [all …]
|
D | HostTest.java | 621 Description desc = (Description) obj; in runTestCases() local 622 Request req = Request.aClass(desc.getTestClass()); in runTestCases() 623 Runner checkRunner = req.filterWith(desc).getRunner(); in runTestCases() 625 runJUnit4Tests(listener, checkRunner, desc.getClassName()); in runTestCases() 627 listener.testRunStarted(desc.getClassName(), 0); in runTestCases() 760 private void fakeDescriptionExecution(Description desc, JUnit4ResultForwarder listener) { in fakeDescriptionExecution() argument 761 if (desc.getMethodName() == null || !desc.getChildren().isEmpty()) { in fakeDescriptionExecution() 762 for (Description child : desc.getChildren()) { in fakeDescriptionExecution() 767 listener.testStarted(desc); in fakeDescriptionExecution() 768 listener.testFinished(desc); in fakeDescriptionExecution() [all …]
|
/tools/carrier_settings/python/ |
D | compare.py | 35 for desc, values in protobuf_message.ListFields(): 36 if desc.label is descriptor.FieldDescriptor.LABEL_REPEATED:
|
/tools/tradefederation/core/test_result_interfaces/com/android/tradefed/result/ |
D | TestDescription.java | 184 public static TestIdentifier convertToIdentifier(TestDescription desc) { in convertToIdentifier() argument 185 return new TestIdentifier(desc.getClassName(), desc.getTestName()); in convertToIdentifier()
|
D | MultiFailureDescription.java | 102 for (FailureDescription desc : mFailures) { in isRetriable() 103 if (desc.isRetriable()) { in isRetriable()
|
/tools/test/connectivity/acts/tests/google/tel/live/ |
D | TelLiveConnectivityMonitorBaseTest.py | 574 desc = counter.split("_")[0] 575 if desc == "VOWIFI": 578 stat_key = "recent_%s_fail_count" % desc.lower() 592 if most_failure_call_type != desc: 595 "is %s, not %s", most_failure_call_type, desc) 600 dropped = call_data_summary_after.get("%s_dropped" % desc, 0) 602 "%s_dropped_percentage" % desc, 0) 603 self.dut.log.info("%s_dropped = %s, percentage = %s", desc, 729 desc = "VOWIFI" 731 desc = "VOLTE" [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/config/ |
D | ConfigurationDescriptorTest.java | 80 ConfigurationDescriptor desc = in testSerialization() local 82 assertEquals("test", desc.getModuleName()); in testSerialization()
|
/tools/repohooks/ |
D | pre-upload.py | 307 desc = rh.git.get_commit_desc(commit) 308 rh.sixish.setenv('PREUPLOAD_COMMIT_MESSAGE', desc) 310 commit_summary = desc.split('\n', 1)[0] 315 hook_results = hook(project, commit, desc, diff)
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | BugreportCollector.java | 380 String desc = storedP.toString(); in check() local 391 desc = testName; in check() 396 desc = String.format("FAILED-%s", testName); in check() 405 grabBugreport(desc); in check()
|
/tools/test/connectivity/acts/tests/google/fuchsia/bt/ |
D | cmd_input.py | 493 for desc in descriptors: 494 desc_id = desc["id"] 495 desc_uuid = desc["uuid_type"] 545 for desc in descriptors: 546 desc_id = desc["id"] 547 desc_uuid = desc["uuid_type"] 593 for desc in descriptors: 594 desc_id = desc["id"] 595 desc_uuid = desc["uuid_type"]
|
/tools/tradefederation/core/src/com/android/tradefed/device/metric/ |
D | BaseDeviceMetricCollector.java | 434 private boolean shouldSkip(TestDescription desc) { in shouldSkip() argument 436 if (desc.getAnnotation(MetricOption.class) != null) { in shouldSkip() 437 String groupName = desc.getAnnotation(MetricOption.class).group(); in shouldSkip()
|
/tools/test/connectivity/acts/framework/acts/test_utils/abstract_devices/ |
D | bluetooth_device.py | 1275 for desc in descriptors: 1276 desc_id = desc["id"] 1337 for desc in descriptors: 1338 desc_id = desc["id"] 1339 desc_uuid = desc["uuid_type"]
|
/tools/tradefederation/core/res/jacoco/ |
D | jacocoagent.jar | META-INF/MANIFEST.MF
META-INF/
org/
org/jacoco/
org/ ... |
D | jacocoant.jar | META-INF/MANIFEST.MF
META-INF/
org/
org/jacoco/
org/ ... |
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | DeviceTestCaseTest.java | 218 for (TestDescription desc : descriptions) { in testRun_checkAnnotation() 219 assertFalse(desc.getAnnotations().isEmpty()); in testRun_checkAnnotation()
|