/test/xts/hats/hdf/usb/requestTest_additional/common/ |
H A D | usbd_request_test_additional.cpp | 106 struct UsbPipe pipe = {interfaceId, pointId}; in HWTEST_F() local 109 ret = g_usbInterface->RequestQueue(dev, pipe, clientData, bufferData); in HWTEST_F() 129 struct UsbPipe pipe = {interfaceId, pointId}; in HWTEST_F() local 132 ret = g_usbInterface->RequestQueue(dev, pipe, clientData, bufferData); in HWTEST_F() 154 struct UsbPipe pipe = {interfaceId, pointId}; in HWTEST_F() local 157 ret = g_usbInterface->RequestQueue(dev, pipe, clientData, bufferData); in HWTEST_F() 179 struct UsbPipe pipe = {interfaceId, pointId}; in HWTEST_F() local 182 ret = g_usbInterface->RequestQueue(dev, pipe, clientData, bufferData); in HWTEST_F() 199 struct UsbPipe pipe = {interfaceId, pointId}; in HWTEST_F() local 202 ret = g_usbInterface->RequestQueue(dev, pipe, clientDat in HWTEST_F() 219 struct UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 239 struct UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 261 struct UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 283 struct UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 310 struct UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 337 struct UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 364 struct UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 391 struct UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 421 struct UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 451 struct UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 478 struct UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 500 struct UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 522 struct UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 544 struct UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local [all...] |
/test/xts/hats/hdf/usb/transferTest_additional/common/ |
H A D | usbd_transfer_test_additional.cpp | 147 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; in HWTEST_F() local 149 ret = g_usbInterface->BulkTransferWrite(dev, pipe, TRANSFER_TIME_OUT, bufferData); in HWTEST_F() 166 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; in HWTEST_F() local 168 ret = g_usbInterface->BulkTransferWrite(dev, pipe, TRANSFER_TIME_OUT, bufferData); in HWTEST_F() 185 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; in HWTEST_F() local 187 ret = g_usbInterface->BulkTransferWrite(dev, pipe, TRANSFER_TIME_OUT, bufferData); in HWTEST_F() 204 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; in HWTEST_F() local 207 ret = g_usbInterface->BulkTransferWrite(dev, pipe, -1, bufferData); in HWTEST_F() 209 pipe = {interfaceId, POINTID_BULK_IN}; in HWTEST_F() 210 ret = g_usbInterface->BulkTransferRead(dev, pipe, in HWTEST_F() 231 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 258 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 285 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 304 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 323 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 342 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 369 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 396 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 538 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 556 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 574 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 592 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 611 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 630 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 649 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 668 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 687 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 706 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 725 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 744 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 763 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 782 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 801 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 820 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 840 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 860 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 880 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 900 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 920 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 940 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 960 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 980 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 1000 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 1020 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 1040 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 1060 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 1080 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 1100 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 1120 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 1140 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 1160 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 1180 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 1200 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 1220 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 1260 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 1280 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 1300 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 1320 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 1348 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 1370 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 1392 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 1414 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 1436 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 1458 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 1480 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 1502 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 1524 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 1546 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 1563 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 1584 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local [all...] |
/test/xts/hats/hdf/usb/requestTest/common/ |
H A D | usbd_request_test.cpp | 1074 * @tc.desc: int32_t RequestQueue(const UsbDev &dev, const UsbPipe &pipe, std::vector<uint8_t> &clientData, 1087 struct UsbPipe pipe = { interfaceId, pointId }; in HWTEST_F() local 1090 ret = g_usbInterface->RequestQueue(dev, pipe, clientData, bufferData); in HWTEST_F() 1099 * @tc.desc: int32_t RequestQueue(const UsbDev &dev, const UsbPipe &pipe, std::vector<uint8_t> &clientData, 1114 struct UsbPipe pipe = { interfaceId, pointId }; in HWTEST_F() local 1117 ret = g_usbInterface->RequestQueue(dev, pipe, clientData, bufferData); in HWTEST_F() 1126 * @tc.desc: int32_t RequestQueue(const UsbDev &dev, const UsbPipe &pipe, std::vector<uint8_t> &clientData, 1141 struct UsbPipe pipe = { interfaceId, pointId }; in HWTEST_F() local 1144 ret = g_usbInterface->RequestQueue(dev, pipe, clientData, bufferData); in HWTEST_F() 1153 * @tc.desc: int32_t RequestQueue(const UsbDev &dev, const UsbPipe &pipe, st 1169 struct UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 1196 struct UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 1225 struct UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 1251 struct UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 1278 struct UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 1306 struct UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 1333 struct UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 1364 struct UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 1396 struct UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 1427 struct UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 1457 struct UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 1491 struct UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 1520 struct UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 1558 struct UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 1590 struct UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 1625 struct UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 1660 struct UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 1693 struct UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 1728 struct UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 1890 struct UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 1922 struct UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 1959 struct UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 1996 struct UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 2036 struct UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local [all...] |
/test/xts/hats/hdf/usb/transferTest/common/ |
H A D | usbd_transfer_test.cpp | 994 * @tc.desc: Test functions to BulkTransferRead(const UsbDev &dev, const UsbPipe &pipe, int32_t timeout, 1008 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; in HWTEST_F() local 1010 ret = g_usbInterface->BulkTransferRead(dev, pipe, TRANSFER_TIME_OUT, bufferData); in HWTEST_F() 1018 * @tc.desc: Test functions to BulkTransferRead(const UsbDev &dev, const UsbPipe &pipe, int32_t timeout, 1033 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; in HWTEST_F() local 1035 ret = g_usbInterface->BulkTransferRead(dev, pipe, TRANSFER_TIME_OUT, bufferData); in HWTEST_F() 1043 * @tc.desc: Test functions to BulkTransferRead(const UsbDev &dev, const UsbPipe &pipe, int32_t timeout, 1058 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; in HWTEST_F() local 1060 ret = g_usbInterface->BulkTransferRead(dev, pipe, TRANSFER_TIME_OUT, bufferData); in HWTEST_F() 1068 * @tc.desc: Test functions to BulkTransferRead(const UsbDev &dev, const UsbPipe &pipe, int32_ 1082 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 1107 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 1135 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local 1162 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local 1189 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 1241 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; HWTEST_F() local 1265 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 1289 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 1315 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 1339 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 1364 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 1389 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 1415 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 1439 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 1463 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 1488 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 1513 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 = { interfaceId, pointId }; HWTEST_F() local 1585 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 1609 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 1635 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 1659 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 1684 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 1709 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 1735 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 1783 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 1810 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 1835 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 1859 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 1884 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 1909 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 1933 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 1961 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 1985 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 2010 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 2035 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 2061 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 2085 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 2111 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 2137 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 2164 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 2191 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 2218 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 2245 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 2298 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 2325 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 2352 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; HWTEST_F() local 2373 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 2397 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 2422 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 2447 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 2471 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 2489 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 2516 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 2549 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 2582 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 2613 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local [all...] |
/test/xts/hats/hdf/external_device_manager/bus_extension_usb/include/ |
H A D | usb_impl_mock.h | 70 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...] |
H A D | usb_ddk_service_mock.h | 42 MOCK_METHOD5(SendPipeRequest, int32_t(const UsbRequestPipe &pipe, uint32_t size, uint32_t offset, uint32_t length, 45 MOCK_METHOD3(SendPipeRequestWithAshmem, int32_t(const UsbRequestPipe &pipe, const UsbAshmem &ashmem,
|
/test/xts/hats/hdf/usb/usbdBenchmarkTest/common/ |
H A D | HdfUsbdBenchmarkTransferTest.cpp | 180 * @tc.desc: Test functions to BulkTransferRead(const UsbDev &dev, const UsbPipe &pipe, int32_t timeout,
197 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId };
in BENCHMARK_F() local 200 ret = g_usbInterface->BulkTransferRead(dev, pipe, TRANSFER_TIME_OUT, bufferData);
in BENCHMARK_F() 214 * @tc.desc: Test functions to BulkTransferWrite(const UsbDev &dev, const UsbPipe &pipe, int32_t timeout,
231 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId };
in BENCHMARK_F() local 234 ret = g_usbInterface->BulkTransferWrite(dev, pipe, TRANSFER_TIME_OUT, bufferData);
in BENCHMARK_F() 248 * @tc.desc: Test functions to InterruptTransferRead(const UsbDev &dev, const UsbPipe &pipe, int32_t timeout,
265 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId };
in BENCHMARK_F() local 268 ret = g_usbInterface->InterruptTransferRead(dev, pipe, TRANSFER_TIME_OUT, bufferData);
in BENCHMARK_F() 282 * @tc.desc: Test functions to InterruptTransferWrite(const UsbDev &dev, const UsbPipe &pipe, int32_ 299 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; BENCHMARK_F() local 333 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; BENCHMARK_F() local 367 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; BENCHMARK_F() local 403 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; BENCHMARK_F() local 439 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; BENCHMARK_F() local 470 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; BENCHMARK_F() local 502 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; BENCHMARK_F() local 595 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointid}; BENCHMARK_F() local [all...] |
H A D | HdfUsbdBenchmarkRequestTest.cpp | 350 * @tc.desc: int32_t RequestQueue(const UsbDev &dev, const UsbPipe &pipe, std::vector<uint8_t> &clientData,
367 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId };
in BENCHMARK_F() local 372 ret = g_usbInterface->RequestQueue(dev, pipe, clientData, bufferData);
in BENCHMARK_F() 373 req = g_usbInterface->RequestCancel(dev, pipe);
in BENCHMARK_F() 405 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId };
in BENCHMARK_F() local 411 ret = g_usbInterface->RequestQueue(dev, pipe, clientData, bufferData);
in BENCHMARK_F() 413 req = g_usbInterface->RequestCancel(dev, pipe);
in BENCHMARK_F() 428 * @tc.desc: int32_t RequestCancel(const UsbDev &dev, const UsbPipe &pipe);
444 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId };
in BENCHMARK_F() local 447 ret = g_usbInterface->RequestQueue(dev, pipe, clientDat in BENCHMARK_F() 508 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; BENCHMARK_F() local 545 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; BENCHMARK_F() local [all...] |
/test/xts/hats/hdf/usb/deviceStatusTest/common/ |
H A D | usbd_device_status_test.cpp | 319 * @tc.desc : int32_t ClearHalt(const UsbDev &dev, const UsbPipe &pipe)
334 struct UsbPipe pipe = {interfaceId, pointId};
in HWTEST_F() local 335 ret = g_usbInterface->ClearHalt(dev, pipe);
in HWTEST_F() 342 * @tc.desc : int32_t ClearHalt(const UsbDev &dev, const UsbPipe &pipe)
357 struct UsbPipe pipe = {interfaceId, pointId};
in HWTEST_F() local 359 ret = g_usbInterface->ClearHalt(dev, pipe);
in HWTEST_F() 367 * @tc.desc : int32_t ClearHalt(const UsbDev &dev, const UsbPipe &pipe)
382 struct UsbPipe pipe = {interfaceId, pointId};
in HWTEST_F() local 384 ret = g_usbInterface->ClearHalt(dev, pipe);
in HWTEST_F() 392 * @tc.desc : int32_t ClearHalt(const UsbDev &dev, const UsbPipe &pipe)
407 struct UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 431 struct UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 457 struct UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 482 struct UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local 507 struct UsbPipe pipe = {interfaceId, pointId}; HWTEST_F() local [all...] |
/test/xts/acts/hdf/usb/usb_ndk/entry/src/main/cpp/ |
H A D | usbddk.cpp | 579 struct UsbRequestPipe pipe; in UsbSendPipeRequestOne() local 580 pipe.interfaceHandle = interfaceHandle; in UsbSendPipeRequestOne() 581 pipe.endpoint = endpoint1; in UsbSendPipeRequestOne() 582 pipe.timeout = UINT32_MAX; in UsbSendPipeRequestOne() 583 int32_t returnValue = OH_Usb_SendPipeRequest(&pipe, devMemMap); in UsbSendPipeRequestOne() 612 struct UsbRequestPipe pipe; in UsbSendPipeRequestTwo() local 613 pipe.interfaceHandle = interfaceHandle; in UsbSendPipeRequestTwo() 614 pipe.endpoint = ENDPOINT; in UsbSendPipeRequestTwo() 615 pipe.timeout = UINT32_MAX; in UsbSendPipeRequestTwo() 616 int32_t returnValue = OH_Usb_SendPipeRequest(&pipe, devMemMa in UsbSendPipeRequestTwo() 644 struct UsbRequestPipe pipe; UsbSendPipeRequestThree() local 676 struct UsbRequestPipe pipe; UsbSendPipeRequestFour() local 791 struct UsbRequestPipe pipe; UsbSendPipeRequestWithAshmemOne() local 842 struct UsbRequestPipe pipe; UsbSendPipeRequestWithAshmemThree() local 880 struct UsbRequestPipe pipe; UsbSendPipeRequestWithAshmemFour() local [all...] |
/test/xts/hats/kernel/syscalls/fileio/splice/ |
H A D | SpliceApiTest.cpp | 68 * @tc.desc : Splice move data from file to pipe success. 81 // move common fd data to pipe success. in HWTEST_F() 82 ret = pipe(pipeFd); in HWTEST_F() 100 * @tc.desc : Splice move pipe data to file success. 114 // move common fd data to pipe success. in HWTEST_F() 115 ret = pipe(pipeFd); in HWTEST_F() 149 ret = pipe(pipeFd); in HWTEST_F() 173 * @tc.desc : Splice neither fds refer to a pipe return failed, errno EINVAL. 211 ret = pipe(pipeFd); in HWTEST_F() 241 ret = pipe(pipeF in HWTEST_F() [all...] |
/test/xts/hats/kernel/syscalls/fileio/tee/ |
H A D | TeeApiTest.cpp | 72 ret = pipe(pipeFd1); in HWTEST_F() 74 ret = pipe(pipeFd2); in HWTEST_F() 96 * @tc.desc : Tee fd is file fd instead of pipe fd fail. 115 ret = pipe(pipeFd); in HWTEST_F() 143 * @tc.desc : Tee fds refer to same pipe fail. 153 ret = pipe(pipeFd); in HWTEST_F()
|
/test/xts/acts/kernel_lite/ipc_posix/pipe_fifo/ |
H A D | PipeTest.cpp | 45 ret = pipe(fd);
in HWTEST_F() 46 ASSERT_EQ(ret, 0) << "> parent: pipe errno = " << errno;
in HWTEST_F() 82 int ret = pipe(fd);
in HWTEST_F() 83 ASSERT_EQ(ret, 0) << "> parent: pipe error ret = %d" << ret;
in HWTEST_F() 116 * @tc.name pipe buffer teset
129 tmpInt = pipe(fd);
in HWTEST_F() 179 * @tc.name block pipe teset: MAX_PIPE_BUFFER
191 ret = pipe(fd);
in HWTEST_F() 235 * @tc.name test pipe-ipc between brother
244 ret = pipe(f in HWTEST_F() [all...] |
/test/testfwk/arkxtest/uitest/test/ |
H A D | ipc_transactor_test.cpp | 96 ASSERT_EQ(pipe(fds), 0); in TEST_P() 141 ASSERT_EQ(pipe(fds), 0); in TEST() 198 ASSERT_EQ(pipe(fds), 0); in TEST() 246 ASSERT_EQ(pipe(fds), 0); in TEST() 289 ASSERT_EQ(pipe(fds), 0); in TEST()
|
/test/xts/hats/hdf/external_device_manager/ndk_permission_js_test/ndk_permission/entry/src/main/cpp/ |
H A D | ddk_permission_test.cpp | 112 struct UsbRequestPipe pipe; in UsbSendPipeRequest() local 115 int32_t returnValue = OH_Usb_SendPipeRequest(&pipe, &devMmap); in UsbSendPipeRequest() 133 struct UsbRequestPipe pipe; in UsbSendPipeRequestWithAshmem() local 134 int32_t returnValue = OH_Usb_SendPipeRequestWithAshmem(&pipe, ashmem); in UsbSendPipeRequestWithAshmem()
|
/test/xts/hats/kernel/syscalls/async/epoll_ctl/ |
H A D | EpollCtlApiTest.cpp | 74 int ret = pipe(fds); in HWTEST_F() 108 int ret = pipe(fds); in HWTEST_F()
|
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/ |
H A D | pollndk.cpp | 75 pipe(fd);
in PollChk() 105 pipe(fd);
in PpollChk()
|
H A D | fcntlndk.cpp | 88 pipe(pipefd1);
in Tee() 91 pipe(pipefd2);
in Tee() 106 pipe(pipe_fds);
in Vmsplice()
|
H A D | fcntl1ndk.cpp | 69 pipe(pipefd1);
in Tee() 72 pipe(pipefd2);
in Tee() 101 pipe(pipe_fds);
in Vmsplice()
|
/test/xts/hats/kernel/syscalls/fileio/write/ |
H A D | WriteApiTest.cpp | 110 ret = pipe(pipefd); in HWTEST_F() 178 * @tc.desc : Write data to pipe success. 190 ret = pipe(pipefd); in HWTEST_F()
|
/test/xts/acts/kernel_lite/utils/ |
H A D | mt_utils.cpp | 91 // pipe for sync in ipc 95 return pipe(g_pipeFd); in InitPipe() 106 LOGD("before pipe read"); in BlockOnPipe() 108 LOGD("after pipe read"); in BlockOnPipe()
|
/test/xts/hats/kernel/posix_interface/interface_gn/utils/ |
H A D | mt_utils.cpp | 94 // pipe for sync in ipc 98 return pipe(g_pipeFd); in InitPipe() 109 LOGD("before pipe read"); in BlockOnPipe() 111 LOGD("after pipe read"); in BlockOnPipe()
|
/test/xts/hats/kernel/syscalls/fileio/fcntl/ |
H A D | FcntlApiTest.cpp | 249 * @tc.desc : fcntl set pipe get pipe success. 257 int ret = pipe(fds); in HWTEST_F()
|
/test/xts/hats/kernel/syscalls/fileio/writev/ |
H A D | WritevApiTest.cpp | 113 * @tc.desc : Writev write data to pipe success. 136 ret = pipe(pipefd); in HWTEST_F()
|
/test/testfwk/xdevice/src/xdevice/_core/ |
H A D | utils.py | 66 def start_standing_subprocess(cmd, pipe=subprocess.PIPE, return_result=False): 72 necessary in case users pass in pipe commands. 76 pipe: pipe to get execution result 83 process = subprocess.Popen(cmd, stdout=pipe, shell=False,
|