/drivers/peripheral/camera/vdi_base/common/pipeline_core/ipp/src/ |
H A D | algo_plugin.cpp | 24 path_ = path; in AlgoPlugin() 174 if (path_.size() == 0) { in LoadLib() 179 uint32_t ret = CheckLibPath(path_.c_str()); in LoadLib() 181 CAMERA_LOGE("lib path:%{public}s is error.", path_.c_str()); in LoadLib() 185 algoHandler_->handle = ::dlopen(path_.c_str(), RTLD_NOW); in LoadLib() 187 CAMERA_LOGE("dlopen %{public}s failed, %{public}s", path_.c_str(), ::dlerror()); in LoadLib() 233 CAMERA_LOGE("dlclose %{public}s failed", path_.c_str()); in UnloadLib()
|
/drivers/peripheral/usb/hdi_service/src/ |
H A D | usbd_port.cpp | 49 if (path_ == "/data/service/el1/public/usb/mode") {
in IfCanSwitch() 58 if (path_.empty()) {
in OpenPortFile() 63 if (realpath(path_.c_str(), pathBuf) == NULL) {
in OpenPortFile() 122 HDF_LOGE("%{public}s: read error: %{public}s", __func__, path_.c_str());
in ReadPortFile() 146 path_ = path;
in setPortPath()
|
H A D | usb_impl.cpp | 1948 const char *path_ = nullptr;
in parsePortPath() local 1960 if (iface->GetString(device_->property, "port_file_path", &path_, pathDef_) != HDF_SUCCESS) {
in parsePortPath() 1964 UsbdPort::GetInstance().setPortPath(path_);
in parsePortPath()
|
/drivers/hdf_core/framework/tools/hdi-gen/util/ |
H A D | file.h | 33 return path_; in GetPath() 98 std::string path_; member in OHOS::HDI::File
|
H A D | file.cpp | 52 path_ = RealPath(path); in File() 79 path_ = realPath; in OpenByRead()
|
/drivers/peripheral/battery/interfaces/hdi_service/src/ |
H A D | power_supply_provider.cpp | 74 path_ = POWER_SUPPLY_BASE_PATH; in PowerSupplyProvider() 254 FormatPath(batterySysfsInfo_.capacityPath, PATH_MAX, "%s/%s/capacity", path_.c_str(), in FormatSysfsPaths() 256 FormatPath(batterySysfsInfo_.voltagePath, PATH_MAX, "%s/%s/voltage_now", path_.c_str(), in FormatSysfsPaths() 258 FormatPath(batterySysfsInfo_.temperaturePath, PATH_MAX, "%s/%s/temp", path_.c_str(), in FormatSysfsPaths() 260 FormatPath(batterySysfsInfo_.healthStatePath, PATH_MAX, "%s/%s/health", path_.c_str(), in FormatSysfsPaths() 262 FormatPath(batterySysfsInfo_.chargeStatePath, PATH_MAX, "%s/%s/status", path_.c_str(), in FormatSysfsPaths() 264 FormatPath(batterySysfsInfo_.presentPath, PATH_MAX, "%s/%s/present", path_.c_str(), in FormatSysfsPaths() 266 FormatPath(batterySysfsInfo_.chargeCounterPath, PATH_MAX, "%s/%s/charge_counter", path_.c_str(), in FormatSysfsPaths() 268 FormatPath(batterySysfsInfo_.technologyPath, PATH_MAX, "%s/%s/technology", path_.c_str(), in FormatSysfsPaths() 270 FormatPath(batterySysfsInfo_.totalEnergyPath, PATH_MAX, "%s/%s/charge_full", path_ in FormatSysfsPaths() [all...] |
/drivers/peripheral/camera/vdi_base/common/pipeline_core/ipp/include/ |
H A D | algo_plugin.h | 56 std::string path_ = ""; member in OHOS::Camera::AlgoPlugin
|
/drivers/peripheral/usb/hdi_service/include/ |
H A D | usbd_port.h | 77 std::string path_;
member in OHOS::HDI::Usb::V1_1::UsbdPort
|
/drivers/peripheral/battery/interfaces/hdi_service/include/ |
H A D | power_supply_provider.h | 163 std::string path_; member in OHOS::HDI::Battery::V2_0::PowerSupplyProvider
|