Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/stack/smp/
Dsmp_api.cc206 if (smp_cb.cb_evt == SMP_CONSENT_REQ_EVT) { in SMP_SecurityGrant()
243 smp_cb.cb_evt != SMP_SEC_REQUEST_EVT || smp_cb.pairing_bda != bd_addr) { in SMP_SecurityGrant()
249 smp_cb.cb_evt = SMP_EVT_NONE; in SMP_SecurityGrant()
258 smp_cb.cb_evt != SMP_SEC_REQUEST_EVT || smp_cb.pairing_bda != bd_addr) in SMP_SecurityGrant()
262 smp_cb.cb_evt = SMP_EVT_NONE; in SMP_SecurityGrant()
290 if (p_cb->cb_evt != SMP_PASSKEY_REQ_EVT) { in SMP_PasskeyReply()
334 if (p_cb->cb_evt != SMP_NC_REQ_EVT) { in SMP_ConfirmReply()
375 if (p_cb->state != SMP_STATE_WAIT_APP_RSP || p_cb->cb_evt != SMP_OOB_REQ_EVT) in SMP_OobDataReply()
424 p_cb->cb_evt != SMP_SC_OOB_REQ_EVT) in SMP_SecureConnectionOobDataReply()
507 if (p_cb->cb_evt != SMP_SIRK_VERIFICATION_REQ_EVT) { in SMP_SirkConfirmDeviceReply()
Dsmp_act.cc119 smp_evt_to_text(p_cb->cb_evt)); in smp_send_app_cback()
121 if (p_cb->p_callback && p_cb->cb_evt != 0) { in smp_send_app_cback()
122 switch (p_cb->cb_evt) { in smp_send_app_cback()
157 log::error("Unexpected event:{}", p_cb->cb_evt); in smp_send_app_cback()
162 (*p_cb->p_callback)(p_cb->cb_evt, p_cb->pairing_bda, &cb_data); in smp_send_app_cback()
165 switch (p_cb->cb_evt) { in smp_send_app_cback()
255 log::error("Unexpected event:{}", p_cb->cb_evt); in smp_send_app_cback()
260 if (!p_cb->cb_evt && p_cb->discard_sec_req) { in smp_send_app_cback()
470 p_cb->cb_evt = SMP_EVT_NONE; in smp_proc_sec_req()
496 p_cb->cb_evt = SMP_SEC_REQUEST_EVT; in smp_proc_sec_req()
[all …]
Dsmp_l2c.cc133 p_cb->cb_evt = SMP_IO_CAP_REQ_EVT; in smp_connect_callback()
311 p_cb->cb_evt = SMP_BR_KEYS_REQ_EVT; in smp_br_connect_callback()
Dsmp_int.h296 tSMP_EVT cb_evt; variable
Dsmp_keys.cc885 p_cb->cb_evt = SMP_NC_REQ_EVT; in smp_calculate_numeric_comparison_display_number()
Dsmp_utils.cc1633 p_cb->cb_evt = SMP_SC_OOB_REQ_EVT; in smp_request_oob_data()
/packages/modules/Bluetooth/system/bta/hh/
Dbta_hh_le.cc747 uint16_t cb_evt = p_dev_cb->w4_evt; in bta_hh_le_service_parsed() local
748 if (cb_evt == BTA_HH_EMPTY_EVT) return; in bta_hh_le_service_parsed()
759 (*bta_hh_cb.p_cback)(cb_evt, (tBTA_HH*)&cback_data); in bta_hh_le_service_parsed()
1926 uint16_t cb_evt = p_dev_cb->w4_evt; in write_report_cb() local
1927 if (cb_evt == BTA_HH_EMPTY_EVT) return; in write_report_cb()
1951 (*bta_hh_cb.p_cback)(cb_evt, (tBTA_HH*)&cback_data); in write_report_cb()