Home
last modified time | relevance | path

Searched refs:install_dir (Results 1 – 8 of 8) sorted by relevance

/system/extras/simpleperf/scripts/
Dupdate.py133 def remove_old_release(install_dir): argument
135 if os.path.exists(install_dir):
136 logger().info('Removing old install directory "%s"', install_dir)
137 check_call(['git', 'rm', '-rf', '--ignore-unmatch', install_dir])
141 if os.path.exists(install_dir):
142 shutil.rmtree(install_dir)
145 def install_new_release(branch, build, install_dir): argument
148 install_entry(branch, build, install_dir, entry)
151 def install_entry(branch, build, install_dir, entry): argument
155 install_path = os.path.join(install_dir, entry.install_path)
[all …]
/system/gsid/
Dgsi_service.cpp114 binder::Status GsiService::openInstall(const std::string& install_dir, int* _aidl_return) { in openInstall() argument
121 install_dir_ = install_dir; in openInstall()
319 std::string install_dir = GetActiveInstalledImageDir(); in removeGsi() local
325 *_aidl_return = RemoveGsiFiles(install_dir); in removeGsi()
406 std::string install_dir = GetActiveInstalledImageDir(); in zeroPartition() local
407 *_aidl_return = PartitionInstaller::WipeWritable(GetDsuSlot(install_dir), install_dir, name); in zeroPartition()
775 int GsiService::ValidateInstallParams(std::string& install_dir) { in ValidateInstallParams() argument
779 if (install_dir.empty() || install_dir == "/data/gsi") { in ValidateInstallParams()
780 install_dir = kDefaultDsuImageFolder; in ValidateInstallParams()
784 std::string origInstallDir = install_dir; in ValidateInstallParams()
[all …]
Dpartition_installer.h53 static int WipeWritable(const std::string& active_dsu, const std::string& install_dir,
60 const std::string& install_dir() const { return install_dir_; } in install_dir() function
Dlibgsi.cpp63 std::string GetDsuSlot(const std::string& install_dir) { in GetDsuSlot() argument
64 return android::base::Basename(install_dir); in GetDsuSlot()
Dgsi_service.h41 binder::Status openInstall(const std::string& install_dir, int* _aidl_return) override;
77 static bool RemoveGsiFiles(const std::string& install_dir);
91 static int ValidateInstallParams(std::string& install_dir);
Dpartition_installer.cpp46 PartitionInstaller::PartitionInstaller(GsiService* service, const std::string& install_dir, in PartitionInstaller() argument
50 install_dir_(install_dir), in PartitionInstaller()
334 int PartitionInstaller::WipeWritable(const std::string& active_dsu, const std::string& install_dir, in WipeWritable() argument
336 auto image = ImageManager::Open(MetadataDir(active_dsu), install_dir); in WipeWritable()
/system/gsid/include/libgsi/
Dlibgsi.h46 std::string GetDsuSlot(const std::string& install_dir);
/system/core/fs_mgr/libsnapshot/
Dsnapshot_fuzz.cpp57 std::string GetDsuSlot(const std::string& install_dir) { in GetDsuSlot() argument
58 LOG(FATAL) << "Called GetDsuSlot(" << install_dir << ")"; in GetDsuSlot()