Home
last modified time | relevance | path

Searched refs:target_dir (Results 1 – 9 of 9) sorted by relevance

/aosp12/packages/modules/common/tools/
H A Dfinalize_sdk.py49 target_dir = ''
54 if target_dir:
56 target_dir = dir
57 if not target_dir:
60 return 'prebuilts/module_sdk/%s' % target_dir
91 target_dir = os.path.join(repo, dir) variable
92 if os.path.isfile(target_dir):
93 print('Removing existing dir %s' % target_dir)
94 shutil.rmtree(target_dir)
96 zipFile.extractall(target_dir)
[all …]
/aosp12/bionic/benchmarks/linker_relocation/
H A Drun_bench_with_ninja.sh122 target_dir=/data/local/tmp/linker-reloc-bench
123 adb shell rm -rf $target_dir
126 env_setup+=( adb shell LD_LIBRARY_PATH=$target_dir )
128 target_dir=$work_dir
129 env_setup+=( env LD_LIBRARY_PATH=$target_dir )
136 main_cmd+=( $target_dir/linker_reloc_bench_main )
/aosp12/system/extras/simpleperf/scripts/
H A Dbinary_cache_builder.py130 target_dir = os.path.dirname(target_file)
131 if not os.path.isdir(target_dir):
132 os.makedirs(target_dir)
176 target_dir = os.path.dirname(binary_cache_file)
177 if not os.path.isdir(target_dir):
178 os.makedirs(target_dir)
/aosp12/system/bt/gd/rust/linux/service/
H A Dbuild.rs4 let target_dir = std::env::var_os("CARGO_TARGET_DIR").unwrap(); in main() localVariable
10 println!("cargo:rustc-link-search=native={}", target_dir.into_string().unwrap()); in main()
/aosp12/build/make/tools/releasetools/
H A Dapex_utils.py543 target_dir = os.path.join(tmp_dir, apex_subdir)
547 if not os.path.exists(target_dir):
548 logger.info('No APEX directory at path: %s', target_dir)
561 for apex_filename in os.listdir(target_dir):
562 apex_filepath = os.path.join(target_dir, apex_filename)
H A Dmerge_target_files.py968 def generate_super_empty_image(target_dir, output_super_empty): argument
979 misc_info_txt = os.path.join(target_dir, 'META', 'misc_info.txt')
988 super_empty_img = os.path.join(target_dir, 'IMAGES', 'super_empty.img')
H A Dota_from_target_files1482 target_dir = common.UnzipTemp(args[0], TARGET_DIFFING_UNZIP_PATTERN)
1488 '', source_dir, target_dir, out_file)
H A Dota_from_target_files.py1482 target_dir = common.UnzipTemp(args[0], TARGET_DIFFING_UNZIP_PATTERN)
1488 '', source_dir, target_dir, out_file)
/aosp12/frameworks/base/core/jni/
H A Dcom_android_internal_os_Zygote.cpp779 static bool BindMount(const std::string& source_dir, const std::string& target_dir) { in BindMount() argument
780 return !(TEMP_FAILURE_RETRY(mount(source_dir.c_str(), target_dir.c_str(), nullptr, in BindMount()
784 static void BindMount(const std::string& source_dir, const std::string& target_dir, in BindMount() argument
786 if (!BindMount(source_dir, target_dir)) { in BindMount()
788 source_dir.c_str(), target_dir.c_str(), strerror(errno))); in BindMount()
792 static void MountAppDataTmpFs(const std::string& target_dir, in MountAppDataTmpFs() argument
794 if (TEMP_FAILURE_RETRY(mount("tmpfs", target_dir.c_str(), "tmpfs", in MountAppDataTmpFs()
797 target_dir.c_str(), strerror(errno))); in MountAppDataTmpFs()