Searched refs:smp_cb (Results 1 – 9 of 9) sorted by relevance
/system/bt/stack/smp/ |
D | smp_api.cc | 59 memset(&smp_cb, 0, sizeof(tSMP_CB)); in SMP_Init() 60 smp_cb.smp_rsp_timer_ent = alarm_new("smp.smp_rsp_timer_ent"); in SMP_Init() 61 smp_cb.delayed_auth_timer_ent = alarm_new("smp.delayed_auth_timer_ent"); in SMP_Init() 64 smp_cb.trace_level = SMP_INITIAL_TRACE_LEVEL; in SMP_Init() 66 smp_cb.trace_level = BT_TRACE_LEVEL_NONE; /* No traces */ in SMP_Init() 75 smp_cb.cert_failure = static_cast<tSMP_STATUS>( in SMP_Init() 77 if (smp_cb.cert_failure) in SMP_Init() 79 smp_cb.cert_failure); in SMP_Init() 103 if (new_level != 0xFF) smp_cb.trace_level = new_level; in SMP_SetTraceLevel() 105 return (smp_cb.trace_level); in SMP_SetTraceLevel() [all …]
|
D | smp_br_main.cc | 252 smp_get_br_state_name(smp_cb.br_state), smp_cb.br_state, in smp_set_br_state() 254 smp_cb.br_state = br_state; in smp_set_br_state() 264 tSMP_BR_STATE smp_get_br_state(void) { return smp_cb.br_state; } in smp_get_br_state()
|
D | smp_l2c.cc | 91 tSMP_CB* p_cb = &smp_cb; in smp_connect_callback() 150 tSMP_CB* p_cb = &smp_cb; in smp_data_received() 230 tSMP_CB* p_cb = &smp_cb; in smp_br_connect_callback() 274 tSMP_CB* p_cb = &smp_cb; in smp_br_data_received()
|
D | smp_main.cc | 927 tSMP_CB smp_cb; variable 938 smp_get_state_name(smp_cb.state), smp_cb.state, in smp_set_state() 940 smp_cb.state = state; in smp_set_state() 950 tSMP_STATE smp_get_state(void) { return smp_cb.state; } in smp_get_state()
|
D | smp_act.cc | 1971 tSMP_CB* p_cb = &smp_cb; in smp_link_encrypted() 1975 if (smp_cb.pairing_bda == bda) { in smp_link_encrypted() 1988 smp_sm_event(&smp_cb, SMP_ENCRYPTED_EVT, &smp_int_data); in smp_link_encrypted() 1994 smp_sm_event(&smp_cb, SMP_DISCARD_SEC_REQ_EVT, NULL); in smp_cancel_start_encryption_attempt() 2008 SMP_TRACE_DEBUG("%s state = %d", __func__, smp_cb.state); in smp_proc_ltk_request() 2011 if (bda == smp_cb.pairing_bda) { in smp_proc_ltk_request() 2015 if (p_dev_rec != NULL && p_dev_rec->ble.pseudo_addr == smp_cb.pairing_bda && in smp_proc_ltk_request() 2021 if (match && smp_cb.state == SMP_STATE_ENCRYPTION_PENDING) { in smp_proc_ltk_request() 2022 smp_sm_event(&smp_cb, SMP_ENC_REQ_EVT, NULL); in smp_proc_ltk_request() 2041 tSMP_CB* p_cb = &smp_cb; in smp_process_secure_connection_long_term_key()
|
D | smp_utils.cc | 339 if (smp_cb.smp_over_br) { in smp_send_msg_to_L2CAP() 353 tSMP_CB* p_cb = &smp_cb; in smp_send_msg_to_L2CAP() 416 tSMP_CB* p_cb = &smp_cb; in smp_rsp_timeout() 449 smp_sm_event(&smp_cb, SMP_AUTH_CMPL_EVT, &smp_int_data); in smp_delayed_auth_complete_timeout() 833 smp_sm_event(&smp_cb, SMP_KEY_READY_EVT, &smp_int_data); in smp_convert_string_to_tk()
|
D | smp_int.h | 306 extern tSMP_CB smp_cb;
|
D | smp_keys.cc | 115 smp_sm_event(&smp_cb, SMP_KEY_READY_EVT, &smp_int_data); in smp_proc_passkey()
|
/system/bt/internal_include/ |
D | bt_trace.h | 603 if (smp_cb.trace_level >= BT_TRACE_LEVEL_ERROR) \ 608 if (smp_cb.trace_level >= BT_TRACE_LEVEL_WARNING) \ 613 if (smp_cb.trace_level >= BT_TRACE_LEVEL_API) \ 618 if (smp_cb.trace_level >= BT_TRACE_LEVEL_EVENT) \ 623 if (smp_cb.trace_level >= BT_TRACE_LEVEL_DEBUG) \
|