Home
last modified time | relevance | path

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

/system/extras/simpleperf/scripts/
Dupdate.py118 def remove_old_release(install_dir): argument
120 if os.path.exists(install_dir):
121 logger().info('Removing old install directory "%s"', install_dir)
122 check_call(['git', 'rm', '-rf', '--ignore-unmatch', install_dir])
126 if os.path.exists(install_dir):
127 shutil.rmtree(install_dir)
130 def install_new_release(branch, build, install_dir): argument
133 install_entry(branch, build, install_dir, entry)
136 def install_entry(branch, build, install_dir, entry): argument
140 install_path = os.path.join(install_dir, entry.install_path)
[all …]
/system/gsid/
Dgsi_service.cpp223 std::string install_dir; in removeGsiInstall() local
225 install_dir = install_dir_; in removeGsiInstall()
228 install_dir = GetInstalledImageDir(); in removeGsiInstall()
235 *_aidl_return = RemoveGsiFiles(install_dir, true /* wipeUserdata */); in removeGsiInstall()
1043 bool GsiService::RemoveGsiFiles(const std::string& install_dir, bool wipeUserdata) { in RemoveGsiFiles() argument
1046 if (!SplitFiemap::RemoveSplitFiles(GetImagePath(install_dir, "system_gsi"), &message)) { in RemoveGsiFiles()
1051 !SplitFiemap::RemoveSplitFiles(GetImagePath(install_dir, "userdata_gsi"), &message)) { in RemoveGsiFiles()
Dgsi_service.h129 static bool RemoveGsiFiles(const std::string& install_dir, bool wipeUserdata);