/tools/asuite/aidegen/lib/ |
D | native_util.py | 56 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 …]
|
D | native_project_info.py | 40 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)
|
D | common_util.py | 94 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 …]
|
D | project_info.py | 98 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)
|
D | native_project_info_unittest.py | 50 target = 'libui' 54 native_project_info.NativeProjectInfo.generate_projects([target]) 60 native_project_info.NativeProjectInfo.generate_projects([target])
|
D | native_util_unittest.py | 165 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])]
|
D | native_module_info.py | 93 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/ |
D | test_decorators.py | 171 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/ |
D | test_finder_utils.py | 399 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/ |
D | test_finder_utils.py | 407 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/ |
D | aidegen_functional_test_main.py | 286 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/ |
D | overlay.py | 299 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/ |
D | JsonHttpTestResultReporterTest.java | 114 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/ |
D | android_build_client.py | 85 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,
|
D | goldfish_compute_client.py | 126 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)
|
D | android_build_client_test.py | 77 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/ |
D | RewriteAnnotations.kt | 51 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>()
|
D | ManagementWrapper.java | 101 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/ |
D | power_metric_logger.py | 57 def set_target(self, target): argument 58 self.proto.target = target
|
/tools/tradefederation/core/ |
D | CleanSpec.mk | 47 $(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/ |
D | AtestToolWindow.java | 204 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/ |
D | InstalledInstrumentationsTest.java | 342 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/ |
D | AtestUtils.java | 67 for (String target : targets) { in checkEmpty() 68 if (Strings.isNullOrEmpty(target)) { in checkEmpty()
|
/tools/asuite/asuite_plugin/ |
D | README.md | 26 * 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/ |
D | Android.bp | 15 // Android Unit Test target for the Content Provider 24 "mockito-target-minus-junit4",
|