Home | History | Annotate | Download | only in vold

Lines Matching refs:vol

126     for (auto vol : mVolumes) {
127 if (vol->getId() == id) {
128 return vol;
130 auto stackedVol = vol->findVolume(id);
139 for (auto vol : mVolumes) {
140 if (vol->getType() == type) {
141 list.push_back(vol->getId());
165 auto vol = std::shared_ptr<VolumeBase>(new PublicVolume(device));
168 vol->setSilent(true);
169 vol->create();
170 vol->format("auto");
171 vol->destroy();
172 vol->setSilent(false);
175 mVolumes.push_back(vol);
176 vol->setDiskId(getId());
177 vol->create();
195 auto vol = std::shared_ptr<VolumeBase>(new PrivateVolume(device, keyRaw));
198 vol->setSilent(true);
199 vol->create();
200 vol->format("auto");
201 vol->destroy();
202 vol->setSilent(false);
205 mVolumes.push_back(vol);
206 vol->setDiskId(getId());
207 vol->setPartGuid(partGuid);
208 vol->create();
212 for (auto vol : mVolumes) {
213 vol->destroy();
373 for (auto vol : mVolumes) {
374 vol->unmount();