/development/vndk/tools/ |
D | system_image_diff.py | 33 system_path = os.path.normpath(os.path.join(out_path, 'system')) 36 return os.path.join(*system_path_dirs[out_index:]) 42 system_prefix = os.path.join(path, 'system') 49 if not os.path.islink(os.path.join(root, file)): 50 system_files.append(os.path.join(root[system_prefix_len:], file)) 62 with open(os.path.join(path, 'module-info.json')) as module_info_json: 89 system_prefix = os.path.join(path, 'system') 94 with open(os.path.join(path, 'module-info.json')) as module_info_json: 138 with open(os.path.join(args.out1, 'module-info.json')) as module_info_json: 151 full_path = os.path.join(args.out1, 'system', file)
|
/development/vndk/tools/sourcedr/files/ |
D | list_app_shared_uid.py | 64 partition_dir = os.path.join(product_out, partition) 69 return os.path.join(base, filename)[prefix_len:] 79 apps_dir = os.path.join(product_out, 'obj', 'APPS') 83 app_dir = os.path.join(apps_dir, app_dir_name) 85 apk_file = os.path.join(app_dir, 'package.apk') 90 apk_unpacked = os.path.join(app_dir, 'package') 97 manifest_file = os.path.join(apk_unpacked, 'AndroidManifest.xml') 125 os.path.join(args.product_out, 'module-info.json')) 141 writer.writerow((app.name, ' '.join(app.shared_uid),
|
/development/tools/external_crates/crate_health/src/ |
D | migration.rs | 38 let full_pattern = self.source.path().join(pattern); in copy_customizations() 51 copy_dir(&entry, &dest_dir_absolute.join(filename)).context(format!( in copy_customizations() 57 let dest_file = dest_dir_absolute.join(&filename); in copy_customizations() 61 copy(&entry, dest_dir_absolute.join(filename)).context(format!( in copy_customizations() 70 let src_path = self.source.path().join(link); in copy_customizations() 80 symlink(dest, dest_dir_absolute.join(link))?; in copy_customizations() 88 &self.dest.staging_path().join(&"Android.bp").rel(), in diff_android_bps() 116 dest.add_from(&pseudo_crate.get_path().join(&"vendor").rel())?; in migrate()
|
D | repo_path.rs | 45 self.root.join(&self.path) in abs() 47 pub fn join(&self, path: &impl AsRef<Path>) -> RepoPath { in join() method 48 RepoPath::new(self.root.clone(), self.path.join(path)) in join() 65 assert_eq!(p.join(&"baz"), RepoPath::new("/foo", "bar/baz")); in test_basic()
|
D | lib.rs | 85 .join(&whoami::username()[..2]) in default_output_dir() 86 .join(whoami::username()) in default_output_dir() 87 .join("www") in default_output_dir() 88 .join(filename) in default_output_dir()
|
D | crate_type.rs | 97 self.path.join(&"Android.bp") in android_bp() 100 self.path.join(&"cargo_embargo.json") in cargo_embargo_json() 104 Path::new("out/rust-crate-temporary-build").join(self.staging_dir_name()), in staging_path() 108 self.staging_path().join(&"patches") in patch_dir() 203 if staging_path_absolute.join(".git").is_dir() { in stage_crate() 204 remove_dir_all(staging_path_absolute.join(".git")) in stage_crate() 214 &self.staging_path().join(&"Android.bp").rel(), in diff_android_bp() 317 assert_eq!(krate.android_bp().abs(), temp_crate_dir.path().join("Android.bp")); in test_from_and_properties() 320 temp_crate_dir.path().join("cargo_embargo.json") in test_from_and_properties()
|
/development/tools/winscope/protos/ |
D | build.js | 121 protoFullPaths.join(' ') 122 ].join(' '); 134 protoFullPaths.join(' '), 135 ].join(' '); 142 ].join(' ');
|
/development/vndk/tools/header-checker/tests/ |
D | gen_all.py | 7 import_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) 8 import_path = os.path.abspath(os.path.join(import_path, 'utils')) 25 '|'.join('(?:' + re.escape(ext) + ')' for ext in FILE_EXTENSIONS) + 34 input_path = os.path.join(base, filename) 36 output_path = os.path.join(EXPECTED_DIR, input_rel_path)
|
D | test.py | 11 import_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) 12 import_path = os.path.abspath(os.path.join(import_path, 'utils')) 21 INPUT_DIR = os.path.join(SCRIPT_DIR, 'input') 22 EXPECTED_DIR = os.path.join(SCRIPT_DIR, 'expected') 24 REF_DUMP_DIR = os.path.join(SCRIPT_DIR, 'reference_dumps') 28 dump_dir = os.path.join(dump_dir, module.arch) 30 dump_path = os.path.join(dump_dir, module.get_dump_name()) 70 input_path = os.path.join(INPUT_DIR, name) 71 expected_path = os.path.join(EXPECTED_DIR, name) 100 return os.path.join(REF_DUMP_DIR, module.arch, module.get_dump_name()) [all …]
|
/development/gsi/repack_super_image/ |
D | mix_ssi_with_device_image.py | 83 return os.path.join(output_dir, "IMAGES") 92 return os.path.join(output_dir, "super.img") 99 img_path = os.path.join(ssi_dir, f"{part_img}.img") 137 super_img = os.path.join(device_image_dir, "super.img") 139 device_misc_info = os.path.join(device_image_dir, "misc_info.txt") 160 output_super_img = os.path.join(output_dir, "super.img") 166 avbtool_path = os.path.join(ota_tools_dir, "bin", "avbtool") 167 vbmeta_img = os.path.join(output_dir, "vbmeta.img")
|
D | repack_super_image.py | 58 os.path.join(output_dir, BIN_DIR_NAME)): 60 file_path = os.path.join(root_dir, file_name) 130 simg2img_path = os.path.join(ota_tools_dir, BIN_DIR_NAME, "simg2img") 141 lpunpack_path = os.path.join(ota_tools_dir, BIN_DIR_NAME, "lpunpack") 148 unpacked_part_imgs[part] = os.path.join(unpack_dir, file_name) 151 lpmake_path = os.path.join(ota_tools_dir, BIN_DIR_NAME, "lpmake") 165 " ".join(parts_not_found)) 168 build_super_image_path = os.path.join(ota_tools_dir, BIN_DIR_NAME,
|
/development/vndk/tools/sourcedr/blueprint/tests/ |
D | test_module_path.py | 52 test_dir = os.path.join( 54 test_root_file = os.path.join(test_dir, SUBNAME) 61 self.assertEqual(os.path.join(test_dir, 'foo', SUBNAME), 63 self.assertEqual(os.path.join(test_dir, 'bar', SUBNAME),
|
/development/vndk/snapshot/ |
D | gen_buildfiles.py | 84 self._root_bpfile = os.path.join(install_dir, utils.ROOT_BP_PATH) 85 self._common_bpfile = os.path.join(install_dir, utils.COMMON_BP_PATH) 109 os.path.join(self._install_dir, utils.CONFIG_DIR_PATH_PATTERN, 128 abs_path_of_txt = os.path.join(self._install_dir, txt_path) 138 os.path.join(self._install_dir, utils.NOTICE_FILES_DIR_PATH, 158 bpfile.write('\n'.join(prebuilt_buildrules)) 201 src_root = os.path.join(self._install_dir, arch) 202 module_names_txt = os.path.join( 219 variant_subpath = os.path.join(arch, utils.BINDER32) 220 variant_path = os.path.join(self._install_dir, variant_subpath) [all …]
|
D | utils.py | 32 COMMON_BP_PATH = os.path.join(COMMON_DIR_PATH, 'Android.bp') 37 NOTICE_FILES_DIR_PATH = os.path.join(COMMON_DIR_PATH, NOTICE_FILES_DIR_NAME) 52 logging.debug('Running `{}`'.format(' '.join(cmd))) 57 logging.debug('Running `{}`'.format(' '.join(cmd))) 86 return os.path.realpath(os.path.join(root, *args)) 151 abspath = os.path.abspath(os.path.join(root, file_name))
|
D | collect_licenses.py | 60 self._paths_to_check = [os.path.join(install_dir, 62 …self._paths_to_check = self._paths_to_check + glob.glob(os.path.join(self._install_dir, '*/include… 105 self.check_licenses(os.path.join(root, f)) 112 … self.check_licenses(os.path.join(self._install_dir, utils.COMMON_DIR_PATH, license_text_path)) 140 install_dir = os.path.join(PREBUILTS_VNDK_DIR, 'v{}'.format(vndk_version))
|
D | update.py | 93 artifacts = glob.glob(os.path.join(artifact_dir, artifact_pattern)) 114 notices_dir_per_arch = os.path.join(arch, utils.NOTICE_FILES_DIR_NAME) 120 target_path = os.path.join(common_notices_dir, rel_path) 138 os.path.join(utils.CONFIG_DIR_PATH_PATTERN, file_name)) 145 path = os.path.join(dir, file_name) 174 shutil.copy(os.path.join(root_dir, path, 'OWNERS'), install_dir) 230 install_dir = os.path.join(PREBUILTS_VNDK_DIR, 'v{}'.format(vndk_version))
|
/development/scripts/ |
D | boardconfig_usage_analysis.py | 53 for root, dirs, files in os.walk(os.path.join(TOP, folder), topdown=True): 57 ret.append(os.path.join(root, file)) 74 out_system_path = os.path.join(OUT[len(TOP) + 1:], 'system') 76 with open(os.path.join(OUT, 'module-info.json')) as module_info_json: 91 makefile = os.path.join(TOP, path, 'Android.mk') 182 csv_string += ','.join([variable, 213 if not os.path.isfile(os.path.join(OUT, 'module-info.json')):
|
D | lldbclient.py | 52 debugger_path = os.path.join(toolchain_path, "bin", lldb_name) 66 return os.path.join(root, clang_base, "linux-x86", 139 sys.exit(msg.format(target_device, ", ".join(n if n else "None" for n in names))) 193 local_path = os.path.join(sysroot, interp.lstrip("/")) 201 local_path = os.path.join(sysroot, interp_real.lstrip("/")) 210 shutil.copy(local_path, os.path.join(result, posixpath.basename(interp))) 215 device.pull(interp, os.path.join(result, posixpath.basename(interp))) 327 …"initCommands": ['settings append target.exec-search-paths {}'.format(' '.join(solib_search_path))… 338 'settings append target.exec-search-paths {}'.format(' '.join(solib_search_path))) 348 return '\n'.join(commands) [all …]
|
D | gdbclient.py | 52 debugger_path = os.path.join(toolchain_path, "bin", lldb_name) 66 return os.path.join(root, clang_base, "linux-x86", 139 sys.exit(msg.format(target_device, ", ".join(n if n else "None" for n in names))) 193 local_path = os.path.join(sysroot, interp.lstrip("/")) 201 local_path = os.path.join(sysroot, interp_real.lstrip("/")) 210 shutil.copy(local_path, os.path.join(result, posixpath.basename(interp))) 215 device.pull(interp, os.path.join(result, posixpath.basename(interp))) 327 …"initCommands": ['settings append target.exec-search-paths {}'.format(' '.join(solib_search_path))… 338 'settings append target.exec-search-paths {}'.format(' '.join(solib_search_path))) 348 return '\n'.join(commands) [all …]
|
/development/tools/compare_cts_reports/ |
D | test_compare_cts_reports.py | 34 csvfile = os.path.join(temp_dir, 'one_way_diff.csv') 45 csvfile = os.path.join(temp_dir, 'two_way_diff.csv') 56 csvfile = os.path.join(temp_dir, 'n_way_diff.csv')
|
/development/tools/otagui/ |
D | ota_interface.py | 58 sql_form_dict['partial'] = ','.join(sql_form_dict['partial']) 130 self.logs_dir = os.path.join(working_dir, 'logs') 135 db_path = os.path.join(self.working_dir, "ota_database.db") 232 env['PATH'] = os.path.join( 272 args['output'] = os.path.join(self.working_dir, str(id) + '.zip') 277 ' --'.join(args['extra_keys']) + ' ' + args['extra'] 287 command.append(' '.join(args['partial'])) 290 stdout = os.path.join(self.logs_dir, 'stdout.' + str(id)) 291 stderr = os.path.join(self.logs_dir, 'stderr.' + str(id))
|
/development/vndk/tools/header-checker/utils/ |
D | utils.py | 23 os.path.join(AOSP_DIR, 'bionic', 'libc', 'include'), 24 os.path.join(AOSP_DIR, 'external', 'libcxx', 'include'), 25 os.path.join(AOSP_DIR, 'prebuilts', 'clang-tools', 'linux-x86', 120 ref_dump_path = os.path.join(reference_dump_dir, ref_dump_name) 197 return os.path.join(product_out, 'lsdump_paths.txt') 278 lsdump_paths_file_abspath = os.path.join(AOSP_DIR, lsdump_paths_file_path) 310 return [(tag, os.path.join(AOSP_DIR, path)) for tag, path in result] 329 output_name = os.path.join(tmp, lib_name) + '.abidiff' 344 os.path.join('build', 'soong', 'soong_ui.bash'), 345 '--dumpvars-mode', '-vars', ' '.join(names),
|
D | create_reference_dumps.py | 15 PREBUILTS_ABI_DUMPS_DIR = os.path.join(AOSP_DIR, 'prebuilts', 'abi-dumps') 20 SOONG_DIR = os.path.join(AOSP_DIR, 'out', 'soong', '.intermediates') 28 return os.path.join(self.ref_dump_dir, arch_str) 44 return os.path.join(PREBUILTS_ABI_DUMPS_DIR, subdir, version_stem, 88 path, os.path.join(ref_dump_dir_stem, 'source-based')) 149 print('making libs for', '-'.join(filter(None, build_target)))
|
/development/tools/repo_diff/ |
D | repo_diff_android.py | 28 DEFAULT_EXCLUSIONS_FILE = os.path.join(SCRIPT_DIR, "android_exclusions.txt") 123 path = os.path.join(workspace, "build", "core", "build_id.mk") 134 manifest_path = os.path.join(workspace, ".repo", "manifests") 193 os.path.join(output_folder, "project.csv"), 194 os.path.join(output_folder, "commit.csv"),
|
/development/vndk/tools/image-diff-tool/ |
D | diff.py | 38 return hashlib.sha1(",".join(l).encode()).hexdigest() 105 pathname = os.path.join(target, filename) 158 return "{}, {}\n".format(filename, ";".join(targets)) 159 return "{}, {}, {}\n".format(filename, sha1[:10], ";".join(targets)) 197 unzip_cmd = ["unzip", "-qd", tmp_path, os.path.join(origin_path, "*.zip")] 198 unzip_cmd.extend([os.path.join(s, "*") for s in main_args.search_path]) 230 target_in_tmp = [os.path.join(tmpdir, t) for t in args.target]
|