Lines Matching refs:dsu_slot
96 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()
924 std::string GsiService::GetCompleteIndication(const std::string& dsu_slot) { in GetCompleteIndication() argument
925 return DSU_METADATA_PREFIX + dsu_slot + "/complete"; in GetCompleteIndication()
928 bool GsiService::IsInstallationComplete(const std::string& dsu_slot) { in IsInstallationComplete() argument
932 std::string file = GetCompleteIndication(dsu_slot); in IsInstallationComplete()
949 auto dsu_slot = std::string(de->d_name); in GetInstalledDsuSlots() local
950 if (access(DsuInstallDirFile(dsu_slot).c_str(), F_OK) != 0) { in GetInstalledDsuSlots()
953 dsu_slots.push_back(dsu_slot); in GetInstalledDsuSlots()