Lines Matching refs:mDevPath
50 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()
264 res = GetBlockDevSize(mDevPath, &size); in doFormat()
266 LOG(ERROR) << "Couldn't get device size " << mDevPath; in doFormat()
287 if (WipeBlockDevice(mDevPath) != OK) { in doFormat()
292 res = vfat::Format(mDevPath, 0); in doFormat()
294 res = exfat::Format(mDevPath); in doFormat()