Searched refs:skt_fd (Results 1 – 1 of 1) sorted by relevance
/system/bt/audio_a2dp_hw/ |
D | audio_a2dp_hw.c | 213 int skt_fd; in skt_connect() local 218 skt_fd = socket(AF_LOCAL, SOCK_STREAM, 0); in skt_connect() 220 if(osi_socket_local_client_connect(skt_fd, path, in skt_connect() 224 close(skt_fd); in skt_connect() 229 ret = setsockopt(skt_fd, SOL_SOCKET, SO_SNDBUF, (char*)&len, (int)sizeof(len)); in skt_connect() 233 ret = setsockopt(skt_fd, SOL_SOCKET, SO_RCVBUF, (char*)&len, (int)sizeof(len)); in skt_connect() 242 ret = setsockopt(skt_fd, SOL_SOCKET, SO_SNDTIMEO, &tv, sizeof(tv)); in skt_connect() 249 ret = setsockopt(skt_fd, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv)); in skt_connect() 253 INFO("connected to stack fd = %d", skt_fd); in skt_connect() 255 return skt_fd; in skt_connect()
|