Lines Matching refs:vol
316 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
422 mPrimary = vol; in setPrimary()
694 auto vol = std::shared_ptr<android::vold::VolumeBase>( in createObb() local
696 vol->create(); in createObb()
698 mObbVolumes.push_back(vol); in createObb()
699 *outVolId = vol->getId(); in createObb()
720 auto vol = std::shared_ptr<android::vold::VolumeBase>( in createStubVolume() local
722 vol->create(); in createStubVolume()
724 mStubVolumes.push_back(vol); in createStubVolume()
725 *outVolId = vol->getId(); in createStubVolume()