Home
last modified time | relevance | path

Searched refs:cmd_fdw (Results 1 – 1 of 1) sorted by relevance

/system/bt/btif/src/
Dbtif_sock_thread.cc86 int cmd_fdr, cmd_fdw; member
159 ts[h].cmd_fdr = ts[h].cmd_fdw = -1; in btsock_thread_init()
194 asrt(ts[h].cmd_fdr == -1 && ts[h].cmd_fdw == -1); in init_cmd_fd()
200 ts[h].cmd_fdw); in init_cmd_fd()
209 if (ts[h].cmd_fdw != -1) { in close_cmd_fd()
210 close(ts[h].cmd_fdw); in close_cmd_fd()
211 ts[h].cmd_fdw = -1; in close_cmd_fd()
226 if (ts[h].cmd_fdw == -1) { in btsock_thread_add_fd()
246 OSI_NO_INTR(ret = send(ts[h].cmd_fdw, &cmd, sizeof(cmd), 0)); in btsock_thread_add_fd()
264 OSI_NO_INTR(ret = send(ts[thread_handle].cmd_fdw, &cmd, sizeof(cmd), 0)); in btsock_thread_remove_fd_and_close()
[all …]