Home
last modified time | relevance | path

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

/system/bt/btif/src/
Dbtif_pan.cc110 btpan_cb.tap_fd = INVALID_FD; in btif_pan_init()
132 if (btpan_cb.tap_fd != INVALID_FD) { in pan_disable()
133 btpan_tap_close(btpan_cb.tap_fd); in pan_disable()
134 btpan_cb.tap_fd = INVALID_FD; in pan_disable()
251 void create_tap_read_thread(int tap_fd) { in create_tap_read_thread() argument
254 btsock_thread_add_fd(pan_pth, tap_fd, 0, SOCK_THREAD_FD_RD, 0); in create_tap_read_thread()
349 if (btpan_cb.tap_fd == -1) return; in btpan_set_flow_control()
353 btsock_thread_add_fd(pan_pth, btpan_cb.tap_fd, 0, SOCK_THREAD_FD_RD, 0); in btpan_set_flow_control()
355 base::Bind(btu_exec_tap_fd_read, btpan_cb.tap_fd)); in btpan_set_flow_control()
394 int btpan_tap_send(int tap_fd, const RawAddress& src, const RawAddress& dst, in btpan_tap_send() argument
[all …]
/system/bt/btif/include/
Dbtif_pan_internal.h71 int tap_fd; member
92 void create_tap_read_thread(int tap_fd);
94 int btpan_tap_close(int tap_fd);
95 int btpan_tap_send(int tap_fd, const RawAddress& src, const RawAddress& dst,
/system/bt/btif/co/
Dbta_pan_co.cc85 if (btpan_cb.open_count == 0 && btpan_cb.tap_fd != -1) { in bta_pan_co_close()
86 btpan_tap_close(btpan_cb.tap_fd); in bta_pan_co_close()
87 btpan_cb.tap_fd = -1; in bta_pan_co_close()
142 btpan_tap_send(btpan_cb.tap_fd, src, dst, protocol, in bta_pan_co_tx_path()