Searched refs:socket_fd (Results 1 – 2 of 2) sorted by relevance
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_sock.c | 52 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 LOGE("error create socket fd =%d", socket_fd); in mm_camera_socket_create() 72 return socket_fd; in mm_camera_socket_create() 79 rc = connect(socket_fd, &sock_addr.addr, sizeof(sock_addr.addr_un)); in mm_camera_socket_create() 81 close(socket_fd); in mm_camera_socket_create() 82 socket_fd = -1; in mm_camera_socket_create() 83 LOGE("socket_fd=%d %s ", socket_fd, strerror(errno)); in mm_camera_socket_create() 86 LOGD("socket_fd=%d %s", socket_fd, in mm_camera_socket_create() [all …]
|
/hardware/interfaces/bluetooth/1.0/default/test/ |
D | async_fd_watcher_unittest.cc | 201 int socket_fd = StartServer(); in TEST_F() local 204 conn_watcher.WatchFdForNonBlockingReads(socket_fd, [this](int fd) { in TEST_F() 217 close(socket_fd); in TEST_F() 222 int socket_fd = StartServer(); in TEST_F() local 227 conn_watcher.WatchFdForNonBlockingReads(socket_fd, [this](int fd) { in TEST_F() 239 close(socket_fd); in TEST_F() 244 int socket_fd = StartServer(); in TEST_F() local 249 conn_watcher.WatchFdForNonBlockingReads(socket_fd, [this](int fd) { in TEST_F() 271 close(socket_fd); in TEST_F()
|