Home | History | Annotate | Download | only in vold

Lines Matching refs:vol

96     for (auto vol : mVolumes) {
97 if (vol->getId() == id) {
98 return vol;
100 auto stackedVol = vol->findVolume(id);
109 for (auto vol : mVolumes) {
110 if (vol->getType() == type) {
111 list.push_back(vol->getId());
135 auto vol = std::shared_ptr<VolumeBase>(new PublicVolume(device));
138 vol->setSilent(true);
139 vol->create();
140 vol->format("auto");
141 vol->destroy();
142 vol->setSilent(false);
145 mVolumes.push_back(vol);
146 vol->setDiskId(getId());
147 vol->create();
165 auto vol = std::shared_ptr<VolumeBase>(new PrivateVolume(device, keyRaw));
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->setPartGuid(partGuid);
178 vol->create();
182 for (auto vol : mVolumes) {
183 vol->destroy();
336 for (auto vol : mVolumes) {
337 vol->unmount();