Home
last modified time | relevance | path

Searched refs:sockFds (Results 1 – 2 of 2) sorted by relevance

/base/sensors/sensor/services/sensor/src/
Dstream_server.cpp83 int32_t sockFds[2] = { -1 }; in AddSocketPairInfo() local
84 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sockFds) != 0) { in AddSocketPairInfo()
88 serverFd = sockFds[0]; in AddSocketPairInfo()
89 clientFd = sockFds[1]; in AddSocketPairInfo()
/base/msdp/device_status/services/native/src/
Dstream_server.cpp98 int32_t sockFds[2] = { -1 }; in AddSocketPairInfo() local
100 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sockFds) != 0) { in AddSocketPairInfo()
104 serverFd = sockFds[0]; in AddSocketPairInfo()
105 toReturnClientFd = sockFds[1]; in AddSocketPairInfo()