Searched refs:sock_fd (Results 1 – 2 of 2) sorted by relevance
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_socket.c | 551 int sock_fd = -1; in tunning_server_socket_listen() local 568 sock_fd = socket(AF_INET, SOCK_STREAM, 0); in tunning_server_socket_listen() 569 if (sock_fd < 0) { in tunning_server_socket_listen() 571 return sock_fd; in tunning_server_socket_listen() 575 socket_flag = fcntl(sock_fd, F_GETFL, 0); in tunning_server_socket_listen() 576 fcntl(sock_fd, F_SETFL, socket_flag | O_NONBLOCK); in tunning_server_socket_listen() 580 result = setsockopt(sock_fd, SOL_SOCKET, SO_REUSEADDR, in tunning_server_socket_listen() 585 close(sock_fd); in tunning_server_socket_listen() 586 sock_fd = -1; in tunning_server_socket_listen() 587 return sock_fd; in tunning_server_socket_listen() [all …]
|
/hardware/libhardware/include/hardware/ |
D | bt_sock.h | 63 const uint8_t* service_uuid, int channel, int* sock_fd, int flags, int callingUid); 72 int channel, int* sock_fd, int flags, int callingUid);
|