Searched refs:socket_fd (Results 1 – 1 of 1) sorted by relevance
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_sock.c | 51 int socket_fd; in mm_camera_socket_create() local 68 socket_fd = socket(AF_UNIX, sktype, 0); in mm_camera_socket_create() 69 if (socket_fd < 0) { in mm_camera_socket_create() 70 CDBG_ERROR("%s: error create socket fd =%d", __func__, socket_fd); in mm_camera_socket_create() 71 return socket_fd; in mm_camera_socket_create() 78 rc = connect(socket_fd, &sock_addr.addr, sizeof(sock_addr.addr_un)); in mm_camera_socket_create() 80 close(socket_fd); in mm_camera_socket_create() 81 socket_fd = -1; in mm_camera_socket_create() 82 CDBG_ERROR("%s: socket_fd=%d %s ", __func__, socket_fd, strerror(errno)); in mm_camera_socket_create() 85 CDBG("%s: socket_fd=%d %s", __func__, socket_fd, in mm_camera_socket_create() [all …]
|