• Home
  • Raw
  • Download

Lines Matching refs:disk

148             auto disk = new android::vold::Disk(  in updateVirtualDisk()  local
151 mVirtualDisk = std::shared_ptr<android::vold::Disk>(disk); in updateVirtualDisk()
233 auto disk = in handleBlockEvent() local
235 handleDiskAdded(std::shared_ptr<android::vold::Disk>(disk)); in handleBlockEvent()
257 void VolumeManager::handleDiskAdded(const std::shared_ptr<android::vold::Disk>& disk) { in handleDiskAdded() argument
264 LOG(INFO) << "Found disk at " << disk->getEventPath() in handleDiskAdded()
266 mPendingDisks.push_back(disk); in handleDiskAdded()
268 LOG(INFO) << "Found disk at " << disk->getEventPath() in handleDiskAdded()
270 mPendingDisks.push_back(disk); in handleDiskAdded()
272 disk->create(); in handleDiskAdded()
273 mDisks.push_back(disk); in handleDiskAdded()
278 for (const auto& disk : mDisks) { in handleDiskChanged() local
279 if (disk->getDevice() == device) { in handleDiskChanged()
280 disk->readMetadata(); in handleDiskChanged()
281 disk->readPartitions(); in handleDiskChanged()
315 for (auto disk : mDisks) { in findDisk() local
316 if (disk->getId() == id) { in findDisk()
317 return disk; in findDisk()
329 for (const auto& disk : mDisks) { in findVolume() local
330 auto vol = disk->findVolume(id); in findVolume()
346 for (const auto& disk : mDisks) { in listVolumes() local
347 disk->listVolumes(type, list); in listVolumes()
474 for (const auto& disk : mPendingDisks) { in createPendingDisksIfNeeded() local
475 disk->create(); in createPendingDisksIfNeeded()
476 mDisks.push_back(disk); in createPendingDisksIfNeeded()
902 for (const auto& disk : mDisks) { in reset() local
903 disk->destroy(); in reset()
904 disk->create(); in reset()
921 for (const auto& disk : mDisks) { in shutdown() local
922 disk->destroy(); in shutdown()
941 for (const auto& disk : mDisks) { in unmountAll() local
942 disk->unmountAll(); in unmountAll()
1145 auto disk = std::shared_ptr<android::vold::Disk>( in createStubVolume() local
1147 disk->initializePartition(vol); in createStubVolume()
1148 handleDiskAdded(disk); in createStubVolume()