Lines Matching refs:sec_flag
162 UINT8 sec_flag; in gatt_enc_cmpl_cback() local
180 BTM_GetSecurityFlagsByTransport(bd_addr, &sec_flag, transport); in gatt_enc_cmpl_cback()
182 if (sec_flag & BTM_SEC_FLAG_LKEY_AUTHED) in gatt_enc_cmpl_cback()
316 UINT8 sec_flag; in gatt_determine_sec_act() local
328 BTM_GetSecurityFlagsByTransport(p_tcb->peer_bda, &sec_flag, p_clcb->p_tcb->transport); in gatt_determine_sec_act()
337 if (sec_flag & (BTM_SEC_FLAG_ENCRYPTED| BTM_SEC_FLAG_LKEY_KNOWN)) in gatt_determine_sec_act()
339 if (sec_flag & BTM_SEC_FLAG_ENCRYPTED) in gatt_determine_sec_act()
344 if (sec_flag & BTM_SEC_FLAG_LKEY_AUTHED) in gatt_determine_sec_act()
420 UINT8 sec_flag=0; in gatt_get_link_encrypt_status() local
422 BTM_GetSecurityFlagsByTransport(p_tcb->peer_bda, &sec_flag, p_tcb->transport); in gatt_get_link_encrypt_status()
424 if ((sec_flag & BTM_SEC_FLAG_ENCRYPTED) && (sec_flag & BTM_SEC_FLAG_LKEY_KNOWN)) in gatt_get_link_encrypt_status()
427 if (sec_flag & BTM_SEC_FLAG_LKEY_AUTHED) in gatt_get_link_encrypt_status()