Home
last modified time | relevance | path

Searched refs:GetVendorId (Results 1 – 20 of 20) sorted by relevance

/ohos5.0/base/customization/enterprise_device_management/common/native/include/
H A Dusb_device_id.h32 [[nodiscard]] int32_t GetVendorId() const;
37 return (GetVendorId() == other.GetVendorId()) ?
38 (GetProductId() < other.GetProductId()) : (GetVendorId() < other.GetVendorId());
49 return (id1.GetVendorId() == id2.GetVendorId()) ? in operator()
50 (id1.GetProductId() < id2.GetProductId()) : (id1.GetVendorId() < id2.GetVendorId()); in operator()
/ohos5.0/base/customization/enterprise_device_management/services/edm_plugin/src/utils/
H A Dusb_policy_utils.cpp56 …return item.GetVendorId() == trustItem.GetVendorId() && item.GetProductId() == trustItem.GetProduc… in AddAllowedUsbDevices()
58 if (srvClient.ManageDevice(item.GetVendorId(), item.GetProductId(), !isAllowed) != ERR_OK) { in AddAllowedUsbDevices()
60 item.GetVendorId(), item.GetProductId(), isAllowed); in AddAllowedUsbDevices()
H A Darray_usb_device_id_serializer.cpp100 root["vendorId"] = item.GetVendorId(); in Serialize()
/ohos5.0/base/customization/enterprise_device_management/services/edm_plugin/src/
H A Dallowed_usb_devices_plugin.cpp131 … if (srvClient.ManageDevice(usbDevice.GetVendorId(), usbDevice.GetProductId(), false) != ERR_OK) { in OnRemovePolicy()
133 usbDevice.GetVendorId(), usbDevice.GetProductId()); in OnRemovePolicy()
142 …if (srvClient.ManageDevice(usbDeviceId.GetVendorId(), usbDeviceId.GetProductId(), true) != ERR_OK)… in OnRemovePolicy()
144 usbDeviceId.GetVendorId(), usbDeviceId.GetProductId()); in OnRemovePolicy()
162 usbDeviceId.GetVendorId(), usbDeviceId.GetProductId()); in OnGetPolicy()
/ohos5.0/base/print/print_fwk/test/unittest/fwk_inner_napi_test/
H A Dprint_extension_info_test.cpp54 EXPECT_EQ(inf.GetVendorId(), info.GetVendorId());
83 EXPECT_EQ(info.GetVendorId(), "vid-1234");
/ohos5.0/base/print/print_fwk/frameworks/models/print_models/src/
H A Dprint_extension_info.cpp75 const std::string &PrintExtensionInfo::GetVendorId() const in GetVendorId() function in OHOS::Print::PrintExtensionInfo
107 parcel.WriteString(GetVendorId()); in Marshalling()
/ohos5.0/base/usb/usb_manager/test/native/service_unittest/src/
H A Dusb_manage_interface_test.cpp133 vendorId = devi.at(0).GetVendorId();
157 vendorId = devi.at(0).GetVendorId();
180 vendorId = devi.at(0).GetVendorId();
/ohos5.0/drivers/external_device_manager/services/native/driver_extension_manager/include/bus_extension/usb/
H A Dusb_device_info.h28 uint16_t GetVendorId() const in GetVendorId() function
/ohos5.0/base/customization/enterprise_device_management/common/native/src/
H A Dusb_device_id.cpp48 int32_t UsbDeviceId::GetVendorId() const in GetVendorId() function in OHOS::EDM::UsbDeviceId
/ohos5.0/base/print/print_fwk/frameworks/models/print_models/include/
H A Dprint_extension_info.h42 [[nodiscard]] const std::string &GetVendorId() const;
/ohos5.0/base/print/print_fwk/frameworks/helper/print_helper/src/
H A Dprint_extension_info_helper.cpp32 NapiPrintUtils::SetStringPropertyUtf8(env, jsObj, PARAM_EXTINFO_VENDOR_ID, info.GetVendorId()); in MakeJsObject()
/ohos5.0/drivers/external_device_manager/services/native/driver_extension_manager/src/
H A Ddriver_ext_mgr.cpp140 device->vendorId = usbDeviceInfo->GetVendorId(); in QueryDevice()
195 tempUsbDeviceInfo->vendorId = usbDeviceInfo->GetVendorId(); in ParseToDeviceInfoData()
/ohos5.0/base/customization/enterprise_device_management/test/unittest/services/edm_plugin/src/utils/
H A Darray_usb_device_id_serializer_test.cpp102 ASSERT_TRUE(dataObj[0].GetVendorId() == 111);
/ohos5.0/base/usb/usb_manager/services/native/src/
H A Dusb_host_manager.cpp275 "VENDOR_ID", dev.GetVendorId(), "PRODUCT_ID", dev.GetProductId(), in ReportHostPlugSysEvent()
H A Dusb_service.cpp1350 … if (it->second->GetProductId() == dev.productId && it->second->GetVendorId() == dev.vendorId) { in ExecuteManageDevicePolicy()
1356 ret = ManageDeviceImpl(it->second->GetVendorId(), it->second->GetProductId(), false); in ExecuteManageDevicePolicy()
1358 ret = ManageDeviceImpl(it->second->GetVendorId(), it->second->GetProductId(), true); in ExecuteManageDevicePolicy()
1437 …std::string uniqueName = std::to_string(devInfo->GetVendorId()) + "-" + std::to_string(devInfo->Ge… in AddDevice()
1982 if ((it->second->GetVendorId() == vendorId) && (it->second->GetProductId() == productId)) { in ManageDeviceImpl()
2066 ManageDeviceImpl(it->second->GetVendorId(), it->second->GetProductId(), disable); in ManageDeviceTypeImpl()
/ohos5.0/base/usb/usb_manager/interfaces/innerkits/native/include/
H A Dusb_device.h124 int32_t GetVendorId() const in GetVendorId() function
/ohos5.0/base/customization/enterprise_device_management/interfaces/kits/usb_manager/src/
H A Dusb_manager_addon.cpp341 NAPI_CALL(env, napi_create_int32(env, usbDeviceId.GetVendorId(), &vendorId)); in UsbDeviceIdToJsObj()
/ohos5.0/base/print/print_fwk/interfaces/kits/napi/print_napi/src/
H A Dnapi_inner_print.cpp51 PRINT_HILOGD("VendorId = %{public}s", extInfo.GetVendorId().c_str()); in QueryExtensionInfo()
/ohos5.0/base/usb/usb_manager/services/zidl/src/
H A Dusb_srv_stub.cpp885 WRITE_PARCEL_WITH_RET(data, Int32, devInfo.GetVendorId(), UEC_SERVICE_WRITE_PARCEL_ERROR); in SetDeviceMessageParcel()
/ohos5.0/base/usb/usb_manager/interfaces/kits/js/napi/src/
H A Dusb_info.cpp164 NapiUtil::SetValueInt32(env, "vendorId", usbDevice.GetVendorId(), obj); in CtoJSUsbDevice()