Home
last modified time | relevance | path

Searched refs:vol (Results 1 – 12 of 12) sorted by relevance

/system/vold/model/
DDisk.cpp114 for (auto vol : mVolumes) { in findVolume() local
115 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() local
128 if (vol->getType() == type) { in listVolumes()
129 list.push_back(vol->getId()); in listVolumes()
159 auto vol = std::shared_ptr<VolumeBase>(new PublicVolume(device)); in createPublicVolume() local
162 vol->setSilent(true); in createPublicVolume()
163 vol->create(); in createPublicVolume()
[all …]
DVolumeBase.cpp163 for (auto vol : mVolumes) { in findVolume() local
164 if (vol->getId() == id) { in findVolume()
165 return vol; in findVolume()
234 for (const auto& vol : mVolumes) { in unmount() local
235 if (vol->destroy()) { in unmount()
236 LOG(WARNING) << getId() << " failed to destroy " << vol->getId() << " stacked above"; in unmount()
DPrivateVolume.cpp160 auto vol = std::shared_ptr<VolumeBase>(new EmulatedVolume(mediaPath, mRawDevice, mFsUuid)); in doMount() local
161 addVolume(vol); in doMount()
162 vol->create(); in doMount()
/system/vold/
DMoveStorage.cpp180 static void bringOffline(const std::shared_ptr<VolumeBase>& vol) { in bringOffline() argument
181 vol->destroy(); in bringOffline()
182 vol->setSilent(true); in bringOffline()
183 vol->create(); in bringOffline()
184 vol->setMountFlags(0); in bringOffline()
185 vol->mount(); in bringOffline()
188 static void bringOnline(const std::shared_ptr<VolumeBase>& vol) { in bringOnline() argument
189 vol->destroy(); in bringOnline()
190 vol->setSilent(false); in bringOnline()
191 vol->create(); in bringOnline()
DVolumeManager.cpp316 auto vol = disk->findVolume(id); in findVolume() local
317 if (vol != nullptr) { in findVolume()
318 return vol; in findVolume()
321 for (const auto& vol : mStubVolumes) { in findVolume() local
322 if (vol->getId() == id) { in findVolume()
323 return vol; in findVolume()
326 for (const auto& vol : mObbVolumes) { in findVolume() local
327 if (vol->getId() == id) { in findVolume()
328 return vol; in findVolume()
421 int VolumeManager::setPrimary(const std::shared_ptr<android::vold::VolumeBase>& vol) { in setPrimary() argument
[all …]
DVoldNativeService.cpp261 auto vol = VolumeManager::Instance()->findVolume(volId); in mount() local
262 if (vol == nullptr) { in mount()
266 vol->setMountFlags(mountFlags); in mount()
267 vol->setMountUserId(mountUserId); in mount()
269 int res = vol->mount(); in mount()
274 res = VolumeManager::Instance()->setPrimary(vol); in mount()
287 auto vol = VolumeManager::Instance()->findVolume(volId); in unmount() local
288 if (vol == nullptr) { in unmount()
291 return translate(vol->unmount()); in unmount()
299 auto vol = VolumeManager::Instance()->findVolume(volId); in format() local
[all …]
DIdleMaint.cpp90 PrivateVolume* vol = static_cast<PrivateVolume*>(vm->findVolume(id).get()); in addFromVolumeManager() local
91 if (vol != nullptr && vol->getState() == VolumeBase::State::kMounted) { in addFromVolumeManager()
93 paths->push_back(vol->getPath()); in addFromVolumeManager()
96 const std::string& fs_type = vol->getFsType(); in addFromVolumeManager()
97 if (fs_type == "f2fs" && (Realpath(vol->getRawDmDevPath(), &gc_path) || in addFromVolumeManager()
98 Realpath(vol->getRawDevPath(), &gc_path))) { in addFromVolumeManager()
DVolumeManager.h96 int setPrimary(const std::shared_ptr<android::vold::VolumeBase>& vol);
/system/bt/profile/avrcp/
Dconnection_handler.h68 VolumeInterface* vol);
Dconnection_handler.cc62 VolumeInterface* vol) { in Initialize() argument
73 instance_->vol_ = vol; in Initialize()
/system/sepolicy/prebuilts/api/30.0/private/
Dzygote.te60 # Zygote opens /mnt/expand to mount CE DE storage on each vol
/system/sepolicy/private/
Dzygote.te60 # Zygote opens /mnt/expand to mount CE DE storage on each vol