Home
last modified time | relevance | path

Searched refs:VolumeBase (Results 1 – 21 of 21) sorted by relevance

/system/vold/model/
DVolumeBase.cpp35 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 …]
DVolumeBase.h49 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);
DDisk.h30 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;
DEmulatedVolume.cpp43 : VolumeBase(Type::kEmulated), mFusePid(0) { in EmulatedVolume()
50 : VolumeBase(Type::kEmulated), mFusePid(0) { in EmulatedVolume()
DObbVolume.h30 class ObbVolume : public VolumeBase {
DEmulatedVolume.h38 class EmulatedVolume : public VolumeBase {
DStubVolume.h32 class StubVolume : public VolumeBase {
DPublicVolume.h40 class PublicVolume : public VolumeBase {
DStubVolume.cpp30 : VolumeBase(Type::kStub), in StubVolume()
DPrivateVolume.h38 class PrivateVolume : public VolumeBase {
DPrivateVolume.cpp49 : VolumeBase(Type::kPrivate), mRawDevice(device), mKeyRaw(keyRaw) { in PrivateVolume()
160 auto vol = std::shared_ptr<VolumeBase>(new EmulatedVolume(mediaPath, mRawDevice, mFsUuid)); in doMount()
DDisk.cpp113 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()
DObbVolume.cpp44 : VolumeBase(Type::kObb) { in ObbVolume()
DPublicVolume.cpp48 PublicVolume::PublicVolume(dev_t device) : VolumeBase(Type::kPublic), mDevice(device), mFusePid(0) { in PublicVolume()
/system/vold/
DVolumeManager.h83 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;
DMoveStorage.h26 void MoveStorage(const std::shared_ptr<VolumeBase>& from, const std::shared_ptr<VolumeBase>& to,
DMoveStorage.cpp180 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()
DVolumeManager.cpp176 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()
DIdleMaint.cpp88 vm->listVolumes(VolumeBase::Type::kPrivate, privateIds); in addFromVolumeManager()
91 if (vol != nullptr && vol->getState() == VolumeBase::State::kMounted) { in addFromVolumeManager()
DAndroid.bp146 "model/VolumeBase.cpp",
DVoldNativeService.cpp314 if (vol->getType() != VolumeBase::Type::kPrivate) { in pathForVolId()
317 if (vol->getState() != VolumeBase::State::kMounted) { in pathForVolId()