/aosp12/frameworks/rs/ |
H A D | build_rs.py | 102 install_toolchain(build_dir, install_dir, host) 113 def install_toolchain(build_dir, install_dir, host): argument 115 install_clang_headers(build_dir, install_dir, host) 117 install_license_files(install_dir) 124 install_winpthreads(install_dir) 127 def install_winpthreads(install_dir): argument 193 def install_clang_headers(build_dir, install_dir, host): argument 204 install_dir, 'clang-include') 265 lib_dir = os.path.join(install_dir, 'platform') 286 def install_license_files(install_dir): argument [all …]
|
H A D | update-prebuilts.py | 134 def extract_package(package, install_dir): argument 135 cmd = ['tar', 'xf', package, '-C', install_dir]
|
/aosp12/system/extras/simpleperf/scripts/ |
H A D | update.py | 123 def remove_old_release(install_dir): argument 125 if os.path.exists(install_dir): 131 if os.path.exists(install_dir): 132 shutil.rmtree(install_dir) 135 def install_new_release(branch, build, install_dir): argument 138 install_entry(branch, build, install_dir, entry) 141 def install_entry(branch, build, install_dir, entry): argument 189 install_dir = 'bin' 193 remove_old_release(install_dir) 194 install_new_release(args.branch, args.build, install_dir) [all …]
|
/aosp12/system/gsid/ |
H A D | gsi_service.cpp | 139 install_dir_ = install_dir; in openInstall() 447 *_aidl_return = PartitionInstaller::WipeWritable(GetDsuSlot(install_dir), install_dir, name); in zeroPartition() 848 if (install_dir.empty() || install_dir == "/data/gsi") { in ValidateInstallParams() 849 install_dir = kDefaultDsuImageFolder; in ValidateInstallParams() 861 std::string origInstallDir = install_dir; in ValidateInstallParams() 868 install_dir += "/"; in ValidateInstallParams() 872 if (IsExternalStoragePath(install_dir)) { in ValidateInstallParams() 906 return installer_->install_dir(); in GetActiveInstalledImageDir() 956 auto active_dsu = GetDsuSlot(install_dir); in RemoveGsiFiles() 969 auto dsu_slot = GetDsuSlot(install_dir); in RemoveGsiFiles() [all …]
|
H A D | gsi_service.h | 41 binder::Status openInstall(const std::string& install_dir, int* _aidl_return) override; 79 static bool RemoveGsiFiles(const std::string& install_dir); 93 static int ValidateInstallParams(std::string& install_dir);
|
H A D | partition_installer.h | 53 static int WipeWritable(const std::string& active_dsu, const std::string& install_dir, 64 const std::string& install_dir() const { return install_dir_; } in install_dir() function
|
H A D | partition_installer.cpp | 42 PartitionInstaller::PartitionInstaller(GsiService* service, const std::string& install_dir, in PartitionInstaller() argument 46 install_dir_(install_dir), in PartitionInstaller() 324 int PartitionInstaller::WipeWritable(const std::string& active_dsu, const std::string& install_dir, in WipeWritable() argument 326 auto image = ImageManager::Open(MetadataDir(active_dsu), install_dir); in WipeWritable()
|
H A D | libgsi.cpp | 59 std::string GetDsuSlot(const std::string& install_dir) { in GetDsuSlot() argument 60 return android::base::Basename(install_dir); in GetDsuSlot()
|
/aosp12/packages/modules/ArtPrebuilt/ |
H A D | update-art-module-prebuilts.py | 241 install_dir, install_file = os.path.split(entry.install_path) 242 if install_dir and not os.path.exists(install_dir): 243 os.makedirs(install_dir) 246 fetch_artifact(BRANCH, TARGET, build, entry.source_path, install_dir) 248 check_call(["cp", os.path.join(local_dist, entry.source_path), install_dir]) 252 check_call(["mkdir", install_file], cwd=install_dir) 255 cwd=install_dir) 256 check_call(["rm", source_file], cwd=install_dir) 259 check_call(["mv", source_file, install_file], cwd=install_dir)
|
/aosp12/system/gsid/include/libgsi/ |
H A D | libgsi.h | 79 std::string GetDsuSlot(const std::string& install_dir);
|
/aosp12/system/core/fs_mgr/libsnapshot/ |
H A D | snapshot_fuzz.cpp | 57 std::string GetDsuSlot(const std::string& install_dir) { in GetDsuSlot() argument 58 LOG(FATAL) << "Called GetDsuSlot(" << install_dir << ")"; in GetDsuSlot()
|