Home
last modified time | relevance | path

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

/system/gsid/
Dlibgsi.cpp49 return !access(kDsuInstallStatusFile, F_OK); in IsGsiInstalled()
102 if (!WriteAndSyncFile(new_key, kDsuInstallStatusFile)) { in CanBootIntoGsi()
117 return android::base::WriteStringToFile(kInstallStatusWipe, kDsuInstallStatusFile); in UninstallGsi()
121 return android::base::WriteStringToFile(kInstallStatusDisabled, kDsuInstallStatusFile); in DisableGsi()
129 return android::base::ReadFileToString(kDsuInstallStatusFile, status); in GetInstallStatus()
Dfile_paths.h38 static constexpr char kDsuInstallStatusFile[] = DSU_METADATA_PREFIX "install_status"; variable
Dgsi_service.cpp468 if (!android::base::WriteStringToFile("0", kDsuInstallStatusFile)) { in CreateInstallStatusFile()
469 PLOG(ERROR) << "write " << kDsuInstallStatusFile; in CreateInstallStatusFile()
854 PLOG(ERROR) << "read " << kDsuInstallStatusFile; in ReenableGsi()
890 kDsuInstallStatusFile, in RemoveGsiFiles()
929 if (access(kDsuInstallStatusFile, F_OK) != 0) { in IsInstallationComplete()
983 PLOG(ERROR) << "read " << kDsuInstallStatusFile; in RunStartupTasks()
999 if (!android::base::WriteStringToFile(kInstallStatusOk, kDsuInstallStatusFile)) { in RunStartupTasks()
1000 PLOG(ERROR) << "write " << kDsuInstallStatusFile; in RunStartupTasks()