Home
last modified time | relevance | path

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

/system/bt/stack/btm/
Dbtm_sec.c897 p_dev_rec->security_required = BTM_SEC_NONE; in BTM_PINCodeReply()
1029 p_dev_rec->security_required = BTM_SEC_OUT_AUTHENTICATE; in btm_sec_bond_by_transport()
1418 p_dev_rec->security_required |= (BTM_SEC_IN_AUTHENTICATE | BTM_SEC_IN_ENCRYPT); in BTM_SetEncryption()
1423 p_dev_rec->security_required); in BTM_SetEncryption()
2019 if ((p_dev_rec->security_required & mtm_check) /* needs MITM */ in btm_sec_is_upgrade_possible()
2109 UINT16 security_required; in btm_sec_l2cap_access_req() local
2157 security_required = btm_sec_set_serv_level4_flags (p_serv_rec->ucd_security_flags, in btm_sec_l2cap_access_req()
2162 security_required = p_serv_rec->ucd_security_flags; in btm_sec_l2cap_access_req()
2168 if (((security_required & BTM_SEC_OUT_FLAGS) == 0) || in btm_sec_l2cap_access_req()
2169 …((((security_required & BTM_SEC_OUT_FLAGS) == BTM_SEC_OUT_AUTHENTICATE) && (p_dev_rec->sec_flags &… in btm_sec_l2cap_access_req()
[all …]
Dbtm_ble.c905 …ION btm_ble_determine_security_act(BOOLEAN is_originator, BD_ADDR bdaddr, UINT16 security_required) in btm_ble_determine_security_act() argument
911 if ((security_required & BTM_SEC_OUT_FLAGS) == 0 && in btm_ble_determine_security_act()
912 (security_required & BTM_SEC_OUT_MITM) == 0) in btm_ble_determine_security_act()
918 if (security_required & BTM_SEC_OUT_MITM) in btm_ble_determine_security_act()
923 … if ((security_required & BTM_SEC_IN_FLAGS) == 0&& (security_required & BTM_SEC_IN_MITM) == 0) in btm_ble_determine_security_act()
929 if (security_required & BTM_SEC_IN_MITM) in btm_ble_determine_security_act()
1472 p_rec->security_required |= BTM_SEC_IN_MITM; in btm_ble_set_encryption()
1729 p_dev_rec->security_required, p_data->auth_req); in btm_ble_io_capabilities_req()
1735 if (p_dev_rec->security_required & BTM_SEC_IN_MITM) in btm_ble_io_capabilities_req()
Dbtm_int.h567 UINT16 security_required; /* Security required for connection */ member