Home
last modified time | relevance | path

Searched refs:socket_fd (Results 1 – 4 of 4) sorted by relevance

/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_sock.c53 int socket_fd; in mm_camera_socket_create() local
70 socket_fd = socket(AF_UNIX, sktype, 0); in mm_camera_socket_create()
71 if (socket_fd < 0) { in mm_camera_socket_create()
72 CDBG_ERROR("%s: error create socket fd =%d", __func__, socket_fd); in mm_camera_socket_create()
73 return socket_fd; in mm_camera_socket_create()
79 if((rc = connect(socket_fd, (struct sockaddr *) &sock_addr, in mm_camera_socket_create()
81 close(socket_fd); in mm_camera_socket_create()
82 socket_fd = -1; in mm_camera_socket_create()
83 CDBG_ERROR("%s: socket_fd=%d %s ", __func__, socket_fd, strerror(errno)); in mm_camera_socket_create()
86 CDBG("%s: socket_fd=%d %s", __func__, socket_fd, sock_addr.sun_path); in mm_camera_socket_create()
[all …]
/device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_sock.c51 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 …]
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera_sock.c52 int socket_fd; in mm_camera_socket_create() local
69 socket_fd = socket(AF_UNIX, sktype, 0); in mm_camera_socket_create()
70 if (socket_fd < 0) { in mm_camera_socket_create()
71 CDBG_ERROR("%s: error create socket fd =%d", __func__, socket_fd); in mm_camera_socket_create()
72 return socket_fd; in mm_camera_socket_create()
78 if((rc = connect(socket_fd, (struct sockaddr *) &sock_addr, 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, sock_addr.sun_path); in mm_camera_socket_create()
[all …]
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_sock.c51 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 …]