Home
last modified time | relevance | path

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

/system/bt/bta/gatt/
Dbta_gattc_utils.cc519 tBTA_GATTC_CONN* p_conn = &bta_gattc_cb.conn_track[0]; in bta_gattc_conn_alloc() local
521 for (i_conn = 0; i_conn < BTA_GATTC_CONN_MAX; i_conn++, p_conn++) { in bta_gattc_conn_alloc()
522 if (!p_conn->in_use) { in bta_gattc_conn_alloc()
526 p_conn->in_use = true; in bta_gattc_conn_alloc()
527 p_conn->remote_bda = remote_bda; in bta_gattc_conn_alloc()
528 return p_conn; in bta_gattc_conn_alloc()
545 tBTA_GATTC_CONN* p_conn = &bta_gattc_cb.conn_track[0]; in bta_gattc_conn_find() local
547 for (i_conn = 0; i_conn < BTA_GATTC_CONN_MAX; i_conn++, p_conn++) { in bta_gattc_conn_find()
548 if (p_conn->in_use && remote_bda == p_conn->remote_bda) { in bta_gattc_conn_find()
552 return p_conn; in bta_gattc_conn_find()
[all …]
/system/nfc/src/nfa/ee/
Dnfa_ee_act.cc2269 tNFC_CONN* p_conn = p_data->conn.p_data; in nfa_ee_nci_conn() local
2279 if (p_cbk->event == NFC_DATA_CEVT) p_pkt = p_conn->data.p_data; in nfa_ee_nci_conn()
2287 if (p_conn->conn_create.status == NFC_STATUS_OK) { in nfa_ee_nci_conn()
2297 evt_data.connect.status = p_conn->conn_create.status; in nfa_ee_nci_conn()