Home
last modified time | relevance | path

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

/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()
121 auto ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, POWER_ROLE_SOURCE, DATA_ROLE_INVALID); in HWTEST_F()
149 auto ret = g_usbInterface->SetPortRole(PORT_ID_INVALID, POWER_ROLE_SOURCE, DATA_ROLE_INVALID); in HWTEST_F()
/drivers/peripheral/usb/hdi_service/src/
H A Dusbd_port.cpp127 powerRole = POWER_ROLE_SOURCE; in ReadPortFile()
158 if (powerRole == POWER_ROLE_SOURCE && dataRole == DATA_ROLE_HOST) { in SetPortInit()
210 currentPortInfo_.powerRole = POWER_ROLE_SOURCE; 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()
439 auto ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, POWER_ROLE_SOURCE, USB_DATA_ROLE_INVALID); in HWTEST_F()
469 auto ret = g_usbInterface->SetPortRole(USB_PORT_ID_INVALID, POWER_ROLE_SOURCE, USB_DATA_ROLE_INVALID); in HWTEST_F()
/drivers/peripheral/usb/hdi_service/include/
H A Dusbd_port.h33 #define POWER_ROLE_SOURCE 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()

Completed in 5 milliseconds