/base/usb/usb_manager/test/fuzztest/usbmgrmanagedevice_fuzzer/ |
H A D | usbmgrmanagedevice_fuzzer.cpp | 38 ret = usbSrvClient.ManageDevice( in UsbMgrManageDeviceFuzzTest()
|
/base/customization/enterprise_device_management/services/edm_plugin/src/ |
H A D | allowed_usb_devices_plugin.cpp | 82 if (srvClient.ManageDevice(item.GetVendorId(), item.GetProductId(), !isAllowed) != ERR_OK) { in OnSetPolicy() 83 EDMLOGW("AllowUsbDevicesPlugin SetPolicy ManageDevice: vid:%{public}d pid:%{public}d, %{public}d failed!", in OnSetPolicy() 145 if (srvClient.ManageDevice(usbDevice.GetVendorId(), usbDevice.GetProductId(), false) != ERR_OK) { in OnRemovePolicy() 146 EDMLOGW("AllowUsbDevicesPlugin OnRemovePolicy ManageDevice vid: %{public}d, pid: %{public}d failed!", in OnRemovePolicy() 156 if (srvClient.ManageDevice(usbDeviceId.GetVendorId(), usbDeviceId.GetProductId(), true) != ERR_OK) { in OnRemovePolicy() 157 EDMLOGW("AllowUsbDevicesPlugin OnRemovePolicy ManageDevice vid: %{public}d, pid: %{public}d failed!", in OnRemovePolicy()
|
/base/usb/usb_manager/test/native/service_unittest/src/ |
H A D | usb_manage_interface_test.cpp | 120 * @tc.desc: Test functions to ManageDevice(int32_t vendorId, int32_t productId, bool disable);
125 USB_HILOGI(MODULE_USB_SERVICE, "Case Start : ManageDevice001 : ManageDevice");
in HWTEST_F() 136 ret = client.ManageDevice(vendorId, productId, true);
in HWTEST_F() 138 USB_HILOGI(MODULE_USB_SERVICE, "Case End : ManageDevice001 : ManageDevice");
in HWTEST_F() 143 * @tc.desc: Test functions to ManageDevice(int32_t vendorId, int32_t productId, bool disable);
148 USB_HILOGI(MODULE_USB_SERVICE, "Case Start : ManageDevice002 : ManageDevice");
in HWTEST_F() 160 ret = client.ManageDevice(vendorId, productId, true);
in HWTEST_F() 163 USB_HILOGI(MODULE_USB_SERVICE, "Case End : ManageDevice002 : ManageDevice");
in HWTEST_F() 168 * @tc.desc: Test functions to ManageDevice(int32_t vendorId, int32_t productId, bool disable);
183 ret = client.ManageDevice(vendorI in HWTEST_F() [all...] |
/base/usb/usb_manager/interfaces/innerkits/native/include/ |
H A D | usb_srv_client.h | 96 int32_t ManageDevice(int32_t vendorId, int32_t productId, bool disable);
|
H A D | iusb_srv.h | 80 virtual int32_t ManageDevice(int32_t vendorId, int32_t productId, bool disable) = 0;
|
/base/usb/usb_manager/services/zidl/include/ |
H A D | usb_server_proxy.h | 88 int32_t ManageDevice(int32_t vendorId, int32_t productId, bool disable) override;
|
/base/usb/usb_manager/interfaces/innerkits/native/src/ |
H A D | usb_srv_client.cpp | 524 int32_t UsbSrvClient::ManageDevice(int32_t vendorId, int32_t productId, bool disable) in ManageDevice() function in OHOS::USB::UsbSrvClient 527 int32_t ret = proxy_->ManageDevice(vendorId, productId, disable); in ManageDevice()
|
/base/usb/usb_manager/services/native/include/ |
H A D | usb_service.h | 129 int32_t ManageDevice(int32_t vendorId, int32_t productId, bool disable) override;
|
/base/usb/usb_manager/services/zidl/src/ |
H A D | usb_srv_proxy.cpp | 1303 int32_t UsbServerProxy::ManageDevice(int32_t vendorId, int32_t productId, bool disable) in ManageDevice() function in OHOS::USB::UsbServerProxy
|
H A D | usb_srv_stub.cpp | 1123 int32_t ret = ManageDevice(vendorId, productId, disable); in DoManageDevice()
|
/base/usb/usb_manager/services/native/src/ |
H A D | usb_service.cpp | 1534 USB_HILOGI(MODULE_USB_SERVICE, "ManageDevice failed"); in ExecuteManageDevicePolicy() 2124 int32_t UsbService::ManageDevice(int32_t vendorId, int32_t productId, bool disable) in ManageDevice() function in OHOS::USB::UsbService
|