Home
last modified time | relevance | path

Searched refs:cb_evt (Results 1 – 7 of 7) sorted by relevance

/system/bt/stack/smp/
Dsmp_api.cc276 if (smp_cb.cb_evt == SMP_CONSENT_REQ_EVT) { in SMP_SecurityGrant()
315 smp_cb.cb_evt != SMP_SEC_REQUEST_EVT || smp_cb.pairing_bda != bd_addr) { in SMP_SecurityGrant()
321 smp_cb.cb_evt = SMP_EVT_NONE; in SMP_SecurityGrant()
330 smp_cb.cb_evt != SMP_SEC_REQUEST_EVT || smp_cb.pairing_bda != bd_addr) in SMP_SecurityGrant()
334 smp_cb.cb_evt = SMP_EVT_NONE; in SMP_SecurityGrant()
365 if (p_cb->cb_evt != SMP_PASSKEY_REQ_EVT) { in SMP_PasskeyReply()
422 if (p_cb->cb_evt != SMP_NC_REQ_EVT) { in SMP_ConfirmReply()
471 if (p_cb->state != SMP_STATE_WAIT_APP_RSP || p_cb->cb_evt != SMP_OOB_REQ_EVT) in SMP_OobDataReply()
521 p_cb->cb_evt != SMP_SC_OOB_REQ_EVT) in SMP_SecureConnectionOobDataReply()
Dsmp_act.cc103 if (p_cb->p_callback && p_cb->cb_evt != 0) { in smp_send_app_cback()
104 switch (p_cb->cb_evt) { in smp_send_app_cback()
135 LOG_ERROR("Unexpected event:%hhu", p_cb->cb_evt); in smp_send_app_cback()
140 (*p_cb->p_callback)(p_cb->cb_evt, p_cb->pairing_bda, &cb_data); in smp_send_app_cback()
143 switch (p_cb->cb_evt) { in smp_send_app_cback()
228 LOG_ERROR("Unexpected event: %hhu", p_cb->cb_evt); in smp_send_app_cback()
233 if (!p_cb->cb_evt && p_cb->discard_sec_req) { in smp_send_app_cback()
440 p_cb->cb_evt = SMP_EVT_NONE; in smp_proc_sec_req()
466 p_cb->cb_evt = SMP_SEC_REQUEST_EVT; in smp_proc_sec_req()
492 p_cb->cb_evt = SMP_IO_CAP_REQ_EVT; in smp_proc_sec_grant()
[all …]
Dsmp_l2c.cc127 p_cb->cb_evt = SMP_IO_CAP_REQ_EVT; in smp_connect_callback()
253 p_cb->cb_evt = SMP_BR_KEYS_REQ_EVT; in smp_br_connect_callback()
Dsmp_int.h240 tSMP_EVT cb_evt; member
Dsmp_keys.cc849 p_cb->cb_evt = SMP_NC_REQ_EVT; in smp_calculate_numeric_comparison_display_number()
Dsmp_utils.cc1544 p_cb->cb_evt = SMP_SC_OOB_REQ_EVT; in smp_request_oob_data()
/system/bt/bta/hh/
Dbta_hh_le.cc734 uint16_t cb_evt = p_dev_cb->w4_evt; in write_proto_mode_cb() local
735 if (cb_evt == 0) return; in write_proto_mode_cb()
746 (*bta_hh_cb.p_cback)(cb_evt, (tBTA_HH*)&cback_data); in write_proto_mode_cb()
1766 uint16_t cb_evt = p_dev_cb->w4_evt; in write_report_cb() local
1768 if (cb_evt == 0) return; in write_report_cb()
1788 (*bta_hh_cb.p_cback)(cb_evt, (tBTA_HH*)&cback_data); in write_report_cb()