Searched refs:VolumeBase (Results 1 – 17 of 17) sorted by relevance
/system/vold/ |
D | VolumeBase.cpp | 38 VolumeBase::VolumeBase(Type type) : in VolumeBase() function in android::vold::VolumeBase 43 VolumeBase::~VolumeBase() { in ~VolumeBase() 47 void VolumeBase::setState(State state) { in setState() 52 status_t VolumeBase::setDiskId(const std::string& diskId) { in setDiskId() 62 status_t VolumeBase::setPartGuid(const std::string& partGuid) { in setPartGuid() 72 status_t VolumeBase::setMountFlags(int mountFlags) { in setMountFlags() 82 status_t VolumeBase::setMountUserId(userid_t mountUserId) { in setMountUserId() 92 status_t VolumeBase::setSilent(bool silent) { in setSilent() 102 status_t VolumeBase::setId(const std::string& id) { in setId() 112 status_t VolumeBase::setPath(const std::string& path) { in setPath() [all …]
|
D | VolumeBase.h | 46 class VolumeBase { 48 virtual ~VolumeBase(); 93 void addVolume(const std::shared_ptr<VolumeBase>& volume); 94 void removeVolume(const std::shared_ptr<VolumeBase>& volume); 96 std::shared_ptr<VolumeBase> findVolume(const std::string& id); 105 explicit VolumeBase(Type type); 145 std::list<std::shared_ptr<VolumeBase>> mVolumes; 149 DISALLOW_COPY_AND_ASSIGN(VolumeBase);
|
D | MoveTask.h | 30 MoveTask(const std::shared_ptr<VolumeBase>& from, const std::shared_ptr<VolumeBase>& to); 36 std::shared_ptr<VolumeBase> mFrom; 37 std::shared_ptr<VolumeBase> mTo;
|
D | Disk.h | 30 class VolumeBase; variable 66 std::shared_ptr<VolumeBase> findVolume(const std::string& id); 68 void listVolumes(VolumeBase::Type type, std::list<std::string>& list); 101 std::vector<std::shared_ptr<VolumeBase>> mVolumes;
|
D | MoveTask.cpp | 46 MoveTask::MoveTask(const std::shared_ptr<VolumeBase>& from, in MoveTask() 47 const std::shared_ptr<VolumeBase>& to) : in MoveTask() 159 static void bringOffline(const std::shared_ptr<VolumeBase>& vol) { in bringOffline() 167 static void bringOnline(const std::shared_ptr<VolumeBase>& vol) { in bringOnline() 180 if (mFrom->getType() != VolumeBase::Type::kEmulated) goto fail; in run() 181 if (mTo->getType() != VolumeBase::Type::kEmulated) goto fail; in run()
|
D | VolumeManager.h | 119 std::shared_ptr<android::vold::VolumeBase> findVolume(const std::string& id); 121 void listVolumes(android::vold::VolumeBase::Type type, std::list<std::string>& list); 132 int setPrimary(const std::shared_ptr<android::vold::VolumeBase>& vol); 214 std::shared_ptr<android::vold::VolumeBase> mInternalEmulated; 215 std::shared_ptr<android::vold::VolumeBase> mPrimary;
|
D | EmulatedVolume.cpp | 40 VolumeBase(Type::kEmulated), mFusePid(0) { in EmulatedVolume() 47 const std::string& fsUuid) : VolumeBase(Type::kEmulated), mFusePid(0) { in EmulatedVolume()
|
D | TrimTask.cpp | 55 vm->listVolumes(VolumeBase::Type::kPrivate, privateIds); in TrimTask() 58 if (vol != nullptr && vol->getState() == VolumeBase::State::kMounted) { in TrimTask()
|
D | EmulatedVolume.h | 38 class EmulatedVolume : public VolumeBase {
|
D | PrivateVolume.h | 38 class PrivateVolume : public VolumeBase {
|
D | PublicVolume.h | 40 class PublicVolume : public VolumeBase {
|
D | PrivateVolume.cpp | 47 VolumeBase(Type::kPrivate), mRawDevice(device), mKeyRaw(keyRaw) { in PrivateVolume() 173 auto vol = std::shared_ptr<VolumeBase>( in doMount()
|
D | Disk.cpp | 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() 164 auto vol = std::shared_ptr<VolumeBase>(new PublicVolume(device)); in createPublicVolume() 194 auto vol = std::shared_ptr<VolumeBase>(new PrivateVolume(device, keyRaw)); in createPrivateVolume()
|
D | Android.mk | 22 VolumeBase.cpp \
|
D | VolumeManager.cpp | 265 mInternalEmulated = std::shared_ptr<android::vold::VolumeBase>( in start() 365 std::shared_ptr<android::vold::VolumeBase> VolumeManager::findVolume(const std::string& id) { in findVolume() 378 void VolumeManager::listVolumes(android::vold::VolumeBase::Type type, in listVolumes() 392 if (vol != nullptr && vol->getState() == android::vold::VolumeBase::State::kMounted) { in benchmarkPrivate() 423 if (mPrimary->getType() == android::vold::VolumeBase::Type::kEmulated) { in linkPrimary() 472 int VolumeManager::setPrimary(const std::shared_ptr<android::vold::VolumeBase>& vol) { in setPrimary()
|
D | PublicVolume.cpp | 45 VolumeBase(Type::kPublic), mDevice(device), mFusePid(0) { in PublicVolume()
|
D | CommandListener.cpp | 223 if (mountFlags & android::vold::VolumeBase::MountFlags::kPrimary) { in runCommand()
|