Home
last modified time | relevance | path

Searched refs:GetVendorId (Results 1 - 17 of 17) sorted by relevance

/base/customization/enterprise_device_management/common/native/include/
H A Dusb_device_id.h32 [[nodiscard]] int32_t GetVendorId() const;
37 return (GetVendorId() == other.GetVendorId()) ? in operator <()
38 (GetProductId() < other.GetProductId()) : (GetVendorId() < other.GetVendorId()); in operator <()
49 return (id1.GetVendorId() == id2.GetVendorId()) ? in operator ()()
50 (id1.GetProductId() < id2.GetProductId()) : (id1.GetVendorId() < id2.GetVendorId()); in operator ()()
/base/customization/enterprise_device_management/services/edm_plugin/src/
H A Dallowed_usb_devices_plugin.cpp80 return item.GetVendorId() == trustItem.GetVendorId() && item.GetProductId() == trustItem.GetProductId(); in OnSetPolicy()
82 if (srvClient.ManageDevice(item.GetVendorId(), item.GetProductId(), !isAllowed) != ERR_OK) { in OnSetPolicy()
84 item.GetVendorId(), item.GetProductId(), isAllowed); in OnSetPolicy()
145 if (srvClient.ManageDevice(usbDevice.GetVendorId(), usbDevice.GetProductId(), false) != ERR_OK) { in OnRemovePolicy()
147 usbDevice.GetVendorId(), usbDevice.GetProductId()); in OnRemovePolicy()
156 if (srvClient.ManageDevice(usbDeviceId.GetVendorId(), usbDeviceId.GetProductId(), true) != ERR_OK) { in OnRemovePolicy()
158 usbDeviceId.GetVendorId(), usbDeviceId.GetProductId()); in OnRemovePolicy()
176 usbDeviceId.GetVendorId(), usbDeviceId.GetProductId()); in OnGetPolicy()
/base/print/print_fwk/test/unittest/fwk_inner_napi_test/
H A Dprint_extension_info_test.cpp54 EXPECT_EQ(inf.GetVendorId(), info.GetVendorId()); in HWTEST_F()
62 * @tc.desc: SetExtensionId, GetVendorId
75 * @tc.desc: SetVendorId, GetVendorId
83 EXPECT_EQ(info.GetVendorId(), "vid-1234"); in HWTEST_F()
/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
/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()
/base/print/print_fwk/frameworks/models/print_models/include/
H A Dprint_extension_info.h42 [[nodiscard]] const std::string &GetVendorId() const;
/base/usb/usb_manager/test/native/service_unittest/src/
H A Dusb_manage_interface_test.cpp133 vendorId = devi.at(0).GetVendorId(); in HWTEST_F()
157 vendorId = devi.at(0).GetVendorId(); in HWTEST_F()
180 vendorId = devi.at(0).GetVendorId(); in HWTEST_F()
/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()
/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); in HWTEST_F()
/base/customization/enterprise_device_management/services/edm_plugin/src/utils/
H A Darray_usb_device_id_serializer.cpp100 root["vendorId"] = item.GetVendorId(); in Serialize()
/base/usb/usb_manager/interfaces/innerkits/native/include/
H A Dusb_device.h124 int32_t GetVendorId() const in GetVendorId() function in OHOS::USB::UsbDevice
/base/usb/usb_manager/services/native/src/
H A Dusb_host_manager.cpp273 "VENDOR_ID", dev.GetVendorId(), "PRODUCT_ID", dev.GetProductId(), in ReportHostPlugSysEvent()
H A Dusb_service.cpp1521 if (it->second->GetProductId() == dev.productId && it->second->GetVendorId() == dev.vendorId) { in ExecuteManageDevicePolicy()
1527 ret = ManageDeviceImpl(it->second->GetVendorId(), it->second->GetProductId(), false); in ExecuteManageDevicePolicy()
1529 ret = ManageDeviceImpl(it->second->GetVendorId(), it->second->GetProductId(), true); in ExecuteManageDevicePolicy()
1613 std::string uniqueName = std::to_string(devInfo->GetVendorId()) + "-" + std::to_string(devInfo->GetProductId()) + in AddDevice()
2199 if ((it->second->GetVendorId() == vendorId) && (it->second->GetProductId() == productId)) { in ManageDeviceImpl()
2308 ManageDeviceImpl(it->second->GetVendorId(), it->second->GetProductId(), disable); in ManageDeviceTypeImpl()
/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()
/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()
/base/usb/usb_manager/services/zidl/src/
H A Dusb_srv_stub.cpp892 WRITE_PARCEL_WITH_RET(data, Int32, devInfo.GetVendorId(), UEC_SERVICE_WRITE_PARCEL_ERROR); in SetDeviceMessageParcel()
/base/usb/usb_manager/interfaces/kits/js/napi/src/
H A Dusb_info.cpp157 NapiUtil::SetValueInt32(env, "vendorId", usbDevice.GetVendorId(), obj); in CtoJSUsbDevice()

Completed in 17 milliseconds