/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/volume/src/ |
H A D | external_volume_info.cpp | 40 int32_t ret = OHOS::StorageDaemon::ReadMetadata(devPath_, fsUuid_, fsType_, fsLabel_); in ReadMetadata() 45 devPath_ in ReadMetadata() 83 devPath_ = StringPrintf(devPathDir_.c_str(), (id).c_str()); in DoCreate() 85 ret = mknod(devPath_.c_str(), S_IFBLK, dev); in DoCreate() 96 int err = remove(devPath_.c_str()); in DoDestroy() 123 devPath_, in DoMount4Ntfs() 142 devPath_, in DoMount4Exfat() 262 devPath_ in DoFormat() 268 devPath_ in DoFormat() 287 devPath_, in DoSetVolDesc() [all …]
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/disk/src/ |
H A D | disk_info.cpp | 49 devPath_ = StringPrintf("/dev/block/%s", id_.c_str()); in DiskInfo() 67 return devPath_; in GetDevPath() 92 DestroyDiskNode(devPath_); in ~DiskInfo() 99 CreateDiskNode(devPath_, device_); in Create() 139 if (GetDevSize(devPath_, &size_) != E_OK) { in ReadMetadata() 202 cmd.push_back(devPath_); in ReadPartition() 205 LOGE("get %{private}s partition failed", devPath_.c_str()); in ReadPartition() 236 if (OHOS::StorageDaemon::ReadMetadata(devPath_, fsType, uuid, label) == E_OK) { in CreateUnknownTabVol() 341 cmd.push_back(devPath_); in Partition() 351 cmd.push_back(devPath_); in Partition()
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/netlink/src/ |
H A D | netlink_data.cpp | 42 devPath_ = std::string(msg); in Decode() 43 sysPath_ = "/sys" + devPath_; in Decode() 63 return devPath_.empty() ? EMPTY_STRING : devPath_; in GetDevpath()
|
/ohos5.0/base/powermgr/battery_manager/charger/src/dev/ |
H A D | fbdev_driver.cpp | 38 if (devPath_.empty()) { in Init() 42 int fd = open(devPath_.c_str(), O_RDWR | O_CLOEXEC); in Init() 110 devPath_ = devPath; in SetDevPath()
|
/ohos5.0/foundation/multimodalinput/input/test/facility/virtual_device/src/ |
H A D | v_input_device.cpp | 46 VInputDevice::VInputDevice(const std::string &node) : devPath_(node) {} in VInputDevice() 58 fd_ = open(devPath_.c_str(), O_RDWR | O_NONBLOCK | O_CLOEXEC); in Open() 60 … std::cout << "Unable to open device '" << devPath_ << "': " << ::strerror(errno) << std::endl; in Open() 63 std::cout << "Retry opening device \'" << devPath_ << " \'" << std::endl; in Open() 68 std::cout << "Opening \'" << devPath_ << "\' successfully" << std::endl; in Open()
|
/ohos5.0/base/update/updater/services/ui/driver/ |
H A D | fbdev_driver.cpp | 72 if (devPath_.empty()) { in Init() 76 int fd = open(devPath_.c_str(), O_RDWR | O_CLOEXEC); in Init() 147 devPath_ = devPath; in SetDevPath()
|
H A D | fbdev_driver.h | 54 static inline std::string devPath_ = FB_DEV_PATH; variable
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/include/disk/ |
H A D | disk_info.h | 43 DiskInfo(std::string sysPath_, std::string devPath_, dev_t device, int flag); 67 std::string devPath_; variable
|
/ohos5.0/foundation/multimodalinput/input/intention/services/device_manager/include/ |
H A D | device.h | 135 std::string devPath_; variable 163 devPath_ = devPath; in SetDevPath() 227 return devPath_; in GetDevPath()
|
/ohos5.0/base/msdp/device_status/intention/services/device_manager/include/ |
H A D | device.h | 135 std::string devPath_; variable 163 devPath_ = devPath; in SetDevPath() 227 return devPath_; in GetDevPath()
|
/ohos5.0/base/msdp/device_status/tools/vdev/src/ |
H A D | v_input_device.cpp | 53 VInputDevice::VInputDevice(const std::string &node) : devPath_(node) {} in VInputDevice() 64 if (realpath(devPath_.c_str(), buf) == nullptr) { in Open() 65 FI_HILOGE("Not real path:%{private}s", devPath_.c_str()); in Open()
|
/ohos5.0/foundation/multimodalinput/input/test/facility/virtual_device/include/ |
H A D | v_input_device.h | 123 std::string devPath_; variable 193 return devPath_; in GetDevPath()
|
/ohos5.0/base/msdp/device_status/tools/vdev/include/ |
H A D | v_input_device.h | 124 std::string devPath_; variable 194 return devPath_; in GetDevPath()
|
/ohos5.0/base/powermgr/battery_manager/charger/include/dev/ |
H A D | fbdev_driver.h | 55 static inline std::string devPath_ = FB_DEV_PATH; variable
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/include/netlink/ |
H A D | netlink_data.h | 59 std::string devPath_; variable
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/include/volume/ |
H A D | external_volume_info.h | 47 std::string devPath_;
|
/ohos5.0/drivers/peripheral/input/udriver/src/ |
H A D | input_device_manager.cpp | 55 std::vector<std::string> flist = GetFiles(devPath_); in Init() 301 std::string devPathNode = devPath_ + "/" + fileName; in CreateInputDevListNode() 364 std::vector<std::string> curFileList = GetFiles(devPath_); in ReloadInputDevices() 392 std::vector<std::string> flist = GetFiles(devPath_); in GetInputDeviceInfoList() 407 result = inotify_add_watch(mInotifyId_, devPath_.c_str(), IN_DELETE | IN_CREATE); in DoInputDeviceAction() 584 auto nodePath = devPath_ + "/" + string(event->name); in InotifyEventHandler()
|
/ohos5.0/foundation/multimodalinput/input/intention/services/test/unittest/src/ |
H A D | device_test.cpp | 35 const std::string devPath_ = { "/dev/input/event0" }; variable 67 dev->SetDevPath(devPath_);
|
/ohos5.0/base/msdp/device_status/test/unittest/intention/services/src/ |
H A D | device_test.cpp | 32 const std::string devPath_ = { "/dev/input/event0" }; variable 64 dev->SetDevPath(devPath_);
|
/ohos5.0/foundation/multimodalinput/input/intention/services/device_manager/src/ |
H A D | device.cpp | 73 if (realpath(devPath_.c_str(), buf) == nullptr) { in Open() 74 FI_HILOGE("Not real path:%{private}s", devPath_.c_str()); in Open()
|
/ohos5.0/base/msdp/device_status/intention/services/device_manager/src/ |
H A D | device.cpp | 73 if (realpath(devPath_.c_str(), buf) == nullptr) { in Open() 74 FI_HILOGE("Not real path:%{private}s", devPath_.c_str()); in Open()
|
/ohos5.0/drivers/peripheral/input/udriver/include/ |
H A D | input_device_manager.h | 146 std::string devPath_ {"/dev/input"};
|