Home
last modified time | relevance | path

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

/external/bluetooth/bluedroid/bta/gatt/
Dbta_gattc_utils.c812 tBTA_GATTC_CONN *p_conn = &bta_gattc_cb.conn_track[0]; in bta_gattc_conn_alloc() local
814 for (i_conn = 0; i_conn < BTA_GATTC_CONN_MAX; i_conn++, p_conn ++) in bta_gattc_conn_alloc()
816 if (!p_conn->in_use) in bta_gattc_conn_alloc()
821 p_conn->in_use = TRUE; in bta_gattc_conn_alloc()
822 bdcpy(p_conn->remote_bda, remote_bda); in bta_gattc_conn_alloc()
823 return p_conn; in bta_gattc_conn_alloc()
841 tBTA_GATTC_CONN *p_conn = &bta_gattc_cb.conn_track[0]; in bta_gattc_conn_find() local
843 for (i_conn = 0; i_conn < BTA_GATTC_CONN_MAX; i_conn++, p_conn ++) in bta_gattc_conn_find()
845 if (p_conn->in_use && bdcmp(remote_bda, p_conn->remote_bda) == 0) in bta_gattc_conn_find()
850 return p_conn; in bta_gattc_conn_find()
[all …]
Dbta_gattc_act.c2230 tBTA_GATTC_CONN *p_conn = &bta_gattc_cb.conn_track[0]; in bta_gattc_process_listen_all() local
2232 for (i_conn = 0; i_conn < BTA_GATTC_CONN_MAX; i_conn++, p_conn ++) in bta_gattc_process_listen_all()
2234 if (p_conn->in_use ) in bta_gattc_process_listen_all()
2236 if (bta_gattc_find_clcb_by_cif(cif, p_conn->remote_bda, BTA_GATT_TRANSPORT_LE) == NULL) in bta_gattc_process_listen_all()
2238 bta_gattc_init_clcb_conn(cif, p_conn->remote_bda); in bta_gattc_process_listen_all()
/external/libnfc-nci/src/nfa/ee/
Dnfa_ee_act.c1566 tNFC_CONN *p_conn = p_data->conn.p_data; in nfa_ee_nci_conn() local
1580 p_pkt = p_conn->data.p_data; in nfa_ee_nci_conn()
1590 if (p_conn->conn_create.status == NFC_STATUS_OK) in nfa_ee_nci_conn()
1606 evt_data.connect.status = p_conn->conn_create.status; in nfa_ee_nci_conn()