Searched refs:Disk (Results 1 – 6 of 6) sorted by relevance
79 Disk::Disk(const std::string& eventPath, dev_t device, in Disk() function in android::vold::Disk90 Disk::~Disk() { in ~Disk()95 std::shared_ptr<VolumeBase> Disk::findVolume(const std::string& id) { in findVolume()108 void Disk::listVolumes(VolumeBase::Type type, std::list<std::string>& list) { in listVolumes()117 status_t Disk::create() { in create()126 status_t Disk::destroy() { in destroy()134 void Disk::createPublicVolume(dev_t device) { in createPublicVolume()150 void Disk::createPrivateVolume(dev_t device, const std::string& partGuid) { in createPrivateVolume()181 void Disk::destroyAllVolumes() { in destroyAllVolumes()188 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);
118 std::shared_ptr<android::vold::Disk> findDisk(const std::string& id);209 std::list<std::shared_ptr<android::vold::Disk>> mDisks;
232 flags |= android::vold::Disk::Flags::kAdoptable; in process_config()237 flags |= android::vold::Disk::Flags::kDefaultPrimary; in process_config()
21 Disk.cpp \
303 flags |= android::vold::Disk::Flags::kSd; in handleBlockEvent()305 flags |= android::vold::Disk::Flags::kUsb; in handleBlockEvent()308 auto disk = new android::vold::Disk(eventPath, device, in handleBlockEvent()311 mDisks.push_back(std::shared_ptr<android::vold::Disk>(disk)); in handleBlockEvent()350 std::shared_ptr<android::vold::Disk> VolumeManager::findDisk(const std::string& id) { in findDisk()