HomeSort by relevance Sort by last modified time
    Searched defs:socketFd (Results 1 - 8 of 8) sorted by null

  /hardware/qcom/gps/msm8998/android/
AGnssRil.cpp 61 int socketFd = -1;
63 if ((socketFd = socket(AF_UNIX, SOCK_STREAM, 0)) < 0) {
71 if (::connect(socketFd, (struct sockaddr*)&addr, sizeof(addr)) < 0) {
73 if (::close(socketFd)) {
76 socketFd = -1;
80 return socketFd;
83 static inline void closeSocket(const int socketFd) {
84 if (socketFd >= 0) {
85 if(::close(socketFd)) {
92 int socketFd = createSocket()
    [all...]
  /hardware/qcom/gps/sdm845/android/
AGnssRil.cpp 61 int socketFd = -1;
63 if ((socketFd = socket(AF_UNIX, SOCK_STREAM, 0)) < 0) {
71 if (::connect(socketFd, (struct sockaddr*)&addr, sizeof(addr)) < 0) {
73 if (::close(socketFd)) {
76 socketFd = -1;
80 return socketFd;
83 static inline void closeSocket(const int socketFd) {
84 if (socketFd >= 0) {
85 if(::close(socketFd)) {
92 int socketFd = createSocket()
    [all...]
  /system/netd/server/
FwmarkServer.cpp 42 int socketFd = -1;
43 int error = processClient(client, &socketFd);
44 if (socketFd >= 0) {
45 close(socketFd);
58 int FwmarkServer::processClient(SocketClient* client, int* socketFd) {
73 char cmsg[CMSG_SPACE(sizeof(*socketFd))];
102 cmsgh->cmsg_len == CMSG_LEN(sizeof(*socketFd))) {
103 memcpy(socketFd, CMSG_DATA(cmsgh), sizeof(*socketFd));
106 if (*socketFd < 0)
    [all...]
  /system/netd/client/
NetdClient.cpp 108 int socketFd = libcSocket(domain, type, protocol);
109 if (socketFd == -1) {
114 if (int error = setNetworkForSocket(netId, socketFd)) {
115 return closeFdAndSetErrno(socketFd, error);
118 return socketFd;
140 int socketFd;
142 socketFd = libcSocket(AF_INET6, SOCK_DGRAM | SOCK_CLOEXEC, 0);
144 socketFd = socket(AF_INET6, SOCK_DGRAM | SOCK_CLOEXEC, 0);
146 if (socketFd < 0) {
149 int error = setNetworkForSocket(netId, socketFd);
    [all...]
  /hardware/qcom/gps/loc_api/libloc_api_50001/
loc.cpp 990 int socketFd = -1;
992 if ((socketFd = socket(AF_UNIX, SOCK_STREAM, 0)) < 0) {
1000 if (::connect(socketFd, (struct sockaddr*)&addr, sizeof(addr)) < 0) {
1002 if (::close(socketFd)) {
1005 socketFd = -1;
1009 return socketFd;
1012 static inline void closeSocket(const int socketFd) {
1013 if (socketFd >= 0) {
1014 if(::close(socketFd)) {
1021 int socketFd = createSocket()
    [all...]
  /hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/
loc.cpp 143 int socketFd = -1;
145 if ((socketFd = socket(AF_UNIX, SOCK_STREAM, 0)) < 0) {
153 if (::connect(socketFd, (struct sockaddr*)&addr, sizeof(addr)) < 0) {
155 if (::close(socketFd)) {
158 socketFd = -1;
162 return socketFd;
165 static inline void closeSocket(const int socketFd) {
166 if (socketFd >= 0) {
167 if(::close(socketFd)) {
174 int socketFd = createSocket()
    [all...]
  /external/robolectric/v3/runtime/
android-all-4.1.2_r1-robolectric-0.jar 
  /prebuilts/misc/common/robolectric/lib/
android-all-4.1.2_r1-robolectric-0.jar 

Completed in 589 milliseconds