Searched refs:pan_pth (Results 1 – 1 of 1) sorted by relevance
/system/bt/btif/src/ |
D | btif_pan.cc | 268 static int pan_pth = -1; variable 270 if (pan_pth < 0) pan_pth = btsock_thread_create(btpan_tap_fd_signaled, NULL); in create_tap_read_thread() 271 if (pan_pth >= 0) in create_tap_read_thread() 272 btsock_thread_add_fd(pan_pth, tap_fd, 0, SOCK_THREAD_FD_RD, 0); in create_tap_read_thread() 276 if (pan_pth >= 0) { in destroy_tap_read_thread() 277 btsock_thread_exit(pan_pth); in destroy_tap_read_thread() 278 pan_pth = -1; in destroy_tap_read_thread() 371 btsock_thread_add_fd(pan_pth, btpan_cb.tap_fd, 0, SOCK_THREAD_FD_RD, 0); in btpan_set_flow_control() 440 if (pan_pth >= 0) btsock_thread_wakeup(pan_pth); in btpan_tap_close() 699 btsock_thread_add_fd(pan_pth, fd, 0, SOCK_THREAD_FD_RD, 0); in btu_exec_tap_fd_read() [all …]
|