Home | History | Annotate | Download | only in adaptation

Lines Matching refs:signal_fds

403 static int signal_fds[2];
406 if (signal_fds[0] == 0 && socketpair(AF_UNIX, SOCK_STREAM, 0, signal_fds) < 0)
411 set->fd = signal_fds[0];
412 return signal_fds[0];
426 close(signal_fds[0]);
427 signal_fds[0] = 0;
429 close(signal_fds[1]);
430 signal_fds[1] = 0;
446 ALOGD("%s: Sending signal to %d", __func__, signal_fds[1]);
447 return send(signal_fds[1], &sig_on, sizeof(sig_on), 0);
462 ALOGD("%s: Receiving signal from %d", __func__, signal_fds[0]);
463 recv(signal_fds[0], &sig_recv, sizeof(sig_recv), MSG_WAITALL);