• Home
  • History
  • Annotate
  • Raw
  • Download

Lines Matching refs:vold

265     mInternalEmulated = std::shared_ptr<android::vold::VolumeBase>(  in start()
266 new android::vold::EmulatedVolume("/data/media")); in start()
306 || (android::vold::IsRunningInEmulator() in handleBlockEvent()
309 flags |= android::vold::Disk::Flags::kSd; in handleBlockEvent()
311 flags |= android::vold::Disk::Flags::kUsb; in handleBlockEvent()
314 auto disk = new android::vold::Disk(eventPath, device, in handleBlockEvent()
317 mDisks.push_back(std::shared_ptr<android::vold::Disk>(disk)); in handleBlockEvent()
356 std::shared_ptr<android::vold::Disk> VolumeManager::findDisk(const std::string& id) { in findDisk()
365 std::shared_ptr<android::vold::VolumeBase> VolumeManager::findVolume(const std::string& id) { in findVolume()
378 void VolumeManager::listVolumes(android::vold::VolumeBase::Type type, in listVolumes()
392 if (vol != nullptr && vol->getState() == android::vold::VolumeBase::State::kMounted) { in benchmarkPrivate()
402 return android::vold::BenchmarkPrivate(path); in benchmarkPrivate()
407 if (android::vold::NormalizeHex(partGuid, normalizedGuid)) { in forgetPartition()
412 std::string keyPath = android::vold::BuildKeyPath(normalizedGuid); in forgetPartition()
423 if (mPrimary->getType() == android::vold::VolumeBase::Type::kEmulated) { in linkPrimary()
472 int VolumeManager::setPrimary(const std::shared_ptr<android::vold::VolumeBase>& vol) { in setPrimary()
526 if (android::vold::SaneReadLinkAt(dirfd(dir), "1/ns/mnt", rootName, PATH_MAX) == -1) { in remountUid()
551 if (android::vold::SaneReadLinkAt(pidFd, "ns/mnt", pidName, PATH_MAX) == -1) { in remountUid()
677 android::vold::ForceUnmount(path); in unmountAll()
894 formatStatus = android::vold::ext4::Format(dmDevice, numImgSectors, mountPoint); in createAsec()
896 formatStatus = android::vold::vfat::Format(dmDevice, numImgSectors); in createAsec()
923 mountStatus = android::vold::ext4::Mount(dmDevice, mountPoint, in createAsec()
926 mountStatus = android::vold::vfat::Mount(dmDevice, mountPoint, in createAsec()
1086 if (android::vold::ext4::Resize(dmDevice, numImgSectors)) { in resizeAsec()
1143 result = android::vold::ext4::Mount(loopDevice, mountPoint, in finalizeAsec()
1146 result = android::vold::vfat::Mount(loopDevice, mountPoint, in finalizeAsec()
1211 int ret = android::vold::ext4::Mount(loopDevice, mountPoint, in fixupAsecPermissions()
1273 result |= android::vold::ext4::Mount(loopDevice, mountPoint, in fixupAsecPermissions()
1709 result = android::vold::ext4::Mount(dmDevice, mountPoint, in mountAsec()
1712 result = android::vold::vfat::Mount(dmDevice, mountPoint, in mountAsec()
1802 if (android::vold::vfat::Mount(dmDevice, mountPoint, in mountObb()