Searched refs:Disk (Results 1 – 6 of 6) sorted by relevance
/system/vold/model/ |
D | Disk.cpp | 94 Disk::Disk(const std::string& eventPath, dev_t device, const std::string& nickname, int flags) in Disk() function in android::vold::Disk 108 Disk::~Disk() { in ~Disk() 113 std::shared_ptr<VolumeBase> Disk::findVolume(const std::string& id) { in findVolume() 126 void Disk::listVolumes(VolumeBase::Type type, std::list<std::string>& list) const { in listVolumes() 135 status_t Disk::create() { in create() 147 status_t Disk::destroy() { in destroy() 158 void Disk::createPublicVolume(dev_t device) { in createPublicVolume() 174 void Disk::createPrivateVolume(dev_t device, const std::string& partGuid) { in createPrivateVolume() 206 void Disk::destroyAllVolumes() { in destroyAllVolumes() 213 status_t Disk::readMetadata() { in readMetadata() [all …]
|
D | Disk.h | 38 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/ |
D | VolumeManager.h | 82 std::shared_ptr<android::vold::Disk> findDisk(const std::string& id); 140 void handleDiskAdded(const std::shared_ptr<android::vold::Disk>& disk); 150 std::list<std::shared_ptr<android::vold::Disk>> mDisks; 151 std::list<std::shared_ptr<android::vold::Disk>> mPendingDisks; 159 std::shared_ptr<android::vold::Disk> mVirtualDisk;
|
D | VolumeManager.cpp | 136 auto disk = new android::vold::Disk( in updateVirtualDisk() 138 android::vold::Disk::Flags::kAdoptable | android::vold::Disk::Flags::kSd); in updateVirtualDisk() 139 mVirtualDisk = std::shared_ptr<android::vold::Disk>(disk); in updateVirtualDisk() 220 flags |= android::vold::Disk::Flags::kSd; in handleBlockEvent() 222 flags |= android::vold::Disk::Flags::kUsb; in handleBlockEvent() 226 new android::vold::Disk(eventPath, device, source->getNickname(), flags); in handleBlockEvent() 227 handleDiskAdded(std::shared_ptr<android::vold::Disk>(disk)); in handleBlockEvent() 249 void VolumeManager::handleDiskAdded(const std::shared_ptr<android::vold::Disk>& disk) { in handleDiskAdded() 299 std::shared_ptr<android::vold::Disk> VolumeManager::findDisk(const std::string& id) { in findDisk()
|
D | main.cpp | 261 flags |= android::vold::Disk::Flags::kAdoptable; in process_config() 266 flags |= android::vold::Disk::Flags::kDefaultPrimary; in process_config()
|
D | Android.bp | 140 "model/Disk.cpp",
|