Searched refs:vol (Results 1 – 16 of 16) sorted by relevance
114 for (auto vol : mVolumes) { in findVolume() local115 if (vol->getId() == id) { in findVolume()116 return vol; in findVolume()118 auto stackedVol = vol->findVolume(id); in findVolume()127 for (const auto& vol : mVolumes) { in listVolumes() local128 if (vol->getType() == type) { in listVolumes()129 list.push_back(vol->getId()); in listVolumes()137 for (const auto& vol : mVolumes) { in getVolumes() local138 vols.push_back(vol); in getVolumes()139 auto stackedVolumes = vol->getVolumes(); in getVolumes()[all …]
173 for (auto vol : mVolumes) { in findVolume() local174 if (vol->getId() == id) { in findVolume()175 return vol; in findVolume()250 for (const auto& vol : mVolumes) { in unmount() local251 if (vol->destroy()) { in unmount()252 LOG(WARNING) << getId() << " failed to destroy " << vol->getId() << " stacked above"; in unmount()
194 auto vol = std::shared_ptr<VolumeBase>( in doPostMount() local196 vol->setMountUserId(user); in doPostMount()197 addVolume(vol); in doPostMount()198 vol->create(); in doPostMount()
84 void initializePartition(std::shared_ptr<StubVolume> vol);
189 auto vol = std::shared_ptr<android::vold::VolumeBase>( in start() local191 vol->setMountUserId(0); in start()192 vol->create(); in start()193 mInternalEmulatedVolumes.push_back(vol); in start()324 for (const auto& vol : mInternalEmulatedVolumes) { in findVolume() local325 if (vol->getId() == id) { in findVolume()326 return vol; in findVolume()330 auto vol = disk->findVolume(id); in findVolume() local331 if (vol != nullptr) { in findVolume()332 return vol; in findVolume()[all …]
178 static void bringOffline(const std::shared_ptr<VolumeBase>& vol) { in bringOffline() argument179 vol->destroy(); in bringOffline()180 vol->setSilent(true); in bringOffline()181 vol->create(); in bringOffline()182 vol->setMountFlags(0); in bringOffline()183 vol->mount(); in bringOffline()186 static void bringOnline(const std::shared_ptr<VolumeBase>& vol) { in bringOnline() argument187 vol->destroy(); in bringOnline()188 vol->setSilent(false); in bringOnline()189 vol->create(); in bringOnline()
87 for (const auto& vol : mInternalEmulatedVolumes) { in findVolumeWithFilter() local88 if (fn(*vol)) { in findVolumeWithFilter()89 return vol; in findVolumeWithFilter()93 for (const auto& vol : disk->getVolumes()) { in findVolumeWithFilter() local94 if (fn(*vol)) { in findVolumeWithFilter()95 return vol; in findVolumeWithFilter()
274 auto vol = VolumeManager::Instance()->findVolume(volId); in mount() local275 if (vol == nullptr) { in mount()279 vol->setMountFlags(mountFlags); in mount()280 vol->setMountUserId(mountUserId); in mount()282 vol->setMountCallback(callback); in mount()283 int res = vol->mount(); in mount()284 vol->setMountCallback(nullptr); in mount()298 auto vol = VolumeManager::Instance()->findVolume(volId); in unmount() local299 if (vol == nullptr) { in unmount()302 return translate(vol->unmount()); in unmount()[all …]
98 PrivateVolume* vol = static_cast<PrivateVolume*>(vm->findVolume(id).get()); in addFromVolumeManager() local99 if (vol != nullptr && vol->getState() == VolumeBase::State::kMounted) { in addFromVolumeManager()101 paths->push_back(vol->getPath()); in addFromVolumeManager()104 const std::string& fs_type = vol->getFsType(); in addFromVolumeManager()105 if (fs_type == "f2fs" && (Realpath(vol->getRawDmDevPath(), &gc_path) || in addFromVolumeManager()106 Realpath(vol->getRawDevPath(), &gc_path))) { in addFromVolumeManager()
68 VolumeInterface* vol);
62 VolumeInterface* vol) { in Initialize() argument73 instance_->vol_ = vol; in Initialize()
42 # Access to /mnt/media_rw/<vol> (limited by DAC to apps with external_storage gid)
69 # Zygote opens /mnt/expand to mount CE DE storage on each vol
60 # Zygote opens /mnt/expand to mount CE DE storage on each vol