/system/bt/udrv/ulinux/ |
uipc.c | 97 int signal_fds[2]; member in struct:__anon74020 228 if (socketpair(AF_UNIX, SOCK_STREAM, 0, uipc_main.signal_fds) < 0) 233 FD_SET(uipc_main.signal_fds[0], &uipc_main.active_set); 234 uipc_main.max_fd = MAX(uipc_main.max_fd, uipc_main.signal_fds[0]); 256 close(uipc_main.signal_fds[0]); 257 close(uipc_main.signal_fds[1]); 334 if (SAFE_FD_ISSET(uipc_main.signal_fds[0], &uipc_main.read_set)) 337 OSI_NO_INTR(recv(uipc_main.signal_fds[0], &sig_recv, sizeof(sig_recv), 347 OSI_NO_INTR(send(uipc_main.signal_fds[1], &sig_on, sizeof(sig_on), 0));
|
/external/libnfc-nci/halimpl/bcm2079x/adaptation/ |
userial_linux.c | 433 static int signal_fds[2]; variable 436 if (signal_fds[0] == 0 && socketpair(AF_UNIX, SOCK_STREAM, 0, signal_fds) < 0) 441 set->fd = signal_fds[0]; 442 return signal_fds[0]; 458 stat = close(signal_fds[0]); 461 signal_fds[0] = 0; 463 stat = close(signal_fds[1]); 466 signal_fds[1] = 0; 482 ALOGD("%s: Sending signal to %d", __func__, signal_fds[1]) [all...] |
/system/bt/btif/src/ |
btif_hl.c | 93 static int signal_fds[2] = { -1, -1 }; variable [all...] |