Home
last modified time | relevance | path

Searched refs:paths (Results 1 – 25 of 33) sorted by relevance

12

/tools/repohooks/rh/
Dconfig.py109 def __init__(self, paths=('',), global_paths=()): argument
120 def _search(paths, filename): argument
121 for path in paths:
124 self.paths.append(path)
130 self.paths = []
132 _search(paths, self.FILENAME)
202 (self.paths, bad_sections))
208 (self.paths, hook))
217 (self.paths, bad_hooks))
227 (self.paths, bad_hooks))
[all …]
/tools/asuite/atest/test_finders/
Dtest_finder_utils_unittest.py128 paths = [os.path.join(uc.ROOT, CLASS_DIR, uc.CLASS_NAME + '.java')]
130 self, test_finder_utils.extract_test_path(uc.FIND_ONE), paths)
131 paths = [os.path.join(uc.ROOT, CLASS_DIR, uc.CLASS_NAME + '.java')]
133 self, test_finder_utils.extract_test_path(FIND_TWO), paths)
135 paths = [os.path.join(uc.ROOT, CLASS_DIR, uc.CLASS_NAME + '.java')]
137 self, test_finder_utils.extract_test_path(uc.FIND_ONE, 'method'), paths)
165 paths = [os.path.join(uc.ROOT, CLASS_DIR, uc.CLASS_NAME + '.java')]
167 self, test_finder_utils.extract_test_path(uc.FIND_ONE), paths)
168 paths = [os.path.join(uc.ROOT, OTHER_DIR, OTHER_CLASS_NAME)]
171 self, test_finder_utils.extract_test_path(FIND_TWO), paths)
[all …]
Dtf_integration_finder.py214 paths = test_finder_utils.find_class_file(self.root_dir,
216 if not paths:
218 for path in paths:
/tools/tradefederation/core/atest/test_finders/
Dtest_finder_utils_unittest.py125 paths = [os.path.join(uc.ROOT, CLASS_DIR, uc.CLASS_NAME + '.java')]
127 self, test_finder_utils.extract_test_path(uc.FIND_ONE), paths)
128 paths = [os.path.join(uc.ROOT, CLASS_DIR, uc.CLASS_NAME + '.java')]
130 self, test_finder_utils.extract_test_path(FIND_TWO), paths)
132 paths = [os.path.join(uc.ROOT, CLASS_DIR, uc.CLASS_NAME + '.java')]
134 self, test_finder_utils.extract_test_path(uc.FIND_ONE, 'method'), paths)
162 paths = [os.path.join(uc.ROOT, CLASS_DIR, uc.CLASS_NAME + '.java')]
164 self, test_finder_utils.extract_test_path(uc.FIND_ONE), paths)
165 paths = [os.path.join(uc.ROOT, OTHER_DIR, OTHER_CLASS_NAME)]
168 self, test_finder_utils.extract_test_path(FIND_TWO), paths)
[all …]
Dtf_integration_finder.py210 paths = test_finder_utils.find_class_file(self.root_dir,
212 if not paths:
214 for path in paths:
/tools/asuite/aidegen/vscode/
Dvscode_native_project_file_gen.py107 paths = _make_header_file_paths(includes)
108 configs[_INC_PATH] = paths
109 browse[_PATH] = paths
139 def _make_header_file_paths(paths): argument
149 for path in paths:
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DRunHostScriptTargetPreparer.java149 List<String> paths = new ArrayList<>(); in setPathVariable() local
159 paths.add(adbBinary.getParentFile().getAbsolutePath()); in setPathVariable()
166 paths.add(fastbootBinary.getParentFile().getAbsolutePath()); in setPathVariable()
170 if (!paths.isEmpty()) { in setPathVariable()
172 paths.add(System.getenv("PATH")); in setPathVariable()
173 String path = paths.stream().distinct().collect(Collectors.joining(separator)); in setPathVariable()
DInstallApkSetup.java139 public void setApkPaths(Collection<File> paths) { in setApkPaths() argument
140 mApkPaths = paths; in setApkPaths()
/tools/test/connectivity/acts/tests/google/tel/live/
DTelLiveSettingsTest.py137 paths = {}
167 paths[path_key] = path
168 if not paths:
171 self.log.info("paths = %s", paths)
173 if paths.get("radio_image"):
175 flash_radio(ad, paths["radio_image"])
177 if not paths.get("mbn_path") or "mbn" not in ad.adb.shell(
197 if not system_file_push(ad, paths["mbn_path"],
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/rust/
DRustBinaryHostTest.java86 String paths = ""; in findFiles() local
93 paths = testsDir + "\n"; in findFiles()
100 paths += String.format(" found: %s\n", f.getPath()); in findFiles()
121 String.format("Cannot find %s under %s", fileName, paths)); in findFiles()
/tools/external_updater/
Dexternal_updater.py133 def _check_some(paths, delay): argument
135 for path in paths:
160 results = _check_some(args.paths, args.delay)
Dnotifier.py184 params += args.paths
/tools/test/connectivity/acts/tests/google/gnss/
DGnssSanityTest.py149 paths = {}
158 paths["radio_image"] = os.path.join(path, path_key)
159 os.system("chmod -R 777 %s" % paths["radio_image"])
160 self.ad.log.info("radio_image = %s" % paths["radio_image"])
166 paths["mbn_path"] = dest_path
167 os.system("chmod -R 777 %s" % paths["mbn_path"])
168 self.ad.log.info("mbn_path = %s" % paths["mbn_path"])
169 self.ad.log.info(os.listdir(paths["mbn_path"]))
170 if not paths.get("radio_image"):
176 flash_radio(self.ad, paths["radio_image"])
[all …]
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DIsolatedHostTest.java207 List<String> paths = new ArrayList<>(); in compileClassPath() local
228 paths.add(isolationJarPath); in compileClassPath()
236 paths.add(f.getAbsolutePath()); in compileClassPath()
237 paths.add(f.getParentFile().getAbsolutePath() + "/*"); in compileClassPath()
241 String jarClasspath = String.join(java.io.File.pathSeparator, paths); in compileClassPath()
/tools/tradefederation/core/atest/
Datest_execution_info.py96 paths = glob.glob(target)
97 paths.sort(reverse=True)
103 for path in paths[0: int(history_arg)+1]:
/tools/asuite/atest/
Datest_execution_info.py97 paths = glob.glob(target)
98 paths.sort(reverse=True)
104 for path in paths[0: int(history_arg)+1]:
/tools/treble/build/sandbox/
Doverlay.py434 paths = []
436 paths.append((
439 views[name] = paths
/tools/repohooks/
Dpre-upload.py211 paths = (
215 return rh.config.PreUploadConfig(paths=paths, global_paths=global_paths)
DREADME.md79 Hooks are executed in the top directory of the git repository. All paths should
233 default it will call those tools from the user's `$PATH`, but the paths of those
254 # Pass absolute paths.
256 # Or paths relative to the top of the git project.
258 # Or paths relative to the repo root.
/tools/tradefederation/core/tests/res/testtype/
Dgtest_list2.txt13 paths
/tools/tradefederation/core/atest/tools/
Datest_tools.py96 paths = os.getenv('PATH', '').split(':')
97 for path in paths:
/tools/asuite/aidegen/lib/
Dcommon_util.py134 paths = atest_module_info.get_paths(target)
135 if paths:
136 rel_path = paths[0].strip(os.sep)
/tools/test/connectivity/acts/framework/acts/
Dutils.py203 def find_files(paths, file_predicate): argument
216 if not isinstance(paths, list):
217 paths = [paths]
218 for path in paths:
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DSubprocessTfLauncher.java226 List<String> paths = new ArrayList<>(); in preRun() local
230 paths.add(f.getAbsolutePath()); in preRun()
233 jarClasspath = String.join(":", paths); in preRun()
/tools/tradefederation/core/tests/src/com/android/tradefed/presubmit/
DTestMappingsValidation.java356 private String validateMainlineModuleConfig(String param, Set<String> paths) { in validateMainlineModuleConfig() argument
363 "duplicated modules.", param, paths)); in validateMainlineModuleConfig()
370 "configured.", param, paths)); in validateMainlineModuleConfig()

12