Searched refs:sock_addr (Results 1 – 4 of 4) sorted by relevance
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_sock.c | 54 struct sockaddr_un sock_addr; in mm_camera_socket_create() local 76 memset(&sock_addr, 0, sizeof(sock_addr)); in mm_camera_socket_create() 77 sock_addr.sun_family = AF_UNIX; in mm_camera_socket_create() 78 snprintf(sock_addr.sun_path, UNIX_PATH_MAX, "/data/cam_socket%d", cam_id); in mm_camera_socket_create() 79 if((rc = connect(socket_fd, (struct sockaddr *) &sock_addr, in mm_camera_socket_create() 80 sizeof(sock_addr))) != 0) { in mm_camera_socket_create() 86 CDBG("%s: socket_fd=%d %s", __func__, socket_fd, sock_addr.sun_path); in mm_camera_socket_create()
|
/device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_sock.c | 52 mm_camera_sock_addr_t sock_addr; in mm_camera_socket_create() local 74 memset(&sock_addr, 0, sizeof(sock_addr)); in mm_camera_socket_create() 75 sock_addr.addr_un.sun_family = AF_UNIX; in mm_camera_socket_create() 76 snprintf(sock_addr.addr_un.sun_path, in mm_camera_socket_create() 78 rc = connect(socket_fd, &sock_addr.addr, sizeof(sock_addr.addr_un)); in mm_camera_socket_create() 86 sock_addr.addr_un.sun_path); in mm_camera_socket_create()
|
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/ |
D | mm_camera_sock.c | 53 struct sockaddr_un sock_addr; in mm_camera_socket_create() local 75 memset(&sock_addr, 0, sizeof(sock_addr)); in mm_camera_socket_create() 76 sock_addr.sun_family = AF_UNIX; in mm_camera_socket_create() 77 snprintf(sock_addr.sun_path, UNIX_PATH_MAX, "/data/cam_socket%d", cam_id); in mm_camera_socket_create() 78 if((rc = connect(socket_fd, (struct sockaddr *) &sock_addr, in mm_camera_socket_create() 79 sizeof(sock_addr))) != 0) { in mm_camera_socket_create() 85 CDBG("%s: socket_fd=%d %s", __func__, socket_fd, sock_addr.sun_path); in mm_camera_socket_create()
|
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_sock.c | 52 mm_camera_sock_addr_t sock_addr; in mm_camera_socket_create() local 74 memset(&sock_addr, 0, sizeof(sock_addr)); in mm_camera_socket_create() 75 sock_addr.addr_un.sun_family = AF_UNIX; in mm_camera_socket_create() 76 snprintf(sock_addr.addr_un.sun_path, in mm_camera_socket_create() 78 rc = connect(socket_fd, &sock_addr.addr, sizeof(sock_addr.addr_un)); in mm_camera_socket_create() 86 sock_addr.addr_un.sun_path); in mm_camera_socket_create()
|