Home
last modified time | relevance | path

Searched refs:active_dsu (Results 1 – 6 of 6) sorted by relevance

/system/gsid/
Dpartition_installer.h42 const std::string& active_dsu, int64_t size, bool read_only);
53 static int WipeWritable(const std::string& active_dsu, const std::string& install_dir,
Dlibgsi.cpp40 bool GetActiveDsu(std::string* active_dsu) { in GetActiveDsu() argument
41 return android::base::ReadFileToString(kDsuActiveFile, active_dsu); in GetActiveDsu()
Dpartition_installer.cpp47 const std::string& name, const std::string& active_dsu, in PartitionInstaller() argument
52 active_dsu_(active_dsu), in PartitionInstaller()
55 images_ = ImageManager::Open(MetadataDir(active_dsu), install_dir_); in PartitionInstaller()
334 int PartitionInstaller::WipeWritable(const std::string& active_dsu, const std::string& install_dir, in WipeWritable() argument
336 auto image = ImageManager::Open(MetadataDir(active_dsu), install_dir); in WipeWritable()
Dgsi_service.cpp821 std::string active_dsu; in GetActiveDsuSlot() local
822 return GetActiveDsu(&active_dsu) ? active_dsu : ""; in GetActiveDsuSlot()
838 std::string active_dsu; in GetInstalledImageDir() local
840 if (GetActiveDsu(&active_dsu) && in GetInstalledImageDir()
841 android::base::ReadFileToString(DsuInstallDirFile(active_dsu), &dir)) { in GetInstalledImageDir()
875 auto active_dsu = GetDsuSlot(install_dir); in RemoveGsiFiles() local
876 if (auto manager = ImageManager::Open(MetadataDir(active_dsu), install_dir)) { in RemoveGsiFiles()
976 std::string active_dsu; in RunStartupTasks() local
977 if (!GetActiveDsu(&active_dsu)) { in RunStartupTasks()
/system/gsid/include/libgsi/
Dlibgsi.h58 bool GetActiveDsu(std::string* active_dsu);
/system/core/init/
Dfirst_stage_mount.cpp591 std::string active_dsu; in UseDsuIfPresent() local
592 if (!gsi::GetActiveDsu(&active_dsu)) { in UseDsuIfPresent()
596 LOG(INFO) << "DSU slot: " << active_dsu; in UseDsuIfPresent()
597 auto images = IImageManager::Open("dsu/" + active_dsu, 0ms); in UseDsuIfPresent()