Home
last modified time | relevance | path

Searched refs:SetPortRole (Results 1 - 25 of 26) sorted by relevance

12

/base/usb/usb_manager/test/fuzztest/usbmgrsetportrole_fuzzer/
H A Dusbmgrsetportrole_fuzzer.cpp29 if (usbSrvClient.SetPortRole(*reinterpret_cast<const int32_t *>(data), in UsbMgrSetPortRoleFuzzTest()
/base/usb/usb_manager/test/native/service_unittest/src/
H A Dusb_core_test.cpp52 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 Dusb_dfx_test.cpp189 UsbSrvClient.SetPortRole( in HWTEST_F()
216 UsbSrvClient.SetPortRole( in HWTEST_F()
262 UsbSrvClient.SetPortRole( in HWTEST_F()
H A Dusb_manage_interface_test.cpp48 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 Dusb_bulkcallback_test.cpp83 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 Dusb_device_status_test.cpp51 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 Dusb_request_test.cpp51 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 Dusb_core_mock_test.cpp611 * @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 Dusb_impl_mock.cpp98 int32_t MockUsbImpl::SetPortRole(int32_t portId, int32_t powerRole, int32_t dataRole) in SetPortRole() function in OHOS::USB::MockUsbImpl
H A Dusb_event_mock_test.cpp271 auto ret = mockUsbImpl_->SetPortRole(portId, powerRole, dataRole); in HWTEST_F()
305 auto ret = mockUsbImpl_->SetPortRole(portId, powerRole, dataRole); in HWTEST_F()
H A Dusb_request_mock_test.cpp74 ret = mockUsbImpl_->SetPortRole(DEFAULT_PORT_ID, UsbSrvSupport::POWER_ROLE_SOURCE, UsbSrvSupport::DATA_ROLE_HOST); in SetUpTestCase()
H A Dusb_bulkcallback_mock_test.cpp106 ret = mockUsbImpl_->SetPortRole(DEFAULT_PORT_ID, UsbSrvSupport::POWER_ROLE_SOURCE, UsbSrvSupport::DATA_ROLE_HOST); in SetUpTestCase()
H A Dusb_device_pipe_mock_test.cpp98 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 Dusb_port_manager.cpp255 usbd_->SetPortRole( in DumpSetPortRoles()
260 usbd_->SetPortRole( in DumpSetPortRoles()
H A Dusb_service.cpp646 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 Dusb_function_test.cpp169 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 Dusb_srv_client.h54 int32_t SetPortRole(int32_t portId, int32_t powerRole, int32_t dataRole);
H A Diusb_srv.h42 virtual int32_t SetPortRole(int32_t portId, int32_t powerRole, int32_t dataRole) = 0;
/base/usb/usb_manager/test/native/mock/include/
H A Dusb_impl_mock.h60 int32_t SetPortRole(int32_t portId, int32_t powerRole, int32_t dataRole) override;
/base/usb/usb_manager/services/zidl/include/
H A Dusb_server_proxy.h48 int32_t SetPortRole(int32_t portId, int32_t powerRole, int32_t dataRole) override;
/base/usb/usb_manager/interfaces/innerkits/native/src/
H A Dusb_srv_client.cpp243 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 Dusb_service.h81 int32_t SetPortRole(int32_t portId, int32_t powerRole, int32_t dataRole) override;
/base/usb/usb_manager/services/zidl/src/
H A Dusb_srv_proxy.cpp585 int32_t UsbServerProxy::SetPortRole(int32_t portId, int32_t powerRole, int32_t dataRole) in SetPortRole() function in OHOS::USB::UsbServerProxy
H A Dusb_srv_stub.cpp422 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 Dusb_info.cpp871 int32_t ret = g_usbClient.SetPortRole(asyncContext->portId, asyncContext->powerRole, asyncContext->dataRole);

Completed in 33 milliseconds

12