Home
last modified time | relevance | path

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

/system/bt/stack/btm/
Dbtm_sec.cc439 btm_cb.security_mode = BTM_SEC_MODE_SC; in BTM_SetSecureConnectionsOnly()
575 if (btm_cb.security_mode == BTM_SEC_MODE_SP || in btm_sec_set_security_level()
576 btm_cb.security_mode == BTM_SEC_MODE_SP_DEBUG || in btm_sec_set_security_level()
577 btm_cb.security_mode == BTM_SEC_MODE_SC) { in btm_sec_set_security_level()
608 if (btm_cb.security_mode == BTM_SEC_MODE_SP || in btm_sec_set_security_level()
609 btm_cb.security_mode == BTM_SEC_MODE_SP_DEBUG || in btm_sec_set_security_level()
610 btm_cb.security_mode == BTM_SEC_MODE_SC) { in btm_sec_set_security_level()
997 BTM_TRACE_DEBUG("sec mode: %d sm4:x%x", btm_cb.security_mode, p_dev_rec->sm4); in btm_sec_bond_by_transport()
1002 if ((btm_cb.security_mode == BTM_SEC_MODE_SP || in btm_sec_bond_by_transport()
1003 btm_cb.security_mode == BTM_SEC_MODE_SP_DEBUG || in btm_sec_bond_by_transport()
[all …]
Dbtm_int_types.h800 uint8_t security_mode; member
/system/bt/stack/smp/
Dsmp_keys.cc969 if (btm_cb.security_mode == BTM_SEC_MODE_SC) { in smp_calculate_link_key_from_long_term_key()
978 } else if (btm_cb.security_mode == BTM_SEC_MODE_SP) { in smp_calculate_link_key_from_long_term_key()
986 __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()