Home
last modified time | relevance | path

Searched refs:pipe (Results 1 – 25 of 39) sorted by relevance

12

/test/xts/hats/hdf/usb/requestTest_additional/common/
Dusbd_request_test_additional.cpp106 struct UsbPipe pipe = {interfaceId, pointId}; variable
109 ret = g_usbInterface->RequestQueue(dev, pipe, clientData, bufferData);
129 struct UsbPipe pipe = {interfaceId, pointId}; variable
132 ret = g_usbInterface->RequestQueue(dev, pipe, clientData, bufferData);
154 struct UsbPipe pipe = {interfaceId, pointId}; variable
157 ret = g_usbInterface->RequestQueue(dev, pipe, clientData, bufferData);
179 struct UsbPipe pipe = {interfaceId, pointId}; variable
182 ret = g_usbInterface->RequestQueue(dev, pipe, clientData, bufferData);
199 struct UsbPipe pipe = {interfaceId, pointId}; variable
202 ret = g_usbInterface->RequestQueue(dev, pipe, clientData, bufferData);
[all …]
/test/xts/hats/hdf/usb/transferTest_additional/common/
Dusbd_transfer_test_additional.cpp147 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; variable
149 ret = g_usbInterface->BulkTransferWrite(dev, pipe, TRANSFER_TIME_OUT, bufferData);
166 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; variable
168 ret = g_usbInterface->BulkTransferWrite(dev, pipe, TRANSFER_TIME_OUT, bufferData);
185 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; variable
187 ret = g_usbInterface->BulkTransferWrite(dev, pipe, TRANSFER_TIME_OUT, bufferData);
204 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; variable
207 ret = g_usbInterface->BulkTransferWrite(dev, pipe, -1, bufferData);
209 pipe = {interfaceId, POINTID_BULK_IN};
210 ret = g_usbInterface->BulkTransferRead(dev, pipe, -1, bufferData1);
[all …]
/test/xts/hats/hdf/usb/transferTest/common/
Dusbd_transfer_test.cpp1007 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; variable
1009 ret = g_usbInterface->BulkTransferRead(dev, pipe, TRANSFER_TIME_OUT, bufferData);
1032 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; variable
1034 ret = g_usbInterface->BulkTransferRead(dev, pipe, TRANSFER_TIME_OUT, bufferData);
1057 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; variable
1059 ret = g_usbInterface->BulkTransferRead(dev, pipe, TRANSFER_TIME_OUT, bufferData);
1081 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; variable
1082 pipe.intfId = PIPE_INTERFACEID_INVALID;
1084 ret = g_usbInterface->BulkTransferRead(dev, pipe, TRANSFER_TIME_OUT, bufferData);
1106 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; variable
[all …]
/test/xts/hats/hdf/usb/requestTest/common/
Dusbd_request_test.cpp1014 struct UsbPipe pipe = { interfaceId, pointId }; variable
1017 ret = g_usbInterface->RequestQueue(dev, pipe, clientData, bufferData);
1041 struct UsbPipe pipe = { interfaceId, pointId }; variable
1044 ret = g_usbInterface->RequestQueue(dev, pipe, clientData, bufferData);
1068 struct UsbPipe pipe = { interfaceId, pointId }; variable
1071 ret = g_usbInterface->RequestQueue(dev, pipe, clientData, bufferData);
1096 struct UsbPipe pipe = { interfaceId, pointId }; variable
1099 ret = g_usbInterface->RequestQueue(dev, pipe, clientData, bufferData);
1123 struct UsbPipe pipe = { interfaceId, pointId }; variable
1126 ret = g_usbInterface->RequestQueue(dev, pipe, clientData, bufferData);
[all …]
/test/xts/hats/hdf/external_device_manager/bus_extension_usb/include/
Dusb_impl_mock.h70 …BulkTransferRead, int32_t(const UsbDev &dev, const UsbPipe &pipe, int32_t timeout, std::vector<uin…
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<uint…
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<IUsbdBulk…
94 MOCK_METHOD2(UnRegBulkCallback, int32_t(const UsbDev &dev, const UsbPipe &pipe));
[all …]
/test/xts/hats/hdf/usb/usbdBenchmarkTest/common/
DHdfUsbdBenchmarkTransferTest.cpp196 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; in BENCHMARK_F() local
199 ret = g_usbInterface->BulkTransferRead(dev, pipe, TRANSFER_TIME_OUT, bufferData); in BENCHMARK_F()
230 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; in BENCHMARK_F() local
233 ret = g_usbInterface->BulkTransferWrite(dev, pipe, TRANSFER_TIME_OUT, bufferData); in BENCHMARK_F()
264 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; in BENCHMARK_F() local
267 ret = g_usbInterface->InterruptTransferRead(dev, pipe, TRANSFER_TIME_OUT, bufferData); in BENCHMARK_F()
298 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; in BENCHMARK_F() local
301 ret = g_usbInterface->InterruptTransferWrite(dev, pipe, TRANSFER_TIME_OUT, bufferData); in BENCHMARK_F()
332 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; in BENCHMARK_F() local
335 ret = g_usbInterface->IsoTransferRead(dev, pipe, TRANSFER_TIME_OUT, bufferData); in BENCHMARK_F()
[all …]
DHdfUsbdBenchmarkRequestTest.cpp367 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; in BENCHMARK_F() local
371 ret = g_usbInterface->RequestQueue(dev, pipe, clientData, bufferData); in BENCHMARK_F()
402 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; in BENCHMARK_F() local
405 ret = g_usbInterface->RequestQueue(dev, pipe, clientData, bufferData); in BENCHMARK_F()
438 OHOS::HDI::Usb::V1_0::UsbPipe pipe = { interfaceId, pointId }; in BENCHMARK_F() local
441 ret = g_usbInterface->RequestQueue(dev, pipe, clientData, bufferData); in BENCHMARK_F()
443 ret = g_usbInterface->RequestCancel(dev, pipe); in BENCHMARK_F()
500 OHOS::HDI::Usb::V1_0::UsbPipe pipe = {interfaceId, pointId}; in BENCHMARK_F() local
502 auto ret = g_usbInterface->RegBulkCallback(dev, pipe, usbdBulkCallback); in BENCHMARK_F()
505 ret = g_usbInterface->BulkCancel(dev, pipe); in BENCHMARK_F()
[all …]
/test/xts/acts/kernel_lite/ipc_posix/pipe_fifo/
DPipeTest.cpp45 ret = pipe(fd);
82 int ret = pipe(fd);
129 tmpInt = pipe(fd);
191 ret = pipe(fd);
244 ret = pipe(fd);
/test/xts/acts/driver/device_manager_ndk/entry/src/main/cpp/
Dusbddk.cpp519 struct UsbRequestPipe pipe; in UsbSendPipeRequestOne() local
520 pipe.interfaceHandle = interfaceHandle; in UsbSendPipeRequestOne()
521 pipe.endpoint = endpoint1; in UsbSendPipeRequestOne()
522 pipe.timeout = UINT32_MAX; in UsbSendPipeRequestOne()
523 int32_t returnValue = OH_Usb_SendPipeRequest(&pipe, devMemMap); in UsbSendPipeRequestOne()
549 struct UsbRequestPipe pipe; in UsbSendPipeRequestTwo() local
550 pipe.interfaceHandle = interfaceHandle; in UsbSendPipeRequestTwo()
551 pipe.endpoint = ENDPOINT; in UsbSendPipeRequestTwo()
552 pipe.timeout = UINT32_MAX; in UsbSendPipeRequestTwo()
553 int32_t returnValue = OH_Usb_SendPipeRequest(&pipe, devMemMap); in UsbSendPipeRequestTwo()
[all …]
/test/xts/acts/arkui/libuv/
DBUILD.gn93 "//third_party/libuv/test/test-pipe-bind-error.c",
94 "//third_party/libuv/test/test-pipe-close-stdout-read-stdin.c",
95 "//third_party/libuv/test/test-pipe-connect-error.c",
96 "//third_party/libuv/test/test-pipe-connect-multiple.c",
97 "//third_party/libuv/test/test-pipe-connect-prepare.c",
98 "//third_party/libuv/test/test-pipe-getsockname.c",
99 "//third_party/libuv/test/test-pipe-pending-instances.c",
100 "//third_party/libuv/test/test-pipe-sendmsg.c",
101 "//third_party/libuv/test/test-pipe-server-close.c",
102 "//third_party/libuv/test/test-pipe-set-fchmod.c",
[all …]
/test/testfwk/arkxtest/uitest/test/
Dipc_transactor_test.cpp95 ASSERT_EQ(pipe(fds), 0); in TEST_P()
140 ASSERT_EQ(pipe(fds), 0); in TEST()
197 ASSERT_EQ(pipe(fds), 0); in TEST()
245 ASSERT_EQ(pipe(fds), 0); in TEST()
288 ASSERT_EQ(pipe(fds), 0); in TEST()
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
Dpollndk.cpp74 pipe(fd); in PollChk()
103 pipe(fd); in PpollChk()
Dfcntlndk.cpp87 pipe(pipefd1); in Tee()
90 pipe(pipefd2); in Tee()
105 pipe(pipe_fds); in Vmsplice()
Dfcntl1ndk.cpp68 pipe(pipefd1); in Tee()
71 pipe(pipefd2); in Tee()
100 pipe(pipe_fds); in Vmsplice()
Dspawnndk1.cpp76 pipe(p); in PosixSpawnFileActionsAddclose()
Dunistdndk.cpp1443 int ret = pipe(fd); in Pipe()
/test/xts/acts/kernel_lite/utils/
Dmt_utils.cpp95 return pipe(g_pipeFd); in InitPipe()
/test/xts/hats/kernel/posix_interface/interface_gn/utils/
Dmt_utils.cpp98 return pipe(g_pipeFd); in InitPipe()
/test/testfwk/xdevice/src/xdevice/_core/
Dutils.py63 def start_standing_subprocess(cmd, pipe=subprocess.PIPE, return_result=False): argument
80 process = subprocess.Popen(cmd, stdout=pipe, shell=False,
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/ets/test/
DUnistdNdk.test.ets913 * @tc.desc : test pipe
919 let data: number = unistd.pipe();
/test/xts/acts/barrierfree/accessiblesendevent/hvigor/
Dhvigor-wrapper.js16pipe(t))).once("close",(()=>vi(e,n,r,u)))}))}(e,t,n,r,u)}function vi(e,t,n,r){di.chmod(t,e.mode,(u…
/test/xts/acts/multimedia/avsource/hvigor/
Dhvigor-wrapper.js16pipe(t))).once("close",(()=>vi(e,n,r,u)))}))}(e,t,n,r,u)}function vi(e,t,n,r){di.chmod(t,e.mode,(u…
/test/xts/acts/arkcompiler/esmodule/esmodule_ohostestlib/hvigor/
Dhvigor-wrapper.js16pipe(t))).once("close",(()=>vi(e,n,r,u)))}))}(e,t,n,r,u)}function vi(e,t,n,r){di.chmod(t,e.mode,(u…
/test/xts/tools/sample/AppSampleD/hvigor/
Dhvigor-wrapper.js16pipe(t))).once("close",(()=>vi(e,n,r,u)))}))}(e,t,n,r,u)}function vi(e,t,n,r){di.chmod(t,e.mode,(u…
/test/xts/acts/barrierfree/accessibleregisterstate/hvigor/
Dhvigor-wrapper.js16pipe(t))).once("close",(()=>vi(e,n,r,u)))}))}(e,t,n,r,u)}function vi(e,t,n,r){di.chmod(t,e.mode,(u…

12