Lines Matching refs:vol
320 auto vol = disk->findVolume(id); in findVolume() local
321 if (vol != nullptr) { in findVolume()
322 return vol; in findVolume()
325 for (const auto& vol : mStubVolumes) { in findVolume() local
326 if (vol->getId() == id) { in findVolume()
327 return vol; in findVolume()
330 for (const auto& vol : mObbVolumes) { in findVolume() local
331 if (vol->getId() == id) { in findVolume()
332 return vol; in findVolume()
425 int VolumeManager::setPrimary(const std::shared_ptr<android::vold::VolumeBase>& vol) { in setPrimary() argument
426 mPrimary = vol; in setPrimary()
698 auto vol = std::shared_ptr<android::vold::VolumeBase>( in createObb() local
700 vol->create(); in createObb()
702 mObbVolumes.push_back(vol); in createObb()
703 *outVolId = vol->getId(); in createObb()
724 auto vol = std::shared_ptr<android::vold::VolumeBase>( in createStubVolume() local
726 vol->create(); in createStubVolume()
728 mStubVolumes.push_back(vol); in createStubVolume()
729 *outVolId = vol->getId(); in createStubVolume()