Home
last modified time | relevance | path

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

/system/bt/btif/src/
Dbtif_pan.cc93 btpan_cb_t btpan_cb; variable
129 btpan_cb.enabled); in btif_pan_init()
132 if (jni_initialized && !btpan_cb.enabled) { in btif_pan_init()
134 memset(&btpan_cb, 0, sizeof(btpan_cb)); in btif_pan_init()
135 btpan_cb.tap_fd = INVALID_FD; in btif_pan_init()
136 btpan_cb.flow = 1; in btif_pan_init()
138 btpan_cleanup_conn(&btpan_cb.conns[i]); in btif_pan_init()
140 btpan_cb.enabled = 1; in btif_pan_init()
146 if (btpan_cb.enabled) { in pan_disable()
147 btpan_cb.enabled = 0; in pan_disable()
[all …]
/system/bt/btif/co/
Dbta_pan_co.cc88 btpan_cb.tap_fd, btpan_cb.open_count, conn->handle, handle, in bta_pan_co_open()
92 btpan_cb.open_count++; 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()
100 btpan_cb.flow = 1; in bta_pan_co_open()
128 btpan_cb.open_count--; in bta_pan_co_close()
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()
[all …]
/system/bt/btif/include/
Dbtif_pan_internal.h90 extern btpan_cb_t btpan_cb;