Home
last modified time | relevance | path

Searched refs:security_mode (Results 1 – 4 of 4) sorted by relevance

/system/bt/stack/btm/
Dbtm_sec.cc502 if (btm_cb.security_mode == BTM_SEC_MODE_SP || in BTM_SetSecurityLevel()
503 btm_cb.security_mode == BTM_SEC_MODE_SP_DEBUG || in BTM_SetSecurityLevel()
504 btm_cb.security_mode == BTM_SEC_MODE_SC) { in BTM_SetSecurityLevel()
535 if (btm_cb.security_mode == BTM_SEC_MODE_SP || in BTM_SetSecurityLevel()
536 btm_cb.security_mode == BTM_SEC_MODE_SP_DEBUG || in BTM_SetSecurityLevel()
537 btm_cb.security_mode == BTM_SEC_MODE_SC) { in BTM_SetSecurityLevel()
924 BTM_TRACE_DEBUG("sec mode: %d sm4:x%x", btm_cb.security_mode, p_dev_rec->sm4); in btm_sec_bond_by_transport()
929 if ((btm_cb.security_mode == BTM_SEC_MODE_SP || in btm_sec_bond_by_transport()
930 btm_cb.security_mode == BTM_SEC_MODE_SP_DEBUG || in btm_sec_bond_by_transport()
931 btm_cb.security_mode == BTM_SEC_MODE_SC) && in btm_sec_bond_by_transport()
[all …]
Dbtm_int_types.h754 uint8_t security_mode; member
/system/bt/stack/smp/
Dsmp_keys.cc967 if (btm_cb.security_mode == BTM_SEC_MODE_SC) { in smp_calculate_link_key_from_long_term_key()
976 } else if (btm_cb.security_mode == BTM_SEC_MODE_SP) { in smp_calculate_link_key_from_long_term_key()
984 __func__, btm_cb.security_mode, p_dev_rec->sm4); in smp_calculate_link_key_from_long_term_key()
Dsmp_act.cc171 (btm_cb.security_mode == BTM_SEC_MODE_SC) ? true : false; in smp_send_app_cback()
444 (btm_cb.security_mode == BTM_SEC_MODE_SC) ? true : false; in smp_proc_sec_req()