/foundation/multimodalinput/input/service/module_loader/test/ |
H A D | uds_server_test.cpp | 192 int32_t serverFd = 1; in HWTEST_F() local 196 udsServer.AddSocketPairInfo(programName, moduleType, uid, pid, serverFd, toReturnClientFd, tokenType); in HWTEST_F() 216 int32_t serverFd = 1; in HWTEST_F() local 220 udsServer.AddSocketPairInfo(programName, moduleType, uid, pid, serverFd, toReturnClientFd, tokenType); in HWTEST_F() 239 int32_t serverFd = 1; in HWTEST_F() local 244 ret = udsServer.AddSocketPairInfo(programName, moduleType, uid, pid, serverFd, toReturnClientFd, tokenType); in HWTEST_F() 260 int32_t serverFd = 1; in HWTEST_F() local 267 udsServer.AddSocketPairInfo(programName, moduleType, uid, pid, serverFd, toReturnClientFd, tokenType); in HWTEST_F() 268 ret = udsServer.SetFdProperty(tokenType, serverFd, toReturnClientFd); in HWTEST_F() 284 int32_t serverFd in HWTEST_F() local 309 int32_t serverFd = 1; HWTEST_F() local 332 int32_t serverFd = 1; HWTEST_F() local 355 int32_t serverFd = 1; HWTEST_F() local 379 int32_t serverFd = 1; HWTEST_F() local 404 int32_t serverFd = 1; HWTEST_F() local 428 int32_t serverFd = 1; HWTEST_F() local 451 int32_t serverFd = 1; HWTEST_F() local 474 int32_t serverFd = 1; HWTEST_F() local 498 int32_t serverFd = 1; HWTEST_F() local 521 int32_t serverFd = 1; HWTEST_F() local 544 int32_t serverFd = 1; HWTEST_F() local 585 int32_t serverFd = 123; HWTEST_F() local 609 int32_t serverFd = 123; HWTEST_F() local [all...] |
/foundation/communication/dsoftbus/core/adapter/br/mock/ |
H A D | wrapper_br_interface.c | 51 static void CloseSppServer(int32_t serverFd) in CloseSppServer() argument 53 CONN_LOGI(CONN_BR, "[CloseServer Connect, and serverFd=%{public}d]", serverFd); in CloseSppServer() 54 SppServerClose(serverFd); in CloseSppServer() 101 static int32_t Accept(int32_t serverFd) in Accept() argument 103 CONN_LOGI(CONN_BR, "[Accept remote device to connect, and serverFd=%{public}d]", serverFd); in Accept() 104 int32_t ret = SppServerAccept(serverFd); in Accept()
|
/foundation/multimodalinput/input/service/module_loader/src/ |
H A D | uds_server.cpp | 103 int32_t& serverFd, int32_t& toReturnClientFd, int32_t& tokenType) in AddSocketPairInfo() 112 serverFd = sockFds[0]; in AddSocketPairInfo() 114 if (serverFd < 0 || toReturnClientFd < 0) { in AddSocketPairInfo() 120 if (SetFdProperty(tokenType, serverFd, toReturnClientFd) != RET_OK) { in AddSocketPairInfo() 125 if (AddEpoll(EPOLL_EVENT_SOCKET, serverFd) != RET_OK) { in AddSocketPairInfo() 129 sess = std::make_shared<UDSSession>(programName, moduleType, serverFd, uid, pid); in AddSocketPairInfo() 144 close(serverFd); in AddSocketPairInfo() 145 serverFd = IMultimodalInputConnect::INVALID_SOCKET_FD; in AddSocketPairInfo() 151 int32_t UDSServer::SetFdProperty(int32_t& tokenType, int32_t& serverFd, int32_t& toReturnClientFd) in SetFdProperty() argument 161 if (setsockopt(serverFd, SOL_SOCKE in SetFdProperty() 101 AddSocketPairInfo(const std::string& programName, const int32_t moduleType, const int32_t uid, const int32_t pid, int32_t& serverFd, int32_t& toReturnClientFd, int32_t& tokenType) AddSocketPairInfo() argument [all...] |
H A D | mmi_service.cpp | 1001 int32_t serverFd = IMultimodalInputConnect::INVALID_SOCKET_FD; in AllocSocketFd() local 1007 [this, &programName, moduleType, uid, pid, &serverFd, &toReturnClientFd, &tokenType] { in AllocSocketFd() 1008 return this->AddSocketPairInfo(programName, moduleType, uid, pid, serverFd, toReturnClientFd, tokenType); in AllocSocketFd() 1016 .serverFd = serverFd in AllocSocketFd()
|
/foundation/multimodalinput/input/service/connect_manager/include/ |
H A D | i_uds_server.h | 27 const int32_t pid, int32_t& serverFd, int32_t& toReturnClientFd,
|
/foundation/multimodalinput/input/service/module_loader/include/ |
H A D | uds_server.h | 61 const int32_t pid, int32_t& serverFd, int32_t& toReturnClientFd, int32_t& tokenType) override; 83 int32_t SetFdProperty(int32_t& tokenType, int32_t& serverFd, int32_t& toReturnClientFd);
|
/foundation/communication/dsoftbus/core/adapter/br/include/ |
H A D | wrapper_br_interface.h | 49 void (*CloseSppServer)(int32_t serverFd); 54 int32_t (*Accept)(int32_t serverFd);
|
/foundation/communication/dhcp/services/dhcp_server/src/ |
H A D | dhcp_s_server.cpp | 89 int serverFd; member 524 ctx->instance->serverFd = InitServer(ctx->ifname); in BeginLooper() 525 if (ctx->instance->serverFd < 0) { in BeginLooper() 539 int recvRet = ReceiveDhcpMessage(ctx->instance->serverFd, &from); in BeginLooper() 557 close(ctx->instance->serverFd); in BeginLooper() 558 ctx->instance->serverFd = -1; in BeginLooper() 1600 ret = sendto(srvIns->serverFd, &reply->packet, reply->length, 0, (struct sockaddr *)destAddrIn, in SendDhcpOffer() 1603 ret = sendto(srvIns->serverFd, &reply->packet, reply->length, 0, (struct sockaddr *)bcastAddrIn, in SendDhcpOffer() 1608 srvIns->serverFd, &reply->packet, reply->length, 0, (struct sockaddr *)bcastAddrIn, sizeof(*bcastAddrIn)); in SendDhcpOffer() 1646 int ret = sendto(srvIns->serverFd, in SendDhcpAck() [all...] |
/foundation/multimodalinput/input/service/dfx/include/ |
H A D | dfx_hisysevent.h | 53 int32_t serverFd { -1 };
|
/foundation/communication/dhcp/test/unittest/services/dhcp_server/unittest/ |
H A D | dhcp_s_server_test.cpp | 40 int serverFd; member
|
/foundation/multimodalinput/input/service/window_manager/test/ |
H A D | mock.cpp | 157 int32_t& serverFd, int32_t& toReturnClientFd, int32_t& tokenType) in AddSocketPairInfo() 155 AddSocketPairInfo(const std::string& programName, const int32_t moduleType, const int32_t uid, const int32_t pid, int32_t& serverFd, int32_t& toReturnClientFd, int32_t& tokenType) AddSocketPairInfo() argument
|
/foundation/multimodalinput/input/service/dfx/src/ |
H A D | dfx_hisysevent.cpp | 152 "SERVER_FD", data.serverFd, in OnClientConnect()
|