Searched refs:pan_pth (Results 1 – 1 of 1) sorted by relevance
/packages/modules/Bluetooth/system/btif/src/ |
D | btif_pan.cc | 252 static int pan_pth = -1; variable 254 if (pan_pth < 0) pan_pth = btsock_thread_create(btpan_tap_fd_signaled, NULL); in create_tap_read_thread() 255 if (pan_pth >= 0) in create_tap_read_thread() 256 btsock_thread_add_fd(pan_pth, tap_fd, 0, SOCK_THREAD_FD_RD, 0); in create_tap_read_thread() 260 if (pan_pth >= 0) { in destroy_tap_read_thread() 261 btsock_thread_exit(pan_pth); in destroy_tap_read_thread() 262 pan_pth = -1; in destroy_tap_read_thread() 353 btsock_thread_add_fd(pan_pth, btpan_cb.tap_fd, 0, SOCK_THREAD_FD_RD, 0); in btpan_set_flow_control() 423 if (pan_pth >= 0) btsock_thread_wakeup(pan_pth); in btpan_tap_close() 676 btsock_thread_add_fd(pan_pth, fd, 0, SOCK_THREAD_FD_RD, 0); in btu_exec_tap_fd_read() [all …]
|