Home
last modified time | relevance | path

Searched refs:Disk (Results 1 – 6 of 6) sorted by relevance

/system/vold/model/
DDisk.cpp117 Disk::Disk(const std::string& eventPath, dev_t device, in Disk() function in android::vold::Disk
128 Disk::~Disk() { in ~Disk()
133 std::shared_ptr<VolumeBase> Disk::findVolume(const std::string& id) { in findVolume()
146 void Disk::listVolumes(VolumeBase::Type type, std::list<std::string>& list) { in listVolumes()
155 status_t Disk::create() { in create()
167 status_t Disk::destroy() { in destroy()
178 void Disk::createPublicVolume(dev_t device) { in createPublicVolume()
194 void Disk::createPrivateVolume(dev_t device, const std::string& partGuid) { in createPrivateVolume()
225 void Disk::destroyAllVolumes() { in destroyAllVolumes()
232 status_t Disk::readMetadata() { in readMetadata()
[all …]
DDisk.h38 class Disk {
40 Disk(const std::string& eventPath, dev_t device, const std::string& nickname, int flags);
41 virtual ~Disk();
115 DISALLOW_COPY_AND_ASSIGN(Disk);
/system/vold/
DVolumeManager.h85 std::shared_ptr<android::vold::Disk> findDisk(const std::string& id);
137 void handleDiskAdded(const std::shared_ptr<android::vold::Disk>& disk);
147 std::list<std::shared_ptr<android::vold::Disk>> mDisks;
148 std::list<std::shared_ptr<android::vold::Disk>> mPendingDisks;
155 std::shared_ptr<android::vold::Disk> mVirtualDisk;
DVolumeManager.cpp120 auto disk = new android::vold::Disk("virtual", buf.st_rdev, "virtual", in updateVirtualDisk()
121 android::vold::Disk::Flags::kAdoptable | android::vold::Disk::Flags::kSd); in updateVirtualDisk()
122 mVirtualDisk = std::shared_ptr<android::vold::Disk>(disk); in updateVirtualDisk()
206 flags |= android::vold::Disk::Flags::kSd; in handleBlockEvent()
208 flags |= android::vold::Disk::Flags::kUsb; in handleBlockEvent()
211 auto disk = new android::vold::Disk(eventPath, device, in handleBlockEvent()
213 handleDiskAdded(std::shared_ptr<android::vold::Disk>(disk)); in handleBlockEvent()
235 void VolumeManager::handleDiskAdded(const std::shared_ptr<android::vold::Disk>& disk) { in handleDiskAdded()
285 std::shared_ptr<android::vold::Disk> VolumeManager::findDisk(const std::string& id) { in findDisk()
Dmain.cpp248 flags |= android::vold::Disk::Flags::kAdoptable; in process_config()
253 flags |= android::vold::Disk::Flags::kDefaultPrimary; in process_config()
DAndroid.bp123 "model/Disk.cpp",