Home
last modified time | relevance | path

Searched refs:toReturnClientFd (Results 1 – 15 of 15) sorted by relevance

/ohos5.0/base/msdp/device_status/services/native/src/
H A Dstream_server.cpp105 toReturnClientFd = sockFds[1]; in AddSocketPairInfo()
106 if (serverFd < 0 || toReturnClientFd < 0) { in AddSocketPairInfo()
119 return CloseFd(serverFd, toReturnClientFd); in AddSocketPairInfo()
123 return CloseFd(serverFd, toReturnClientFd); in AddSocketPairInfo()
137 return CloseFd(serverFd, toReturnClientFd); in SetSockOpt()
141 return CloseFd(serverFd, toReturnClientFd); in SetSockOpt()
146 return CloseFd(serverFd, toReturnClientFd); in SetSockOpt()
150 return CloseFd(serverFd, toReturnClientFd); in SetSockOpt()
155 return CloseFd(serverFd, toReturnClientFd); in SetSockOpt()
171 if (close(toReturnClientFd) < 0) { in CloseFd()
[all …]
H A Ddevicestatus_service.cpp347 int32_t &toReturnClientFd, int32_t &tokenType) in AllocSocketFd() argument
351 toReturnClientFd = -1; in AllocSocketFd()
356 [this, programName, moduleType, uid, pid, &serverFd, &toReturnClientFd, &tokenType] { in AllocSocketFd()
358 toReturnClientFd, tokenType); in AllocSocketFd()
/ohos5.0/foundation/multimodalinput/input/service/module_loader/test/
H A Duds_server_test.cpp195 int32_t toReturnClientFd = 1; variable
219 int32_t toReturnClientFd = 1; variable
242 int32_t toReturnClientFd = 1; variable
267 int32_t toReturnClientFd = 1; variable
291 int32_t toReturnClientFd = 1; variable
316 int32_t toReturnClientFd = 1; variable
339 int32_t toReturnClientFd = 1; variable
362 int32_t toReturnClientFd = 1; variable
386 int32_t toReturnClientFd = 1; variable
411 int32_t toReturnClientFd = 1; variable
[all …]
H A Dmmi_service_test.cpp255 int32_t toReturnClientFd = 1; variable
258 int32_t ret = mmiService.AllocSocketFd(programName, moduleType, toReturnClientFd, tokenType);
/ohos5.0/foundation/multimodalinput/input/service/module_loader/src/
H A Duds_server.cpp103 int32_t& serverFd, int32_t& toReturnClientFd, int32_t& tokenType) in AddSocketPairInfo() argument
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
165 …if (setsockopt(toReturnClientFd, SOL_SOCKET, SO_SNDBUF, &nativeBufferSize, sizeof(nativeBufferSize… in SetFdProperty()
169 …if (setsockopt(toReturnClientFd, SOL_SOCKET, SO_RCVBUF, &nativeBufferSize, sizeof(nativeBufferSize… in SetFdProperty()
174 … if (setsockopt(toReturnClientFd, SOL_SOCKET, SO_SNDBUF, &bufferSize, sizeof(bufferSize)) != 0) { in SetFdProperty()
[all …]
H A Dmmi_service.cpp479 …:AllocSocketFd(const std::string &programName, const int32_t moduleType, int32_t &toReturnClientFd, in AllocSocketFd() argument
482 toReturnClientFd = IMultimodalInputConnect::INVALID_SOCKET_FD; in AllocSocketFd()
489 [this, &programName, moduleType, uid, pid, &serverFd, &toReturnClientFd, &tokenType] { in AllocSocketFd()
490 … this->AddSocketPairInfo(programName, moduleType, uid, pid, serverFd, toReturnClientFd, tokenType); in AllocSocketFd()
/ohos5.0/base/msdp/device_status/services/native/include/
H A Dstream_server.h56 int32_t &serverFd, int32_t &toReturnClientFd, int32_t &tokenType) override;
62 int32_t SetSockOpt(int32_t &serverFd, int32_t &toReturnClientFd, int32_t &tokenType);
63 int32_t CloseFd(int32_t &serverFd, int32_t &toReturnClientFd);
H A Di_stream_server.h28 int32_t pid, int32_t &serverFd, int32_t &toReturnClientFd,
H A Ddevicestatus_service.h101 int32_t &toReturnClientFd, int32_t &tokenType) override;
/ohos5.0/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;
/ohos5.0/foundation/multimodalinput/input/service/connect_manager/include/
H A Di_uds_server.h27 … const int32_t pid, int32_t& serverFd, int32_t& toReturnClientFd,
/ohos5.0/base/msdp/device_status/rust/services/binding/include/
H A Dfusion_services_binding.h35 int32_t moduleType, int32_t *toReturnClientFd, int32_t *tokenType);
/ohos5.0/base/msdp/device_status/rust/services/binding/src/
H A Dfusion_services_binding.cpp78 int32_t moduleType, int32_t *toReturnClientFd, int32_t *tokenType) in NativeServiceAllocSocketFd() argument
/ohos5.0/foundation/multimodalinput/input/service/window_manager/test/
H A Dmock.cpp239 int32_t& serverFd, int32_t& toReturnClientFd, int32_t& tokenType) in AddSocketPairInfo() argument