Searched refs:AddAllowedUsbDevices (Results 1 – 9 of 9) sorted by relevance
28 static ErrCode AddAllowedUsbDevices(std::vector<UsbDeviceId> data);
33 …int32_t AddAllowedUsbDevices(const AppExecFwk::ElementName &admin, std::vector<UsbDeviceId> usbDev…
40 ErrCode UsbPolicyUtils::AddAllowedUsbDevices(std::vector<UsbDeviceId> data) in AddAllowedUsbDevices() function in OHOS::EDM::UsbPolicyUtils
59 static napi_value AddAllowedUsbDevices(napi_env env, napi_callback_info info);
183 int32_t ret = proxy_->AddAllowedUsbDevices(admin, usbDeviceIds);202 int32_t ret = proxy_->AddAllowedUsbDevices(admin, usbDeviceIds);
38 DECLARE_NAPI_FUNCTION("addAllowedUsbDevices", AddAllowedUsbDevices), in Init()207 napi_value UsbManagerAddon::AddAllowedUsbDevices(napi_env env, napi_callback_info info) in AddAllowedUsbDevices() function in UsbManagerAddon244 ret = usbManagerProxy->AddAllowedUsbDevices(elementName, usbDeviceIds); in AddOrRemoveAllowedUsbDevices()
69 ErrCode errCode = UsbPolicyUtils::AddAllowedUsbDevices(mergeData); in OnSetPolicy()
74 int32_t UsbManagerProxy::AddAllowedUsbDevices(const AppExecFwk::ElementName &admin, in AddAllowedUsbDevices() function in OHOS::EDM::UsbManagerProxy
586 ErrCode allowedUsbRet = UsbPolicyUtils::AddAllowedUsbDevices(usbDeviceIds); in OnUsbServiceStart()