Home
last modified time | relevance | path

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

/system/bt/btif/src/
Dbtif_pan.cc68 btpan_cb_t btpan_cb; variable
104 btpan_cb.enabled); in btif_pan_init()
107 if (jni_initialized && !btpan_cb.enabled) { in btif_pan_init()
109 memset(&btpan_cb, 0, sizeof(btpan_cb)); in btif_pan_init()
110 btpan_cb.tap_fd = INVALID_FD; in btif_pan_init()
111 btpan_cb.flow = 1; in btif_pan_init()
113 btpan_cleanup_conn(&btpan_cb.conns[i]); in btif_pan_init()
115 btpan_cb.enabled = 1; in btif_pan_init()
129 if (btpan_cb.enabled) { in pan_disable()
130 btpan_cb.enabled = 0; in pan_disable()
[all …]
/system/bt/btif/co/
Dbta_pan_co.cc83 btpan_cb.open_count--; in bta_pan_co_close()
85 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()
/system/bt/btif/include/
Dbtif_pan_internal.h84 extern btpan_cb_t btpan_cb;