Home
last modified time | relevance | path

Searched refs:security_required (Results 1 – 3 of 3) sorted by relevance

/system/bt/stack/btm/
Dbtm_sec.cc797 p_dev_rec->security_required = BTM_SEC_NONE; in BTM_PINCodeReply()
933 p_dev_rec->security_required = BTM_SEC_OUT_AUTHENTICATE; in btm_sec_bond_by_transport()
1293 p_dev_rec->security_required |= in BTM_SetEncryption()
1301 p_dev_rec->security_required, p_dev_rec, p_callback); in BTM_SetEncryption()
1850 if ((p_dev_rec->security_required & mtm_check) /* needs MITM */ in btm_sec_is_upgrade_possible()
1940 uint16_t security_required; in btm_sec_l2cap_access_req() local
1978 security_required = btm_sec_set_serv_level4_flags( in btm_sec_l2cap_access_req()
1981 security_required = p_serv_rec->security_flags; in btm_sec_l2cap_access_req()
1986 __func__, security_required, is_originator, psm); in btm_sec_l2cap_access_req()
1988 if ((!is_originator) && (security_required & BTM_SEC_MODE4_LEVEL4)) { in btm_sec_l2cap_access_req()
[all …]
Dbtm_ble.cc972 uint16_t security_required) { in btm_ble_determine_security_act() argument
976 if ((security_required & BTM_SEC_OUT_FLAGS) == 0 && in btm_ble_determine_security_act()
977 (security_required & BTM_SEC_OUT_MITM) == 0) { in btm_ble_determine_security_act()
983 if (security_required & BTM_SEC_OUT_MITM) auth_req |= BTM_LE_AUTH_REQ_MITM; in btm_ble_determine_security_act()
985 if ((security_required & BTM_SEC_IN_FLAGS) == 0 && in btm_ble_determine_security_act()
986 (security_required & BTM_SEC_IN_MITM) == 0) { in btm_ble_determine_security_act()
992 if (security_required & BTM_SEC_IN_MITM) auth_req |= BTM_LE_AUTH_REQ_MITM; in btm_ble_determine_security_act()
1525 p_rec->security_required |= BTM_SEC_IN_MITM; in btm_ble_set_encryption()
1753 p_dev_rec->security_required, p_data->auth_req); in btm_ble_io_capabilities_req()
1760 if (p_dev_rec->security_required & BTM_SEC_IN_MITM) in btm_ble_io_capabilities_req()
Dbtm_int_types.h521 uint16_t security_required; /* Security required for connection */ member