/system/bt/stack/btm/ |
D | btm_ble_adv_filter.c | 112 void btm_ble_advfilt_enq_op_q(UINT8 action, UINT8 ocf, tBTM_BLE_FILT_CB_EVT cb_evt, in btm_ble_advfilt_enq_op_q() argument 118 btm_ble_adv_filt_cb.op_q.cb_evt[btm_ble_adv_filt_cb.op_q.next_idx] = cb_evt; in btm_ble_advfilt_enq_op_q() 124 ocf, cb_evt, p_cmpl_cback); in btm_ble_advfilt_enq_op_q() 147 *p_cb_evt = btm_ble_adv_filt_cb.op_q.cb_evt[btm_ble_adv_filt_cb.op_q.pending_idx]; in btm_ble_advfilt_deq_op_q() 262 UINT8 num_avail = 0, cb_evt = 0; in btm_ble_scan_pf_cmpl_cback() local 271 btm_ble_advfilt_deq_op_q(&action, &ocf, &cb_evt, &ref_value, &p_scan_cfg_cback, in btm_ble_scan_pf_cmpl_cback() 276 btm_ble_advfilt_deq_op_q(&action, &ocf, &cb_evt, &ref_value, &p_scan_cfg_cback, in btm_ble_scan_pf_cmpl_cback() 344 switch(cb_evt) in btm_ble_scan_pf_cmpl_cback() 346 BTM_TRACE_DEBUG("btm_ble_scan_pf_cmpl_cback: calling the cback: %d", cb_evt); in btm_ble_scan_pf_cmpl_cback() 547 tBTM_BLE_FILT_CB_EVT cb_evt, in btm_ble_update_pf_manu_data() argument [all …]
|
D | btm_ble_batchscan.c | 142 UINT8 cb_evt, tBTM_BLE_REF_VALUE ref_value) in btm_ble_batchscan_enq_op_q() argument 144 ble_batchscan_cb.op_q.sub_code[ble_batchscan_cb.op_q.next_idx] = (opcode |(cb_evt << 4)); in btm_ble_batchscan_enq_op_q() 364 UINT8 report_format = 0, num_records = 0, cb_evt = 0; in btm_ble_batchscan_vsc_cmpl_cback() local 373 btm_ble_batchscan_deq_op_q(&opcode, &cur_state, &cb_evt, &ref_value); in btm_ble_batchscan_vsc_cmpl_cback() 380 btm_ble_batchscan_deq_op_q(&opcode, &cur_state, &cb_evt, &ref_value); in btm_ble_batchscan_vsc_cmpl_cback() 383 opcode, cur_state, cb_evt, ref_value); in btm_ble_batchscan_vsc_cmpl_cback() 405 status, ble_batchscan_cb.cur_state, cb_evt); in btm_ble_batchscan_vsc_cmpl_cback() 407 if (cb_evt != 0 && NULL != ble_batchscan_cb.p_setup_cback) in btm_ble_batchscan_vsc_cmpl_cback() 408 ble_batchscan_cb.p_setup_cback(cb_evt, ref_value, status); in btm_ble_batchscan_vsc_cmpl_cback() 415 status, cb_evt); in btm_ble_batchscan_vsc_cmpl_cback() [all …]
|
D | btm_ble_multi_adv.c | 68 void btm_ble_multi_adv_enq_op_q(UINT8 opcode, UINT8 inst_id, UINT8 cb_evt) in btm_ble_multi_adv_enq_op_q() argument 74 p_op_q->p_sub_code[p_op_q->next_idx] = (opcode |(cb_evt << 4)); in btm_ble_multi_adv_enq_op_q() 117 UINT8 cb_evt = 0, opcode; in btm_ble_multi_adv_vsc_cmpl_cback() local 128 btm_ble_multi_adv_deq_op_q(&opcode, &inst_id, &cb_evt); in btm_ble_multi_adv_vsc_cmpl_cback() 130 BTM_TRACE_DEBUG("op_code = %02x inst_id = %d cb_evt = %02x", opcode, inst_id, cb_evt); in btm_ble_multi_adv_vsc_cmpl_cback() 147 if (HCI_SUCCESS != status && BTM_BLE_MULTI_ADV_ENB_EVT == cb_evt) in btm_ble_multi_adv_vsc_cmpl_cback() 180 if (cb_evt != 0 && p_inst->p_cback != NULL) in btm_ble_multi_adv_vsc_cmpl_cback() 182 (p_inst->p_cback)(cb_evt, inst_id, p_inst->p_ref, status); in btm_ble_multi_adv_vsc_cmpl_cback() 199 tBTM_STATUS btm_ble_enable_multi_adv (BOOLEAN enable, UINT8 inst_id, UINT8 cb_evt) in btm_ble_enable_multi_adv() argument 220 btm_ble_multi_adv_enq_op_q(BTM_BLE_MULTI_ADV_ENB, inst_id, cb_evt); in btm_ble_enable_multi_adv() [all …]
|
/system/bt/stack/smp/ |
D | smp_api.c | 267 smp_cb.cb_evt != SMP_SEC_REQUEST_EVT || in SMP_SecurityGrant() 275 smp_cb.cb_evt = 0; in SMP_SecurityGrant() 281 smp_cb.cb_evt != SMP_SEC_REQUEST_EVT || in SMP_SecurityGrant() 286 smp_cb.cb_evt = 0; in SMP_SecurityGrant() 312 if (p_cb->cb_evt != SMP_PASSKEY_REQ_EVT) in SMP_PasskeyReply() 369 if (p_cb->cb_evt != SMP_NC_REQ_EVT) in SMP_ConfirmReply() 420 if (p_cb->state != SMP_STATE_WAIT_APP_RSP || p_cb->cb_evt != SMP_OOB_REQ_EVT) in SMP_OobDataReply() 469 if (p_cb->state != SMP_STATE_WAIT_APP_RSP || p_cb->cb_evt != SMP_SC_OOB_REQ_EVT) in SMP_SecureConnectionOobDataReply()
|
D | smp_act.c | 148 SMP_TRACE_DEBUG("%s p_cb->cb_evt=%d", __func__, p_cb->cb_evt); in smp_send_app_cback() 149 if (p_cb->p_callback && p_cb->cb_evt != 0) in smp_send_app_cback() 151 switch (p_cb->cb_evt) in smp_send_app_cback() 186 callback_rc = (*p_cb->p_callback)(p_cb->cb_evt, p_cb->pairing_bda, &cb_data); in smp_send_app_cback() 188 SMP_TRACE_DEBUG("callback_rc=%d p_cb->cb_evt=%d",callback_rc, p_cb->cb_evt ); in smp_send_app_cback() 192 switch (p_cb->cb_evt) in smp_send_app_cback() 257 if (!p_cb->cb_evt && p_cb->discard_sec_req) in smp_send_app_cback() 486 p_cb->cb_evt = 0; in smp_proc_sec_req() 515 p_cb->cb_evt = SMP_SEC_REQUEST_EVT; in smp_proc_sec_req() 544 p_cb->cb_evt = SMP_IO_CAP_REQ_EVT; in smp_proc_sec_grant() [all …]
|
D | smp_l2c.c | 122 p_cb->cb_evt = SMP_IO_CAP_REQ_EVT; in smp_connect_callback() 275 p_cb->cb_evt = SMP_BR_KEYS_REQ_EVT; in smp_br_connect_callback()
|
D | smp_int.h | 285 UINT8 cb_evt; member
|
D | smp_utils.c | 1539 p_cb->cb_evt = SMP_SC_OOB_REQ_EVT; in smp_request_oob_data()
|
D | smp_keys.c | 1329 p_cb->cb_evt = SMP_NC_REQ_EVT; in smp_calculate_numeric_comparison_display_number()
|
/system/bt/bta/hh/ |
D | bta_hh_le.c | 1985 UINT16 cb_evt = p_dev_cb->w4_evt; in bta_hh_le_write_cmpl() local 1987 if (p_data == NULL || cb_evt == 0) in bta_hh_le_write_cmpl() 2009 (* bta_hh_cb.p_cback)(cb_evt, (tBTA_HH *)&cback_data); in bta_hh_le_write_cmpl() 2020 (* bta_hh_cb.p_cback)(cb_evt, (tBTA_HH *)&cback_data); in bta_hh_le_write_cmpl() 2725 UINT16 cb_evt = p_dev_cb->w4_evt; in bta_hh_le_register_scpp_notif_cmpl() local 2733 (* bta_hh_cb.p_cback)(cb_evt, (tBTA_HH *)&cback_data); in bta_hh_le_register_scpp_notif_cmpl()
|
/system/bt/stack/include/ |
D | btm_ble_api.h | 764 UINT8 cb_evt[BTM_BLE_PF_TYPE_MAX]; member
|