Home
last modified time | relevance | path

Searched refs:serverFd (Results 1 - 12 of 12) sorted by relevance

/foundation/multimodalinput/input/service/module_loader/test/
H A Duds_server_test.cpp192 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 Dwrapper_br_interface.c51 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 Duds_server.cpp103 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 Dmmi_service.cpp1001 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 Di_uds_server.h27 const int32_t pid, int32_t& serverFd, int32_t& toReturnClientFd,
/foundation/multimodalinput/input/service/module_loader/include/
H A Duds_server.h61 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 Dwrapper_br_interface.h49 void (*CloseSppServer)(int32_t serverFd);
54 int32_t (*Accept)(int32_t serverFd);
/foundation/communication/dhcp/services/dhcp_server/src/
H A Ddhcp_s_server.cpp89 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 Ddfx_hisysevent.h53 int32_t serverFd { -1 };
/foundation/communication/dhcp/test/unittest/services/dhcp_server/unittest/
H A Ddhcp_s_server_test.cpp40 int serverFd; member
/foundation/multimodalinput/input/service/window_manager/test/
H A Dmock.cpp157 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 Ddfx_hisysevent.cpp152 "SERVER_FD", data.serverFd, in OnClientConnect()

Completed in 15 milliseconds