Home
last modified time | relevance | path

Searched refs:vol (Results 1 – 16 of 16) 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()
137 for (const auto& vol : mVolumes) { in getVolumes() local
138 vols.push_back(vol); in getVolumes()
139 auto stackedVolumes = vol->getVolumes(); in getVolumes()
[all …]
DVolumeBase.cpp173 for (auto vol : mVolumes) { in findVolume() local
174 if (vol->getId() == id) { in findVolume()
175 return vol; in findVolume()
250 for (const auto& vol : mVolumes) { in unmount() local
251 if (vol->destroy()) { in unmount()
252 LOG(WARNING) << getId() << " failed to destroy " << vol->getId() << " stacked above"; in unmount()
DPrivateVolume.cpp194 auto vol = std::shared_ptr<VolumeBase>( in doPostMount() local
196 vol->setMountUserId(user); in doPostMount()
197 addVolume(vol); in doPostMount()
198 vol->create(); in doPostMount()
DDisk.h84 void initializePartition(std::shared_ptr<StubVolume> vol);
/system/vold/
DVolumeManager.cpp189 auto vol = std::shared_ptr<android::vold::VolumeBase>( in start() local
191 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() local
325 if (vol->getId() == id) { in findVolume()
326 return vol; in findVolume()
330 auto vol = disk->findVolume(id); in findVolume() local
331 if (vol != nullptr) { in findVolume()
332 return vol; in findVolume()
[all …]
DMoveStorage.cpp178 static void bringOffline(const std::shared_ptr<VolumeBase>& vol) { in bringOffline() argument
179 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() argument
187 vol->destroy(); in bringOnline()
188 vol->setSilent(false); in bringOnline()
189 vol->create(); in bringOnline()
DVolumeManager.h87 for (const auto& vol : mInternalEmulatedVolumes) { in findVolumeWithFilter() local
88 if (fn(*vol)) { in findVolumeWithFilter()
89 return vol; in findVolumeWithFilter()
93 for (const auto& vol : disk->getVolumes()) { in findVolumeWithFilter() local
94 if (fn(*vol)) { in findVolumeWithFilter()
95 return vol; in findVolumeWithFilter()
DVoldNativeService.cpp274 auto vol = VolumeManager::Instance()->findVolume(volId); in mount() local
275 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() local
299 if (vol == nullptr) { in unmount()
302 return translate(vol->unmount()); in unmount()
[all …]
DIdleMaint.cpp98 PrivateVolume* vol = static_cast<PrivateVolume*>(vm->findVolume(id).get()); in addFromVolumeManager() local
99 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()
/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/private/
Dapp.te42 # Access to /mnt/media_rw/<vol> (limited by DAC to apps with external_storage gid)
Dzygote.te69 # Zygote opens /mnt/expand to mount CE DE storage on each vol
/system/sepolicy/prebuilts/api/31.0/private/
Dapp.te42 # Access to /mnt/media_rw/<vol> (limited by DAC to apps with external_storage gid)
Dzygote.te69 # Zygote opens /mnt/expand to mount CE DE storage on each vol
/system/sepolicy/prebuilts/api/30.0/private/
Dzygote.te60 # Zygote opens /mnt/expand to mount CE DE storage on each vol