Searched refs:DATA_ROLE_DEVICE (Results 1 - 7 of 7) sorted by relevance
/drivers/peripheral/usb/hdi_service/include/ |
H A D | usbd_port.h | 39 #define DATA_ROLE_DEVICE 2
macro 76 HDI::Usb::V1_1::PortInfo currentPortInfo_ = {DEFAULT_PORT_ID, POWER_ROLE_SINK, DATA_ROLE_DEVICE, PORT_MODE_DEVICE};
|
/drivers/peripheral/usb/hdi_service/src/ |
H A D | usbd_port.cpp | 135 dataRole = DATA_ROLE_DEVICE;
in ReadPortFile() 162 if (powerRole == POWER_ROLE_SINK && dataRole == DATA_ROLE_DEVICE) {
in SetPortInit() 216 currentPortInfo_.dataRole = DATA_ROLE_DEVICE;
in UpdatePort()
|
/drivers/peripheral/usb/test/unittest/hal/src/ |
H A D | usbd_function_test.cpp | 55 auto ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, POWER_ROLE_SINK, DATA_ROLE_DEVICE); in SetUpTestCase() 424 auto ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, USB_POWER_ROLE_INVALID, DATA_ROLE_DEVICE); in HWTEST_F() 514 auto ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, POWER_ROLE_SINK, DATA_ROLE_DEVICE); in HWTEST_F()
|
H A D | usbfn_mtp_test.cpp | 185 auto ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, POWER_ROLE_SINK, DATA_ROLE_DEVICE); in SetUpTestCase()
|
/drivers/peripheral/usb/test/benchmarktest/ |
H A D | usb_benchmark_function_test.cpp | 49 auto ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, POWER_ROLE_SINK, DATA_ROLE_DEVICE);
in SetUp()
|
H A D | usb_benchmark_device_test.cpp | 51 auto ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, POWER_ROLE_SINK, DATA_ROLE_DEVICE);
in SetUp()
|
/drivers/peripheral/usb/test/unittest/mock/src/ |
H A D | usbd_function_auto_test.cpp | 107 auto ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, POWER_ROLE_INVALID, DATA_ROLE_DEVICE); in HWTEST_F()
|
Completed in 5 milliseconds