Searched refs:btpan_cb (Results 1 – 3 of 3) sorted by relevance
82 btpan_cb_t btpan_cb; variable124 … BTIF_TRACE_DEBUG("jni_initialized = %d, btpan_cb.enabled:%d", jni_initialized, btpan_cb.enabled); in btif_pan_init()126 if (jni_initialized && !btpan_cb.enabled) in btif_pan_init()129 memset(&btpan_cb, 0, sizeof(btpan_cb)); in btif_pan_init()130 btpan_cb.tap_fd = -1; in btif_pan_init()131 btpan_cb.flow = 1; in btif_pan_init()134 btpan_cleanup_conn(&btpan_cb.conns[i]); in btif_pan_init()136 btpan_cb.enabled = 1; in btif_pan_init()143 if(btpan_cb.enabled) in pan_disable()145 btpan_cb.enabled = 0; in pan_disable()[all …]
87 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 …]
94 extern btpan_cb_t btpan_cb;