/tools/asuite/atest/test_finders/ |
D | test_finder_utils_unittest.py | 128 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 …]
|
D | tf_integration_finder.py | 214 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/ |
D | test_finder_utils_unittest.py | 125 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 …]
|
D | tf_integration_finder.py | 210 paths = test_finder_utils.find_class_file(self.root_dir, 212 if not paths: 214 for path in paths:
|
/tools/repohooks/rh/ |
D | config.py | 109 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 …]
|
D | config_unittest.py | 68 rh.config.PreUploadConfig(paths=(self.tempdir,)) 85 rh.config.PreUploadConfig(paths=(self.tempdir,)) 91 paths=(self.tempdir,)) 97 paths=(self.tempdir,)) 103 paths=(self.tempdir,)) 109 paths=(self.tempdir,)) 117 paths=(self.tempdir,)) 128 config = rh.config.PreUploadConfig(paths=(self.tempdir,),
|
/tools/test/connectivity/acts_tests/tests/google/gnss/ |
D | GnssFunctionTest.py | 163 paths = {} 172 paths["radio_image"] = os.path.join(path, path_key) 173 os.system("chmod -R 777 %s" % paths["radio_image"]) 174 self.ad.log.info("radio_image = %s" % paths["radio_image"]) 180 paths["mbn_path"] = dest_path 181 os.system("chmod -R 777 %s" % paths["mbn_path"]) 182 self.ad.log.info("mbn_path = %s" % paths["mbn_path"]) 183 self.ad.log.info(os.listdir(paths["mbn_path"])) 184 if not paths.get("radio_image"): 190 flash_radio(self.ad, paths["radio_image"]) [all …]
|
/tools/test/connectivity/acts_tests/tests/google/tel/live/ |
D | TelLiveSettingsTest.py | 137 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/targetprep/ |
D | RunHostScriptTargetPreparer.java | 149 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()
|
D | InstallApkSetup.java | 139 public void setApkPaths(Collection<File> paths) { in setApkPaths() argument 140 mApkPaths = paths; in setApkPaths()
|
/tools/asuite/aidegen/vscode/ |
D | vscode_native_project_file_gen.py | 107 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/external_updater/ |
D | external_updater.py | 160 def _check_path(args: argparse.Namespace, paths: Iterator[str], 163 for path in paths: 188 paths = _list_all_metadata() if args.all else args.paths 189 results = _check_path(args, paths, args.delay)
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | IsolatedHostTest.java | 208 List<String> paths = new ArrayList<>(); in compileClassPath() local 232 paths.add(isolationJarPath); in compileClassPath() 240 paths.add(f.getAbsolutePath()); in compileClassPath() 241 paths.add(f.getParentFile().getAbsolutePath() + "/*"); in compileClassPath() 245 String jarClasspath = String.join(java.io.File.pathSeparator, paths); in compileClassPath()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/rust/ |
D | RustBinaryHostTest.java | 87 String paths = ""; in findFiles() local 94 paths = testsDir + "\n"; in findFiles() 101 paths += String.format(" found: %s\n", f.getPath()); in findFiles() 122 String.format("Cannot find %s under %s", fileName, paths)); in findFiles()
|
/tools/test/connectivity/acts/framework/acts/ |
D | utils.py | 204 def find_files(paths, file_predicate): argument 217 if not isinstance(paths, list): 218 paths = [paths] 219 for path in paths:
|
/tools/repohooks/ |
D | README.md | 79 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.
|
D | pre-upload.py | 211 paths = ( 215 return rh.config.PreUploadConfig(paths=paths, global_paths=global_paths)
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/testmapping/ |
D | TestMappingTest.java | 256 Set<Path> paths = TestMapping.getAllTestMappingPaths(testMappingsRootPath); in testGetAllTestMappingPaths_FromChildDirectory() local 257 assertEquals(2, paths.size()); in testGetAllTestMappingPaths_FromChildDirectory() 287 Set<Path> paths = TestMapping.getAllTestMappingPaths(testMappingsRootPath); in testGetAllTestMappingPaths_FromParentDirectory() local 288 assertEquals(1, paths.size()); in testGetAllTestMappingPaths_FromParentDirectory()
|
/tools/tradefederation/core/atest/ |
D | atest_execution_info.py | 96 paths = glob.glob(target) 97 paths.sort(reverse=True) 103 for path in paths[0: int(history_arg)+1]:
|
/tools/asuite/atest/ |
D | atest_execution_info.py | 97 paths = glob.glob(target) 98 paths.sort(reverse=True) 104 for path in paths[0: int(history_arg)+1]:
|
/tools/treble/build/sandbox/ |
D | overlay.py | 346 paths = set() 348 paths.add(child.attrib.get("path", child.attrib["name"])) 349 return paths
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | SubprocessTfLauncher.java | 226 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/ |
D | TestMappingsValidation.java | 356 private String validateMainlineModuleConfig(String param, Set<String> paths) { in validateMainlineModuleConfig() argument 363 "duplicated modules.", param, paths)); in validateMainlineModuleConfig() 370 "configured.", param, paths)); in validateMainlineModuleConfig()
|
/tools/asuite/aidegen/lib/ |
D | common_util.py | 140 paths = atest_module_info.get_paths(target) 141 if paths: 142 rel_path = paths[0].strip(os.sep)
|
/tools/metalava/src/test/java/com/android/tools/metalava/ |
D | DriverTest.kt | 188 val paths = mutableListOf<String>() in <lambda>() constant 196 paths.add(file.path) in <lambda>() 199 if (paths.isEmpty()) { in <lambda>() 202 return paths in <lambda>()
|