Searched refs:active_dsu (Results 1 – 6 of 6) sorted by relevance
/system/gsid/ |
D | partition_installer.h | 42 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,
|
D | libgsi.cpp | 40 bool GetActiveDsu(std::string* active_dsu) { in GetActiveDsu() argument 41 return android::base::ReadFileToString(kDsuActiveFile, active_dsu); in GetActiveDsu()
|
D | partition_installer.cpp | 47 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()
|
D | gsi_service.cpp | 821 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/ |
D | libgsi.h | 58 bool GetActiveDsu(std::string* active_dsu);
|
/system/core/init/ |
D | first_stage_mount.cpp | 591 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()
|