Home
last modified time | relevance | path

Searched refs:driverUid (Results 1 - 20 of 20) sorted by relevance

/drivers/external_device_manager/services/native/driver_extension_manager/src/drivers_pkg_manager/
H A Ddriver_pkg_manager.cpp145 ret->driverUid = pkgInfo.driverUid; in QueryMatchDriver()
154 bool isByDriverUid, const std::string &driverUid) in QueryDriverInfo()
169 EDM_LOGD(MODULE_PKG_MGR, "pkg QueryDriverInfo driverUid: %{public}s", driverUid.c_str()); in QueryDriverInfo()
170 int32_t pkgSize = helper->QueryPkgInfos(pkgInfos, isByDriverUid, driverUid); in QueryDriverInfo()
176 = std::make_shared<DriverInfo>(pkgInfo.bundleName, pkgInfo.driverName, pkgInfo.driverUid); in QueryDriverInfo()
153 QueryDriverInfo(vector<shared_ptr<DriverInfo>> &driverInfos, bool isByDriverUid, const std::string &driverUid) QueryDriverInfo() argument
H A Dpkg_db_helper.cpp106 values.PutString("driverUid", pkgInfo.driverUid); in AddOrUpdatePkgInfo()
236 || resultSet->GetColumnIndex("driverUid", driverUidIndex) != E_OK in ParseToPkgInfos()
252 if (resultSet->GetString(driverUidIndex, pkgInfo.driverUid) != E_OK in ParseToPkgInfos()
265 bool isByDriverUid, const std::string &driverUid) in QueryPkgInfos()
268 std::vector<std::string> columns = { "driverUid", "bundleName", "driverName", "driverInfo" }; in QueryPkgInfos()
271 rdbPredicates.EqualTo("driverUid", driverUid); in QueryPkgInfos()
264 QueryPkgInfos(std::vector<PkgInfoTable> &pkgInfos, bool isByDriverUid, const std::string &driverUid) QueryPkgInfos() argument
H A Ddrv_bundle_state_callback.cpp136 .driverUid = driverInfo.name + "-" + std::to_string(driverInfo.applicationInfo.accessTokenId), in CreatePkgInfoTable()
/drivers/external_device_manager/services/native/driver_extension_manager/include/drivers_pkg_manager/
H A Ddriver_pkg_manager.h43 string driverUid; member
62 bool isByDriverUid = false, const std::string &driverUid = "");
H A Dpkg_tables.h23 std::string driverUid; member
H A Dpkg_db_helper.h40 bool isByDriverUid = false, const std::string &driverUid = "");
/drivers/external_device_manager/utils/include/
H A Dext_object.h41 DriverInfo(const std::string &bundleName, const std::string &driverName, const std::string &driverUid = "") in DriverInfo()
44 if (driverUid.empty()) { in DriverInfo()
47 driverUid_ = driverUid; in DriverInfo()
/drivers/external_device_manager/services/zidl/src/
H A Ddriver_ext_mgr_types.cpp184 if (!parcel.WriteString(driverUid)) { in Marshalling()
185 EDM_LOGE(MODULE_DEV_MGR, "failed to write driverUid"); in Marshalling()
273 std::string driverUid = ""; in UnMarshalling() local
274 if (!parcel.ReadString(driverUid)) { in UnMarshalling()
275 EDM_LOGE(MODULE_DEV_MGR, "failed to read driverUid"); in UnMarshalling()
290 deviceInfo->driverUid = driverUid; in UnMarshalling()
389 if (!parcel.WriteString(driverUid)) { in Marshalling()
390 EDM_LOGE(MODULE_DEV_MGR, "failed to write driverUid"); in Marshalling()
450 if (!parcel.ReadString(driverInfo->driverUid)) { in ReadDriverInfoData()
[all...]
H A Ddriver_ext_mgr_stub.cpp184 std::string driverUid = ""; in OnQueryDriverInfo() local
185 if (isByDriverUid && !data.ReadString(driverUid)) { in OnQueryDriverInfo()
186 EDM_LOGE(MODULE_FRAMEWORK, "failed to read driverUid"); in OnQueryDriverInfo()
191 int32_t ret = QueryDriverInfo(driverInfos, isByDriverUid, driverUid); in OnQueryDriverInfo()
H A Ddriver_ext_mgr_proxy.cpp193 bool isByDriverUid, const std::string &driverUid) in QueryDriverInfo()
216 if (isByDriverUid && !data.WriteString(driverUid)) { in QueryDriverInfo()
217 EDM_LOGE(MODULE_FRAMEWORK, "failed to write driverUid"); in QueryDriverInfo()
192 QueryDriverInfo(std::vector<std::shared_ptr<DriverInfoData>> &driverInfos, bool isByDriverUid, const std::string &driverUid) QueryDriverInfo() argument
/drivers/external_device_manager/interfaces/innerkits/
H A Didriver_ext_mgr.h40 bool isByDriverUid = false, const std::string &driverUid = "") = 0;
H A Ddriver_ext_mgr_types.h78 std::string driverUid = ""; member in OHOS::ExternalDeviceManager::DeviceInfoData
115 std::string driverUid; member in OHOS::ExternalDeviceManager::DriverInfoData
H A Ddriver_ext_mgr_client.h36 UsbErrCode QueryDriverInfo(const std::string &driverUid, std::vector<std::shared_ptr<DriverInfoData>> &driverInfos);
/drivers/external_device_manager/frameworks/native/
H A Ddriver_ext_mgr_client.cpp148 UsbErrCode DriverExtMgrClient::QueryDriverInfo(const std::string &driverUid, in QueryDriverInfo() argument
154 return proxy_->QueryDriverInfo(driverInfos, true, driverUid); in QueryDriverInfo()
/drivers/external_device_manager/services/native/driver_extension_manager/src/
H A Ddriver_ext_mgr.cpp212 tempDeviceInfo->driverUid = device->GetDriverUid(); in ParseToDeviceInfoData()
248 tempDriverInfo->driverUid = driverInfo->GetDriverUid(); in ParseToDriverInfoData()
288 bool isByDriverUid, const std::string &driverUid) in QueryDriverInfo()
301 int32_t ret = DriverPkgManager::GetInstance().QueryDriverInfo(tempDriverInfos, isByDriverUid, driverUid); in QueryDriverInfo()
287 QueryDriverInfo(std::vector<std::shared_ptr<DriverInfoData>> &driverInfos, bool isByDriverUid, const std::string &driverUid) QueryDriverInfo() argument
/drivers/external_device_manager/services/zidl/include/
H A Ddriver_ext_mgr_proxy.h35 bool isByDriverUid = false, const std::string &driverUid = "") override;
/drivers/external_device_manager/services/native/driver_extension_manager/include/device_manager/
H A Ddevice.h48 void AddBundleInfo(const std::string &bundleInfo, const std::string &driverUid = "") in AddBundleInfo()
51 driverUid_ = driverUid; in AddBundleInfo()
/drivers/external_device_manager/services/native/driver_extension_manager/include/
H A Ddriver_ext_mgr.h41 bool isByDriverUid = false, const std::string &driverUid = "") override;
/drivers/external_device_manager/frameworks/js/napi/device_manager/
H A Ddevice_manager_middle.cpp336 NAPI_CALL(env, napi_create_string_utf8(env, deviceInfo->driverUid.c_str(), in ConvertToJsDeviceInfo()
337 deviceInfo->driverUid.size(), &value)); in ConvertToJsDeviceInfo()
338 NAPI_CALL(env, napi_set_named_property(env, object, "driverUid", value)); in ConvertToJsDeviceInfo()
371 NAPI_CALL(env, napi_create_string_utf8(env, driverInfo->driverUid.c_str(), driverInfo->driverUid.size(), &value)); in ConvertToJsDriverInfo()
372 NAPI_CALL(env, napi_set_named_property(env, object, "driverUid", value)); in ConvertToJsDriverInfo()
594 ThrowErr(env, PARAMETER_ERROR, "driverUid type is invalid"); in QueryDriverInfo()
603 std::string driverUid; in QueryDriverInfo() local
604 driverUid.resize(len); in QueryDriverInfo()
605 NAPI_CALL(env, napi_get_value_string_utf8(env, argv[0], &driverUid[ in QueryDriverInfo()
[all...]
/drivers/external_device_manager/services/native/driver_extension_manager/src/device_manager/
H A Detx_device_mgr.cpp202 device->AddBundleInfo(bundleInfo, bundleInfoNames->driverUid); in MatchDriverInfos()
260 device->AddBundleInfo(bundleInfo, bundleInfoNames->driverUid); in RegisterDevice()

Completed in 9 milliseconds