Home
last modified time | relevance | path

Searched refs:ManageGlobalInterface (Results 1 - 14 of 14) sorted by relevance

/base/usb/usb_manager/test/fuzztest/usbmgrmanageglobalinterface_fuzzer/
H A Dusbmgrmanageglobalinterface_fuzzer.cpp37 ret = usbSrvClient.ManageGlobalInterface(disalbe); in UsbMgrManageGlobalInterfaceFuzzTest()
/base/customization/enterprise_device_management/services/edm_plugin/src/
H A Ddisable_usb_plugin.cpp52 int32_t usbRet = srvClient.ManageGlobalInterface(data); in OnSetPolicy()
54 EDMLOGW("DisableUsbPlugin OnSetPolicy: ManageGlobalInterface failed! USB interface not init!"); in OnSetPolicy()
57 EDMLOGE("DisableUsbPlugin OnSetPolicy: ManageGlobalInterface failed! ret:%{public}d", usbRet); in OnSetPolicy()
106 int32_t usbRet = srvClient.ManageGlobalInterface(!data); in OnAdminRemove()
108 EDMLOGW("DisableUsbPlugin OnAdminRemove: ManageGlobalInterface failed! USB interface not init!"); in OnAdminRemove()
111 EDMLOGE("DisableUsbPlugin OnAdminRemove: ManageGlobalInterface failed! ret:%{public}d", usbRet); in OnAdminRemove()
H A Ddisallowed_usb_devices_plugin.cpp147 int32_t usbRet = srvClient.ManageGlobalInterface(false); in EnableAllUsb()
149 EDMLOGW("DisallowedUsbDevicesPlugin EnableAllUsb: ManageGlobalInterface failed! USB interface not init!"); in EnableAllUsb()
152 EDMLOGE("DisallowedUsbDevicesPlugin EnableAllUsb: ManageGlobalInterface failed! ret:%{public}d", usbRet); in EnableAllUsb()
H A Dallowed_usb_devices_plugin.cpp194 int32_t usbRet = srvClient.ManageGlobalInterface(false); in OnAdminRemove()
199 EDMLOGE("AllowUsbDevicesPlugin OnAdminRemove: ManageGlobalInterface failed! ret:%{public}d", usbRet); in OnAdminRemove()
H A Dusb_read_only_plugin.cpp256 int32_t usbRet = srvClient.ManageGlobalInterface(false); in OnAdminRemove()
258 EDMLOGW("UsbReadOnlyPlugin OnAdminRemove: ManageGlobalInterface failed! USB interface not init!"); in OnAdminRemove()
261 EDMLOGE("UsbReadOnlyPlugin OnAdminRemove: ManageGlobalInterface failed! ret:%{public}d", usbRet); in OnAdminRemove()
/base/usb/usb_manager/test/native/service_unittest/src/
H A Dusb_manage_interface_test.cpp76 * @tc.desc: Test functions to ManageGlobalInterface(bool disable);
81 USB_HILOGI(MODULE_USB_SERVICE, "Case Start : ManageGlobalInterface001 : ManageGlobalInterface"); in HWTEST_F()
83 auto ret = client.ManageGlobalInterface(true); in HWTEST_F()
85 USB_HILOGI(MODULE_USB_SERVICE, "Case End : ManageGlobalInterface001 : ManageGlobalInterface"); in HWTEST_F()
90 * @tc.desc: Test functions to ManageGlobalInterface(bool disable);
95 USB_HILOGI(MODULE_USB_SERVICE, "Case Start : ManageGlobalInterface002 : ManageGlobalInterface"); in HWTEST_F()
98 auto ret = client.ManageGlobalInterface(true); in HWTEST_F()
101 USB_HILOGI(MODULE_USB_SERVICE, "Case End : ManageGlobalInterface002 : ManageGlobalInterface"); in HWTEST_F()
106 * @tc.desc: Test functions to ManageGlobalInterface(bool disable);
111 USB_HILOGI(MODULE_USB_SERVICE, "Case Start : ManageGlobalInterface003 : ManageGlobalInterface"); in HWTEST_F()
[all...]
/base/usb/usb_manager/interfaces/innerkits/native/include/
H A Dusb_srv_client.h95 int32_t ManageGlobalInterface(bool disable);
H A Diusb_srv.h79 virtual int32_t ManageGlobalInterface(bool disable) = 0;
/base/usb/usb_manager/services/zidl/include/
H A Dusb_server_proxy.h87 int32_t ManageGlobalInterface(bool disable) override;
/base/usb/usb_manager/interfaces/innerkits/native/src/
H A Dusb_srv_client.cpp514 int32_t UsbSrvClient::ManageGlobalInterface(bool disable) in ManageGlobalInterface() function in OHOS::USB::UsbSrvClient
517 int32_t ret = proxy_->ManageGlobalInterface(disable); in ManageGlobalInterface()
/base/usb/usb_manager/services/native/include/
H A Dusb_service.h128 int32_t ManageGlobalInterface(bool disable) override;
/base/usb/usb_manager/services/zidl/src/
H A Dusb_srv_proxy.cpp1281 int32_t UsbServerProxy::ManageGlobalInterface(bool disable) in ManageGlobalInterface() function in OHOS::USB::UsbServerProxy
H A Dusb_srv_stub.cpp1108 int32_t ret = ManageGlobalInterface(disable); in DoManageGlobalInterface()
/base/usb/usb_manager/services/native/src/
H A Dusb_service.cpp1571 USB_HILOGE(MODULE_USB_SERVICE, "ManageGlobalInterface failed"); in ExecuteStrategy()
2112 int32_t UsbService::ManageGlobalInterface(bool disable) in ManageGlobalInterface() function in OHOS::USB::UsbService

Completed in 14 milliseconds