Searched refs:mSock (Results 1 - 6 of 6) sorted by relevance

/system/vold/
H A DNetlinkManager.cpp60 if ((mSock = socket(PF_NETLINK,
66 if (setsockopt(mSock, SOL_SOCKET, SO_RCVBUFFORCE, &sz, sizeof(sz)) < 0) {
71 if (setsockopt(mSock, SOL_SOCKET, SO_PASSCRED, &on, sizeof(on)) < 0) {
76 if (bind(mSock, (struct sockaddr *) &nladdr, sizeof(nladdr)) < 0) {
81 mHandler = new NetlinkHandler(mSock);
97 close(mSock);
98 mSock = -1;
H A DNetlinkManager.h32 int mSock; member in class:NetlinkManager
/system/core/libsysutils/src/
H A DSocketListener.cpp49 mSock = socketFd;
56 if (mSocketName && mSock > -1)
57 close(mSock);
73 if (!mSocketName && mSock == -1) {
78 if ((mSock = android_get_control_socket(mSocketName)) < 0) {
83 SLOGV("got mSock = %d for %s", mSock, mSocketName);
86 if (mListen && listen(mSock, 4) < 0) {
90 mClients->push_back(new SocketClient(mSock, false, mUseCmdNum));
125 if (mSocketName && mSock >
[all...]
/system/netd/
H A DSoftapController.cpp48 mSock = socket(AF_INET, SOCK_DGRAM, 0);
49 if (mSock < 0)
54 if (mSock >= 0)
55 close(mSock);
66 if (mSock < 0) {
105 if (mSock < 0) {
134 if (mSock < 0) {
230 if (mSock < 0) {
H A DSoftapController.h31 int mSock; member in class:SoftapController
/system/core/include/sysutils/
H A DSocketListener.h26 int mSock; member in class:SocketListener

Completed in 198 milliseconds