Home
last modified time | relevance | path

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

/system/bt/stack/btm/
Dbtm_sec.cc481 if (btm_cb.security_mode == BTM_SEC_MODE_SP || in BTM_SetSecurityLevel()
482 btm_cb.security_mode == BTM_SEC_MODE_SC) { in BTM_SetSecurityLevel()
509 if (btm_cb.security_mode == BTM_SEC_MODE_SP || in BTM_SetSecurityLevel()
510 btm_cb.security_mode == BTM_SEC_MODE_SC) { in BTM_SetSecurityLevel()
839 BTM_TRACE_DEBUG("sec mode: %d sm4:x%x", btm_cb.security_mode, p_dev_rec->sm4); in btm_sec_bond_by_transport()
844 if ((btm_cb.security_mode == BTM_SEC_MODE_SP || in btm_sec_bond_by_transport()
845 btm_cb.security_mode == BTM_SEC_MODE_SC) && in btm_sec_bond_by_transport()
1536 if ((btm_cb.security_mode == BTM_SEC_MODE_SERVICE) || in btm_sec_l2cap_access_req_by_requirement()
1590 if (btm_cb.security_mode == BTM_SEC_MODE_SP || in btm_sec_l2cap_access_req_by_requirement()
1591 btm_cb.security_mode == BTM_SEC_MODE_SC) { in btm_sec_l2cap_access_req_by_requirement()
[all …]
Dbtm_int_types.h263 uint8_t security_mode{0};
339 security_mode = initial_security_mode; in Init()
/system/bt/stack/include/
Dbtm_api_types.h473 inline std::string security_mode_text(const tSECURITY_MODE& security_mode) { in security_mode_text() argument
474 switch (security_mode) { in security_mode_text()
482 return std::string("UNKNOWN[%hhu]", security_mode); in security_mode_text()
/system/bt/stack/smp/
Dsmp_keys.cc959 if (btm_cb.security_mode == BTM_SEC_MODE_SC) { in smp_calculate_link_key_from_long_term_key()
968 } else if (btm_cb.security_mode == BTM_SEC_MODE_SP) { in smp_calculate_link_key_from_long_term_key()
976 __func__, btm_cb.security_mode, p_dev_rec->sm4); in smp_calculate_link_key_from_long_term_key()
Dsmp_act.cc166 (btm_cb.security_mode == BTM_SEC_MODE_SC) ? true : false; in smp_send_app_cback()
454 (btm_cb.security_mode == BTM_SEC_MODE_SC) ? true : false; in smp_proc_sec_req()