Lines Matching refs:sec_flag
1016 uint8_t sec_flag = 0; in btm_ble_determine_security_act() local
1017 BTM_GetSecurityFlagsByTransport(bdaddr, &sec_flag, BT_TRANSPORT_LE); in btm_ble_determine_security_act()
1021 if (sec_flag & (BTM_SEC_FLAG_ENCRYPTED | BTM_SEC_FLAG_LKEY_KNOWN)) { in btm_ble_determine_security_act()
1022 if (sec_flag & BTM_SEC_FLAG_ENCRYPTED) is_link_encrypted = true; in btm_ble_determine_security_act()
1024 if (sec_flag & BTM_SEC_FLAG_LKEY_AUTHED) is_key_mitm = true; in btm_ble_determine_security_act()
1076 uint8_t sec_flag = 0; in btm_ble_start_sec_check() local
1077 BTM_GetSecurityFlagsByTransport(bd_addr, &sec_flag, BT_TRANSPORT_LE); in btm_ble_start_sec_check()
1081 !(sec_flag & BTM_SEC_ENCRYPTED)) { in btm_ble_start_sec_check()
1086 __func__, p_serv_rec->security_flags, sec_flag); in btm_ble_start_sec_check()
1089 !(sec_flag & in btm_ble_start_sec_check()
1095 __func__, p_serv_rec->security_flags, sec_flag); in btm_ble_start_sec_check()