/external/bluetooth/bluedroid/bta/sys/ |
bta_sys_conn.c | 41 void bta_sys_rm_register(tBTA_SYS_CONN_CBACK * p_cback) 43 bta_sys_cb.prm_cb = p_cback; 57 void bta_sys_policy_register(tBTA_SYS_CONN_CBACK * p_cback) 59 bta_sys_cb.p_policy_cb = p_cback; 72 void bta_sys_role_chg_register(tBTA_SYS_CONN_CBACK * p_cback) 74 bta_sys_cb.p_role_cb = p_cback; 87 void bta_sys_ssr_cfg_register(tBTA_SYS_SSR_CFG_CBACK * p_cback) 89 bta_sys_cb.p_ssr_cb = p_cback; 120 void bta_sys_collision_register(UINT8 bta_id, tBTA_SYS_CONN_CBACK *p_cback) 130 bta_sys_cb.colli_reg.p_coll_cback[index] = p_cback; [all...] |
bta_sys.h | 261 extern void bta_sys_rm_register(tBTA_SYS_CONN_CBACK * p_cback); 262 extern void bta_sys_pm_register(tBTA_SYS_CONN_CBACK * p_cback); 264 extern void bta_sys_policy_register(tBTA_SYS_CONN_CBACK * p_cback); 265 extern void bta_sys_sco_register(tBTA_SYS_CONN_CBACK * p_cback); 280 extern void bta_sys_ssr_cfg_register(tBTA_SYS_SSR_CFG_CBACK * p_cback); 284 extern void bta_sys_role_chg_register(tBTA_SYS_CONN_CBACK * p_cback); 286 extern void bta_sys_collision_register(UINT8 bta_id, tBTA_SYS_CONN_CBACK *p_cback); 290 extern void bta_sys_eir_register(tBTA_SYS_EIR_CBACK * p_cback);
|
/external/libnfc-nci/src/nfa/sys/ |
nfa_sys_cback.c | 40 void nfa_sys_cback_reg_enable_complete (tNFA_SYS_ENABLE_CBACK *p_cback) 42 nfa_sys_cb.p_enable_cback = p_cback; 81 void nfa_sys_cback_reg_nfcc_power_mode_proc_complete (tNFA_SYS_PROC_NFCC_PWR_MODE_CMPL *p_cback) 83 nfa_sys_cb.p_proc_nfcc_pwr_mode_cmpl_cback = p_cback;
|
/external/libnfc-nci/src/nfa/p2p/ |
nfa_p2p_act.c | 205 nfa_p2p_cb.sap_cb[local_sap].p_cback (NFA_P2P_SDP_EVT, &evt_data); 270 if (nfa_p2p_cb.sap_cb[local_sap].p_cback) 293 nfa_p2p_cb.sap_cb[local_sap].p_cback (NFA_P2P_DATA_EVT, &evt_data); 319 if (nfa_p2p_cb.sap_cb[server_sap].p_cback) 338 nfa_p2p_cb.sap_cb[server_sap].p_cback (NFA_P2P_CONN_REQ_EVT, &evt_data); 366 if (nfa_p2p_cb.sap_cb[local_sap].p_cback) 385 nfa_p2p_cb.sap_cb[local_sap].p_cback (NFA_P2P_CONNECTED_EVT, &evt_data); 409 if (nfa_p2p_cb.sap_cb[local_sap].p_cback) 421 nfa_p2p_cb.sap_cb[local_sap].p_cback (NFA_P2P_DISC_EVT, &evt_data); 433 nfa_p2p_cb.sap_cb[local_sap].p_cback (NFA_P2P_DISC_EVT, &evt_data) [all...] |
/external/libnfc-nci/src/nfc/nfc/ |
nfc_utils.c | 45 tNFC_CONN_CB * nfc_alloc_conn_cb (tNFC_CONN_CBACK *p_cback) 57 p_conn_cb->p_cback = p_cback; 179 p_cb->p_cback = NULL; 206 if (p_conn_cb->p_cback) 207 (*p_conn_cb->p_cback) (p_conn_cb->conn_id, NFC_DEACTIVATE_CEVT, (tNFC_CONN *) &deact);
|
nfc_vs.c | 53 tNFC_VS_CBACK *p_cback) 65 nfc_cb.p_vs_cb[i] = p_cback; 76 if (nfc_cb.p_vs_cb[i] == p_cback) 104 tNFC_VS_CBACK *p_cback) 132 ((tNFC_NCI_VS_MSG *) p_data)->p_cback = p_cback;
|
/external/bluetooth/bluedroid/bta/gatt/ |
bta_gatts_act.c | 223 p_cb->rcb[first_unuse].p_cback = p_msg->api_reg.p_cback; 254 if (p_msg->api_reg.p_cback) 255 (*p_msg->api_reg.p_cback)(BTA_GATTS_REG_EVT, &cb_data); 291 tBTA_GATTS_CBACK *p_cback = NULL; local 302 p_cback = p_cb->rcb[i].p_cback; 315 if (p_cback) 317 (*p_cback)(BTA_GATTS_DEREG_EVT, &cb_data); 382 if (p_cb->rcb[rcb_idx].p_cback) [all...] |
bta_gattc_act.c | 206 p_cb->cl_rcb[i].p_cback = p_data->api_reg.p_cback; 233 if (p_data->api_reg.p_cback) 239 (*p_data->api_reg.p_cback)(BTA_GATTC_REG_EVT, (tBTA_GATTC *)&cb_data); 392 if (p_clreg && p_clreg->p_cback) 395 (*p_clreg->p_cback)(BTA_GATTC_CANCEL_OPEN_EVT, &cb_data); 422 if (p_clreg && p_clreg->p_cback) 429 (*p_clreg->p_cback)(BTA_GATTC_ENC_CMPL_CB_EVT, &cb_data); 447 if ( p_clcb && p_clcb->p_rcb && p_clcb->p_rcb->p_cback ) 448 (*p_clcb->p_rcb->p_cback)(BTA_GATTC_CANCEL_OPEN_EVT, &cb_data) 750 tBTA_GATTC_CBACK *p_cback = p_clcb->p_rcb->p_cback; local 1615 tBTA_GATTC_CBACK *p_cback = p_clreg->p_cback; local [all...] |
/external/bluetooth/bluedroid/btif/include/ |
btif_common.h | 55 #define HAL_CBACK(P_CB, P_CBACK, ...)\ 56 if (P_CB && P_CB->P_CBACK) { \ 57 BTIF_TRACE_API2("HAL %s->%s", #P_CB, #P_CBACK); \ 58 P_CB->P_CBACK(__VA_ARGS__); \ 171 bt_status_t btif_transfer_context (tBTIF_CBACK *p_cback, UINT16 event, char* p_params,
|
/external/bluetooth/bluedroid/stack/btm/ |
btm_ble_addr.c | 144 tBTM_BLE_ADDR_CBACK *p_cback = p_cb->p_generate_cback; local 161 if (p_cback) 162 (* p_cback)(static_random, p_data); 167 if (p_cback) 168 (* p_cback)(NULL, p_data); 181 void btm_gen_non_resolvable_private_addr (tBTM_BLE_ADDR_CBACK *p_cback, void *p) 190 p_mgnt_cb->p_generate_cback = p_cback; 324 void btm_ble_resolve_random_addr(BD_ADDR random_bda, tBTM_BLE_RESOLVE_CBACK * p_cback, void *p) 334 p_mgnt_cb->p_resolve_cback = p_cback; 349 (*p_cback)(NULL, p) [all...] |
/external/bluetooth/bluedroid/bta/jv/ |
bta_jv_api.c | 59 tBTA_JV_STATUS BTA_JvEnable(tBTA_JV_DM_CBACK *p_cback) 66 if(p_cback && FALSE == bta_sys_is_register(BTA_ID_JV)) 80 if (p_cback && (p_buf = (tBTA_JV_API_ENABLE *) GKI_getbuf(sizeof(tBTA_JV_API_ENABLE))) != NULL) 83 p_buf->p_cback = p_cback; [all...] |
bta_jv_act.c | 363 p_cb->p_cback = NULL; 409 p_cb->p_cback = NULL; 468 if (hi < BTA_JV_MAX_RFC_CONN && bta_jv_cb.rfc_cb[hi].p_cback && si 720 bta_jv_cb.p_dm_cback = p_data->enable.p_cback; 1979 tBTA_JV_RFCOMM_CBACK *p_cback; \/* the callback function *\/ local 2284 tBTA_JV_RFCOMM_CBACK *p_cback = p_cb->p_cback; local [all...] |
bta_jv_int.h | 84 tBTA_JV_DM_CBACK *p_cback; member in struct:__anon541 190 tBTA_JV_L2CAP_CBACK *p_cback; /* the callback function */ member in struct:__anon554 220 tBTA_JV_RFCOMM_CBACK *p_cback; /* the callback function */ member in struct:__anon556 238 tBTA_JV_L2CAP_CBACK *p_cback; member in struct:__anon557 249 tBTA_JV_L2CAP_CBACK *p_cback; member in struct:__anon558 266 tBTA_JV_L2CAP_CBACK *p_cback; member in struct:__anon560 290 tBTA_JV_RFCOMM_CBACK *p_cback; member in struct:__anon562 303 tBTA_JV_RFCOMM_CBACK *p_cback; member in struct:__anon563
|
/external/libnfc-nci/src/nfc/nci/ |
nci_hrcv.c | 295 tNFC_RESPONSE_CBACK *p_cback = nfc_cb.p_resp_cback; local 333 p_cback = NULL; 338 if (p_cback) 339 (*p_cback) (event, p_evt); 355 tNFC_RESPONSE_CBACK *p_cback = nfc_cb.p_resp_cback; local 413 p_cback = NULL; 417 if (p_cback) 418 (*p_cback) (event, p_evt); 438 tNFC_VS_CBACK *p_cback = (tNFC_VS_CBACK *)nfc_cb.p_vsc_cback; local 447 if (p_cback) [all...] |
/external/bluetooth/bluedroid/bta/hl/ |
bta_hl_main.c | 542 if (p_data->api_enable.p_cback) 543 p_data->api_enable.p_cback(BTA_HL_CTRL_ENABLE_CFM_EVT, (tBTA_HL_CTRL *) &evt_data); 551 p_cb->p_ctrl_cback = p_data->api_enable.p_cback; 553 if (p_data->api_enable.p_cback) 554 p_data->api_enable.p_cback(BTA_HL_CTRL_ENABLE_CFM_EVT, (tBTA_HL_CTRL *) &evt_data); 622 if (p_acb->p_cback) 624 p_acb->p_cback(BTA_HL_DEREGISTER_CFM_EVT, (tBTA_HL *) &evt_data); 652 if (p_data->api_reg.p_cback) 654 p_data->api_reg.p_cback(BTA_HL_REGISTER_CFM_EVT, (tBTA_HL *) &evt_data); 665 if (p_data->api_reg.p_cback) [all...] |
bta_hl_api.c | 56 ** Parameters p_cback - HL event call back function 73 p_buf->p_cback = p_ctrl_cback; 108 ** p_cback - HL event callback fucntion 115 tBTA_HL_CBACK *p_cback) 128 p_buf->p_cback = p_cback; 182 ** p_cback - HL event callback fucntion 189 tBTA_HL_CBACK *p_cback) 198 p_buf->p_cback = p_cback; [all...] |
/external/libnfc-nci/src/nfa/include/ |
nfa_snep_api.h | 212 NFC_API extern tNFA_STATUS NFA_SnepStartDefaultServer (tNFA_SNEP_CBACK *p_cback); 229 NFC_API extern tNFA_STATUS NFA_SnepStopDefaultServer (tNFA_SNEP_CBACK *p_cback); 249 ** NFA_STATUS_INVALID_PARAM if p_service_name or p_cback is NULL 255 tNFA_SNEP_CBACK *p_cback); 266 ** NFA_STATUS_INVALID_PARAM if p_cback is NULL 270 NFC_API extern tNFA_STATUS NFA_SnepRegisterClient (tNFA_SNEP_CBACK *p_cback); 304 ** NFA_STATUS_INVALID_PARAM if p_service_name or p_cback is NULL 323 ** through registered p_cback. Application may free the buffer 347 ** through p_cback. Application may free the buffer after receiving 352 ** NFA_STATUS_INVALID_PARAM if p_service_name or p_cback is NUL [all...] |
/external/libnfc-nci/src/nfa/ee/ |
nfa_ee_api.c | 49 tNFA_STATUS NFA_EeDiscover(tNFA_EE_CBACK *p_cback) 61 else if ((nfa_ee_cb.p_ee_disc_cback != NULL) || (p_cback == NULL)) 69 p_msg->p_cback = p_cback; 149 tNFA_STATUS NFA_EeRegister(tNFA_EE_CBACK *p_cback) 156 if (p_cback == NULL) 164 p_msg->p_cback = p_cback; 185 tNFA_STATUS NFA_EeDeregister(tNFA_EE_CBACK *p_cback) 194 if (nfa_ee_cb.p_ee_cback[xx] == p_cback) [all...] |
/external/bluetooth/bluedroid/bta/dm/ |
bta_dm_api.c | 62 tBTA_STATUS BTA_EnableBluetooth(tBTA_DM_SEC_CBACK *p_cback) 85 p_msg->p_sec_cback = p_cback; 335 tBTA_VENDOR_CMPL_CBACK *p_cback) 341 /* If p_cback is NULL, Notify application */ 342 if (p_cback == NULL) 354 p_msg->p_cback = p_cback; 385 void BTA_DmSearch(tBTA_DM_INQ *p_dm_inq, tBTA_SERVICE_MASK services, tBTA_DM_SEARCH_CBACK *p_cback) 397 p_msg->p_cback = p_cback; [all...] |
/external/libnfc-nci/halimpl/bcm2079x/hal/hal/ |
nfc_hal_dm.c | 112 tNFC_HAL_NCI_CBACK *p_cback) 165 nfc_hal_dm_send_nci_cmd (p_buff, cmd_len, p_cback); 187 void nfc_hal_dm_set_fw_fsm (BOOLEAN enable, tNFC_HAL_NCI_CBACK *p_cback) 194 nfc_hal_dm_send_nci_cmd (nfc_hal_dm_set_fw_fsm_cmd, NCI_MSG_HDR_SIZE + 1, p_cback); 463 tNFC_HAL_NCI_CBACK *p_cback = NULL; local 488 p_cback = (tNFC_HAL_NCI_CBACK *)nfc_hal_cb.ncit_cb.p_vsc_cback; 523 else if (p_cback) 525 (*p_cback) ((tNFC_HAL_NCI_EVT) (op_code), 661 else if (p_cback) 663 (*p_cback) ((tNFC_HAL_NCI_EVT) (op_code) 1080 tHAL_NFC_STATUS_CBACK *p_cback; local [all...] |
/external/libnfc-nci/src/nfa/int/ |
nfa_snep_int.h | 62 tNFA_SNEP_CBACK *p_cback; member in struct:__anon20787 69 tNFA_SNEP_CBACK *p_cback; member in struct:__anon20788 78 tNFA_SNEP_CBACK *p_cback; member in struct:__anon20789 85 tNFA_SNEP_CBACK *p_cback; member in struct:__anon20790 183 tNFA_SNEP_CBACK *p_cback; /* callback for event */ member in struct:__anon20799
|
/external/bluetooth/bluedroid/bta/hh/ |
bta_hh_act.c | 83 bta_hh_cb.p_cback = p_data->api_enable.p_cback; 107 (* bta_hh_cb.p_cback)(BTA_HH_ENABLE_EVT, (tBTA_HH *)&status); 124 if (bta_hh_cb.p_cback == NULL) 486 (* bta_hh_cb.p_cback)(BTA_HH_OPEN_EVT, (tBTA_HH *)&conn_dat); 532 (* bta_hh_cb.p_cback)(BTA_HH_CLOSE_EVT, (tBTA_HH *)&disc_dat); 590 (* bta_hh_cb.p_cback)(BTA_HH_OPEN_EVT, (tBTA_HH *)&conn); 599 (* bta_hh_cb.p_cback)(BTA_HH_OPEN_EVT, (tBTA_HH *)&conn); 707 (* bta_hh_cb.p_cback)(p_cb->w4_evt, (tBTA_HH *)&hs_data); 717 (* bta_hh_cb.p_cback)(p_cb->w4_evt, (tBTA_HH *)&cback_data) [all...] |
/external/bluetooth/bluedroid/bta/pan/ |
bta_pan_api.c | 57 void BTA_PanEnable(tBTA_PAN_CBACK p_cback) 69 p_buf->p_cback = p_cback;
|
/external/libnfc-nci/src/nfc/include/ |
ce_api.h | 175 ** p_cback: Raw frame will be forwarded with CE_RAW_FRAME_EVT 183 tCE_CBACK *p_cback); 249 NFC_API extern tNFC_STATUS CE_SetActivatedTagType (tNFC_ACTIVATE_DEVT *p_activate_params, UINT16 t3t_system_code, tCE_CBACK *p_cback);
|
/external/bluetooth/bluedroid/stack/avrc/ |
avrc_sdp.c | 90 (*avrc_cb.p_cback) (status); 121 ** p_cback: Pointer to the callback function. 133 tAVRC_SDP_DB_PARAMS *p_db, tAVRC_FIND_CBACK *p_cback) 146 p_db == NULL || p_db->p_db == NULL || p_cback == NULL) 172 avrc_cb.p_cback = p_cback;
|