/hardware/qcom/sdm845/gps/msm8998/android/ |
D | AGnssRil.cpp | 61 int socketFd = -1; in createSocket() local 63 if ((socketFd = socket(AF_UNIX, SOCK_STREAM, 0)) < 0) { in createSocket() 71 if (::connect(socketFd, (struct sockaddr*)&addr, sizeof(addr)) < 0) { in createSocket() 73 if (::close(socketFd)) { in createSocket() 76 socketFd = -1; in createSocket() 80 return socketFd; in createSocket() 83 static inline void closeSocket(const int socketFd) { in closeSocket() argument 84 if (socketFd >= 0) { in closeSocket() 85 if(::close(socketFd)) { in closeSocket() 92 int socketFd = createSocket(); in sendConnectionEvent() local [all …]
|
/hardware/qcom/gps/msm8998/android/ |
D | AGnssRil.cpp | 61 int socketFd = -1; in createSocket() local 63 if ((socketFd = socket(AF_UNIX, SOCK_STREAM, 0)) < 0) { in createSocket() 71 if (::connect(socketFd, (struct sockaddr*)&addr, sizeof(addr)) < 0) { in createSocket() 73 if (::close(socketFd)) { in createSocket() 76 socketFd = -1; in createSocket() 80 return socketFd; in createSocket() 83 static inline void closeSocket(const int socketFd) { in closeSocket() argument 84 if (socketFd >= 0) { in closeSocket() 85 if(::close(socketFd)) { in closeSocket() 92 int socketFd = createSocket(); in sendConnectionEvent() local [all …]
|
/hardware/qcom/gps/msm8909w_3100/gnss/ |
D | XtraSystemStatusObserver.cpp | 88 int socketFd = createSocket(); in sendEvent() local 89 if (socketFd < 0) { in sendEvent() 98 (sent = ::send(socketFd, data.c_str() + (data.length() - remain), in sendEvent() 107 closeSocket(socketFd); in sendEvent() 114 int socketFd = -1; in createSocket() local 116 if ((socketFd = socket(AF_UNIX, SOCK_STREAM, 0)) < 0) { in createSocket() 124 if (::connect(socketFd, (struct sockaddr*)&addr, sizeof(addr)) < 0) { in createSocket() 126 if (::close(socketFd)) { in createSocket() 129 socketFd = -1; in createSocket() 133 return socketFd; in createSocket() [all …]
|
D | XtraSystemStatusObserver.h | 64 void closeSocket(const int32_t socketFd);
|
/hardware/qcom/sdm845/gps/loc_api/libloc_api_50001/ |
D | loc.cpp | 990 int socketFd = -1; in createSocket() local 992 if ((socketFd = socket(AF_UNIX, SOCK_STREAM, 0)) < 0) { in createSocket() 1000 if (::connect(socketFd, (struct sockaddr*)&addr, sizeof(addr)) < 0) { in createSocket() 1002 if (::close(socketFd)) { in createSocket() 1005 socketFd = -1; in createSocket() 1009 return socketFd; in createSocket() 1012 static inline void closeSocket(const int socketFd) { in closeSocket() argument 1013 if (socketFd >= 0) { in closeSocket() 1014 if(::close(socketFd)) { in closeSocket() 1021 int socketFd = createSocket(); in sendConnectionEvent() local [all …]
|
/hardware/qcom/gps/loc_api/libloc_api_50001/ |
D | loc.cpp | 990 int socketFd = -1; in createSocket() local 992 if ((socketFd = socket(AF_UNIX, SOCK_STREAM, 0)) < 0) { in createSocket() 1000 if (::connect(socketFd, (struct sockaddr*)&addr, sizeof(addr)) < 0) { in createSocket() 1002 if (::close(socketFd)) { in createSocket() 1005 socketFd = -1; in createSocket() 1009 return socketFd; in createSocket() 1012 static inline void closeSocket(const int socketFd) { in closeSocket() argument 1013 if (socketFd >= 0) { in closeSocket() 1014 if(::close(socketFd)) { in closeSocket() 1021 int socketFd = createSocket(); in sendConnectionEvent() local [all …]
|
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/ |
D | loc.cpp | 144 int socketFd = -1; in createSocket() local 146 if ((socketFd = socket(AF_UNIX, SOCK_STREAM, 0)) < 0) { in createSocket() 154 if (::connect(socketFd, (struct sockaddr*)&addr, sizeof(addr)) < 0) { in createSocket() 156 if (::close(socketFd)) { in createSocket() 159 socketFd = -1; in createSocket() 163 return socketFd; in createSocket() 166 static inline void closeSocket(const int socketFd) { in closeSocket() argument 167 if (socketFd >= 0) { in closeSocket() 168 if(::close(socketFd)) { in closeSocket() 175 int socketFd = createSocket(); in sendConnectionEvent() local [all …]
|
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/ |
D | loc.cpp | 995 int socketFd = -1; in createSocket() local 997 if ((socketFd = socket(AF_UNIX, SOCK_STREAM, 0)) < 0) { in createSocket() 1005 if (::connect(socketFd, (struct sockaddr*)&addr, sizeof(addr)) < 0) { in createSocket() 1007 if (::close(socketFd)) { in createSocket() 1010 socketFd = -1; in createSocket() 1014 return socketFd; in createSocket() 1017 static inline void closeSocket(const int socketFd) { in closeSocket() argument 1018 if (socketFd >= 0) { in closeSocket() 1019 if(::close(socketFd)) { in closeSocket() 1026 int socketFd = createSocket(); in sendConnectionEvent() local [all …]
|
/hardware/qcom/sdm845/gps/msm8996/loc_api/libloc_api_50001/ |
D | loc.cpp | 143 int socketFd = -1; in createSocket() local 145 if ((socketFd = socket(AF_UNIX, SOCK_STREAM, 0)) < 0) { in createSocket() 153 if (::connect(socketFd, (struct sockaddr*)&addr, sizeof(addr)) < 0) { in createSocket() 155 if (::close(socketFd)) { in createSocket() 158 socketFd = -1; in createSocket() 162 return socketFd; in createSocket() 165 static inline void closeSocket(const int socketFd) { in closeSocket() argument 166 if (socketFd >= 0) { in closeSocket() 167 if(::close(socketFd)) { in closeSocket() 174 int socketFd = createSocket(); in sendConnectionEvent() local [all …]
|