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 …]
99 p_dev_rec->sec_flags |= BTM_SEC_NAME_KNOWN; in BTM_SecAddDevice()132 p_dev_rec->sec_flags |= BTM_SEC_LINK_KEY_KNOWN; in BTM_SecAddDevice()142 p_dev_rec->sec_flags |= BTM_SEC_16_DIGIT_PIN_AUTHED | BTM_SEC_LINK_KEY_AUTHED; in BTM_SecAddDevice()205 p_dev_rec->sec_flags = 0; in BTM_SecClearSecurityFlags()464 p_target_rec->sec_flags |= temp_rec.sec_flags; in btm_consolidate_dev()537 if ((p_dev_rec->sec_flags & (BTM_SEC_LINK_KEY_KNOWN | BTM_SEC_LE_LINK_KEY_KNOWN)) == 0) { in btm_find_oldest_dev_rec()585 p_dev_rec->sec_flags = BTM_SEC_IN_USE; in btm_sec_allocate_dev_rec()
100 p_dev_rec->sec_flags |= BTM_SEC_NAME_KNOWN; in BTM_SecAddBleDevice()402 p_dev_rec->sec_flags |= BTM_SEC_LE_AUTHENTICATED; in BTM_BlePasskeyReply()431 p_dev_rec->sec_flags |= BTM_SEC_LE_AUTHENTICATED; in BTM_BleConfirmReply()463 p_dev_rec->sec_flags |= BTM_SEC_LE_AUTHENTICATED; in BTM_BleOobDataReply()494 p_dev_rec->sec_flags |= BTM_SEC_LE_AUTHENTICATED; in BTM_BleSecureConnectionOobDataReply()1220 p_rec->sec_flags |= BTM_SEC_LE_LINK_KEY_KNOWN; in btm_sec_save_le_key()1222 p_rec->sec_flags |= BTM_SEC_LE_LINK_KEY_AUTHED; in btm_sec_save_le_key()1224 p_rec->sec_flags &= ~BTM_SEC_LE_LINK_KEY_AUTHED; in btm_sec_save_le_key()1227 p_rec->sec_flags, in btm_sec_save_le_key()1253 p_rec->sec_flags |= BTM_SEC_LE_LINK_KEY_KNOWN; 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()2468 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()