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.cpp96 auto dsu_slot = GetDsuSlot(installation); in SaveInstallation() local
97 auto install_dir_file = DsuInstallDirFile(dsu_slot); in SaveInstallation()
108 PLOG(ERROR) << "write failed: " << DsuInstallDirFile(dsu_slot); in SaveInstallation()
127 auto dsu_slot = GetDsuSlot(install_dir_); in openInstall() local
128 if (!RemoveFileIfExists(GetCompleteIndication(dsu_slot), &message)) { in openInstall()
139 auto dsu_slot = GetDsuSlot(install_dir_); in closeInstall() local
140 std::string file = GetCompleteIndication(dsu_slot); in closeInstall()
888 auto dsu_slot = GetDsuSlot(install_dir); in RemoveGsiFiles() local
892 DsuInstallDirFile(dsu_slot), in RemoveGsiFiles()
893 GetCompleteIndication(dsu_slot), in RemoveGsiFiles()
[all …]
Dgsi_tool.cpp425 for (auto&& dsu_slot : dsu_slots) { in Status()
426 std::cout << "[" << n++ << "] " << dsu_slot << std::endl; in Status()
428 status = gsid->openImageService("dsu/" + dsu_slot + "/", &image_service); in Status()