/tools/asuite/aidegen/lib/ |
D | project_config.py | 82 self.targets = args.targets.copy() 95 targets = self.targets if self.language == constant.JAVA else None 96 self.atest_module_info = common_util.get_atest_module_info(targets) 99 self.targets = _check_whole_android_tree(self.targets, self.full_repo) 100 self.full_repo = (self.targets[0] == constant.WHOLE_ANDROID_TREE_TARGET) 110 _SKIP_BUILD_CMD.format(' '.join(self.targets)))) 130 def _check_whole_android_tree(targets, android_tree): argument 148 if common_util.is_android_root(os.getcwd()) and targets == ['']: 150 new_targets = targets.copy() 156 def is_whole_android_tree(targets, android_tree): argument [all …]
|
D | native_util_unittest.py | 44 targets = ['a'] 45 self.assertEqual((targets, targets), 47 None, None, targets)) 49 self.assertEqual((targets, []), 51 None, None, targets)) 54 self.assertEqual(([], targets), 56 None, None, targets)) 99 targets = ['multiarch'] 100 expected = (parent, targets) 105 cc_mod_info, targets) [all …]
|
D | native_util.py | 38 def generate_clion_projects(targets): argument 60 parent_dir, targets = _get_merged_native_target(cc_module_info, targets) 66 for target in targets: 97 def _filter_out_modules(targets, filter_func): argument 110 for target in targets: 118 def _get_merged_native_target(cc_module_info, targets): argument 135 for target in targets: 146 def get_java_cc_and_rust_projects(atest_module_info, cc_module_info, targets): argument 165 rtargets = _filter_out_rust_projects(targets) 166 ctargets, lefts = _filter_out_modules(targets, cc_module_info.is_module) [all …]
|
D | native_project_info.py | 73 def generate_projects(cls, targets): argument 93 need_builds = cls._get_need_builds(targets) 107 def _get_need_builds(cls, targets): argument 119 for target in targets:
|
D | project_config_unittest.py | 70 self.assertEqual(config.targets, ['a']) 81 self.assertEqual(config_obj.targets, ['a']) 92 self.assertEqual(config.targets, ['']) 94 self.assertEqual(config_obj.targets, ['']) 99 self.assertEqual(config.targets, [target]) 101 self.assertEqual(config_obj.targets, [target]) 196 targets = ['Settings'] 197 args = aidegen_main._parse_args(targets) 201 project_config._SKIP_BUILD_CMD.format(' '.join(config.targets))))
|
D | project_info.py | 291 def generate_projects(targets): argument 302 return [ProjectInfo(target, i == 0) for i, target in enumerate(targets)] 490 def __init__(self, targets=None): argument 496 super().__init__(targets[0], True) 497 self._targets = targets 599 def _build_target(targets): argument 609 build_cmd.extend(list(targets)) 614 'built successfully.'.format('\n'.join(targets)))
|
D | native_project_info_unittest.py | 84 targets = ['mod1', 'mod2'] 91 set(targets), 92 native_project_info.NativeProjectInfo._get_need_builds(targets))
|
D | project_info_unittest.py | 104 self.args.targets = ['m1'] 218 args.targets = ['m1'] 248 targets = [] 252 targets.append(test_list[start:end]) 253 self.assertEqual(targets, sample) 259 targets = [] 262 targets.append(test_list[start:end]) 263 self.assertEqual(targets, sample)
|
D | common_util.py | 160 def is_target_android_root(atest_module_info, targets): argument 171 for target in targets: 206 def _check_modules(atest_module_info, targets, raise_on_lost_module=True): argument 227 for target in targets: 328 def get_atest_module_info(targets=None): argument 346 if targets and not _check_modules( 347 amodule_info, targets, raise_on_lost_module=False): 349 _check_modules(amodule_info, targets)
|
D | native_module_info.py | 81 def get_module_names_in_targets_paths(self, targets): argument 92 for target in targets:
|
/tools/asuite/aidegen/ |
D | aidegen_main.py | 260 def _create_and_launch_java_projects(ide_util_obj, targets): argument 267 projects = project_info.ProjectInfo.generate_projects(targets) 339 targets = lang_targets 340 java_list = targets[constant.JAVA] if constant.JAVA in targets else None 341 c_cpp_list = targets[constant.C_CPP] if constant.C_CPP in targets else None 342 rust_list = targets[constant.RUST] if constant.RUST in targets else None 465 def _get_targets_from_args(targets, android_tree): argument 481 if targets == [''] and not android_tree: 485 return targets 523 args.targets = _get_targets_from_args(args.targets, args.android_tree) [all …]
|
/tools/asuite/atest/test_finders/ |
D | test_finder_utils.py | 631 targets = set() 644 targets.add(target_to_add) 657 targets.add(constants.CTS_JAR) 661 targets.add(dalvik_dep) 662 logging.debug('Targets found in config file: %s', targets) 663 return targets 679 targets = set() 691 targets |= _get_vts_push_group_targets(line.strip(), rel_out_dir) 694 targets.add(os.path.join(rel_out_dir, sanitized_target)) 695 return targets [all …]
|
D | module_finder.py | 273 targets = set() 276 targets = test_finder_utils.get_targets_from_xml( 282 targets.add(constants.VTS_CORE_TF_MODULE) 286 targets.update(constants.SUITE_DEPS.get(suite, [])) 289 targets.add(constants.MODULES_IN + mod_dir) 294 targets.add('vts_kernel_ltp_tests') 298 targets.add(module_name) 304 targets.add(constants.CTS_JAR) 305 return targets
|
D | tf_integration_finder.py | 91 targets = test_finder_utils.get_targets_from_xml_root( 95 targets.add(constants.GTF_TARGET) 96 return frozenset(targets)
|
/tools/tradefederation/core/proto/ |
D | dynamicsharding.proto | 43 // The pool identifier for the targets set 51 // Placeholder response for providing test targets. 58 // Number of targets we want [default =1] 62 // Response with the requested test targets 64 // List of test targets to be executed
|
/tools/test/mobly_extensions/tools/results_uploader/src/ |
D | resultstore_client.py | 190 .targets() 214 .targets() 254 .targets() 283 .targets() 302 .targets() 324 .targets() 341 .targets()
|
/tools/asuite/aidegen_functional_test/ |
D | aidegen_functional_test_main.py | 416 def _create_some_sample_json_file(targets): argument 424 data = _generate_sample_json(targets) 482 def _test_some_sample_iml(targets=None): argument 488 if targets: 489 return _generate_sample_json(targets) 766 _create_some_sample_json_file(args.targets) 778 if not args.targets[0]: 781 _test_some_sample_iml(args.targets)
|
/tools/asuite/atest/ |
D | device_update.py | 59 def __init__(self, adevice_path: Path=_TOOL, targets: Set[str]=None): 61 self._targets = targets or set(['sync'])
|
/tools/asuite/asuite_plugin/src/java/com/android/atest/ |
D | AtestUtils.java | 66 public static boolean checkEmpty(String... targets) { in checkEmpty() argument 67 for (String target : targets) { in checkEmpty()
|
/tools/asuite/atest/bazel/scripts/ |
D | gen_workspace_archive.sh | 72 targets="atest dist empty-bazel-test-suite ${EXTRA_TARGETS:-}" 73 build/soong/soong_ui.bash --make-mode WRAPPER_TOOL=atest $targets
|
/tools/treble/build/treble_build/report/ |
D | report_test.go | 213 var targets []string 251 targets = append(targets, target.name) 257 req := &app.ReportRequest{Targets: targets}
|
/tools/treble/build/ |
D | README.md | 57 directory are shared among all Android targets. 64 directory can be mounted at the root directory to support different targets.
|
/tools/tradefederation/core/javatests/com/android/tradefed/util/ |
D | ListInstrumentationParserTest.java | 70 List<InstrumentationTarget> targets = mParser.getInstrumentationTargets(); in testEmptyParse() local 71 assertTrue("getInstrumentationTargets() not empty", targets.isEmpty()); in testEmptyParse()
|
/tools/treble/build/treble_build/app/ |
D | build.go | 59 Targets map[string][]string `json:"targets"`
|
/tools/asuite/atest/bazel/runner/src/main/protobuf/ |
D | build_event_stream.proto | 424 // final test targets, not any nested suites. 428 // Labels of the test targets included in the suite. Includes all tests in 452 // children id will contain the configured targets it was configured to. 495 // as outputs of several targets have to be named only once. 831 // including both aspects and configured targets. This metric includes 840 // targets. Used mainly to allow consumers of actions_created, which used to 905 // No longer populated. It never measured what it was supposed to (targets 906 // loaded): it counted targets that were analyzed even if the underlying 911 // Number of targets/aspects configured during this build. Does not include 912 // targets/aspects that were configured on prior builds on this server and [all …]
|