Home
last modified time | relevance | path

Searched refs:DATA_ROLE_HOST (Results 1 - 7 of 7) sorted by relevance

/drivers/peripheral/usb/hdi_service/src/
H A Dusbd_port.cpp128 dataRole = DATA_ROLE_HOST; in ReadPortFile()
158 if (powerRole == POWER_ROLE_SOURCE && dataRole == DATA_ROLE_HOST) { in SetPortInit()
211 currentPortInfo_.dataRole = DATA_ROLE_HOST; in UpdatePort()
/drivers/peripheral/usb/test/unittest/hal/src/
H A Dusbd_function_test.cpp394 auto ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, POWER_ROLE_SOURCE, DATA_ROLE_HOST); in HWTEST_F()
409 auto ret = g_usbInterface->SetPortRole(USB_PORT_ID_INVALID, POWER_ROLE_SOURCE, DATA_ROLE_HOST); in HWTEST_F()
454 auto ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, USB_POWER_ROLE_INVALID, DATA_ROLE_HOST); in HWTEST_F()
/drivers/peripheral/usb/hdi_service/include/
H A Dusbd_port.h38 #define DATA_ROLE_HOST 1 macro
/drivers/peripheral/usb/test/benchmarktest/
H A Dusb_benchmark_function_test.cpp110 ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, POWER_ROLE_SOURCE, DATA_ROLE_HOST); in BENCHMARK_F()
H A Dusb_benchmark_request_test.cpp82 auto ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, POWER_ROLE_SOURCE, DATA_ROLE_HOST); in SetUp()
H A Dusb_benchmark_transfer_test.cpp113 auto ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, POWER_ROLE_SOURCE, DATA_ROLE_HOST); in SetUp()
/drivers/peripheral/usb/test/unittest/mock/src/
H A Dusbd_function_auto_test.cpp93 auto ret = g_usbInterface->SetPortRole(PORT_ID_INVALID, POWER_ROLE_SOURCE, DATA_ROLE_HOST); in HWTEST_F()

Completed in 5 milliseconds