/external/libnfc-nci/src/nfc/nfc/ |
D | nfc_utils.c | 53 if (nfc_cb.conn_cb[xx].conn_id == NFC_ILLEGAL_CONN_ID) in nfc_alloc_conn_cb() 55 nfc_cb.conn_cb[xx].conn_id = NFC_PEND_CONN_ID; /* to indicate this cb is used */ in nfc_alloc_conn_cb() 74 void nfc_set_conn_id (tNFC_CONN_CB * p_cb, UINT8 conn_id) in nfc_set_conn_id() argument 81 p_cb->conn_id = conn_id; in nfc_set_conn_id() 83 nfc_cb.conn_id[conn_id] = handle; in nfc_set_conn_id() 84 NFC_TRACE_DEBUG2 ("nfc_set_conn_id conn_id:%d, handle:%d", conn_id, handle); in nfc_set_conn_id() 123 tNFC_CONN_CB * nfc_find_conn_cb_by_conn_id (UINT8 conn_id) in nfc_find_conn_cb_by_conn_id() argument 130 if (conn_id == NFC_PEND_CONN_ID) in nfc_find_conn_cb_by_conn_id() 134 if (nfc_cb.conn_cb[xx].conn_id == NFC_PEND_CONN_ID) in nfc_find_conn_cb_by_conn_id() 143 id = conn_id & NFC_CONN_ID_ID_MASK; in nfc_find_conn_cb_by_conn_id() [all …]
|
/external/bluetooth/bluedroid/stack/gatt/ |
D | gatt_api.c | 595 tGATT_STATUS GATTS_HandleValueIndication (UINT16 conn_id, UINT16 attr_handle, UINT16 val_len, UINT… in GATTS_HandleValueIndication() argument 602 tGATT_IF gatt_if = GATT_GET_GATT_IF(conn_id); in GATTS_HandleValueIndication() 603 UINT8 tcb_idx = GATT_GET_TCB_IDX(conn_id); in GATTS_HandleValueIndication() 611 GATT_TRACE_ERROR1 ("GATTS_HandleValueIndication Unknown conn_id: %u ", conn_id); in GATTS_HandleValueIndication() 614 indication.conn_id = conn_id; in GATTS_HandleValueIndication() 666 tGATT_STATUS GATTS_HandleValueNotification (UINT16 conn_id, UINT16 attr_handle, in GATTS_HandleValueNotification() argument 672 tGATT_IF gatt_if = GATT_GET_GATT_IF(conn_id); in GATTS_HandleValueNotification() 673 UINT8 tcb_idx = GATT_GET_TCB_IDX(conn_id); in GATTS_HandleValueNotification() 681 GATT_TRACE_ERROR1 ("GATTS_HandleValueNotification Unknown conn_id: %u ", conn_id); in GATTS_HandleValueNotification() 712 tGATT_STATUS GATTS_SendRsp (UINT16 conn_id, UINT32 trans_id, in GATTS_SendRsp() argument [all …]
|
D | gatt_attr.c | 42 static void gatt_profile_request_cback (UINT16 conn_id, UINT32 trans_id, UINT8 op_code, tGATTS_DATA… 43 static void gatt_profile_connect_cback (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, BOOLEAN conn… 72 return p_clcb->conn_id; in gatt_profile_find_conn_id_by_bd_addr() 113 tGATT_PROFILE_CLCB *gatt_profile_clcb_alloc (UINT16 conn_id, BD_ADDR bda) in gatt_profile_clcb_alloc() argument 123 p_clcb->conn_id = conn_id; in gatt_profile_clcb_alloc() 140 BOOLEAN gatt_profile_clcb_dealloc (UINT16 conn_id) in gatt_profile_clcb_dealloc() argument 147 if (p_clcb->in_use && p_clcb->connected && (p_clcb->conn_id == conn_id)) in gatt_profile_clcb_dealloc() 166 static void gatt_profile_request_cback (UINT16 conn_id, UINT32 trans_id, tGATTS_REQ_TYPE type, in gatt_profile_request_cback() argument 202 GATTS_SendRsp (conn_id, trans_id, status, &rsp_msg); in gatt_profile_request_cback() 215 static void gatt_profile_connect_cback (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, in gatt_profile_connect_cback() argument [all …]
|
D | gatt_int.h | 36 #define GATT_GET_TCB_IDX(conn_id) ((UINT8) (((UINT16) (conn_id)) >> 8)) argument 37 #define GATT_GET_GATT_IF(conn_id) ((tGATT_IF)((UINT8) (conn_id))) argument 387 UINT16 conn_id; /* connection handle */ member 450 UINT16 conn_id; member 542 extern BOOLEAN gatt_profile_clcb_dealloc (UINT16 conn_id); 543 extern tGATT_PROFILE_CLCB *gatt_profile_clcb_alloc (UINT16 conn_id, BD_ADDR bda); 611 extern void gatt_sr_send_req_callback(UINT16 conn_id, UINT32 trans_id, 619 extern BOOLEAN gatt_is_clcb_allocated (UINT16 conn_id); 620 extern tGATT_CLCB *gatt_clcb_alloc (UINT16 conn_id);
|
D | gatt_utils.c | 1320 void gatt_sr_send_req_callback(UINT16 conn_id, in gatt_sr_send_req_callback() argument 1324 tGATT_IF gatt_if = GATT_GET_GATT_IF(conn_id); in gatt_sr_send_req_callback() 1336 (*p_reg->app_cb.p_req_cb)(conn_id, trans_id, type, p_data); in gatt_sr_send_req_callback() 1340 GATT_TRACE_WARNING1("Call back not found for application conn_id=%d", conn_id); in gatt_sr_send_req_callback() 1495 BOOLEAN gatt_is_clcb_allocated (UINT16 conn_id) in gatt_is_clcb_allocated() argument 1502 if (gatt_cb.clcb[i].in_use && (gatt_cb.clcb[i].conn_id == conn_id)) in gatt_is_clcb_allocated() 1521 tGATT_CLCB *gatt_clcb_alloc (UINT16 conn_id) in gatt_clcb_alloc() argument 1525 tGATT_IF gatt_if=GATT_GET_GATT_IF(conn_id); in gatt_clcb_alloc() 1526 UINT8 tcb_idx = GATT_GET_TCB_IDX(conn_id); in gatt_clcb_alloc() 1537 p_clcb->conn_id = conn_id; in gatt_clcb_alloc() [all …]
|
/external/bluetooth/bluedroid/btif/src/ |
D | btif_gatt_client.c | 108 uint16_t conn_id; member 253 , p_data->read.conn_id, p_data->read.status, &data); in btif_gattc_upstreams_evt() 265 , p_data->write.conn_id, p_data->write.status, &data in btif_gattc_upstreams_evt() 273 , p_data->exec_cmpl.conn_id, p_data->exec_cmpl.status in btif_gattc_upstreams_evt() 281 , p_data->search_cmpl.conn_id, p_data->search_cmpl.status); in btif_gattc_upstreams_evt() 290 , p_data->srvc_res.conn_id, &data); in btif_gattc_upstreams_evt() 300 , p_data->read.conn_id, p_data->read.status, &data); in btif_gattc_upstreams_evt() 312 , p_data->write.conn_id, p_data->write.status, &data); in btif_gattc_upstreams_evt() 330 , p_data->notify.conn_id, &data); in btif_gattc_upstreams_evt() 334 BTA_GATTC_SendIndConfirm(p_data->notify.conn_id, in btif_gattc_upstreams_evt() [all …]
|
D | btif_gatt_test.c | 53 UINT16 conn_id; member 103 static void btif_test_connect_cback(tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, in btif_test_connect_cback() argument 106 ALOGD("%s: conn_id=%d, connected=%d", __FUNCTION__, conn_id, connected); in btif_test_connect_cback() 107 test_cb.conn_id = connected ? conn_id : 0; in btif_test_connect_cback() 110 static void btif_test_command_complete_cback(UINT16 conn_id, tGATTC_OPTYPE op, in btif_test_command_complete_cback() argument 114 __FUNCTION__, op, conn_id, status); in btif_test_command_complete_cback() 126 GATTC_SendHandleValueConfirm(conn_id, p_data->handle); in btif_test_command_complete_cback() 136 static void btif_test_discovery_result_cback(UINT16 conn_id, tGATT_DISC_TYPE disc_type, in btif_test_discovery_result_cback() argument 187 static void btif_test_discovery_complete_cback(UINT16 conn_id, in btif_test_discovery_complete_cback() argument 246 ALOGD("%s: DISCONNECT - conn_id=%d", __FUNCTION__, test_cb.conn_id); in btif_gattc_test_command_impl() [all …]
|
D | btif_gatt_server.c | 93 uint16_t conn_id; member 198 p_data->conn.conn_id, p_data->conn.server_if, TRUE, &bda); in btapp_gatts_handle_cback() 208 p_data->conn.conn_id, p_data->conn.server_if, FALSE, &bda); in btapp_gatts_handle_cback() 291 p_data->req_data.conn_id,p_data->req_data.trans_id, &bda, in btapp_gatts_handle_cback() 304 p_data->req_data.conn_id,p_data->req_data.trans_id, &bda, in btapp_gatts_handle_cback() 320 p_data->req_data.conn_id,p_data->req_data.trans_id, &bda, in btapp_gatts_handle_cback() 382 if (p_cb->conn_id != 0) in btgatts_handle_event() 383 BTA_GATTS_Close(p_cb->conn_id); in btgatts_handle_event() 433 BTA_GATTS_HandleValueIndication(p_cb->conn_id, p_cb->attr_handle, in btgatts_handle_event() 445 BTA_GATTS_SendRsp(p_cb->conn_id, p_cb->trans_id, in btgatts_handle_event() [all …]
|
/external/bluetooth/bluedroid/bta/include/ |
D | bta_gatt_api.h | 277 UINT16 conn_id; member 287 UINT16 conn_id; member 296 UINT16 conn_id; member 302 UINT16 conn_id; member 308 UINT16 conn_id; member 316 UINT16 conn_id; member 324 UINT16 conn_id; member 332 UINT16 conn_id; member 346 UINT16 conn_id; member 482 UINT16 conn_id; member [all …]
|
D | bta_gattc_co.h | 45 UINT16 conn_id, BOOLEAN to_save); 60 BTA_API extern void bta_gattc_co_cache_close(BD_ADDR server_bda, UINT16 conn_id); 80 UINT16 attr_index, UINT16 conn_id); 98 UINT16 start_index, UINT16 conn_id);
|
D | bta_gattc_ci.h | 75 tBTA_GATT_STATUS status, UINT16 conn_id); 95 tBTA_GATT_STATUS status, UINT16 conn_id); 112 tBTA_GATT_STATUS status, UINT16 conn_id);
|
/external/bluetooth/bluedroid/bta/gatt/ |
D | bta_gattc_api.c | 202 void BTA_GATTC_Close(UINT16 conn_id) in BTA_GATTC_Close() argument 210 p_buf->layer_specific = conn_id; in BTA_GATTC_Close() 233 void BTA_GATTC_ServiceSearchRequest (UINT16 conn_id, tBT_UUID *p_srvc_uuid) in BTA_GATTC_ServiceSearchRequest() argument 243 p_buf->hdr.layer_specific = conn_id; in BTA_GATTC_ServiceSearchRequest() 273 tBTA_GATT_STATUS BTA_GATTC_GetFirstChar (UINT16 conn_id, tBTA_GATT_SRVC_ID *p_srvc_id, in BTA_GATTC_GetFirstChar() argument 283 if ((status = bta_gattc_query_cache(conn_id, BTA_GATTC_ATTR_TYPE_CHAR, p_srvc_id, NULL, in BTA_GATTC_GetFirstChar() 312 tBTA_GATT_STATUS BTA_GATTC_GetNextChar (UINT16 conn_id, in BTA_GATTC_GetNextChar() argument 323 if ((status = bta_gattc_query_cache(conn_id, BTA_GATTC_ATTR_TYPE_CHAR, in BTA_GATTC_GetNextChar() 354 tBTA_GATT_STATUS BTA_GATTC_GetFirstCharDescr (UINT16 conn_id, tBTA_GATTC_CHAR_ID *p_char_id, in BTA_GATTC_GetFirstCharDescr() argument 365 if ((status = bta_gattc_query_cache(conn_id, in BTA_GATTC_GetFirstCharDescr() [all …]
|
D | bta_gattc_cache.c | 39 static void bta_gattc_char_dscpt_disc_cmpl(UINT16 conn_id, tBTA_GATTC_SERV *p_srvc_cb); 40 static tBTA_GATT_STATUS bta_gattc_sdp_service_disc(UINT16 conn_id, tBTA_GATTC_SERV *p_server_cb); 428 tBTA_GATT_STATUS bta_gattc_discover_pri_service(UINT16 conn_id, tBTA_GATTC_SERV *p_server_cb, UINT8… in bta_gattc_discover_pri_service() argument 436 return bta_gattc_discover_procedure(conn_id, p_server_cb, disc_type); in bta_gattc_discover_pri_service() 438 return bta_gattc_sdp_service_disc(conn_id, p_server_cb); in bta_gattc_discover_pri_service() 452 tBTA_GATT_STATUS bta_gattc_discover_procedure(UINT16 conn_id, tBTA_GATTC_SERV *p_server_cb, UINT8 d… in bta_gattc_discover_procedure() argument 476 return GATTC_Discover (conn_id, disc_type, ¶m); in bta_gattc_discover_procedure() 488 tBTA_GATT_STATUS bta_gattc_start_disc_include_srvc(UINT16 conn_id, tBTA_GATTC_SERV *p_srvc_cb) in bta_gattc_start_disc_include_srvc() argument 490 return bta_gattc_discover_procedure(conn_id, p_srvc_cb, GATT_DISC_INC_SRVC); in bta_gattc_start_disc_include_srvc() 501 tBTA_GATT_STATUS bta_gattc_start_disc_char(UINT16 conn_id, tBTA_GATTC_SERV *p_srvc_cb) in bta_gattc_start_disc_char() argument [all …]
|
D | bta_gattc_ci.c | 52 UINT16 conn_id) in bta_gattc_ci_cache_open() argument 59 p_evt->hdr.layer_specific = conn_id; in bta_gattc_ci_cache_open() 84 UINT16 conn_id) in bta_gattc_ci_cache_load() argument 93 p_evt->hdr.layer_specific = conn_id; in bta_gattc_ci_cache_load() 124 UINT16 conn_id) in bta_gattc_ci_cache_save() argument 131 p_evt->hdr.layer_specific = conn_id; in bta_gattc_ci_cache_save()
|
D | bta_gattc_act.c | 45 static void bta_gattc_conn_cback(tGATT_IF gattc_if, BD_ADDR bda, UINT16 conn_id, 48 static void bta_gattc_cmpl_cback(UINT16 conn_id, tGATTC_OPTYPE op, tGATT_STATUS status, 487 UINT16 conn_id; in bta_gattc_init_bk_conn() local 506 &conn_id)) in bta_gattc_init_bk_conn() 510 gattc_data.hdr.layer_specific = p_clcb->bta_conn_id = conn_id; in bta_gattc_init_bk_conn() 680 cb_data.close.conn_id = p_data->hdr.layer_specific; in bta_gattc_close_fail() 710 cb_data.close.conn_id = p_clcb->bta_conn_id; in bta_gattc_close() 1193 cb_data.read.conn_id = p_clcb->bta_conn_id; in bta_gattc_read_cmpl() 1242 cb_data.write.conn_id = p_clcb->bta_conn_id; in bta_gattc_write_cmpl() 1265 cb_data.exec_cmpl.conn_id = p_clcb->bta_conn_id; in bta_gattc_exec_cmpl() [all …]
|
D | bta_gattc_int.h | 441 BD_ADDR remote_bda, UINT16 conn_id); 446 extern tBTA_GATTC_CLCB * bta_gattc_find_clcb_by_conn_id (UINT16 conn_id); 453 extern tBTA_GATTC_SERV * bta_gattc_find_scb_by_cid (UINT16 conn_id); 465 extern void bta_gattc_clear_notif_registration(UINT16 conn_id); 472 extern void bta_gattc_disc_res_cback (UINT16 conn_id, tGATT_DISC_TYPE disc_type, tGATT_DISC_RES *p_… 473 extern void bta_gattc_disc_cmpl_cback (UINT16 conn_id, tGATT_DISC_TYPE disc_type, tGATT_STATUS stat… 474 extern tBTA_GATT_STATUS bta_gattc_discover_procedure(UINT16 conn_id, tBTA_GATTC_SERV *p_server_cb, … 475 extern tBTA_GATT_STATUS bta_gattc_discover_pri_service(UINT16 conn_id, tBTA_GATTC_SERV *p_server_cb… 477 extern tBTA_GATT_STATUS bta_gattc_query_cache(UINT16 conn_id, UINT8 query_type, tBTA_GATT_SRVC_ID *… 482 extern BOOLEAN bta_gattc_cache_save(tBTA_GATTC_SERV *p_srvc_cb, UINT16 conn_id);
|
D | bta_gatts_act.c | 42 static void bta_gatts_conn_cback (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, BOOLEAN connected,… 43 static void bta_gatts_send_request_cback (UINT16 conn_id, 725 static void bta_gatts_send_request_cback (UINT16 conn_id, in bta_gatts_send_request_cback() argument 735 if (GATT_GetConnectionInfor(conn_id, &gatt_if, cb_data.req_data.remote_bda)) in bta_gatts_send_request_cback() 739 …BUG3 ("bta_gatts_send_request_cback conn_id=%d trans_id=%d req_type=%d", conn_id, trans_id, req_ty… in bta_gatts_send_request_cback() 743 cb_data.req_data.conn_id = conn_id; in bta_gatts_send_request_cback() 756 APPL_TRACE_ERROR1("request received on unknown connectino ID: %d", conn_id); in bta_gatts_send_request_cback() 769 static void bta_gatts_conn_cback (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, in bta_gatts_conn_cback() argument 777 gatt_if, conn_id, connected, reason); in bta_gatts_conn_cback() 785 cb_data.conn.conn_id = conn_id; in bta_gatts_conn_cback()
|
D | bta_gatts_api.c | 381 void BTA_GATTS_HandleValueIndication (UINT16 conn_id, UINT16 attr_id, UINT16 data_len, in BTA_GATTS_HandleValueIndication() argument 392 p_buf->hdr.layer_specific = conn_id; in BTA_GATTS_HandleValueIndication() 421 void BTA_GATTS_SendRsp (UINT16 conn_id, UINT32 trans_id, in BTA_GATTS_SendRsp() argument 432 p_buf->hdr.layer_specific = conn_id; in BTA_GATTS_SendRsp() 521 void BTA_GATTS_Close(UINT16 conn_id) in BTA_GATTS_Close() argument 528 p_buf->layer_specific = conn_id; in BTA_GATTS_Close()
|
D | bta_gattc_utils.c | 187 tBTA_GATTC_CLCB * bta_gattc_find_clcb_by_conn_id (UINT16 conn_id) in bta_gattc_find_clcb_by_conn_id() argument 195 p_clcb->bta_conn_id == conn_id) in bta_gattc_find_clcb_by_conn_id() 356 tBTA_GATTC_SERV * bta_gattc_find_scb_by_cid (UINT16 conn_id) in bta_gattc_find_scb_by_cid() argument 358 tBTA_GATTC_CLCB *p_clcb = bta_gattc_find_clcb_by_conn_id(conn_id); in bta_gattc_find_scb_by_cid() 585 void bta_gattc_clear_notif_registration(UINT16 conn_id) in bta_gattc_clear_notif_registration() argument 592 if (GATT_GetConnectionInfor(conn_id, &gatt_if, remote_bda)) in bta_gattc_clear_notif_registration() 770 BD_ADDR remote_bda, UINT16 conn_id) in bta_gattc_send_open_cback() argument 780 cb_data.open.conn_id = conn_id; in bta_gattc_send_open_cback()
|
/external/bluetooth/bluedroid/btif/co/ |
D | bta_gattc_co.c | 47 void bta_gattc_co_cache_open(BD_ADDR server_bda, UINT16 evt, UINT16 conn_id, BOOLEAN to_save) in bta_gattc_co_cache_open() argument 52 bta_gattc_ci_cache_open(server_bda, evt, status, conn_id); in bta_gattc_co_cache_open() 70 void bta_gattc_co_cache_load(BD_ADDR server_bda, UINT16 evt, UINT16 start_index, UINT16 conn_id) in bta_gattc_co_cache_load() argument 76 bta_gattc_ci_cache_load(server_bda, evt, num_attr, attr, status, conn_id); in bta_gattc_co_cache_load() 95 tBTA_GATTC_NV_ATTR *p_attr_list, UINT16 attr_index, UINT16 conn_id) in bta_gattc_co_cache_save() argument 99 bta_gattc_ci_cache_save(server_bda, evt, status, conn_id); in bta_gattc_co_cache_save() 115 void bta_gattc_co_cache_close(BD_ADDR server_bda, UINT16 conn_id) in bta_gattc_co_cache_close() argument
|
/external/bluetooth/bluedroid/stack/gap/ |
D | gap_ble.c | 57 static void gap_ble_s_attr_request_cback (UINT16 conn_id, UINT32 trans_id, tGATTS_REQ_TYPE op_code,… 60 static void gap_ble_c_connect_cback (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, BOOLEAN connec… 61 static void gap_ble_c_cmpl_cback (UINT16 conn_id, tGATTC_OPTYPE op, tGATT_STATUS status, tGATT_CL_… 108 tGAP_CLCB *gap_ble_find_clcb_by_conn_id(UINT16 conn_id) in gap_ble_find_clcb_by_conn_id() argument 115 if (p_clcb->in_use && p_clcb->connected && p_clcb->conn_id == conn_id) in gap_ble_find_clcb_by_conn_id() 133 tGAP_CLCB *gap_clcb_alloc (UINT16 conn_id, BD_ADDR bda) in gap_clcb_alloc() argument 143 p_clcb->conn_id = conn_id; in gap_clcb_alloc() 161 tGAP_CLCB *gap_find_alloc_clcb (UINT16 conn_id, BD_ADDR bda) in gap_find_alloc_clcb() argument 171 p_clcb->conn_id = conn_id; in gap_find_alloc_clcb() 206 return(p_clcb->conn_id); in gap_get_conn_id_if_connected() [all …]
|
/external/bluetooth/bluedroid/stack/include/ |
D | gatt_api.h | 303 UINT16 conn_id; member 555 typedef void (tGATT_DISC_RES_CB) (UINT16 conn_id, tGATT_DISC_TYPE disc_type, tGATT_DISC_RES *p_data… 558 typedef void (tGATT_DISC_CMPL_CB) (UINT16 conn_id, tGATT_DISC_TYPE disc_type, tGATT_STATUS status); 561 typedef void (tGATT_CMPL_CBACK) (UINT16 conn_id, tGATTC_OPTYPE op, tGATT_STATUS status, tGATT_CL_CO… 564 typedef void (tGATT_CONN_CBACK) (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, BOOLEAN connected, … 567 typedef void (tGATT_REQ_CBACK )(UINT16 conn_id, UINT32 trans_id, tGATTS_REQ_TYPE type, tGATTS_DATA… 846 GATT_API extern tGATT_STATUS GATTS_HandleValueIndication (UINT16 conn_id, 864 GATT_API extern tGATT_STATUS GATTS_HandleValueNotification (UINT16 conn_id, UINT16 attr_handle, 882 GATT_API extern tGATT_STATUS GATTS_SendRsp (UINT16 conn_id, UINT32 trans_id, 903 GATT_API extern tGATT_STATUS GATTC_ConfigureMTU (UINT16 conn_id, UINT16 mtu); [all …]
|
/external/libnfc-nci/src/nfc/int/ |
D | nfc_int.h | 113 UINT8 conn_id; /* the connection id assigned by NFCC for this conn */ member 151 …UINT8 conn_id[NFC_MAX_CONN_ID+1]; /* index: conn_id; conn_id[]: index(1 based) to co… member 215 NFC_API extern tNFC_CONN_CB * nfc_find_conn_cb_by_conn_id (UINT8 conn_id); 217 NFC_API extern void nfc_set_conn_id (tNFC_CONN_CB * p_cb, UINT8 conn_id); 234 NFC_API extern void nfc_ncif_error_status (UINT8 conn_id, UINT8 status); 244 NFC_API extern void nfc_ncif_report_conn_close_evt (UINT8 conn_id, tNFC_STATUS status);
|
/external/libnfc-nci/src/nfa/hci/ |
D | nfa_hci_main.c | 64 static void nfa_hci_conn_cback (UINT8 conn_id, tNFC_CONN_EVT event, tNFC_CONN *p_data); 103 nfa_hci_cb.conn_id = 0; in nfa_hci_ee_info_cback() 434 nfa_hci_cb.conn_id = 0; in nfa_hci_proc_nfcc_power_mode() 448 nfa_hci_cb.conn_id = 0; in nfa_hci_proc_nfcc_power_mode() 561 if (nfa_hci_cb.nv_read_cmplt && nfa_hci_cb.ee_disc_cmplt && (nfa_hci_cb.conn_id == 0)) in nfa_hci_startup() 629 if (nfa_hci_cb.conn_id) in nfa_hci_sys_disable() 635 NFC_ConnClose (nfa_hci_cb.conn_id); in nfa_hci_sys_disable() 638 nfa_hci_cb.conn_id = 0; in nfa_hci_sys_disable() 655 static void nfa_hci_conn_cback (UINT8 conn_id, tNFC_CONN_EVT event, tNFC_CONN *p_data) in nfa_hci_conn_cback() argument 665 nfa_hci_cb.conn_id = conn_id; in nfa_hci_conn_cback() [all …]
|
/external/libnfc-nci/src/nfa/ee/ |
D | nfa_ee_main.c | 421 tNFA_EE_ECB * nfa_ee_find_ecb_by_conn_id (UINT8 conn_id) in nfa_ee_find_ecb_by_conn_id() argument 430 if (conn_id == p_cb->conn_id) in nfa_ee_find_ecb_by_conn_id() 485 msg.conn.conn_id = p_cb->conn_id; in nfa_ee_sys_disable()
|