Home
last modified time | relevance | path

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

/system/gsid/include/libgsi/
Dlibgsi.h94 static inline bool GetActiveDsu(std::string* active_dsu) { in GetActiveDsu() argument
95 return android::base::ReadFileToString(kDsuActiveFile, active_dsu); in GetActiveDsu()
/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,
Dpartition_installer.cpp43 const std::string& name, const std::string& active_dsu, in PartitionInstaller() argument
48 active_dsu_(active_dsu), in PartitionInstaller()
51 images_ = ImageManager::Open(MetadataDir(active_dsu), install_dir_); in PartitionInstaller()
324 int PartitionInstaller::WipeWritable(const std::string& active_dsu, const std::string& install_dir, in WipeWritable() argument
326 auto image = ImageManager::Open(MetadataDir(active_dsu), install_dir); in WipeWritable()
Dgsi_service.cpp898 std::string active_dsu; in GetActiveDsuSlot() local
899 return GetActiveDsu(&active_dsu) ? active_dsu : ""; in GetActiveDsuSlot()
915 std::string active_dsu; in GetInstalledImageDir() local
917 if (GetActiveDsu(&active_dsu) && in GetInstalledImageDir()
918 android::base::ReadFileToString(DsuInstallDirFile(active_dsu), &dir)) { in GetInstalledImageDir()
956 auto active_dsu = GetDsuSlot(install_dir); in RemoveGsiFiles() local
957 if (auto manager = ImageManager::Open(MetadataDir(active_dsu), install_dir)) { in RemoveGsiFiles()
1073 std::string active_dsu; in RunStartupTasks() local
1074 if (!GetActiveDsu(&active_dsu)) { in RunStartupTasks()
/system/core/init/
Dfirst_stage_mount.cpp650 std::string active_dsu; in UseDsuIfPresent() local
651 if (!gsi::GetActiveDsu(&active_dsu)) { in UseDsuIfPresent()
655 LOG(INFO) << "DSU slot: " << active_dsu; in UseDsuIfPresent()
656 auto images = IImageManager::Open("dsu/" + active_dsu, 0ms); in UseDsuIfPresent()
675 TransformFstabForDsu(&fstab_, active_dsu, dsu_partitions); in UseDsuIfPresent()