Home
last modified time | relevance | path

Searched refs:ManageDevice (Results 1 - 11 of 11) sorted by relevance

/base/usb/usb_manager/test/fuzztest/usbmgrmanagedevice_fuzzer/
H A Dusbmgrmanagedevice_fuzzer.cpp38 ret = usbSrvClient.ManageDevice( in UsbMgrManageDeviceFuzzTest()
/base/customization/enterprise_device_management/services/edm_plugin/src/
H A Dallowed_usb_devices_plugin.cpp82 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 Dusb_manage_interface_test.cpp120 * @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 Dusb_srv_client.h96 int32_t ManageDevice(int32_t vendorId, int32_t productId, bool disable);
H A Diusb_srv.h80 virtual int32_t ManageDevice(int32_t vendorId, int32_t productId, bool disable) = 0;
/base/usb/usb_manager/services/zidl/include/
H A Dusb_server_proxy.h88 int32_t ManageDevice(int32_t vendorId, int32_t productId, bool disable) override;
/base/usb/usb_manager/interfaces/innerkits/native/src/
H A Dusb_srv_client.cpp524 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 Dusb_service.h129 int32_t ManageDevice(int32_t vendorId, int32_t productId, bool disable) override;
/base/usb/usb_manager/services/zidl/src/
H A Dusb_srv_proxy.cpp1303 int32_t UsbServerProxy::ManageDevice(int32_t vendorId, int32_t productId, bool disable) in ManageDevice() function in OHOS::USB::UsbServerProxy
H A Dusb_srv_stub.cpp1123 int32_t ret = ManageDevice(vendorId, productId, disable); in DoManageDevice()
/base/usb/usb_manager/services/native/src/
H A Dusb_service.cpp1534 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

Completed in 12 milliseconds