Searched refs:VolumeBase (Results 1 – 21 of 21) sorted by relevance
/system/vold/model/ |
D | VolumeBase.cpp | 35 VolumeBase::VolumeBase(Type type) in VolumeBase() function in android::vold::VolumeBase 43 VolumeBase::~VolumeBase() { in ~VolumeBase() 47 void VolumeBase::setState(State state) { in setState() 56 status_t VolumeBase::setDiskId(const std::string& diskId) { in setDiskId() 66 status_t VolumeBase::setPartGuid(const std::string& partGuid) { in setPartGuid() 76 status_t VolumeBase::setMountFlags(int mountFlags) { in setMountFlags() 86 status_t VolumeBase::setMountUserId(userid_t mountUserId) { in setMountUserId() 96 status_t VolumeBase::setSilent(bool silent) { in setSilent() 106 status_t VolumeBase::setId(const std::string& id) { in setId() 116 status_t VolumeBase::setPath(const std::string& path) { in setPath() [all …]
|
D | VolumeBase.h | 49 class VolumeBase { 51 virtual ~VolumeBase(); 97 void addVolume(const std::shared_ptr<VolumeBase>& volume); 98 void removeVolume(const std::shared_ptr<VolumeBase>& volume); 100 std::shared_ptr<VolumeBase> findVolume(const std::string& id); 113 explicit VolumeBase(Type type); 152 std::list<std::shared_ptr<VolumeBase>> mVolumes; 156 DISALLOW_COPY_AND_ASSIGN(VolumeBase);
|
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) const; 98 std::vector<std::shared_ptr<VolumeBase>> mVolumes;
|
D | EmulatedVolume.cpp | 43 : VolumeBase(Type::kEmulated), mFusePid(0) { in EmulatedVolume() 50 : VolumeBase(Type::kEmulated), mFusePid(0) { in EmulatedVolume()
|
D | ObbVolume.h | 30 class ObbVolume : public VolumeBase {
|
D | EmulatedVolume.h | 38 class EmulatedVolume : public VolumeBase {
|
D | StubVolume.h | 32 class StubVolume : public VolumeBase {
|
D | PublicVolume.h | 40 class PublicVolume : public VolumeBase {
|
D | StubVolume.cpp | 30 : VolumeBase(Type::kStub), in StubVolume()
|
D | PrivateVolume.h | 38 class PrivateVolume : public VolumeBase {
|
D | PrivateVolume.cpp | 49 : VolumeBase(Type::kPrivate), mRawDevice(device), mKeyRaw(keyRaw) { in PrivateVolume() 160 auto vol = std::shared_ptr<VolumeBase>(new EmulatedVolume(mediaPath, mRawDevice, mFsUuid)); in doMount()
|
D | Disk.cpp | 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() 159 auto vol = std::shared_ptr<VolumeBase>(new PublicVolume(device)); in createPublicVolume() 190 auto vol = std::shared_ptr<VolumeBase>(new PrivateVolume(device, keyBuffer)); in createPrivateVolume()
|
D | ObbVolume.cpp | 44 : VolumeBase(Type::kObb) { in ObbVolume()
|
D | PublicVolume.cpp | 48 PublicVolume::PublicVolume(dev_t device) : VolumeBase(Type::kPublic), mDevice(device), mFusePid(0) { in PublicVolume()
|
/system/vold/ |
D | VolumeManager.h | 83 std::shared_ptr<android::vold::VolumeBase> findVolume(const std::string& id); 85 void listVolumes(android::vold::VolumeBase::Type type, std::list<std::string>& list) const; 96 int setPrimary(const std::shared_ptr<android::vold::VolumeBase>& vol); 152 std::list<std::shared_ptr<android::vold::VolumeBase>> mObbVolumes; 153 std::list<std::shared_ptr<android::vold::VolumeBase>> mStubVolumes; 160 std::shared_ptr<android::vold::VolumeBase> mInternalEmulated; 161 std::shared_ptr<android::vold::VolumeBase> mPrimary;
|
D | MoveStorage.h | 26 void MoveStorage(const std::shared_ptr<VolumeBase>& from, const std::shared_ptr<VolumeBase>& to,
|
D | MoveStorage.cpp | 180 static void bringOffline(const std::shared_ptr<VolumeBase>& vol) { in bringOffline() 188 static void bringOnline(const std::shared_ptr<VolumeBase>& vol) { in bringOnline() 194 static status_t moveStorageInternal(const std::shared_ptr<VolumeBase>& from, in moveStorageInternal() 195 const std::shared_ptr<VolumeBase>& to, in moveStorageInternal() 201 if (from->getType() != VolumeBase::Type::kEmulated) goto fail; in moveStorageInternal() 202 if (to->getType() != VolumeBase::Type::kEmulated) goto fail; in moveStorageInternal() 259 void MoveStorage(const std::shared_ptr<VolumeBase>& from, const std::shared_ptr<VolumeBase>& to, in MoveStorage()
|
D | VolumeManager.cpp | 176 mInternalEmulated = std::shared_ptr<android::vold::VolumeBase>( in start() 308 std::shared_ptr<android::vold::VolumeBase> VolumeManager::findVolume(const std::string& id) { in findVolume() 334 void VolumeManager::listVolumes(android::vold::VolumeBase::Type type, in listVolumes() 421 int VolumeManager::setPrimary(const std::shared_ptr<android::vold::VolumeBase>& vol) { in setPrimary() 694 auto vol = std::shared_ptr<android::vold::VolumeBase>( in createObb() 720 auto vol = std::shared_ptr<android::vold::VolumeBase>( in createStubVolume()
|
D | IdleMaint.cpp | 88 vm->listVolumes(VolumeBase::Type::kPrivate, privateIds); in addFromVolumeManager() 91 if (vol != nullptr && vol->getState() == VolumeBase::State::kMounted) { in addFromVolumeManager()
|
D | Android.bp | 146 "model/VolumeBase.cpp",
|
D | VoldNativeService.cpp | 314 if (vol->getType() != VolumeBase::Type::kPrivate) { in pathForVolId() 317 if (vol->getState() != VolumeBase::State::kMounted) { in pathForVolId()
|