/ohos5.0/base/customization/enterprise_device_management/common/native/include/ |
H A D | usb_device_id.h | 32 [[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 D | usb_policy_utils.cpp | 56 …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 D | array_usb_device_id_serializer.cpp | 100 root["vendorId"] = item.GetVendorId(); in Serialize()
|
/ohos5.0/base/customization/enterprise_device_management/services/edm_plugin/src/ |
H A D | allowed_usb_devices_plugin.cpp | 131 … 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 D | print_extension_info_test.cpp | 54 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 D | print_extension_info.cpp | 75 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 D | usb_manage_interface_test.cpp | 133 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 D | usb_device_info.h | 28 uint16_t GetVendorId() const in GetVendorId() function
|
/ohos5.0/base/customization/enterprise_device_management/common/native/src/ |
H A D | usb_device_id.cpp | 48 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 D | print_extension_info.h | 42 [[nodiscard]] const std::string &GetVendorId() const;
|
/ohos5.0/base/print/print_fwk/frameworks/helper/print_helper/src/ |
H A D | print_extension_info_helper.cpp | 32 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 D | driver_ext_mgr.cpp | 140 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 D | array_usb_device_id_serializer_test.cpp | 102 ASSERT_TRUE(dataObj[0].GetVendorId() == 111);
|
/ohos5.0/base/usb/usb_manager/services/native/src/ |
H A D | usb_host_manager.cpp | 275 "VENDOR_ID", dev.GetVendorId(), "PRODUCT_ID", dev.GetProductId(), in ReportHostPlugSysEvent()
|
H A D | usb_service.cpp | 1350 … 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 D | usb_device.h | 124 int32_t GetVendorId() const in GetVendorId() function
|
/ohos5.0/base/customization/enterprise_device_management/interfaces/kits/usb_manager/src/ |
H A D | usb_manager_addon.cpp | 341 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 D | napi_inner_print.cpp | 51 PRINT_HILOGD("VendorId = %{public}s", extInfo.GetVendorId().c_str()); in QueryExtensionInfo()
|
/ohos5.0/base/usb/usb_manager/services/zidl/src/ |
H A D | usb_srv_stub.cpp | 885 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 D | usb_info.cpp | 164 NapiUtil::SetValueInt32(env, "vendorId", usbDevice.GetVendorId(), obj); in CtoJSUsbDevice()
|