/test/testfwk/arkxtest/uitest/core/ |
H A D | ui_action.cpp | 23 static void DecomposeClick(PointerMatrix &recv, const Point &point, const UiOpArgs &options) in DecomposeClick() argument 30 recv = move(pointer); in DecomposeClick() 33 static void DecomposeLongClick(PointerMatrix &recv, const Point &point, const UiOpArgs &options) in DecomposeLongClick() argument 41 recv = move(pointer); in DecomposeLongClick() 44 static void DecomposeDoubleClick(PointerMatrix &recv, const Point &point, const UiOpArgs &options) in DecomposeDoubleClick() argument 55 recv = move(pointer); in DecomposeDoubleClick() 58 static void DecomposeComputeSwipe(PointerMatrix &recv, const Point &from, const Point &to, TouchOp type, in DecomposeComputeSwipe() argument 98 recv = move(pointer); in DecomposeComputeSwipe() 101 void GenericClick::Decompose(PointerMatrix &recv, const UiOpArgs &options) const in Decompose() argument 106 DecomposeClick(recv, point in Decompose() 122 Decompose(PointerMatrix &recv, const UiOpArgs &options) const Decompose() argument 131 Decompose(PointerMatrix &recv, const UiOpArgs &options) const Decompose() argument 162 Decompose(PointerMatrix &recv, const UiOpArgs &options) const Decompose() argument 278 Decompose(std::vector<MouseEvent> &recv, const UiOpArgs &opt) const Decompose() argument 283 Decompose(std::vector<MouseEvent> &recv, const UiOpArgs &opt) const Decompose() argument 295 Decompose(std::vector<MouseEvent> &recv, const UiOpArgs &opt) const Decompose() argument 329 Decompose(std::vector<MouseEvent> &recv, const UiOpArgs &opt) const Decompose() argument 359 Decompose(PointerMatrix &recv, const UiOpArgs &options) const Decompose() argument [all...] |
H A D | ui_action.h | 129 void ConvertToMouseEvents(vector<MouseEvent> &recv) const; 164 * @param recv: the event seqence receiver. 167 virtual void Decompose(PointerMatrix &recv, const UiOpArgs &options) const = 0; 177 void Decompose(PointerMatrix &recv, const UiOpArgs &options) const override; 193 void Decompose(PointerMatrix &recv, const UiOpArgs &options) const override; 210 void Decompose(PointerMatrix &recv, const UiOpArgs &options) const override; 226 void Decompose(PointerMatrix &recv, const UiOpArgs &options) const override; 240 virtual void ComputeEvents(std::vector<KeyEvent> &recv, const UiOpArgs &options) const = 0; 249 void ComputeEvents(vector<KeyEvent> &recv, const UiOpArgs &opt) const override 251 recv [all...] |
H A D | frontend_api_handler.cpp | 692 vector<unique_ptr<Widget>> recv; in RegisterUiDriverComponentFinders() 698 recv.emplace_back(move(result)); in RegisterUiDriverComponentFinders() 702 driver.FindWidgets(selector, recv, out.exception_); in RegisterUiDriverComponentFinders() 709 if (recv.empty()) { // widget-exist assertion failure, deliver exception in RegisterUiDriverComponentFinders() 714 for (auto &ptr : recv) { in RegisterUiDriverComponentFinders() 717 } else if (recv.empty()) { // return first one or null in RegisterUiDriverComponentFinders() 720 out.resultValue_ = StoreBackendObject(move(*(recv.begin())), driverRef); in RegisterUiDriverComponentFinders()
|
/test/testfwk/arkxtest/uitest/test/ |
H A D | extension_test.cpp | 180 // if recv arg is null, should fail in TEST_F() 201 auto recv = ReceiveBuffer {.data = buf, .capacity = bufSize, .size = &outSize}; in TEST_F() local 202 ASSERT_EQ(RETCODE_SUCCESS, portCapture.getUiTestVersion(recv)); in TEST_F() 219 auto recv = ReceiveBuffer {.data = buf, .capacity = bufSize, .size = &outSize}; in TEST_F() local 222 ASSERT_EQ(RETCODE_FAIL, portCapture.getAndClearLastError(nullptr, recv)); in TEST_F() 225 ASSERT_EQ(RETCODE_SUCCESS, portCapture.getAndClearLastError(&errCode, recv)); in TEST_F() 230 ASSERT_EQ(RETCODE_SUCCESS, portCapture.getAndClearLastError(&errCode, recv)); in TEST_F() 270 ReceiveBuffer recv; member 316 auto ret = llfs.callThroughMessage(callIn, suite.recv, suite.isFatalRecv); in TEST_F() 318 if (suite.recv in TEST_F() [all...] |
/test/testfwk/xdevice/plugins/ohos/src/ohos/environment/ |
H A D | dmlib.py | 504 pull_result = self.sock.recv(DATA_UNIT_LENGTH) 517 pull_result = self.sock.recv(DATA_UNIT_LENGTH * 2) 772 device.log.info("{} execute command: {} file recv {} to {}".format( 774 HdcHelper._operator_file("file recv", device, remote, local, timeout) 854 len_buf = sock.recv(DATA_UNIT_LENGTH) 859 data = sock.recv(length) 968 recv = sock.recv(length - recv_len) 969 if len(recv) > 0: 977 recv [all...] |
/test/xts/acts/communication_lite/lwip_hal/src/ |
H A D | lwip_func_test.c | 150 rst = recv(clnFd, dataBuf, sizeof(dataBuf), 0); in CommTcpClientTask() 152 printf("[comm client][%d]recv msg[%s]\n", clnFd, dataBuf); in CommTcpClientTask() 154 printf("[comm client][%d]recv no data\n", clnFd); in CommTcpClientTask() 196 ret = recv(clientFd, buf, sizeof(buf), 0); in SampleTcpServerTask() 197 printf("[tcp server]recv, ret=%d\n", ret); in SampleTcpServerTask() 225 ret = recv(clientFd, buf, sizeof(buf), 0); in SampleTcpServerTask() 232 printf("[tcp server]recv, recvSum=%d,recvTimes=%d\n", recvSum, recvTimes); in SampleTcpServerTask() 293 ret = recv(clientFd, buf, sizeof(buf), 0); in SampleTcpClientTask() 294 printf("[tcp client]recv,ret=%d\n", ret); in SampleTcpClientTask() 322 ret = recv(clientF in SampleTcpClientTask() [all...] |
/test/xts/acts/communication_lite/lwip_posix/src/ |
H A D | ActsLwipTest.cpp | 135 rst = recv(clnFd, dataBuf, sizeof(dataBuf), 0); in CommTcpClientTask() 137 printf("[comm client][%d]recv msg[%s]\n", clnFd, dataBuf); in CommTcpClientTask() 139 printf("[comm client][%d]recv no data\n", clnFd); in CommTcpClientTask() 193 ret = recv(clnFd, buf, sizeof(buf), 0); in SampleTcpServerTask() 194 printf("[tcp server]recv, ret=%d, msg[%s]\n", ret, buf); in SampleTcpServerTask() 281 ret = recv(clnFd, buf, sizeof(buf), 0); in SampleTcpClientTask() 282 printf("[tcp client]recv, ret=%d, msg[%s]\n", ret, buf); in SampleTcpClientTask() 348 ret = recv(cliFd, dataBuf, sizeof(dataBuf), 0); in TcpServerForFork() 350 printf("[server process]recv msg[%s]\n", dataBuf); in TcpServerForFork() 356 printf("[server process]recv n in TcpServerForFork() [all...] |
/test/xts/acts/pcs/pcs_ndk/entry/src/main/cpp/ |
H A D | pcsNetworkTest.cpp | 167 resultValue = recv(PARAM_0, buf, dataLen, PARAM_0);
in Recv() 173 resultValue = recv(sockets[PARAM_0], buf, sizeof buf, PARAM_0);
in Recv()
|
/test/xts/acts/kernel_lite/net_posix/src/ |
H A D | ActsNetTest.cpp | 156 rst = recv(clnFd, dataBuf, sizeof(dataBuf), 0); in CommTcpClientTask() 158 printf("[@@@][comm client][%d]recv msg[%s]\n", clnFd, dataBuf); in CommTcpClientTask() 160 printf("[@@@][comm client][%d]recv no data\n", clnFd); in CommTcpClientTask() 217 ret = recv(clnFd, buf, sizeof(buf), 0); in SampleTcpServerTask() 218 printf("[tcp server]recv, ret=%d, msg[%s]\n", ret, buf); in SampleTcpServerTask() 317 ret = recv(clnFd, buf, sizeof(buf), 0); in SampleTcpClientTask() 318 printf("[tcp client]recv, ret=%d, msg[%s]\n", ret, buf); in SampleTcpClientTask() 475 ret = recv(cliFd, dataBuf, sizeof(dataBuf), 0); in TcpServerForFork() 477 printf("[---][server process]recv msg[%s]\n", dataBuf); in TcpServerForFork() 483 printf("[---][server process]recv n in TcpServerForFork() [all...] |
/test/testfwk/developer_test/aw/cxx/distributed/ |
H A D | distributed_major.cpp | 200 rlen = recv(clientList_[devNo].fd, szrbuf, DST_COMMAND_HEAD_LEN, 0);
in SendToAgent() 209 recv(clientList_[devNo].fd, pCmdTest->alignmentCmd, pCmdTest->len, 0);
in SendToAgent() 210 HiLog::Info(DistributeTestEnvironment::LABEL, "recv agent data : No.%d command type :%d length :%d",
in SendToAgent()
|
H A D | distributed_agent.cpp | 160 int recvCmdLen = recv(clientSockFd_, buff, DST_COMMAND_HEAD_LEN, 0);
in DoCmdServer() 174 receiveLen = recv(clientSockFd_, pcline->alignmentCmd, static_cast<size_t>(pcline->len), 0);
in DoCmdServer()
|
/test/xts/hats/kernel/syscalls/net/data_handle/ |
H A D | DataHandleApiTest.cpp | 131 size = recv(clientFd, static_cast<void *>(buffer), BUFFER_SIZE, 0); in TcpClient() 512 * @tc.desc : send/recv and getsockname by client and service success. 541 // test recv success in HWTEST_F() 542 size = recv(acceptFd, static_cast<void *>(buffer), BUFFER_SIZE, 0); in HWTEST_F()
|
/test/xts/hats/kernel/syscalls/net/get_info/ |
H A D | GetInfoApiTest.cpp | 104 size = recv(clientFd, static_cast<void *>(buffer), BUFFER_SIZE, 0); in ClientConnect()
|
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/ |
H A D | socketndk.cpp | 277 resultValue = recv(PARAM_0, buf, data_len, PARAM_0);
in Recv() 283 resultValue = recv(sockets[PARAM_0], buf, sizeof buf, PARAM_0);
in Recv() 497 {"recv", nullptr, Recv, nullptr, nullptr, nullptr, napi_default, nullptr},
in Init()
|
/test/xts/acts/arkui/ace_napi_test_es/entry/src/main/cpp/napi/ |
H A D | napi_test.cpp | 3552 napi_value recv = args[1];
in MakeCallback() local 3565 napi_make_callback(env, context, recv, func, argc - 3, argv, &result)); // 3 : reserved arguments.
in MakeCallback() 3581 napi_value recv = args[1];
in MakeCallbackOne() local 3600 napi_make_callback(env, context, recv, func, argc - 3, argv, &result)); // 3 : reserved arguments.
in MakeCallbackOne()
|
/test/xts/acts/arkui/ace_napi_test/entry/src/main/cpp/napi/ |
H A D | napi_test.cpp | 3725 napi_value recv = args[1]; in MakeCallback() local 3738 napi_make_callback(env, context, recv, func, argc - 3, argv, &result)); // 3 : reserved arguments. in MakeCallback() 3754 napi_value recv = args[1]; in MakeCallbackOne() local 3773 napi_make_callback(env, context, recv, func, argc - 3, argv, &result)); // 3 : reserved arguments. in MakeCallbackOne() 9741 napi_value recv = args[1]; in makeCallbackTextNull() local 9754 napi_make_callback(env, nullptr, recv, func, argc - 3, argv, &result)); // 3 : reserved arguments. in makeCallbackTextNull()
|
/test/xts/acts/multimedia/drm/drm_ndk_test/entry/src/main/cpp/ |
H A D | hello.cpp | 217 while ((bytesReceived = recv(sockfd, buffer, sizeof(buffer) - 1, 0)) > 0) {
in getHttp() 223 std::cerr << "recv failed" << std::endl;
in getHttp()
|