Searched refs:cmd_fdr (Results 1 – 1 of 1) sorted by relevance
/external/bluetooth/bluedroid/btif/src/ |
D | btif_sock_thread.c | 94 int cmd_fdr, cmd_fdw; member 214 ts[h].cmd_fdr = ts[h].cmd_fdw = -1; in btsock_thread_init() 253 asrt(ts[h].cmd_fdr == -1 && ts[h].cmd_fdw == -1); in init_cmd_fd() 254 if(socketpair(AF_UNIX, SOCK_STREAM, 0, &ts[h].cmd_fdr) < 0) in init_cmd_fd() 259 APPL_TRACE_DEBUG3("h:%d, cmd_fdr:%d, cmd_fdw:%d", h, ts[h].cmd_fdr, ts[h].cmd_fdw); in init_cmd_fd() 261 add_poll(h, ts[h].cmd_fdr, 0, SOCK_THREAD_FD_RD, 0); in init_cmd_fd() 265 if(ts[h].cmd_fdr != -1) in close_cmd_fd() 267 close(ts[h].cmd_fdr); in close_cmd_fd() 268 ts[h].cmd_fdr = -1; in close_cmd_fd() 467 int fd = ts[h].cmd_fdr; in process_cmd_sock() [all …]
|