Home
last modified time | relevance | path

Searched refs:mDevPath (Results 1 – 4 of 4) sorted by relevance

/system/vold/model/
DPublicVolume.cpp52 mDevPath = StringPrintf("/dev/block/vold/%s", getId().c_str()); in PublicVolume()
60 status_t res = ReadMetadataUntrusted(mDevPath, &mFsType, &mFsUuid, &mFsLabel); in readMetadata()
92 return CreateDeviceNode(mDevPath, mDevice); in doCreate()
96 return DestroyDeviceNode(mDevPath); in doDestroy()
104 if (vfat::Check(mDevPath)) { in doMount()
109 if (exfat::Check(mDevPath)) { in doMount()
144 if (vfat::Mount(mDevPath, mRawPath, false, false, false, AID_ROOT, in doMount()
146 PLOG(ERROR) << getId() << " failed to mount " << mDevPath; in doMount()
150 if (exfat::Mount(mDevPath, mRawPath, AID_ROOT, in doMount()
152 PLOG(ERROR) << getId() << " failed to mount " << mDevPath; in doMount()
[all …]
DDisk.cpp104 mDevPath = StringPrintf("/dev/block/vold/%s", mId.c_str()); in Disk()
105 CreateDeviceNode(mDevPath, mDevice); in Disk()
110 DestroyDeviceNode(mDevPath); in ~Disk()
241 if (GetBlockDevSize(mDevPath, &mSize) != OK) { in readMetadata()
336 cmd.push_back(mDevPath); in readPartitions()
341 LOG(WARNING) << "sgdisk failed to scan " << mDevPath; in readPartitions()
416 if (ReadMetadataUntrusted(mDevPath, &fsType, &unused, &unused) == OK) { in readPartitions()
453 cmd.push_back(mDevPath); in partitionPublic()
468 cmd.push_back(mDevPath); in partitionPublic()
492 cmd.push_back(mDevPath); in partitionMixed()
[all …]
DDisk.h67 const std::string& getDevPath() const { return mDevPath; } in getDevPath()
100 std::string mDevPath; variable
DPublicVolume.h59 std::string mDevPath; variable