Home | History | Annotate | Download | only in adaptation

Lines Matching refs:signal_fds

433 static int signal_fds[2];
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]);
483 return send(signal_fds[1], &sig_on, sizeof(sig_on), 0);
498 ALOGD("%s: Receiving signal from %d", __func__, signal_fds[0]);
499 recv(signal_fds[0], &sig_recv, sizeof(sig_recv), MSG_WAITALL);