Searched refs:Disk (Results 1 – 6 of 6) sorted by relevance
108 Disk::Disk(const std::string& eventPath, dev_t device, in Disk() function in android::vold::Disk119 Disk::~Disk() { in ~Disk()124 std::shared_ptr<VolumeBase> Disk::findVolume(const std::string& id) { in findVolume()137 void Disk::listVolumes(VolumeBase::Type type, std::list<std::string>& list) { in listVolumes()146 status_t Disk::create() { in create()155 status_t Disk::destroy() { in destroy()163 void Disk::createPublicVolume(dev_t device) { in createPublicVolume()179 void Disk::createPrivateVolume(dev_t device, const std::string& partGuid) { in createPrivateVolume()210 void Disk::destroyAllVolumes() { in destroyAllVolumes()217 status_t Disk::readMetadata() { in readMetadata()[all …]
38 class Disk {40 Disk(const std::string& eventPath, dev_t device, const std::string& nickname, int flags);41 virtual ~Disk();118 DISALLOW_COPY_AND_ASSIGN(Disk);
232 flags |= android::vold::Disk::Flags::kAdoptable; in process_config()237 flags |= android::vold::Disk::Flags::kDefaultPrimary; in process_config()
118 std::shared_ptr<android::vold::Disk> findDisk(const std::string& id);209 std::list<std::shared_ptr<android::vold::Disk>> mDisks;
21 Disk.cpp \
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()