Home
last modified time | relevance | path

Searched refs:USB_PORT_ID_INVALID (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/drivers/peripheral/usb/test/unittest/hal/src/
H A Dusbd_function_test.cpp30 constexpr int32_t USB_PORT_ID_INVALID = 2; variable
409 auto ret = g_usbInterface->SetPortRole(USB_PORT_ID_INVALID, POWER_ROLE_SOURCE, DATA_ROLE_HOST);
469 …auto ret = g_usbInterface->SetPortRole(USB_PORT_ID_INVALID, POWER_ROLE_SOURCE, USB_DATA_ROLE_INVAL…
499 …auto ret = g_usbInterface->SetPortRole(USB_PORT_ID_INVALID, USB_POWER_ROLE_INVALID, USB_DATA_ROLE_…
/ohos5.0/base/usb/usb_manager/test/native/mock/src/
H A Dusb_core_mock_test.cpp50 constexpr int32_t USB_PORT_ID_INVALID = 5; variable
574 auto modes = usbSrv_->GetSupportedModes(USB_PORT_ID_INVALID, result);
693 …auto ret = usbSrv_->SetPortRole(USB_PORT_ID_INVALID, UsbSrvSupport::POWER_ROLE_SOURCE, USB_DATA_RO…
/ohos5.0/base/usb/usb_manager/test/native/service_unittest/src/
H A Dusb_core_test.cpp44 constexpr int32_t USB_PORT_ID_INVALID = 5; variable
618 auto modes = UsbSrvClient.GetSupportedModes(USB_PORT_ID_INVALID, result);
770 …auto ret = UsbSrvClient.SetPortRole(USB_PORT_ID_INVALID, UsbSrvSupport::POWER_ROLE_SOURCE, USB_DAT…