Home
last modified time | relevance | path

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

/drivers/peripheral/usb/hdi_service/include/
H A Dusbd_port.h39 #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 Dusbd_port.cpp135 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 Dusbd_function_test.cpp55 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 Dusbfn_mtp_test.cpp185 auto ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, POWER_ROLE_SINK, DATA_ROLE_DEVICE); in SetUpTestCase()
/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/mock/src/
H A Dusbd_function_auto_test.cpp107 auto ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, POWER_ROLE_INVALID, DATA_ROLE_DEVICE); in HWTEST_F()

Completed in 5 milliseconds