Home
last modified time | relevance | path

Searched refs:pipe (Results 1 - 25 of 73) sorted by relevance

123

/drivers/peripheral/usb/test/unittest/mock/src/
H A Dusbd_transfer_auto_test.cpp585 * @tc.desc: Test functions to InterruptTransferRead(const UsbDev &dev, const UsbPipe &pipe, int32_t timeout,
598 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; in HWTEST_F() local
600 ret = g_usbInterface->InterruptTransferRead(dev, pipe, TRANSFER_TIME_OUT, bufferData); in HWTEST_F()
608 * @tc.desc: Test functions to InterruptTransferRead(const UsbDev &dev, const UsbPipe &pipe, int32_t timeout,
622 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; in HWTEST_F() local
624 ret = g_usbInterface->InterruptTransferRead(dev, pipe, TRANSFER_TIME_OUT, bufferData); in HWTEST_F()
632 * @tc.desc: Test functions to InterruptTransferRead(const UsbDev &dev, const UsbPipe &pipe, int32_t timeout,
646 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; in HWTEST_F() local
648 ret = g_usbInterface->InterruptTransferRead(dev, pipe, TRANSFER_TIME_OUT, bufferData); in HWTEST_F()
654 * @tc.desc: Test functions to InterruptTransferRead(const UsbDev &dev, const UsbPipe &pipe, int32_
667 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {PIPE_INTERFACEID_INVALID, pointId}; HWTEST_F() local
689 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, PIPE_ENDPOINTID_INVALID}; HWTEST_F() local
712 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
735 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
758 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
780 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
802 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, PIPE_ENDPOINTID_INVALID}; HWTEST_F() local
824 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
848 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
871 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
893 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {PIPE_INTERFACEID_INVALID, pointId}; HWTEST_F() local
914 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, PIPE_ENDPOINTID_INVALID}; HWTEST_F() local
936 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
958 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
982 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1004 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1027 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1050 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1074 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1096 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1118 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1141 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1166 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1189 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {PIPE_INTERFACEID_INVALID, pointId}; HWTEST_F() local
1211 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, PIPE_ENDPOINTID_INVALID}; HWTEST_F() local
1234 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1259 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1282 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1305 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1327 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1351 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1373 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {PIPE_INTERFACEID_INVALID, pointId}; HWTEST_F() local
1394 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, PIPE_ENDPOINTID_INVALID}; HWTEST_F() local
1416 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1440 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1462 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1486 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1510 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1535 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1560 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {PIPE_INTERFACEID_INVALID, pointId}; HWTEST_F() local
1583 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, PIPE_ENDPOINTID_INVALID}; HWTEST_F() local
1607 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1631 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1656 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1681 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {PIPE_INTERFACEID_INVALID, pointId}; HWTEST_F() local
1704 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, PIPE_ENDPOINTID_INVALID}; HWTEST_F() local
1723 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1746 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1770 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1792 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {PIPE_INTERFACEID_INVALID, POINTID_DIR_OUT}; HWTEST_F() local
1815 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1832 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1857 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1887 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1917 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1945 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
[all...]
H A Dusbd_request_auto_test.cpp1110 * @tc.desc: int32_t RequestQueue(const UsbDev &dev, const UsbPipe &pipe, std::vector<uint8_t> &clientData,
1122 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; in HWTEST_F() local
1125 ret = g_usbInterface->RequestQueue(dev, pipe, clientData, bufferData); in HWTEST_F()
1132 * @tc.desc: int32_t RequestQueue(const UsbDev &dev, const UsbPipe &pipe, std::vector<uint8_t> &clientData,
1145 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; in HWTEST_F() local
1148 ret = g_usbInterface->RequestQueue(dev, pipe, clientData, bufferData); in HWTEST_F()
1155 * @tc.desc: int32_t RequestQueue(const UsbDev &dev, const UsbPipe &pipe, std::vector<uint8_t> &clientData,
1168 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; in HWTEST_F() local
1171 ret = g_usbInterface->RequestQueue(dev, pipe, clientData, bufferData); in HWTEST_F()
1178 * @tc.desc: int32_t RequestQueue(const UsbDev &dev, const UsbPipe &pipe, st
1192 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1215 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1240 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1262 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1284 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1306 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1330 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1357 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1383 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1409 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1434 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1462 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1485 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1514 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1539 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1567 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1596 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1623 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1652 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1802 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1824 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1848 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1872 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1899 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
[all...]
/drivers/peripheral/usb/test/fuzztest/usbregbulkcallback_fuzzer/
H A Dusbregbulkcallback_fuzzer.cpp41 UsbPipe pipe; in UsbRegBulkCallbackFuzzTest() local
42 if (memcpy_s((void *)&pipe, sizeof(pipe), data, sizeof(pipe)) != EOK) { in UsbRegBulkCallbackFuzzTest()
48 dev, pipe, reinterpret_cast<const sptr<IUsbdBulkCallback> &>(std::move(data + OFFSET))); in UsbRegBulkCallbackFuzzTest()
/drivers/peripheral/usb/test/fuzztest/usbbulkcancel_fuzzer/
H A Dusbbulkcancel_fuzzer.cpp38 UsbPipe pipe; in UsbBulkCancelFuzzTest() local
39 if (memcpy_s((void *)&pipe, sizeof(pipe), data, sizeof(pipe)) != EOK) { in UsbBulkCancelFuzzTest()
44 ret = usbInterface->BulkCancel(dev, pipe); in UsbBulkCancelFuzzTest()
/drivers/peripheral/usb/test/fuzztest/usbbulkread_fuzzer/
H A Dusbbulkread_fuzzer.cpp38 UsbPipe pipe; in UsbBulkReadFuzzTest() local
39 if (memcpy_s((void *)&pipe, sizeof(pipe), data, sizeof(pipe)) != EOK) { in UsbBulkReadFuzzTest()
45 ret = usbInterface->BulkRead(dev, pipe, ashmem); in UsbBulkReadFuzzTest()
/drivers/peripheral/usb/test/fuzztest/usbbulkwrite_fuzzer/
H A Dusbbulkwrite_fuzzer.cpp38 UsbPipe pipe; in UsbBulkWriteFuzzTest() local
39 if (memcpy_s((void *)&pipe, sizeof(pipe), data, sizeof(pipe)) != EOK) { in UsbBulkWriteFuzzTest()
45 ret = usbInterface->BulkWrite(dev, pipe, ashmem); in UsbBulkWriteFuzzTest()
/drivers/peripheral/usb/test/fuzztest/usbclearhalt_fuzzer/
H A Dusbclearhalt_fuzzer.cpp38 UsbPipe pipe; in UsbClearHaltFuzzTest() local
39 if (memcpy_s((void *)&pipe, sizeof(pipe), data, sizeof(pipe)) != EOK) { in UsbClearHaltFuzzTest()
44 ret = usbInterface->ClearHalt(dev, pipe); in UsbClearHaltFuzzTest()
/drivers/peripheral/usb/test/fuzztest/usbrequestcancel_fuzzer/
H A Dusbrequestcancel_fuzzer.cpp38 UsbPipe pipe; in UsbRequestCancelFuzzTest() local
39 if (memcpy_s((void *)&pipe, sizeof(pipe), data, sizeof(pipe)) != EOK) { in UsbRequestCancelFuzzTest()
44 ret = usbInterface->RequestCancel(dev, pipe); in UsbRequestCancelFuzzTest()
/drivers/peripheral/usb/test/fuzztest/usbunregbulkcallback_fuzzer/
H A Dusbunregbulkcallback_fuzzer.cpp38 UsbPipe pipe; in UsbUnRegBulkCallbackFuzzTest() local
39 if (memcpy_s((void *)&pipe, sizeof(pipe), data, sizeof(pipe)) != EOK) { in UsbUnRegBulkCallbackFuzzTest()
44 ret = usbInterface->UnRegBulkCallback(dev, pipe); in UsbUnRegBulkCallbackFuzzTest()
/drivers/external_device_manager/test/unittest/bus_extension_usb_test/include/
H A Dusb_impl_mock.h70 BulkTransferRead, int32_t(const UsbDev &dev, const UsbPipe &pipe, int32_t timeout, std::vector<uint8_t> &data));
72 int32_t(const UsbDev &dev, const UsbPipe &pipe, int32_t timeout, const std::vector<uint8_t> &data));
78 int32_t(const UsbDev &dev, const UsbPipe &pipe, int32_t timeout, std::vector<uint8_t> &data));
80 int32_t(const UsbDev &dev, const UsbPipe &pipe, int32_t timeout, const std::vector<uint8_t> &data));
82 IsoTransferRead, int32_t(const UsbDev &dev, const UsbPipe &pipe, int32_t timeout, std::vector<uint8_t> &data));
84 int32_t(const UsbDev &dev, const UsbPipe &pipe, int32_t timeout, const std::vector<uint8_t> &data));
86 int32_t(const UsbDev &dev, const UsbPipe &pipe, const std::vector<uint8_t> &clientData,
90 MOCK_METHOD2(RequestCancel, int32_t(const UsbDev &dev, const UsbPipe &pipe));
93 MOCK_METHOD3(RegBulkCallback, int32_t(const UsbDev &dev, const UsbPipe &pipe, const sptr<IUsbdBulkCallback> &cb));
94 MOCK_METHOD2(UnRegBulkCallback, int32_t(const UsbDev &dev, const UsbPipe &pipe));
[all...]
/drivers/peripheral/usb/test/fuzztest/usbinterrupttransferwrite_fuzzer/
H A Dusbinterrupttransferwrite_fuzzer.cpp41 UsbPipe pipe; in UsbInterruptTransferWriteFuzzTest() local
42 if (memcpy_s((void *)&pipe, sizeof(pipe), data, sizeof(pipe)) != EOK) { in UsbInterruptTransferWriteFuzzTest()
49 dev, pipe, timeout, reinterpret_cast<std::vector<uint8_t> &>(std::move(data + OFFSET_BYTE))); in UsbInterruptTransferWriteFuzzTest()
/drivers/peripheral/usb/test/fuzztest/usbinterrupttransferread_fuzzer/
H A Dusbinterrupttransferread_fuzzer.cpp41 UsbPipe pipe; in UsbInterruptTransferReadFuzzTest() local
42 if (memcpy_s((void *)&pipe, sizeof(pipe), data, sizeof(pipe)) != EOK) { in UsbInterruptTransferReadFuzzTest()
49 dev, pipe, timeout, reinterpret_cast<std::vector<uint8_t> &>(std::move(data + OFFSET_BYTE))); in UsbInterruptTransferReadFuzzTest()
/drivers/peripheral/usb/test/fuzztest/usbrequestqueue_fuzzer/
H A Dusbrequestqueue_fuzzer.cpp41 UsbPipe pipe; in UsbRequestQueueFuzzTest() local
42 if (memcpy_s((void *)&pipe, sizeof(pipe), data, sizeof(pipe)) != EOK) { in UsbRequestQueueFuzzTest()
48 dev, pipe, reinterpret_cast<const std::vector<uint8_t> &>(std::move(data + OFFSET)), in UsbRequestQueueFuzzTest()
/drivers/peripheral/usb/test/fuzztest/usbbulktransferread_fuzzer/
H A Dusbbulktransferread_fuzzer.cpp41 UsbPipe pipe; in UsbBulkTransferReadFuzzTest() local
42 if (memcpy_s((void *)&pipe, sizeof(pipe), data, sizeof(pipe)) != EOK) { in UsbBulkTransferReadFuzzTest()
48 dev, pipe, timeout, reinterpret_cast<std::vector<uint8_t> &>std::move(data + OFFSET_BYTE))); in UsbBulkTransferReadFuzzTest()
/drivers/peripheral/usb/test/fuzztest/usbbulktransferwrite_fuzzer/
H A Dusbbulktransferwrite_fuzzer.cpp41 UsbPipe pipe; in UsbBulkTransferWriteFuzzTest() local
42 if (memcpy_s((void *)&pipe, sizeof(pipe), data, sizeof(pipe)) != EOK) { in UsbBulkTransferWriteFuzzTest()
48 dev, pipe, timeout, reinterpret_cast<const std::vector<uint8_t> &>std::move(data + OFFSET_BYTE))); in UsbBulkTransferWriteFuzzTest()
/drivers/peripheral/usb/test/fuzztest/usbisotransferwrite_fuzzer/
H A Dusbisotransferwrite_fuzzer.cpp41 UsbPipe pipe; in UsbIsoTransferWriteFuzzTest() local
42 if (memcpy_s((void *)&pipe, sizeof(pipe), data, sizeof(pipe)) != EOK) { in UsbIsoTransferWriteFuzzTest()
49 dev, pipe, timeout, reinterpret_cast<std::vector<uint8_t> &>(std::move(data + OFFSET_BYTE))); in UsbIsoTransferWriteFuzzTest()
/drivers/peripheral/usb/test/fuzztest/usbisotransferread_fuzzer/
H A Dusbisotransferread_fuzzer.cpp41 UsbPipe pipe; in UsbIsoTransferReadFuzzTest() local
42 if (memcpy_s((void *)&pipe, sizeof(pipe), data, sizeof(pipe)) != EOK) { in UsbIsoTransferReadFuzzTest()
49 dev, pipe, timeout, reinterpret_cast<std::vector<uint8_t> &>(std::move(data + OFFSET_BYTE))); in UsbIsoTransferReadFuzzTest()
/drivers/peripheral/usb/ddk/host/src/
H A Dusb_protocol.c44 struct UsbPipe *pipe = NULL; in CreateCtrPipe() local
59 ret = UsbIfCreatPipeObj(interfaceObj, &pipe); in CreateCtrPipe()
64 pipe->info.pipeId = 0; in CreateCtrPipe()
65 pipe->info.pipeAddress = 0; in CreateCtrPipe()
66 pipe->info.pipeDirection = USB_PIPE_DIRECTION_OUT; in CreateCtrPipe()
67 pipe->info.pipeType = USB_PIPE_TYPE_CONTROL; in CreateCtrPipe()
95 static int32_t UsbPipeInit(struct UsbPipe *pipe, const struct UsbRawEndpointDescriptor *ep) in UsbPipeInit() argument
97 if ((pipe == NULL) || (ep == NULL)) { in UsbPipeInit()
102 pipe->info.pipeId = ep->endpointDescriptor.bEndpointAddress; in UsbPipeInit()
103 pipe in UsbPipeInit()
159 struct UsbPipe *pipe = NULL; UsbProtocalCreatePipeObj() local
[all...]
/drivers/peripheral/usb/test/unittest/hal/src/
H A Dusbd_request_test.cpp1052 * @tc.desc: int32_t RequestQueue(const UsbDev &dev, const UsbPipe &pipe, std::vector<uint8_t> &clientData
1065 struct UsbPipe pipe = {interfaceId, pointId}; in HWTEST_F() local
1068 ret = g_usbInterface->RequestQueue(dev, pipe, clientData, bufferData); in HWTEST_F()
1077 * @tc.desc: int32_t RequestQueue(const UsbDev &dev, const UsbPipe &pipe, std::vector<uint8_t> &clientData
1091 struct UsbPipe pipe = {interfaceId, pointId}; in HWTEST_F() local
1094 ret = g_usbInterface->RequestQueue(dev, pipe, clientData, bufferData); in HWTEST_F()
1103 * @tc.desc: int32_t RequestQueue(const UsbDev &dev, const UsbPipe &pipe, std::vector<uint8_t> &clientData
1117 struct UsbPipe pipe = {interfaceId, pointId}; in HWTEST_F() local
1120 ret = g_usbInterface->RequestQueue(dev, pipe, clientData, bufferData); in HWTEST_F()
1129 * @tc.desc: int32_t RequestQueue(const UsbDev &dev, const UsbPipe &pipe, st
1144 struct UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1170 struct UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1197 struct UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1221 struct UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1246 struct UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1272 struct UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1298 struct UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1328 struct UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1357 struct UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1386 struct UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1412 struct UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1443 struct UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1469 struct UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1502 struct UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1531 struct UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1563 struct UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1595 struct UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1625 struct UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1657 struct UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1851 struct UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1879 struct UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1909 struct UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1939 struct UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
1972 struct UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local
[all...]
H A Dusbd_transfer_test.cpp1358 * @tc.desc: Test functions to BulkTransferRead(const UsbDev &dev, const UsbPipe &pipe, int32_t timeout,
1371 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; in HWTEST_F() local
1373 ret = g_usbInterface->BulkTransferRead(dev, pipe, TRANSFER_TIME_OUT, bufferData); in HWTEST_F()
1380 * @tc.desc: Test functions to BulkTransferRead(const UsbDev &dev, const UsbPipe &pipe, int32_t timeout,
1394 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; in HWTEST_F() local
1396 ret = g_usbInterface->BulkTransferRead(dev, pipe, TRANSFER_TIME_OUT, bufferData); in HWTEST_F()
1403 * @tc.desc: Test functions to BulkTransferRead(const UsbDev &dev, const UsbPipe &pipe, int32_t timeout,
1417 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; in HWTEST_F() local
1419 ret = g_usbInterface->BulkTransferRead(dev, pipe, TRANSFER_TIME_OUT, bufferData); in HWTEST_F()
1426 * @tc.desc: Test functions to BulkTransferRead(const UsbDev &dev, const UsbPipe &pipe, int32_
1439 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
1462 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
1485 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
1508 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
1531 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
1553 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
1576 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
1599 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
1621 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
1645 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
1667 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
1690 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
1713 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
1737 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
1759 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
1781 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
1805 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
1829 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
1850 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
1874 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
1898 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
1921 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
1946 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
1969 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
1993 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
2017 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
2042 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
2065 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
2088 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
2112 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
2135 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
2157 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
2180 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
2203 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
2225 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
2249 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
2271 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
2294 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
2317 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
2341 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
2363 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
2387 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
2411 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
2436 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
2461 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
2486 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
2511 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
2535 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
2560 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
2585 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
2610 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
2630 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
2653 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
2677 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
2701 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
2725 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
2742 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
2767 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
2797 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
2827 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
2855 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local
[all...]
/drivers/peripheral/usb/hdi_service/src/
H A Dusbd_dispatcher.cpp113 const HostDevice *dev, UsbInterface *interface, uint8_t pipeAddr, UsbPipeInfo *pipe) in GetInterfacePipe()
121 if (dev == nullptr || interface == nullptr || pipe == nullptr) { in GetInterfacePipe()
140 if (pipe) { in GetInterfacePipe()
141 *pipe = pipeTmp; in GetInterfacePipe()
148 int32_t UsbdDispatcher::GetPipe(const HostDevice *dev, uint8_t interfaceId, uint8_t pipeId, UsbPipeInfo *pipe) in GetPipe() argument
150 if (dev == nullptr || pipe == nullptr) { in GetPipe()
151 HDF_LOGE("%{public}s:dev or pipe is nullptr, ifId:%{public}u epId:%{public}u", __func__, interfaceId, pipeId); in GetPipe()
166 int32_t ret = GetInterfacePipe(dev, interface, pipeId, pipe); in GetPipe()
183 UsbPipeInfo *pipe = static_cast<UsbPipeInfo *>(OsalMemCalloc(sizeof(UsbPipeInfo))); in UsbdGetCtrlPipe() local
184 if (pipe in UsbdGetCtrlPipe()
112 GetInterfacePipe( const HostDevice *dev, UsbInterface *interface, uint8_t pipeAddr, UsbPipeInfo *pipe) GetInterfacePipe() argument
246 UsbRequestParamsWSyncInit(UsbRequestParams *params, int32_t timeout, const UsbPipeInfo *pipe) UsbRequestParamsWSyncInit() argument
263 UsbdRequestSyncInit( HostDevice *port, UsbInterfaceHandle *ifHandle, UsbPipeInfo *pipe, UsbdRequestSync *requestSync) UsbdRequestSyncInit() argument
291 UsbdRequestSyncInitwithLength(HostDevice *port, UsbInterfaceHandle *ifHandle, UsbPipeInfo *pipe, int32_t length, UsbdRequestSync *requestSync) UsbdRequestSyncInitwithLength() argument
703 FillReqAyncParams( UsbdRequestASync *userData, UsbPipeInfo *pipe, UsbRequestParams *params, const uint8_t *buffer, uint32_t length) FillReqAyncParams() argument
747 UsbdRequestASyncInit( HostDevice *port, UsbInterfaceHandle *ifHandle, UsbPipeInfo *pipe, UsbdRequestASync *request) UsbdRequestASyncInit() argument
777 UsbPipeInfo pipe; UsbdRequestASyncCreatAndInsert() local
1081 UsbPipeInfo pipe; UsbdBulkASyncListAlloc() local
1431 UsbdBulkASyncReqFillParams(UsbPipeInfo *pipe, UsbRequestParams *params, uint8_t *buffer) UsbdBulkASyncReqFillParams() argument
[all...]
/drivers/peripheral/camera/vdi_base/common/pipeline_core/pipeline_impl/src/strategy/
H A Dstream_pipeline_strategy.h39 virtual RetCode SetUpBasicOutPortFormat(const PipelineSpec& pipe, const PortInfo& info, PortFormat& format);
41 virtual RetCode SelectPipelineSpec(const int32_t& mode, PipelineSpec& pipe);
43 RetCode CombineSpecs(PipelineSpec& pipe);
44 RetCode SetNodeSpec(const PipelineSpec& pipe, G_PIPELINE_SPEC_DATA_TYPE& pipeSpecPtr,
H A Dstream_pipeline_strategy.cpp25 PipelineSpec pipe {}; in GeneratePipelineSpec()
26 if (SelectPipelineSpec(mode, pipe) != RC_OK) { in GeneratePipelineSpec()
29 if (CombineSpecs(pipe) != RC_OK) { in GeneratePipelineSpec()
56 RetCode StreamPipelineStrategy::SetUpBasicOutPortFormat(const PipelineSpec& pipe, in SetUpBasicOutPortFormat() argument
59 auto peerNode = std::find_if(pipe.nodeSpecSet_.begin(), pipe.nodeSpecSet_.end(), in SetUpBasicOutPortFormat()
63 if (peerNode == pipe.nodeSpecSet_.end()) { in SetUpBasicOutPortFormat()
123 RetCode StreamPipelineStrategy::SetNodeSpec(const PipelineSpec& pipe, in SetNodeSpec() argument
147 if (SetUpBasicOutPortFormat(pipe, info, format) != RC_OK) { in SetNodeSpec()
166 RetCode StreamPipelineStrategy::SelectPipelineSpec(const int32_t& mode, PipelineSpec& pipe) in SelectPipelineSpec() argument
218 CombineSpecs(PipelineSpec& pipe) CombineSpecs() argument
[all...]
/drivers/peripheral/usb/test/benchmarktest/
H A Dusb_benchmark_transfer_test.cpp229 * @tc.desc: Test functions to BulkTransferRead(const UsbDev &dev, const UsbPipe &pipe, int32_t timeout,
244 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; in BENCHMARK_F() local
247 ret = g_usbInterface->BulkTransferRead(g_dev, pipe, TRANSFER_TIME_OUT, bufferData); in BENCHMARK_F()
259 * @tc.desc: Test functions to BulkTransferWrite(const UsbDev &dev, const UsbPipe &pipe, int32_t timeout,
274 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; in BENCHMARK_F() local
277 ret = g_usbInterface->BulkTransferWrite(g_dev, pipe, TRANSFER_TIME_OUT, bufferData); in BENCHMARK_F()
289 * @tc.desc: Test functions to InterruptTransferRead(const UsbDev &dev, const UsbPipe &pipe, int32_t timeout,
304 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; in BENCHMARK_F() local
307 ret = g_usbInterface->InterruptTransferRead(g_dev, pipe, TRANSFER_TIME_OUT, bufferData); in BENCHMARK_F()
318 * @tc.desc: Test functions to InterruptTransferWrite(const UsbDev &dev, const UsbPipe &pipe, int32_
333 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; BENCHMARK_F() local
362 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; BENCHMARK_F() local
391 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; BENCHMARK_F() local
423 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; BENCHMARK_F() local
455 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; BENCHMARK_F() local
483 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; BENCHMARK_F() local
511 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; BENCHMARK_F() local
[all...]
/drivers/peripheral/usb/hdi_service/include/
H A Dusbd_dispatcher.h76 const HostDevice *dev, UsbInterface *interface, uint8_t pipeAddr, UsbPipeInfo *pipe);
77 static int32_t GetPipe(const HostDevice *dev, uint8_t interfaceId, uint8_t pipeId, UsbPipeInfo *pipe);
82 static void UsbRequestParamsWSyncInit(UsbRequestParams *params, int32_t timeout, const UsbPipeInfo *pipe);
84 HostDevice *port, UsbInterfaceHandle *ifHandle, UsbPipeInfo *pipe, UsbdRequestSync *requestSync);
86 UsbPipeInfo *pipe, int32_t length, UsbdRequestSync *requestSync);
106 UsbdRequestASync *userData, UsbPipeInfo *pipe,
110 HostDevice *port, UsbInterfaceHandle *ifHandle, UsbPipeInfo *pipe, UsbdRequestASync *request);
135 static int32_t UsbdBulkASyncReqFillParams(UsbPipeInfo *pipe, UsbRequestParams *params, uint8_t *buffer);

Completed in 17 milliseconds

123