Home
last modified time | relevance | path

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

/system/bt/btif/co/
Dbta_pan_co.cc88 btpan_cb.tap_fd, btpan_cb.open_count, conn->handle, handle, in bta_pan_co_open()
95 if (btpan_cb.tap_fd < 0) { in bta_pan_co_open()
96 btpan_cb.tap_fd = btpan_tap_open(); in bta_pan_co_open()
97 if (btpan_cb.tap_fd >= 0) create_tap_read_thread(btpan_cb.tap_fd); in bta_pan_co_open()
99 if (btpan_cb.tap_fd >= 0) { in bta_pan_co_open()
130 if (btpan_cb.open_count == 0 && btpan_cb.tap_fd != -1) { in bta_pan_co_close()
131 btpan_tap_close(btpan_cb.tap_fd); in bta_pan_co_close()
132 btpan_cb.tap_fd = -1; in bta_pan_co_close()
193 btpan_tap_send(btpan_cb.tap_fd, src, dst, protocol, in bta_pan_co_tx_path()
/system/bt/btif/src/
Dbtif_pan.cc134 btpan_cb.tap_fd = INVALID_FD; in btif_pan_init()
148 if (btpan_cb.tap_fd != INVALID_FD) { in pan_disable()
149 btpan_tap_close(btpan_cb.tap_fd); in pan_disable()
150 btpan_cb.tap_fd = INVALID_FD; in pan_disable()
269 void create_tap_read_thread(int tap_fd) { in create_tap_read_thread() argument
272 btsock_thread_add_fd(pan_pth, tap_fd, 0, SOCK_THREAD_FD_RD, 0); in create_tap_read_thread()
367 if (btpan_cb.tap_fd == -1) return; in btpan_set_flow_control()
371 btsock_thread_add_fd(pan_pth, btpan_cb.tap_fd, 0, SOCK_THREAD_FD_RD, 0); in btpan_set_flow_control()
372 bta_dmexecutecallback(btu_exec_tap_fd_read, INT_TO_PTR(btpan_cb.tap_fd)); in btpan_set_flow_control()
411 int btpan_tap_send(int tap_fd, const BD_ADDR src, const BD_ADDR dst, in btpan_tap_send() argument
[all …]
/system/bt/btif/include/
Dbtif_pan_internal.h78 int tap_fd; member
99 void create_tap_read_thread(int tap_fd);
101 int btpan_tap_close(int tap_fd);
102 int btpan_tap_send(int tap_fd, const BD_ADDR src, const BD_ADDR dst,