Home
last modified time | relevance | path

Searched refs:target (Results 1 – 25 of 113) sorted by relevance

12345

/tools/asuite/aidegen/lib/
Dnative_util.py56 for target in targets:
57 mod_info = cc_module_info.get_module_info(target)
103 for target in targets:
104 if filter_func(target):
105 jtargets.append(target)
107 lefts.append(target)
128 for target in targets:
129 _, abs_path = common_util.get_related_paths(cc_module_info, target)
131 if cc_module_info.is_module(target):
132 new_targets.append(target)
[all …]
Dnative_project_info.py40 def __init__(self, target): argument
53 self.module_names = [target] if self.modules_info.is_module(
54 target) else self.modules_info.get_module_names_in_targets_paths(
55 [target])
109 for target in targets:
110 project = NativeProjectInfo(target)
Dcommon_util.py94 def get_related_paths(atest_module_info, target=None): argument
121 if target == '.':
122 target = None
123 if target:
125 if target == constant.WHOLE_ANDROID_TREE_TARGET:
129 elif os.path.isabs(target):
130 abs_path = target
133 elif atest_module_info.is_module(target):
134 paths = atest_module_info.get_paths(target)
139 elif (atest_module_info.get_module_names(target)
[all …]
Dproject_info.py98 def __init__(self, target=None, is_main_project=False): argument
109 self.modules_info, target)
110 self.module_name = self.get_target_name(target, abs_path)
119 if target == constant.FRAMEWORK_ALL:
120 self.dep_modules = self.get_dep_modules([target])
292 return [ProjectInfo(target, i == 0) for i, target in enumerate(targets)]
295 def get_target_name(target, abs_path): argument
313 return target
452 for target in self._targets:
454 target)
Dnative_project_info_unittest.py50 target = 'libui'
54 native_project_info.NativeProjectInfo.generate_projects([target])
60 native_project_info.NativeProjectInfo.generate_projects([target])
Dnative_util_unittest.py165 target = 'test.java'
167 mock_walk.return_value = [(root_dir, [folder], [target])]
169 target = 'test.cpp'
170 mock_walk.return_value = [(root_dir, [folder], [target])]
Dnative_module_info.py93 for target in targets:
94 if target == constant.WHOLE_ANDROID_TREE_TARGET:
97 rel_path, _ = common_util.get_related_paths(self, target)
/tools/test/connectivity/acts/framework/acts/
Dtest_decorators.py171 def __init__(self, target, instance): argument
177 self.target = target
179 self.__name__ = target.__name__
186 return self.target(self.instance, *args, **kwargs)
192 return self.target.gather(self.instance, *args, **kwargs)
/tools/tradefederation/core/atest/test_finders/
Dtest_finder_utils.py399 def run_find_cmd(ref_type, search_dir, target, methods=None): argument
430 if _dict.get(target):
431 logging.debug('Found %s in %s', target, FIND_INDEXES[ref_type])
432 out = [path for path in _dict.get(target) if search_dir in path]
435 if '.' in target:
436 target = target.replace('.', '/')
437 find_cmd = FIND_CMDS[ref_type].format(search_dir, prune_cond, target)
647 target = line.strip()
649 if not target:
653 if target.endswith(_VTS_PUSH_SUFFIX):
[all …]
/tools/asuite/atest/test_finders/
Dtest_finder_utils.py407 def run_find_cmd(ref_type, search_dir, target, methods=None): argument
438 if _dict.get(target):
439 logging.debug('Found %s in %s', target, FIND_INDEXES[ref_type])
440 out = [path for path in _dict.get(target) if search_dir in path]
443 if '.' in target:
444 target = target.replace('.', '/')
445 find_cmd = FIND_CMDS[ref_type].format(search_dir, prune_cond, target)
658 target = line.strip()
660 if not target:
664 if target.endswith(_VTS_PUSH_SUFFIX):
[all …]
/tools/asuite/aidegen_functional_test/
Daidegen_functional_test_main.py286 def _git_checkout_target_commit_id(target, commit_id): argument
303 _, abs_path = common_util.get_related_paths(atest_module_info, target)
322 for target in data_id_dict:
323 commit_id = data_id_dict.get(target, '')
324 current_commit_id = _git_checkout_target_commit_id(target, commit_id)
325 spec_and_cur_commit_id_dict[target] = {}
326 spec_and_cur_commit_id_dict[target]['current'] = current_commit_id
330 def _generate_target_real_iml_data(target): argument
342 aidegen_main.main([target, '-s', '-n', '-v'])
352 target)
[all …]
/tools/treble/build/sandbox/
Doverlay.py299 target, argument
340 for overlay_dir in overlay_map[target]:
349 if target in fs_view_map:
350 for path_relative_from, path_relative_to in fs_view_map[target]:
401 for target in config.findall('target'):
402 name = target.get('name')
403 overlay_list = [o.get('name') for o in target.findall('overlay')]
441 for target in config.findall('target'):
442 target_name = target.get('name')
444 for view in target.findall('view'):
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DJsonHttpTestResultReporterTest.java114 CollectingTestListener target, in injectTestRun() argument
125 target.testRunStarted(runName, 1, attempt); in injectTestRun()
127 target.testStarted(test); in injectTestRun()
129 target.testFailed(test, "trace"); in injectTestRun()
131 target.testEnded(test, TfMetricProtoUtil.upgradeConvert(testMetrics)); in injectTestRun()
132 target.testRunEnded(0, TfMetricProtoUtil.upgradeConvert(runMetrics)); in injectTestRun()
/tools/acloud/internal/lib/
Dandroid_build_client.py85 target=build_target,
126 target=build_target,
155 api = self.service.build().get(buildId=build_id, target=build_target)
178 target=build_target,
210 target=build_target)
216 target=build_target,
Dgoldfish_compute_client.py126 def GetKernelBuildArtifact(target): argument
127 if target == "kernel":
129 if target == "kernel_x86_64":
131 if target == "kernel_aarch64":
134 "Don't know the artifact name for '%s' target" % target)
Dandroid_build_client_test.py77 target=self.BUILD_TARGET,
109 target=self.BUILD_TARGET,
144 target=self.BUILD_TARGET,
158 target=self.BUILD_TARGET,
/tools/metalava/src/main/java/com/android/tools/metalava/
DRewriteAnnotations.kt51 fun modifyAnnotationSources(codebase: Codebase?, source: File, target: File, pkg: String = "") { in <lambda>()
63 target.parentFile.mkdirs() in <lambda>()
64 target.writeText( in <lambda>()
73 modifyAnnotationSources(codebase, it, File(target, it.name), newPackage) in <lambda>()
79 fun copyAnnotations(codebase: Codebase, source: File, target: File, pkg: String = "") { in <lambda>()
91 target.parentFile.mkdirs() in <lambda>()
92 source.copyTo(target) in <lambda>()
96 copyAnnotations(codebase, it, File(target, it.name), newPackage) in <lambda>()
DManagementWrapper.java101 public TV invoke(Object target) { in invoke() argument
103 return (TV) get().invoke(target, EMPTY_ARGS); in invoke()
110 public TV invokeOnce(Object target) { in invokeOnce() argument
112 mCachedInvokeResult = invoke(target); in invokeOnce()
/tools/test/connectivity/acts/framework/acts/test_utils/power/loggers/
Dpower_metric_logger.py57 def set_target(self, target): argument
58 self.proto.target = target
/tools/tradefederation/core/
DCleanSpec.mk47 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/GoogleTradeFed_intermedia…
48 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/GoogleTradeFedTests_inter…
/tools/asuite/asuite_plugin/src/java/com/android/atest/toolWindow/
DAtestToolWindow.java204 public void setTestTarget(@NotNull String target) { in setTestTarget() argument
205 mTestTarget.setSelectedItem(target); in setTestTarget()
213 public void setLunchTarget(@NotNull String target) { in setLunchTarget() argument
214 mLunchTarget.setText(target); in setLunchTarget()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DInstalledInstrumentationsTest.java342 for (InstrumentationTarget target : parser.getInstrumentationTargets()) { in buildTests()
343 if (mRunner == null || mRunner.equals(target.runnerName)) { in buildTests()
346 if (mTotalShards > 0 && !target.isShardable()) { in buildTests()
365 String targetPackageName = target.packageName; in buildTests()
391 t.setRunnerName(target.runnerName); in buildTests()
392 t.setCoverageTarget(target.targetName); in buildTests()
393 if (mTotalShards > 0 && target.isShardable()) { in buildTests()
/tools/asuite/asuite_plugin/src/java/com/android/atest/
DAtestUtils.java67 for (String target : targets) { in checkEmpty()
68 if (Strings.isNullOrEmpty(target)) { in checkEmpty()
/tools/asuite/asuite_plugin/
DREADME.md26 * Enter a target module, e.g. aidegen_unittests.
27 * Or fill target path with check test_mapping checkbox, E.g.
/tools/tradefederation/core/util-apps/ContentProvider/androidTest/
DAndroid.bp15 // Android Unit Test target for the Content Provider
24 "mockito-target-minus-junit4",

12345