Home
last modified time | relevance | path

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

/system/bt/btif/src/
Dbtif_pan.c86 btpan_cb_t btpan_cb; variable
129 … BTIF_TRACE_DEBUG("jni_initialized = %d, btpan_cb.enabled:%d", jni_initialized, btpan_cb.enabled); in btif_pan_init()
132 if (jni_initialized && !btpan_cb.enabled) in btif_pan_init()
135 memset(&btpan_cb, 0, sizeof(btpan_cb)); in btif_pan_init()
136 btpan_cb.tap_fd = INVALID_FD; in btif_pan_init()
137 btpan_cb.flow = 1; in btif_pan_init()
139 btpan_cleanup_conn(&btpan_cb.conns[i]); in btif_pan_init()
141 btpan_cb.enabled = 1; in btif_pan_init()
148 if (btpan_cb.enabled) in pan_disable()
150 btpan_cb.enabled = 0; in pan_disable()
[all …]
/system/bt/btif/co/
Dbta_pan_co.c87 btpan_cb.tap_fd, btpan_cb.open_count, conn->handle, handle, in bta_pan_co_open()
91 btpan_cb.open_count++; in bta_pan_co_open()
94 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) in bta_pan_co_open()
98 create_tap_read_thread(btpan_cb.tap_fd); in bta_pan_co_open()
100 if(btpan_cb.tap_fd >= 0) in bta_pan_co_open()
102 btpan_cb.flow = 1; in bta_pan_co_open()
132 btpan_cb.open_count--; in bta_pan_co_close()
134 if(btpan_cb.open_count == 0 && btpan_cb.tap_fd != -1) in bta_pan_co_close()
[all …]
/system/bt/btif/include/
Dbtif_pan_internal.h94 extern btpan_cb_t btpan_cb;