Searched refs:mDevPath (Results 1 – 6 of 6) sorted by relevance
/aosp12/hardware/google/graphics/common/libacryl/ |
H A D | acrylic_device.cpp | 30 : mDevPath(devpath), mDevFD(-1) in AcrylicDevice() 45 mDevFD = ::open(mDevPath.c_str(), O_RDWR); in open() 47 ALOGERR("Failed to open %s", mDevPath.c_str()); in open() 51 ALOGD_TEST("Opened %s on fd %d", mDevPath.c_str(), mDevFD); in open() 65 : mDevPath(devpath), mDevFd{-1, -1, -1}, mFdIdx(0) in AcrylicRedundantDevice() 67 mDevPath = devpath; 83 mDevFd[i] = ::open(mDevPath.c_str(), O_RDWR); in open() 85 ALOGERR("Failed to open %s for devfd[%d]", mDevPath.c_str(), i); in open() 93 ALOGD_TEST("Opened %s on devfd[%d] %d", mDevPath.c_str(), i, mDevFd[i]); in open()
|
H A D | acrylic_device.h | 31 std::string mDevPath; variable 54 std:: string mDevPath; variable
|
/aosp12/system/vold/model/ |
H A D | PublicVolume.cpp | 52 mDevPath = StringPrintf("/dev/block/vold/%s", getId().c_str()); in PublicVolume() 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() 150 if (exfat::Mount(mDevPath, mRawPath, AID_ROOT, in doMount() 319 res = GetBlockDevSize(mDevPath, &size); in doFormat() 321 LOG(ERROR) << "Couldn't get device size " << mDevPath; in doFormat() 342 if (WipeBlockDevice(mDevPath) != OK) { in doFormat() 347 res = vfat::Format(mDevPath, 0); in doFormat() [all …]
|
H A D | Disk.cpp | 104 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 …]
|
H A D | Disk.h | 67 const std::string& getDevPath() const { return mDevPath; } in getDevPath() 100 std::string mDevPath; variable
|
H A D | PublicVolume.h | 59 std::string mDevPath; variable
|