Searched refs:sec_flags (Results 1 – 7 of 7) sorted by relevance
141 if(p_dev_rec->sec_flags & BTM_SEC_AUTHENTICATED) in btm_dev_authenticated()159 if(p_dev_rec->sec_flags & BTM_SEC_ENCRYPTED) in btm_dev_encrypted()177 if(p_dev_rec->sec_flags & BTM_SEC_AUTHORIZED) in btm_dev_authorized()196 if(p_dev_rec->sec_flags & BTM_SEC_16_DIGIT_PIN_AUTHED) in btm_dev_16_digit_authenticated()352 *p_sec_flags = (UINT8) p_dev_rec->sec_flags; in BTM_GetSecurityFlags()376 *p_sec_flags = (UINT8) p_dev_rec->sec_flags; in BTM_GetSecurityFlagsByTransport()378 *p_sec_flags = (UINT8) (p_dev_rec->sec_flags >> 8); in BTM_GetSecurityFlagsByTransport()904 p_dev_rec->sec_flags |= BTM_SEC_LINK_KEY_AUTHED; in BTM_PINCodeReply()906 p_dev_rec->sec_flags |= BTM_SEC_16_DIGIT_PIN_AUTHED; in BTM_PINCodeReply()944 p_dev_rec->sec_flags &= ~BTM_SEC_LINK_KEY_AUTHED; in BTM_PINCodeReply()[all …]
103 p_dev_rec->sec_flags |= BTM_SEC_NAME_KNOWN; in BTM_SecAddDevice()139 p_dev_rec->sec_flags |= BTM_SEC_LINK_KEY_KNOWN; in BTM_SecAddDevice()149 p_dev_rec->sec_flags |= BTM_SEC_16_DIGIT_PIN_AUTHED | BTM_SEC_LINK_KEY_AUTHED; in BTM_SecAddDevice()256 p_dev_rec->sec_flags = BTM_SEC_IN_USE; in btm_sec_alloc_dev()299 p_dev_rec->sec_flags = 0; in btm_sec_free_dev()470 p_target_rec->sec_flags |= temp_rec.sec_flags; in btm_consolidate_dev()548 if ((p_dev_rec->sec_flags & (BTM_SEC_LINK_KEY_KNOWN |BTM_SEC_LE_LINK_KEY_KNOWN)) == 0) { in btm_find_oldest_dev()
104 p_dev_rec->sec_flags |= BTM_SEC_NAME_KNOWN; in BTM_SecAddBleDevice()406 p_dev_rec->sec_flags |= BTM_SEC_LE_AUTHENTICATED; in BTM_BlePasskeyReply()435 p_dev_rec->sec_flags |= BTM_SEC_LE_AUTHENTICATED; in BTM_BleConfirmReply()468 p_dev_rec->sec_flags |= BTM_SEC_LE_AUTHENTICATED; in BTM_BleOobDataReply()1184 p_rec->sec_flags |= BTM_SEC_LE_LINK_KEY_KNOWN; in btm_sec_save_le_key()1186 p_rec->sec_flags |= BTM_SEC_LE_LINK_KEY_AUTHED; in btm_sec_save_le_key()1188 p_rec->sec_flags &= ~BTM_SEC_LE_LINK_KEY_AUTHED; in btm_sec_save_le_key()1191 p_rec->sec_flags, in btm_sec_save_le_key()1217 p_rec->sec_flags |= BTM_SEC_LE_LINK_KEY_KNOWN; in btm_sec_save_le_key()1219 p_rec->sec_flags |= BTM_SEC_LE_LINK_KEY_AUTHED; in btm_sec_save_le_key()[all …]
427 BTM_TRACE_DEBUG("before update p_dev_rec->sec_flags=0x%x", p_dev_rec->sec_flags); in btm_acl_removed()431 p_dev_rec->sec_flags &= ~(BTM_SEC_LE_ENCRYPTED | BTM_SEC_ROLE_SWITCHED); in btm_acl_removed()432 if ( (p_dev_rec->sec_flags & BTM_SEC_LE_LINK_KEY_KNOWN) == 0) in btm_acl_removed()435 … p_dev_rec->sec_flags &= ~(BTM_SEC_LE_LINK_KEY_AUTHED | BTM_SEC_LE_AUTHENTICATED); in btm_acl_removed()445 p_dev_rec->sec_flags &= ~(BTM_SEC_AUTHORIZED | BTM_SEC_AUTHENTICATED in btm_acl_removed()448 BTM_TRACE_DEBUG("after update p_dev_rec->sec_flags=0x%x", p_dev_rec->sec_flags); in btm_acl_removed()674 && ((p_dev_rec->sec_flags & BTM_SEC_ENCRYPTED) != 0) in BTM_SwitchRole()2429 if (p_dev_rec != NULL && ((p_dev_rec->sec_flags & BTM_SEC_ENCRYPTED) != 0) in btm_cont_rswitch()
334 BTM_TRACE_DEBUG("sec_flags = %02x device_type = %d", p_dev_rec->sec_flags, in btm_ble_match_random_bda()
542 UINT16 sec_flags; /* Current device security state */ member
128 UINT8 sec_flags, le_flags; in BTA_JvIsEncrypted() local130 if (BTM_GetSecurityFlags(bd_addr, &sec_flags) && in BTA_JvIsEncrypted()133 if(sec_flags & BTM_SEC_FLAG_ENCRYPTED || in BTA_JvIsEncrypted()