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.cc527 tBTA_GATTC_CONN* p_conn = &bta_gattc_cb.conn_track[0]; in bta_gattc_conn_alloc() local
529 for (i_conn = 0; i_conn < GATT_MAX_PHY_CHANNEL; i_conn++, p_conn++) { in bta_gattc_conn_alloc()
530 if (!p_conn->in_use) { in bta_gattc_conn_alloc()
534 p_conn->in_use = true; in bta_gattc_conn_alloc()
535 p_conn->remote_bda = remote_bda; in bta_gattc_conn_alloc()
536 return p_conn; in bta_gattc_conn_alloc()
553 tBTA_GATTC_CONN* p_conn = &bta_gattc_cb.conn_track[0]; in bta_gattc_conn_find() local
555 for (i_conn = 0; i_conn < GATT_MAX_PHY_CHANNEL; i_conn++, p_conn++) { in bta_gattc_conn_find()
556 if (p_conn->in_use && remote_bda == p_conn->remote_bda) { in bta_gattc_conn_find()
560 return p_conn; in bta_gattc_conn_find()
[all …]
/system/nfc/src/nfa/ee/
Dnfa_ee_act.cc2311 tNFC_CONN* p_conn = p_data->conn.p_data; in nfa_ee_nci_conn() local
2321 if (p_cbk->event == NFC_DATA_CEVT) p_pkt = p_conn->data.p_data; in nfa_ee_nci_conn()
2329 if (p_conn->conn_create.status == NFC_STATUS_OK) { in nfa_ee_nci_conn()
2339 evt_data.connect.status = p_conn->conn_create.status; in nfa_ee_nci_conn()