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 | 50 class VolumeBase { 52 virtual ~VolumeBase(); 91 const std::list<std::shared_ptr<VolumeBase>>& getVolumes() const { return mVolumes; } in getVolumes() 100 void addVolume(const std::shared_ptr<VolumeBase>& volume); 101 void removeVolume(const std::shared_ptr<VolumeBase>& volume); 103 std::shared_ptr<VolumeBase> findVolume(const std::string& id); 118 explicit VolumeBase(Type type); 160 std::list<std::shared_ptr<VolumeBase>> mVolumes; 164 DISALLOW_COPY_AND_ASSIGN(VolumeBase);
|
D | Disk.h | 31 class VolumeBase; variable 73 std::shared_ptr<VolumeBase> findVolume(const std::string& id); 75 void listVolumes(VolumeBase::Type type, std::list<std::string>& list) const; 77 std::vector<std::shared_ptr<VolumeBase>> getVolumes() const; 108 std::vector<std::shared_ptr<VolumeBase>> mVolumes;
|
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() 135 std::vector<std::shared_ptr<VolumeBase>> Disk::getVolumes() const { in getVolumes() 136 std::vector<std::shared_ptr<VolumeBase>> vols; in getVolumes() 174 auto vol = std::shared_ptr<VolumeBase>(new PublicVolume(device)); in createPublicVolume() 205 auto vol = std::shared_ptr<VolumeBase>(new PrivateVolume(device, keyBuffer)); in createPrivateVolume()
|
D | ObbVolume.h | 30 class ObbVolume : public VolumeBase {
|
D | StubVolume.h | 32 class StubVolume : public VolumeBase {
|
D | PublicVolume.h | 40 class PublicVolume : public VolumeBase {
|
D | EmulatedVolume.h | 38 class EmulatedVolume : public VolumeBase {
|
D | StubVolume.cpp | 32 : VolumeBase(Type::kStub), in StubVolume()
|
D | PrivateVolume.h | 38 class PrivateVolume : public VolumeBase {
|
D | PrivateVolume.cpp | 51 : VolumeBase(Type::kPrivate), mRawDevice(device), mKeyRaw(keyRaw) { in PrivateVolume() 194 auto vol = std::shared_ptr<VolumeBase>( in doPostMount()
|
D | ObbVolume.cpp | 44 : VolumeBase(Type::kObb) { in ObbVolume()
|
D | EmulatedVolume.cpp | 47 : VolumeBase(Type::kEmulated) { in EmulatedVolume() 58 : VolumeBase(Type::kEmulated) { in EmulatedVolume()
|
D | PublicVolume.cpp | 50 PublicVolume::PublicVolume(dev_t device) : VolumeBase(Type::kPublic), mDevice(device) { in PublicVolume()
|
/system/vold/ |
D | MoveStorage.cpp | 178 static void bringOffline(const std::shared_ptr<VolumeBase>& vol) { in bringOffline() 186 static void bringOnline(const std::shared_ptr<VolumeBase>& vol) { in bringOnline() 192 static status_t moveStorageInternal(const std::shared_ptr<VolumeBase>& from, in moveStorageInternal() 193 const std::shared_ptr<VolumeBase>& to, in moveStorageInternal() 199 if (from->getType() != VolumeBase::Type::kEmulated) goto fail; in moveStorageInternal() 200 if (to->getType() != VolumeBase::Type::kEmulated) goto fail; in moveStorageInternal() 257 void MoveStorage(const std::shared_ptr<VolumeBase>& from, const std::shared_ptr<VolumeBase>& to, in MoveStorage()
|
D | MoveStorage.h | 26 void MoveStorage(const std::shared_ptr<VolumeBase>& from, const std::shared_ptr<VolumeBase>& to,
|
D | VolumeManager.h | 83 std::shared_ptr<android::vold::VolumeBase> findVolume(const std::string& id); 86 std::shared_ptr<android::vold::VolumeBase> findVolumeWithFilter(Fn fn) { in findVolumeWithFilter() 103 void listVolumes(android::vold::VolumeBase::Type type, std::list<std::string>& list) const; 225 std::list<std::shared_ptr<android::vold::VolumeBase>> mObbVolumes; 226 std::list<std::shared_ptr<android::vold::VolumeBase>> mInternalEmulatedVolumes; 235 std::shared_ptr<android::vold::VolumeBase> mPrimary;
|
D | VolumeManager.cpp | 95 using android::vold::VolumeBase; 189 auto vol = std::shared_ptr<android::vold::VolumeBase>( in start() 323 std::shared_ptr<android::vold::VolumeBase> VolumeManager::findVolume(const std::string& id) { in findVolume() 343 void VolumeManager::listVolumes(android::vold::VolumeBase::Type type, in listVolumes() 387 listVolumes(VolumeBase::Type::kPrivate, private_vols); in destroyEmulatedVolumesForUser() 390 std::list<std::shared_ptr<VolumeBase>> vols_to_remove; in destroyEmulatedVolumesForUser() 391 if (pvol->getState() == VolumeBase::State::kMounted) { in destroyEmulatedVolumesForUser() 407 auto vol = std::shared_ptr<android::vold::VolumeBase>( in createEmulatedVolumesForUser() 415 listVolumes(VolumeBase::Type::kPrivate, private_vols); in createEmulatedVolumesForUser() 418 if (pvol->getState() == VolumeBase::State::kMounted) { in createEmulatedVolumesForUser() [all …]
|
D | IdleMaint.cpp | 96 vm->listVolumes(VolumeBase::Type::kPrivate, privateIds); in addFromVolumeManager() 99 if (vol != nullptr && vol->getState() == VolumeBase::State::kMounted) { in addFromVolumeManager()
|
D | Android.bp | 150 "model/VolumeBase.cpp",
|
D | VoldNativeService.cpp | 325 if (vol->getType() != VolumeBase::Type::kPrivate) { in pathForVolId() 328 if (vol->getState() != VolumeBase::State::kMounted) { in pathForVolId()
|