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 std::vector<std::shared_ptr<VolumeBase>> Disk::getVolumes() const { in getVolumes() 146 status_t Disk::create() { in create() 162 status_t Disk::destroy() { in destroy() 173 void Disk::createPublicVolume(dev_t device) { in createPublicVolume() 189 void Disk::createPrivateVolume(dev_t device, const std::string& partGuid) { in createPrivateVolume() 221 void Disk::createStubVolume() { in createStubVolume() [all …]
|
D | Disk.h | 39 class Disk { 41 Disk(const std::string& eventPath, dev_t device, const std::string& nickname, int flags); 42 virtual ~Disk(); 128 DISALLOW_COPY_AND_ASSIGN(Disk);
|
/system/vold/ |
D | VolumeManager.h | 82 std::shared_ptr<android::vold::Disk> findDisk(const std::string& id); 211 void handleDiskAdded(const std::shared_ptr<android::vold::Disk>& disk); 223 std::list<std::shared_ptr<android::vold::Disk>> mDisks; 224 std::list<std::shared_ptr<android::vold::Disk>> mPendingDisks; 234 std::shared_ptr<android::vold::Disk> mVirtualDisk;
|
D | VolumeManager.cpp | 148 auto disk = new android::vold::Disk( in updateVirtualDisk() 150 android::vold::Disk::Flags::kAdoptable | android::vold::Disk::Flags::kSd); in updateVirtualDisk() 151 mVirtualDisk = std::shared_ptr<android::vold::Disk>(disk); in updateVirtualDisk() 228 flags |= android::vold::Disk::Flags::kSd; in handleBlockEvent() 230 flags |= android::vold::Disk::Flags::kUsb; in handleBlockEvent() 234 new android::vold::Disk(eventPath, device, source->getNickname(), flags); in handleBlockEvent() 235 handleDiskAdded(std::shared_ptr<android::vold::Disk>(disk)); in handleBlockEvent() 257 void VolumeManager::handleDiskAdded(const std::shared_ptr<android::vold::Disk>& disk) { in handleDiskAdded() 314 std::shared_ptr<android::vold::Disk> VolumeManager::findDisk(const std::string& id) { in findDisk() 1136 passedFlags |= (flags & android::vold::Disk::Flags::kUsb); in createStubVolume() [all …]
|
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 | 144 "model/Disk.cpp",
|