Home
last modified time | relevance | path

Searched refs:DEFAULT_PORT_ID (Results 1 - 16 of 16) sorted by relevance

/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()
394 auto ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, POWER_ROLE_SOURCE, DATA_ROLE_HOST); in HWTEST_F()
424 auto ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, USB_POWER_ROLE_INVALID, DATA_ROLE_DEVICE); in HWTEST_F()
439 auto ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, POWER_ROLE_SOURCE, USB_DATA_ROLE_INVALID); in HWTEST_F()
454 auto ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, USB_POWER_ROLE_INVALID, DATA_ROLE_HOST); in HWTEST_F()
484 auto ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, USB_POWER_ROLE_INVALID, USB_DATA_ROLE_INVALID); in HWTEST_F()
514 auto ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, POWER_ROLE_SINK, DATA_ROLE_DEVICE); in HWTEST_F()
529 int32_t portId = DEFAULT_PORT_ID; 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()
H A Dusbd_transfer_test.cpp100 const int32_t DEFAULT_PORT_ID = 1; in SetUpTestCase() local
102 auto ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, DEFAULT_ROLE_HOST, DEFAULT_ROLE_HOST); 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()
110 ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, POWER_ROLE_SOURCE, DATA_ROLE_HOST); in BENCHMARK_F()
130 int32_t portId = DEFAULT_PORT_ID; in BENCHMARK_F()
H A Dusb_benchmark_device_test.cpp51 auto ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, POWER_ROLE_SINK, DATA_ROLE_DEVICE); in SetUp()
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.cpp107 auto ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, POWER_ROLE_INVALID, DATA_ROLE_DEVICE); in HWTEST_F()
121 auto ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, POWER_ROLE_SOURCE, DATA_ROLE_INVALID); in HWTEST_F()
135 auto ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, POWER_ROLE_INVALID, DATA_ROLE_INVALID); in HWTEST_F()
/drivers/peripheral/usb/hdi_service/include/
H A Dusbd_port.h27 #define DEFAULT_PORT_ID 1 macro
76 HDI::Usb::V1_1::PortInfo currentPortInfo_ = {DEFAULT_PORT_ID, POWER_ROLE_SINK, DATA_ROLE_DEVICE, PORT_MODE_DEVICE};
/drivers/peripheral/usb/test/fuzztest/usbhost_fuzzer/
H A Dusbhost_fuzzer.cpp36 const int32_t DEFAULT_PORT_ID = 1; member
73 int32_t ret = usbInterface->SetPortRole(DEFAULT_PORT_ID, DEFAULT_ROLE_HOST, DEFAULT_ROLE_HOST); in DoSomethingInterestingWithMyAPI()
/drivers/peripheral/usb/test/fuzztest/usbcommonfunction_fuzzer/
H A Dusbcommonfunction_fuzzer.h31 const int32_t DEFAULT_PORT_ID = 1; member
H A Dusbcommonfunction_fuzzer.cpp26 int32_t ret = usbInterface->SetPortRole(DEFAULT_PORT_ID, DEFAULT_ROLE_HOST, DEFAULT_ROLE_HOST); in UsbFuzzTestHostModeInit()
/drivers/peripheral/usb/test/fuzztest/usbsetcurrentfunctions_fuzzer/
H A Dusbsetcurrentfunctions_fuzzer.cpp30 int32_t ret = usbInterface->SetPortRole(DEFAULT_PORT_ID, DEFAULT_ROLE_DEVICE, DEFAULT_ROLE_DEVICE); in UsbSetCurrentFunctionsFuzzTest()
/drivers/peripheral/usb/test/fuzztest/usbopendevice_fuzzer/
H A Dusbopendevice_fuzzer.cpp30 int32_t ret = usbInterface->SetPortRole(DEFAULT_PORT_ID, DEFAULT_ROLE_HOST, DEFAULT_ROLE_HOST); in UsbOpenDeviceFuzzTest()
/drivers/external_device_manager/test/unittest/bus_extension_usb_test/include/
H A Dusb_impl_mock.h45 constexpr int32_t DEFAULT_PORT_ID = 1; member
/drivers/peripheral/usb/hdi_service/src/
H A Dusbd_port.cpp34 if (portId != DEFAULT_PORT_ID) { in IfCanSwitch()

Completed in 21 milliseconds