Home
last modified time | relevance | path

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

/system/vold/model/
DPublicVolume.cpp50 mDevPath = StringPrintf("/dev/block/vold/%s", getId().c_str()); in PublicVolume()
56 status_t res = ReadMetadataUntrusted(mDevPath, &mFsType, &mFsUuid, &mFsLabel); in readMetadata()
88 return CreateDeviceNode(mDevPath, mDevice); in doCreate()
92 return DestroyDeviceNode(mDevPath); in doDestroy()
99 if (vfat::Check(mDevPath)) { in doMount()
104 if (exfat::Check(mDevPath)) { in doMount()
139 if (vfat::Mount(mDevPath, mRawPath, false, false, false, AID_MEDIA_RW, AID_MEDIA_RW, 0007, in doMount()
141 PLOG(ERROR) << getId() << " failed to mount " << mDevPath; in doMount()
145 if (exfat::Mount(mDevPath, mRawPath, AID_MEDIA_RW, AID_MEDIA_RW, 0007)) { in doMount()
146 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()
217 if (GetBlockDevSize(mDevPath, &mSize) != OK) { in readMetadata()
312 cmd.push_back(mDevPath); in readPartitions()
317 LOG(WARNING) << "sgdisk failed to scan " << mDevPath; in readPartitions()
392 if (ReadMetadataUntrusted(mDevPath, &fsType, &unused, &unused) == OK) { in readPartitions()
423 cmd.push_back(mDevPath); in partitionPublic()
438 cmd.push_back(mDevPath); in partitionPublic()
462 cmd.push_back(mDevPath); in partitionMixed()
[all …]
DDisk.h60 const std::string& getDevPath() const { return mDevPath; } in getDevPath()
90 std::string mDevPath; variable
DPublicVolume.h59 std::string mDevPath; variable