Home
last modified time | relevance | path

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

/system/vold/
DVolumeBase.cpp38 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 …]
DVolumeBase.h46 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);
DMoveTask.h30 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;
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);
101 std::vector<std::shared_ptr<VolumeBase>> mVolumes;
DMoveTask.cpp46 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()
DVolumeManager.h119 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;
DEmulatedVolume.cpp40 VolumeBase(Type::kEmulated), mFusePid(0) { in EmulatedVolume()
47 const std::string& fsUuid) : VolumeBase(Type::kEmulated), mFusePid(0) { in EmulatedVolume()
DTrimTask.cpp55 vm->listVolumes(VolumeBase::Type::kPrivate, privateIds); in TrimTask()
58 if (vol != nullptr && vol->getState() == VolumeBase::State::kMounted) { in TrimTask()
DEmulatedVolume.h38 class EmulatedVolume : public VolumeBase {
DPrivateVolume.h38 class PrivateVolume : public VolumeBase {
DPublicVolume.h40 class PublicVolume : public VolumeBase {
DPrivateVolume.cpp47 VolumeBase(Type::kPrivate), mRawDevice(device), mKeyRaw(keyRaw) { in PrivateVolume()
173 auto vol = std::shared_ptr<VolumeBase>( in doMount()
DDisk.cpp124 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()
DAndroid.mk22 VolumeBase.cpp \
DVolumeManager.cpp265 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()
DPublicVolume.cpp45 VolumeBase(Type::kPublic), mDevice(device), mFusePid(0) { in PublicVolume()
DCommandListener.cpp223 if (mountFlags & android::vold::VolumeBase::MountFlags::kPrimary) { in runCommand()