/base/usb/usb_manager/test/fuzztest/usbmgrsetportrole_fuzzer/ |
H A D | usbmgrsetportrole_fuzzer.cpp | 29 if (usbSrvClient.SetPortRole(*reinterpret_cast<const int32_t *>(data), in UsbMgrSetPortRoleFuzzTest()
|
/base/usb/usb_manager/test/native/service_unittest/src/ |
H A D | usb_core_test.cpp | 52 auto ret = srvClient.SetPortRole( in SetUpTestCase() 55 USB_HILOGI(MODULE_USB_SERVICE, "UsbCoreTest:: [Device] SetPortRole=%{public}d", ret); in SetUpTestCase() 664 * @tc.desc: Test functions to SetPortRole 665 * @tc.desc: int32_t SetPortRole(int32_t portId,int32_t powerRole,int32_t dataRole); 672 USB_HILOGI(MODULE_USB_SERVICE, "Case Start : SetPortRole001 : SetPortRole"); in HWTEST_F() 674 auto ret = UsbSrvClient.SetPortRole( in HWTEST_F() 679 USB_HILOGI(MODULE_USB_SERVICE, "Case End : SetPortRole001 : SetPortRole"); in HWTEST_F() 684 * @tc.desc: Test functions to SetPortRole 685 * @tc.desc: int32_t SetPortRole(int32_t portId,int32_t powerRole,int32_t dataRole); 692 USB_HILOGI(MODULE_USB_SERVICE, "Case Start : SetPortRole002 : SetPortRole"); in HWTEST_F() [all...] |
H A D | usb_dfx_test.cpp | 189 UsbSrvClient.SetPortRole(
in HWTEST_F() 216 UsbSrvClient.SetPortRole(
in HWTEST_F() 262 UsbSrvClient.SetPortRole(
in HWTEST_F()
|
H A D | usb_manage_interface_test.cpp | 48 auto ret = srvClient.SetPortRole(1, 1, 1);
in SetUpTestCase() 50 USB_HILOGI(MODULE_USB_SERVICE, "UsbManageInterfaceTest:: [Device] SetPortRole=%{public}d", ret);
in SetUpTestCase()
|
H A D | usb_bulkcallback_test.cpp | 83 auto ret = srvClient.SetPortRole(1, 1, 1);
in SetUpTestCase() 85 USB_HILOGI(MODULE_USB_SERVICE, "UsbBulkcallbackTest:: [Device] SetPortRole=%{public}d", ret);
in SetUpTestCase()
|
H A D | usb_device_status_test.cpp | 51 auto ret = srvClient.SetPortRole(1, 1, 1);
in SetUpTestCase() 53 USB_HILOGI(MODULE_USB_SERVICE, "UsbDeviceStatusTest:: [Device] SetPortRole=%{public}d", ret);
in SetUpTestCase()
|
H A D | usb_request_test.cpp | 51 auto ret = srvClient.SetPortRole(1, 1, 1); in SetUpTestCase() 53 USB_HILOGI(MODULE_USB_SERVICE, "UsbdRequestTest:: [Device] SetPortRole=%{public}d", ret); in SetUpTestCase()
|
/base/usb/usb_manager/test/native/mock/src/ |
H A D | usb_core_mock_test.cpp | 611 * @tc.desc: Test functions to SetPortRole 612 * @tc.desc: int32_t SetPortRole(int32_t portId,int32_t powerRole,int32_t dataRole); 618 auto ret = usbSrv_->SetPortRole( in HWTEST_F() 626 * @tc.desc: Test functions to SetPortRole 627 * @tc.desc: int32_t SetPortRole(int32_t portId,int32_t powerRole,int32_t dataRole); 633 auto ret = usbSrv_->SetPortRole( in HWTEST_F() 641 * @tc.desc: Test functions to SetPortRole 642 * @tc.desc: int32_t SetPortRole(int32_t portId,int32_t powerRole,int32_t dataRole); 648 auto ret = usbSrv_->SetPortRole( in HWTEST_F() 656 * @tc.desc: Test functions to SetPortRole [all...] |
H A D | usb_impl_mock.cpp | 98 int32_t MockUsbImpl::SetPortRole(int32_t portId, int32_t powerRole, int32_t dataRole) in SetPortRole() function in OHOS::USB::MockUsbImpl
|
H A D | usb_event_mock_test.cpp | 271 auto ret = mockUsbImpl_->SetPortRole(portId, powerRole, dataRole); in HWTEST_F() 305 auto ret = mockUsbImpl_->SetPortRole(portId, powerRole, dataRole); in HWTEST_F()
|
H A D | usb_request_mock_test.cpp | 74 ret = mockUsbImpl_->SetPortRole(DEFAULT_PORT_ID, UsbSrvSupport::POWER_ROLE_SOURCE, UsbSrvSupport::DATA_ROLE_HOST); in SetUpTestCase()
|
H A D | usb_bulkcallback_mock_test.cpp | 106 ret = mockUsbImpl_->SetPortRole(DEFAULT_PORT_ID, UsbSrvSupport::POWER_ROLE_SOURCE, UsbSrvSupport::DATA_ROLE_HOST);
in SetUpTestCase()
|
H A D | usb_device_pipe_mock_test.cpp | 98 ret = mockUsbImpl_->SetPortRole(DEFAULT_PORT_ID, UsbSrvSupport::POWER_ROLE_SOURCE, UsbSrvSupport::DATA_ROLE_HOST); in SetUpTestCase()
|
/base/usb/usb_manager/services/native/src/ |
H A D | usb_port_manager.cpp | 255 usbd_->SetPortRole( in DumpSetPortRoles() 260 usbd_->SetPortRole( in DumpSetPortRoles()
|
H A D | usb_service.cpp | 646 int32_t UsbService::SetPortRole(int32_t portId, int32_t powerRole, int32_t dataRole) in SetPortRole() function in OHOS::USB::UsbService 660 auto ret = usbd_->SetPortRole(portId, powerRole, dataRole); in SetPortRole() 662 USB_HILOGE(MODULE_USB_SERVICE, "SetPortRole not support"); in SetPortRole()
|
/base/usb/usb_manager/test/tool/ |
H A D | usb_function_test.cpp | 169 g_usbClient.SetPortRole(DEFAULT_PORT_ID, DEFAULT_ROLE_HOST, DEFAULT_ROLE_HOST); in PortSwitch() 173 g_usbClient.SetPortRole(DEFAULT_PORT_ID, DEFAULT_ROLE_DEVICE, DEFAULT_ROLE_DEVICE); in PortSwitch()
|
/base/usb/usb_manager/interfaces/innerkits/native/include/ |
H A D | usb_srv_client.h | 54 int32_t SetPortRole(int32_t portId, int32_t powerRole, int32_t dataRole);
|
H A D | iusb_srv.h | 42 virtual int32_t SetPortRole(int32_t portId, int32_t powerRole, int32_t dataRole) = 0;
|
/base/usb/usb_manager/test/native/mock/include/ |
H A D | usb_impl_mock.h | 60 int32_t SetPortRole(int32_t portId, int32_t powerRole, int32_t dataRole) override;
|
/base/usb/usb_manager/services/zidl/include/ |
H A D | usb_server_proxy.h | 48 int32_t SetPortRole(int32_t portId, int32_t powerRole, int32_t dataRole) override;
|
/base/usb/usb_manager/interfaces/innerkits/native/src/ |
H A D | usb_srv_client.cpp | 243 int32_t UsbSrvClient::SetPortRole(int32_t portId, int32_t powerRole, int32_t dataRole) in SetPortRole() function in OHOS::USB::UsbSrvClient 246 USB_HILOGI(MODULE_USB_INNERKIT, "Calling SetPortRole"); in SetPortRole() 247 int32_t ret = proxy_->SetPortRole(portId, powerRole, dataRole); in SetPortRole()
|
/base/usb/usb_manager/services/native/include/ |
H A D | usb_service.h | 81 int32_t SetPortRole(int32_t portId, int32_t powerRole, int32_t dataRole) override;
|
/base/usb/usb_manager/services/zidl/src/ |
H A D | usb_srv_proxy.cpp | 585 int32_t UsbServerProxy::SetPortRole(int32_t portId, int32_t powerRole, int32_t dataRole) in SetPortRole() function in OHOS::USB::UsbServerProxy
|
H A D | usb_srv_stub.cpp | 422 HITRACE_METER_NAME(HITRACE_TAG_USB, "SetPortRole"); in DoSetPortRole() 429 int32_t ret = SetPortRole(portId, powerRole, dataRole); in DoSetPortRole() 431 UsbReportSysEvent::ReportTransforFaultSysEvent("SetPortRole", {0, 0}, {0, 0}, ret); in DoSetPortRole()
|
/base/usb/usb_manager/interfaces/kits/js/napi/src/ |
H A D | usb_info.cpp | 871 int32_t ret = g_usbClient.SetPortRole(asyncContext->portId, asyncContext->powerRole, asyncContext->dataRole);
|