Home
last modified time | relevance | path

Searched refs:toReturnClientFd (Results 1 - 8 of 8) sorted by relevance

/foundation/multimodalinput/input/service/module_loader/test/
H A Duds_server_test.cpp193 int32_t toReturnClientFd = 1; in HWTEST_F() local
196 udsServer.AddSocketPairInfo(programName, moduleType, uid, pid, serverFd, toReturnClientFd, tokenType); in HWTEST_F()
217 int32_t toReturnClientFd = 1; in HWTEST_F() local
220 udsServer.AddSocketPairInfo(programName, moduleType, uid, pid, serverFd, toReturnClientFd, tokenType); in HWTEST_F()
240 int32_t toReturnClientFd = 1; in HWTEST_F() local
244 ret = udsServer.AddSocketPairInfo(programName, moduleType, uid, pid, serverFd, toReturnClientFd, tokenType); in HWTEST_F()
265 int32_t toReturnClientFd = 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()
289 int32_t toReturnClientFd in HWTEST_F() local
314 int32_t toReturnClientFd = 1; HWTEST_F() local
337 int32_t toReturnClientFd = 1; HWTEST_F() local
360 int32_t toReturnClientFd = 1; HWTEST_F() local
384 int32_t toReturnClientFd = 1; HWTEST_F() local
409 int32_t toReturnClientFd = 1; HWTEST_F() local
433 int32_t toReturnClientFd = 1; HWTEST_F() local
456 int32_t toReturnClientFd = 1; HWTEST_F() local
479 int32_t toReturnClientFd = 1; HWTEST_F() local
503 int32_t toReturnClientFd = 1; HWTEST_F() local
526 int32_t toReturnClientFd = 1; HWTEST_F() local
549 int32_t toReturnClientFd = 1; HWTEST_F() local
586 int32_t toReturnClientFd = 456; HWTEST_F() local
610 int32_t toReturnClientFd = 456; HWTEST_F() local
[all...]
H A Dmmi_service_test.cpp250 int32_t toReturnClientFd = 1; in HWTEST_F() local
252 int32_t ret = mmiService.AllocSocketFd(programName, moduleType, toReturnClientFd, tokenType); in HWTEST_F()
/foundation/multimodalinput/input/service/module_loader/src/
H A Duds_server.cpp103 int32_t& serverFd, int32_t& toReturnClientFd, int32_t& tokenType) in AddSocketPairInfo()
113 toReturnClientFd = sockFds[1]; in AddSocketPairInfo()
114 if (serverFd < 0 || toReturnClientFd < 0) { in AddSocketPairInfo()
120 if (SetFdProperty(tokenType, serverFd, toReturnClientFd) != RET_OK) { in AddSocketPairInfo()
146 close(toReturnClientFd); in AddSocketPairInfo()
147 toReturnClientFd = IMultimodalInputConnect::INVALID_SOCKET_FD; in AddSocketPairInfo()
151 int32_t UDSServer::SetFdProperty(int32_t& tokenType, int32_t& serverFd, int32_t& toReturnClientFd) in SetFdProperty() argument
170 if (setsockopt(toReturnClientFd, SOL_SOCKET, SO_SNDBUF, &nativeBufferSize, sizeof(nativeBufferSize)) != 0) { in SetFdProperty()
171 MMI_HILOGE("Setsockopt toReturnClientFd failed, errno:%{public}d", errno); in SetFdProperty()
174 if (setsockopt(toReturnClientFd, 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.cpp997 int32_t MMIService::AllocSocketFd(const std::string &programName, const int32_t moduleType, int32_t &toReturnClientFd, in AllocSocketFd() argument
1000 toReturnClientFd = IMultimodalInputConnect::INVALID_SOCKET_FD; in AllocSocketFd()
1007 [this, &programName, moduleType, uid, pid, &serverFd, &toReturnClientFd, &tokenType] { in AllocSocketFd()
1008 return this->AddSocketPairInfo(programName, moduleType, uid, pid, serverFd, toReturnClientFd, tokenType); 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);
H A Dmmi_service.h50 int32_t &toReturnClientFd, int32_t &tokenType) override;
/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

Completed in 13 milliseconds