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.c94 int cmd_fdr, cmd_fdw; member
231 ts[h].cmd_fdr = ts[h].cmd_fdw = -1; in btsock_thread_init()
271 asrt(ts[h].cmd_fdr == -1 && ts[h].cmd_fdw == -1); in init_cmd_fd()
277 APPL_TRACE_DEBUG("h:%d, cmd_fdr:%d, cmd_fdw:%d", h, ts[h].cmd_fdr, ts[h].cmd_fdw); in init_cmd_fd()
288 if(ts[h].cmd_fdw != -1) in close_cmd_fd()
290 close(ts[h].cmd_fdw); in close_cmd_fd()
291 ts[h].cmd_fdw = -1; in close_cmd_fd()
309 if(ts[h].cmd_fdw == -1) in btsock_thread_add_fd()
328 return TEMP_FAILURE_RETRY(send(ts[h].cmd_fdw, &cmd, sizeof(cmd), 0)) == sizeof(cmd); in btsock_thread_add_fd()
345 return TEMP_FAILURE_RETRY(send(ts[thread_handle].cmd_fdw, &cmd, sizeof(cmd), 0)) == sizeof(cmd); in btsock_thread_remove_fd_and_close()
[all …]