Searched refs:bta_jv_cb (Results 1 – 3 of 3) sorted by relevance
70 memset(&bta_jv_cb, 0, sizeof(tBTA_JV_CB)); in BTA_JvEnable()73 bta_jv_cb.pm_cb[i].handle = BTA_JV_PM_HANDLE_CLEAR; in BTA_JvEnable()293 if (handle >= BTA_JV_MAX_L2C_CONN || !bta_jv_cb.l2c_cb[handle].p_cback) in BTA_JvL2capClose()297 FROM_HERE, Bind(&bta_jv_l2cap_close, handle, &bta_jv_cb.l2c_cb[handle])); in BTA_JvL2capClose()425 if (handle >= BTA_JV_MAX_L2C_CONN || !bta_jv_cb.l2c_cb[handle].p_cback) in BTA_JvL2capRead()439 bta_jv_cb.l2c_cb[handle].p_cback(BTA_JV_L2CAP_READ_EVT, (tBTA_JV*)&evt_data, in BTA_JvL2capRead()440 bta_jv_cb.l2c_cb[handle].l2cap_socket_id); in BTA_JvL2capRead()460 bta_jv_cb.l2c_cb[handle].p_cback) { in BTA_JvL2capReady()489 if (handle >= BTA_JV_MAX_L2C_CONN || !bta_jv_cb.l2c_cb[handle].p_cback) { in BTA_JvL2capWrite()495 user_id, &bta_jv_cb.l2c_cb[handle])); in BTA_JvL2capWrite()[all …]
56 tBTA_JV_CB bta_jv_cb; variable112 if (0 == bta_jv_cb.sec_id[i]) { in bta_jv_alloc_sec_id()113 bta_jv_cb.sec_id[i] = BTA_JV_FIRST_SERVICE_ID + i; in bta_jv_alloc_sec_id()114 ret = bta_jv_cb.sec_id[i]; in bta_jv_alloc_sec_id()124 if (bta_jv_cb.sec_id[i]) used++; in get_sec_id_used()135 if (bta_jv_cb.rfc_cb[i].handle) used++; in get_rfc_cb_used()157 bta_jv_cb.sec_id[sec_id - BTA_JV_FIRST_SERVICE_ID] = 0; in bta_jv_free_sec_id()176 if (0 == bta_jv_cb.rfc_cb[i].handle) { in bta_jv_alloc_rfc_cb()177 p_cb = &bta_jv_cb.rfc_cb[i]; in bta_jv_alloc_rfc_cb()188 p_pcb = &bta_jv_cb.port_cb[port_handle - 1]; in bta_jv_alloc_rfc_cb()[all …]
137 extern tBTA_JV_CB bta_jv_cb;