/drivers/external_device_manager/services/native/driver_extension_manager/src/drivers_pkg_manager/ |
H A D | driver_pkg_manager.cpp | 145 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 D | pkg_db_helper.cpp | 106 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 D | drv_bundle_state_callback.cpp | 136 .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 D | driver_pkg_manager.h | 43 string driverUid; member 62 bool isByDriverUid = false, const std::string &driverUid = "");
|
H A D | pkg_tables.h | 23 std::string driverUid; member
|
H A D | pkg_db_helper.h | 40 bool isByDriverUid = false, const std::string &driverUid = "");
|
/drivers/external_device_manager/utils/include/ |
H A D | ext_object.h | 41 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 D | driver_ext_mgr_types.cpp | 184 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 D | driver_ext_mgr_stub.cpp | 184 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 D | driver_ext_mgr_proxy.cpp | 193 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 D | idriver_ext_mgr.h | 40 bool isByDriverUid = false, const std::string &driverUid = "") = 0;
|
H A D | driver_ext_mgr_types.h | 78 std::string driverUid = "";
member in OHOS::ExternalDeviceManager::DeviceInfoData 115 std::string driverUid;
member in OHOS::ExternalDeviceManager::DriverInfoData
|
H A D | driver_ext_mgr_client.h | 36 UsbErrCode QueryDriverInfo(const std::string &driverUid, std::vector<std::shared_ptr<DriverInfoData>> &driverInfos);
|
/drivers/external_device_manager/frameworks/native/ |
H A D | driver_ext_mgr_client.cpp | 148 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 D | driver_ext_mgr.cpp | 212 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 D | driver_ext_mgr_proxy.h | 35 bool isByDriverUid = false, const std::string &driverUid = "") override;
|
/drivers/external_device_manager/services/native/driver_extension_manager/include/device_manager/ |
H A D | device.h | 48 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 D | driver_ext_mgr.h | 41 bool isByDriverUid = false, const std::string &driverUid = "") override;
|
/drivers/external_device_manager/frameworks/js/napi/device_manager/ |
H A D | device_manager_middle.cpp | 336 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 D | etx_device_mgr.cpp | 202 device->AddBundleInfo(bundleInfo, bundleInfoNames->driverUid); in MatchDriverInfos() 260 device->AddBundleInfo(bundleInfo, bundleInfoNames->driverUid); in RegisterDevice()
|