Home
last modified time | relevance | path

Searched refs:POWER_ROLE_SINK (Results 1 - 6 of 6) sorted by relevance

/drivers/peripheral/usb/hdi_service/include/
H A Dusbd_port.h34 #define POWER_ROLE_SINK 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 Dusbd_port.cpp134 powerRole = POWER_ROLE_SINK; in ReadPortFile()
162 if (powerRole == POWER_ROLE_SINK && dataRole == DATA_ROLE_DEVICE) { in SetPortInit()
215 currentPortInfo_.powerRole = POWER_ROLE_SINK; in UpdatePort()
/drivers/peripheral/usb/test/benchmarktest/
H A Dusb_benchmark_function_test.cpp49 auto ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, POWER_ROLE_SINK, DATA_ROLE_DEVICE); in SetUp()
H A Dusb_benchmark_device_test.cpp51 auto ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, POWER_ROLE_SINK, DATA_ROLE_DEVICE); in SetUp()
/drivers/peripheral/usb/test/unittest/hal/src/
H A Dusbd_function_test.cpp55 auto ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, POWER_ROLE_SINK, DATA_ROLE_DEVICE); in SetUpTestCase()
514 auto ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, POWER_ROLE_SINK, DATA_ROLE_DEVICE); in HWTEST_F()
H A Dusbfn_mtp_test.cpp185 auto ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, POWER_ROLE_SINK, DATA_ROLE_DEVICE); in SetUpTestCase()

Completed in 4 milliseconds