Home
last modified time | relevance | path

Searched refs:dsu_slot (Results 1 – 4 of 4) sorted by relevance

/system/gsid/include/libgsi/
Dlibgsi.h36 static inline std::string DsuLpMetadataFile(const std::string& dsu_slot) { in DsuLpMetadataFile() argument
37 return DSU_METADATA_PREFIX + dsu_slot + "/lp_metadata"; in DsuLpMetadataFile()
40 static inline std::string DsuInstallDirFile(const std::string& dsu_slot) { in DsuInstallDirFile() argument
41 return DSU_METADATA_PREFIX + dsu_slot + "/install_dir"; in DsuInstallDirFile()
/system/gsid/
Dfile_paths.h27 static inline std::string MetadataDir(const std::string& dsu_slot) { in MetadataDir() argument
28 return std::filesystem::path(DSU_METADATA_PREFIX) / dsu_slot; in MetadataDir()
Dgsi_service.cpp104 auto dsu_slot = GetDsuSlot(installation); in SaveInstallation() local
105 auto install_dir_file = DsuInstallDirFile(dsu_slot); in SaveInstallation()
116 PLOG(ERROR) << "write failed: " << DsuInstallDirFile(dsu_slot); in SaveInstallation()
135 auto dsu_slot = GetDsuSlot(install_dir_); in openInstall() local
136 if (!RemoveFileIfExists(GetCompleteIndication(dsu_slot), &message)) { in openInstall()
147 auto dsu_slot = GetDsuSlot(install_dir_); in closeInstall() local
148 std::string file = GetCompleteIndication(dsu_slot); in closeInstall()
896 auto dsu_slot = GetDsuSlot(install_dir); in RemoveGsiFiles() local
900 DsuInstallDirFile(dsu_slot), in RemoveGsiFiles()
901 GetCompleteIndication(dsu_slot), in RemoveGsiFiles()
[all …]
Dgsi_tool.cpp426 for (auto&& dsu_slot : dsu_slots) { in Status()
427 std::cout << "[" << n++ << "] " << dsu_slot << std::endl; in Status()
429 status = gsid->openImageService("dsu/" + dsu_slot + "/", &image_service); in Status()