Searched refs:cmd_fdw (Results 1 – 1 of 1) sorted by relevance
/system/bt/btif/src/ |
D | btif_sock_thread.c | 89 int cmd_fdr, cmd_fdw; member 169 ts[h].cmd_fdr = ts[h].cmd_fdw = -1; in btsock_thread_init() 209 asrt(ts[h].cmd_fdr == -1 && ts[h].cmd_fdw == -1); in init_cmd_fd() 215 APPL_TRACE_DEBUG("h:%d, cmd_fdr:%d, cmd_fdw:%d", h, ts[h].cmd_fdr, ts[h].cmd_fdw); in init_cmd_fd() 226 if(ts[h].cmd_fdw != -1) in close_cmd_fd() 228 close(ts[h].cmd_fdw); in close_cmd_fd() 229 ts[h].cmd_fdw = -1; in close_cmd_fd() 247 if(ts[h].cmd_fdw == -1) in btsock_thread_add_fd() 268 OSI_NO_INTR(ret = send(ts[h].cmd_fdw, &cmd, sizeof(cmd), 0)); in btsock_thread_add_fd() 289 OSI_NO_INTR(ret = send(ts[thread_handle].cmd_fdw, &cmd, sizeof(cmd), 0)); in btsock_thread_remove_fd_and_close() [all …]
|