Searched refs:smp_cb (Results 1 – 9 of 9) sorted by relevance
/system/bt/stack/smp/ |
D | smp_api.cc | 52 memset(&smp_cb, 0, sizeof(tSMP_CB)); in SMP_Init() 53 smp_cb.smp_rsp_timer_ent = alarm_new("smp.smp_rsp_timer_ent"); in SMP_Init() 54 smp_cb.delayed_auth_timer_ent = alarm_new("smp.delayed_auth_timer_ent"); in SMP_Init() 57 smp_cb.trace_level = SMP_INITIAL_TRACE_LEVEL; in SMP_Init() 59 smp_cb.trace_level = BT_TRACE_LEVEL_NONE; /* No traces */ in SMP_Init() 68 smp_cb.cert_failure = in SMP_Init() 70 if (smp_cb.cert_failure) in SMP_Init() 72 smp_cb.cert_failure); in SMP_Init() 96 if (new_level != 0xFF) smp_cb.trace_level = new_level; in SMP_SetTraceLevel() 98 return (smp_cb.trace_level); in SMP_SetTraceLevel() [all …]
|
D | smp_br_main.cc | 249 smp_get_br_state_name(smp_cb.br_state), smp_cb.br_state, in smp_set_br_state() 251 smp_cb.br_state = br_state; in smp_set_br_state() 261 tSMP_BR_STATE smp_get_br_state(void) { return smp_cb.br_state; } in smp_get_br_state()
|
D | smp_l2c.cc | 96 tSMP_CB* p_cb = &smp_cb; in smp_connect_callback() 142 tSMP_CB* p_cb = &smp_cb; in smp_data_received() 218 tSMP_CB* p_cb = &smp_cb; in smp_tx_complete_callback() 248 tSMP_CB* p_cb = &smp_cb; in smp_br_connect_callback() 293 tSMP_CB* p_cb = &smp_cb; in smp_br_data_received()
|
D | smp_main.cc | 912 tSMP_CB smp_cb; variable 923 smp_get_state_name(smp_cb.state), smp_cb.state, in smp_set_state() 925 smp_cb.state = state; in smp_set_state() 935 tSMP_STATE smp_get_state(void) { return smp_cb.state; } in smp_get_state()
|
D | smp_act.cc | 1921 tSMP_CB* p_cb = &smp_cb; in smp_link_encrypted() 1925 if (smp_cb.pairing_bda == bda) { in smp_link_encrypted() 1935 smp_sm_event(&smp_cb, SMP_ENCRYPTED_EVT, &smp_int_data); in smp_link_encrypted() 1941 smp_sm_event(&smp_cb, SMP_DISCARD_SEC_REQ_EVT, NULL); in smp_cancel_start_encryption_attempt() 1955 SMP_TRACE_DEBUG("%s state = %d", __func__, smp_cb.state); in smp_proc_ltk_request() 1958 if (bda == smp_cb.pairing_bda) { in smp_proc_ltk_request() 1962 if (p_dev_rec != NULL && p_dev_rec->ble.pseudo_addr == smp_cb.pairing_bda && in smp_proc_ltk_request() 1968 if (match && smp_cb.state == SMP_STATE_ENCRYPTION_PENDING) { in smp_proc_ltk_request() 1969 smp_sm_event(&smp_cb, SMP_ENC_REQ_EVT, NULL); in smp_proc_ltk_request() 1988 tSMP_CB* p_cb = &smp_cb; in smp_process_secure_connection_long_term_key()
|
D | smp_utils.cc | 338 if (smp_cb.smp_over_br) { in smp_send_msg_to_L2CAP() 343 smp_cb.total_tx_unacked += 1; in smp_send_msg_to_L2CAP() 350 smp_cb.total_tx_unacked -= 1; in smp_send_msg_to_L2CAP() 404 tSMP_CB* p_cb = &smp_cb; in smp_rsp_timeout() 437 smp_sm_event(&smp_cb, SMP_AUTH_CMPL_EVT, &smp_int_data); in smp_delayed_auth_complete_timeout() 821 smp_sm_event(&smp_cb, SMP_KEY_READY_EVT, &smp_int_data); in smp_convert_string_to_tk()
|
D | smp_int.h | 336 extern tSMP_CB smp_cb;
|
D | smp_keys.cc | 137 smp_sm_event(&smp_cb, SMP_KEY_READY_EVT, &smp_int_data); in smp_proc_passkey()
|
/system/bt/internal_include/ |
D | bt_trace.h | 558 if (smp_cb.trace_level >= BT_TRACE_LEVEL_ERROR) \ 563 if (smp_cb.trace_level >= BT_TRACE_LEVEL_WARNING) \ 568 if (smp_cb.trace_level >= BT_TRACE_LEVEL_API) \ 573 if (smp_cb.trace_level >= BT_TRACE_LEVEL_EVENT) \ 578 if (smp_cb.trace_level >= BT_TRACE_LEVEL_DEBUG) \
|