Home
last modified time | relevance | path

Searched refs:devPath_ (Results 1 – 22 of 22) sorted by relevance

/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/volume/src/
H A Dexternal_volume_info.cpp40 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 Ddisk_info.cpp49 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 Dnetlink_data.cpp42 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 Dfbdev_driver.cpp38 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 Dv_input_device.cpp46 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 Dfbdev_driver.cpp72 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 Dfbdev_driver.h54 static inline std::string devPath_ = FB_DEV_PATH; variable
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/include/disk/
H A Ddisk_info.h43 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 Ddevice.h135 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 Ddevice.h135 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 Dv_input_device.cpp53 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 Dv_input_device.h123 std::string devPath_; variable
193 return devPath_; in GetDevPath()
/ohos5.0/base/msdp/device_status/tools/vdev/include/
H A Dv_input_device.h124 std::string devPath_; variable
194 return devPath_; in GetDevPath()
/ohos5.0/base/powermgr/battery_manager/charger/include/dev/
H A Dfbdev_driver.h55 static inline std::string devPath_ = FB_DEV_PATH; variable
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/include/netlink/
H A Dnetlink_data.h59 std::string devPath_; variable
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/include/volume/
H A Dexternal_volume_info.h47 std::string devPath_;
/ohos5.0/drivers/peripheral/input/udriver/src/
H A Dinput_device_manager.cpp55 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 Ddevice_test.cpp35 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 Ddevice_test.cpp32 const std::string devPath_ = { "/dev/input/event0" }; variable
64 dev->SetDevPath(devPath_);
/ohos5.0/foundation/multimodalinput/input/intention/services/device_manager/src/
H A Ddevice.cpp73 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 Ddevice.cpp73 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 Dinput_device_manager.h146 std::string devPath_ {"/dev/input"};