Home
last modified time | relevance | path

Searched refs:vendorId (Results 1 – 25 of 128) sorted by relevance

123456

/ohos5.0/base/usb/usb_manager/test/native/service_unittest/src/
H A Dusb_manage_interface_test.cpp130 int32_t vendorId = 0; variable
133 vendorId = devi.at(0).GetVendorId();
136 ret = client.ManageDevice(vendorId, productId, true);
154 int32_t vendorId = 0; variable
157 vendorId = devi.at(0).GetVendorId();
160 ret = client.ManageDevice(vendorId, productId, true);
177 int32_t vendorId = 0; variable
180 vendorId = devi.at(0).GetVendorId();
183 ret = client.ManageDevice(vendorId, productId, false);
/ohos5.0/base/customization/enterprise_device_management/common/native/src/
H A Dusb_device_id.cpp31 int32_t vendorId = parcel.ReadInt32(); in Unmarshalling() local
33 usbDeviceId.SetVendorId(vendorId); in Unmarshalling()
38 void UsbDeviceId::SetVendorId(int32_t vendorId) in SetVendorId() argument
40 vendorId_ = vendorId; in SetVendorId()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-driverdevelopment-kit/
H A D_hid___device.md25 | [vendorId](#vendorid) | 厂商ID |
48 ### vendorId subsection
52 uint16_t Hid_Device::vendorId
/ohos5.0/docs/zh-cn/application-dev/device/driver/
H A Dexternaldevice-guidelines.md77 2. 在文件中导入相关Kit,并声明想要绑定的USB设备的productId、vendorId以及与驱动通信的Code。
91 const vendorId: number = 4817; // 请声明连接的USB设备的vendorId
113 // 如果不知道设备productId和vendorId,可以通过该日志查看连接的usb设备的相关信息
114 …tTag', `usbDevice.productId = ${usbDevice.productId}, usbDevice.vendorId = ${usbDevice.vendorId}`);
115 return usbDevice.productId === productId && usbDevice.vendorId === vendorId;
/ohos5.0/docs/en/application-dev/reference/apis-driverdevelopment-kit/
H A D_hid___device.md25 | [vendorId](#vendorid) | Vendor ID.|
48 ### vendorId subsection
52 uint16_t Hid_Device::vendorId
/ohos5.0/drivers/peripheral/input/test/unittest/ddk/
H A Dhid_ddk_test.cpp80 .vendorId = 0x6006,
100 .vendorId = 0x6006,
141 .vendorId = 0x6006,
/ohos5.0/drivers/external_device_manager/services/zidl/src/
H A Ddriver_ext_mgr_types.cpp83 if (!parcel.WriteUint16(vendorId)) { in Marshalling()
150 if (!parcel.ReadUint16(device->vendorId)) { in UnMarshalling()
165 os << "vendorId:" << vendorId << "}"; in Dump()
201 if (!parcel.WriteUint16(vendorId)) { in Marshalling()
330 if (!parcel.ReadUint16(deviceInfo->vendorId)) { in UnMarshalling()
/ohos5.0/drivers/external_device_manager/test/unittest/device_manager_js_test/
H A DDeviceManagerJsTest.js62 expect(devices[0].vendorId != null).assertEqual(true);
399 console.log('usbDeviceInfo.vendorId:' + usbDeviceInfo.vendorId);
400 expect(typeof(usbDeviceInfo.vendorId)).assertEqual('number');
497 for (const vendorId of driverInfo.vendorIdList) {
498 expect(typeof(vendorId)).assertEqual('number');
/ohos5.0/base/print/print_fwk/frameworks/helper/print_helper/src/
H A Dprint_extension_info_helper.cpp49 …std::string vendorId = NapiPrintUtils::GetStringPropertyUtf8(env, jsValue, PARAM_EXTINFO_VENDOR_ID… in BuildFromJs() local
54 nativeObj->SetVendorId(vendorId); in BuildFromJs()
/ohos5.0/base/usb/usb_manager/interfaces/innerkits/native/include/
H A Dusb_device.h33 …uint8_t devAddr, uint8_t busNum, int32_t vendorId, int32_t productId, int32_t baseClass, int32_t s… in UsbDevice() argument
42 this->vendorId_ = vendorId; in UsbDevice()
213 void SetVendorId(int32_t vendorId) in SetVendorId() argument
215 vendorId_ = vendorId; in SetVendorId()
/ohos5.0/drivers/peripheral/input/test/benchmarktest/
H A Dhid_ddk_benchmark_test.cpp86 .vendorId = 0x6006, in BENCHMARK_F()
119 .vendorId = 0x6006, in BENCHMARK_F()
/ohos5.0/base/print/print_fwk/frameworks/models/print_models/src/
H A Dprint_extension_info.cpp50 void PrintExtensionInfo::SetVendorId(const std::string &vendorId) in SetVendorId() argument
52 vendorId_ = vendorId; in SetVendorId()
/ohos5.0/base/customization/enterprise_device_management/interfaces/kits/usb_manager/src/
H A Dusb_manager_addon.cpp284 int32_t vendorId = 0; in GetUsbDeviceIdFromNAPI() local
285 if (!JsObjectToInt(env, value, "vendorId", true, vendorId)) { in GetUsbDeviceIdFromNAPI()
294 usbDeviceId.SetVendorId(vendorId); in GetUsbDeviceIdFromNAPI()
296 …EDMLOGD("GetUsbDeviceIdFromNAPI vendorId: %{public}d, productId: %{public}d", vendorId, productId); in GetUsbDeviceIdFromNAPI()
340 napi_value vendorId = nullptr; in UsbDeviceIdToJsObj() local
341 NAPI_CALL(env, napi_create_int32(env, usbDeviceId.GetVendorId(), &vendorId)); in UsbDeviceIdToJsObj()
342 NAPI_CALL(env, napi_set_named_property(env, value, "vendorId", vendorId)); in UsbDeviceIdToJsObj()
/ohos5.0/drivers/hdf_core/adapter/khdf/linux/model/usb/host/src/
H A Dusb_pnp_notify.c176 deviceInfo->info.deviceInfo.vendorId = le16_to_cpu(infoData.usbDev->descriptor.idVendor); in UsbPnpNotifyAddInitInfo()
273 infoTable.deviceInfo.vendorId = deviceInfo->info.deviceInfo.vendorId; in UsbPnpNotifyInitInfo()
375 …deviceInfo->info.numInfos, deviceInfo->info.deviceInfo.vendorId, deviceInfo->info.deviceInfo.produ… in UsbPnpNotifyHdfSendEvent()
426 deviceInfo->info.deviceInfo.vendorId, deviceInfo->info.deviceInfo.productId); in UsbPnpNotifyFirstGetDevice()
457 infoTable->deviceInfo.vendorId = g_testUsbPnpInfo->deviceInfo.vendorId; in TestPnpNotifyFillInfoTable()
503 infoTable.deviceInfo.vendorId, infoTable.deviceInfo.productId); in TestPnpNotifyHdfSendEvent()
/ohos5.0/drivers/external_device_manager/interfaces/innerkits/
H A Ddriver_ext_mgr_types.h64 uint16_t vendorId; variable
102 uint16_t vendorId; variable
/ohos5.0/drivers/hdf_core/adapter/khdf/liteos/model/usb/host/src/
H A Dusb_pnp_notify.c210 deviceInfo->info.deviceInfo.vendorId = UGETW(infoData.usbDev->ddesc.idVendor); in UsbPnpNotifyAddInitInfo()
301 infoTable.deviceInfo.vendorId = deviceInfo->info.deviceInfo.vendorId; in UsbPnpNotifyInitInfo()
425 deviceInfo->info.deviceInfo.vendorId, deviceInfo->info.deviceInfo.productId); in UsbPnpNotifyHdfSendEvent()
477 infoTable->deviceInfo.vendorId = g_testUsbPnpInfo->deviceInfo.vendorId; in TestPnpNotifyFillInfoTable()
524 infoTable.deviceInfo.vendorId, infoTable.deviceInfo.productId); in TestPnpNotifyHdfSendEvent()
742 if ((UGETW(pnpNotifyDevicePos->device->ddesc.idVendor) == paraData.vendorId) && in UsbPnpNotifyGetUsbDevice()
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/input_ddk_v1_0/cpp_target/input/ddk/v1_0/
H A Dhid_ddk_types.cpp.txt100 if (!data.WriteUint16(dataBlock.vendorId)) {
101 HDF_LOGE("%{public}s: write dataBlock.vendorId failed!", __func__);
136 if (!data.ReadUint16(dataBlock.vendorId)) {
137 HDF_LOGE("%{public}s: read dataBlock.vendorId failed!", __func__);
/ohos5.0/drivers/hdf_core/framework/model/usb/src/
H A Dusb_wrapper.cpp27 "VENDOR_ID", infoTable->deviceInfo.vendorId, "PRODUCT_ID", infoTable->deviceInfo.productId, in UsbDDKDriverMatchFailEvent()
/ohos5.0/drivers/hdf_core/framework/include/wifi/
H A Dhdf_wifi_product.h52 int32_t vendorId; /**< Vendor ID of the chip */ member
/ohos5.0/base/customization/enterprise_device_management/common/native/include/
H A Dusb_device_id.h29 void SetVendorId(int32_t vendorId);
/ohos5.0/drivers/hdf_core/adapter/khdf/liteos/model/usb/host/include/
H A Dusb_pnp_notify.h112 uint16_t vendorId; member
/ohos5.0/docs/en/application-dev/device/driver/
H A Dexternaldevice-guidelines.md91 const vendorId: number = 4817; // Declare the vendor ID of the connected USB device.
114 …tTag', `usbDevice.productId = ${usbDevice.productId}, usbDevice.vendorId = ${usbDevice.vendorId}`);
115 return usbDevice.productId === productId && usbDevice.vendorId === vendorId;
/ohos5.0/base/print/print_fwk/frameworks/models/print_models/include/
H A Dprint_extension_info.h32 void SetVendorId(const std::string &vendorId);
/ohos5.0/drivers/hdf_core/framework/model/usb/include/
H A Dusb_ddk_pnp_loader.h38 uint16_t vendorId; member
/ohos5.0/drivers/peripheral/usb/hdf_usb/include/
H A Dusb_ddk_pnp_loader.h38 uint16_t vendorId; member

123456