Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/btif/src/
Dbtif_sock_thread.cc80 int cmd_fdr, cmd_fdw; member
151 ts[h].cmd_fdr = ts[h].cmd_fdw = -1; in btsock_thread_init()
183 asrt(ts[h].cmd_fdr == -1 && ts[h].cmd_fdw == -1); in init_cmd_fd()
196 if (ts[h].cmd_fdw != -1) { in close_cmd_fd()
197 close(ts[h].cmd_fdw); in close_cmd_fd()
198 ts[h].cmd_fdw = -1; in close_cmd_fd()
213 if (ts[h].cmd_fdw == -1) { in btsock_thread_add_fd()
231 OSI_NO_INTR(ret = send(ts[h].cmd_fdw, &cmd, sizeof(cmd), 0)); in btsock_thread_add_fd()
240 if (ts[h].cmd_fdw == -1) { in btsock_thread_wakeup()
247 OSI_NO_INTR(ret = send(ts[h].cmd_fdw, &cmd, sizeof(cmd), 0)); in btsock_thread_wakeup()
[all …]