Searched refs:sec_flags (Results 1 – 7 of 7) sorted by relevance
150 if (p_dev_rec->sec_flags & BTM_SEC_AUTHENTICATED) { in btm_dev_authenticated()166 if (p_dev_rec->sec_flags & BTM_SEC_ENCRYPTED) { in btm_dev_encrypted()182 if (p_dev_rec->sec_flags & BTM_SEC_AUTHORIZED) { in btm_dev_authorized()199 if (p_dev_rec->sec_flags & BTM_SEC_16_DIGIT_PIN_AUTHED) { in btm_dev_16_digit_authenticated()337 *p_sec_flags = (uint8_t)p_dev_rec->sec_flags; in BTM_GetSecurityFlags()361 *p_sec_flags = (uint8_t)p_dev_rec->sec_flags; in BTM_GetSecurityFlagsByTransport()363 *p_sec_flags = (uint8_t)(p_dev_rec->sec_flags >> 8); in BTM_GetSecurityFlagsByTransport()804 p_dev_rec->sec_flags |= BTM_SEC_LINK_KEY_AUTHED; in BTM_PINCodeReply()807 p_dev_rec->sec_flags |= BTM_SEC_16_DIGIT_PIN_AUTHED; in BTM_PINCodeReply()845 p_dev_rec->sec_flags &= ~BTM_SEC_LINK_KEY_AUTHED; in BTM_PINCodeReply()[all …]
98 p_dev_rec->sec_flags |= BTM_SEC_NAME_KNOWN; in BTM_SecAddDevice()125 p_dev_rec->sec_flags |= BTM_SEC_LINK_KEY_KNOWN; in BTM_SecAddDevice()134 p_dev_rec->sec_flags |= in BTM_SecAddDevice()202 p_dev_rec->sec_flags = 0; in BTM_SecClearSecurityFlags()402 p_target_rec->sec_flags |= temp_rec.sec_flags; in btm_consolidate_dev()472 if ((p_dev_rec->sec_flags & in btm_find_oldest_dev_rec()519 p_dev_rec->sec_flags = BTM_SEC_IN_USE; in btm_sec_allocate_dev_rec()
96 p_dev_rec->sec_flags |= BTM_SEC_NAME_KNOWN; in BTM_SecAddBleDevice()342 p_dev_rec->sec_flags |= BTM_SEC_LE_AUTHENTICATED; in BTM_BlePasskeyReply()369 p_dev_rec->sec_flags |= BTM_SEC_LE_AUTHENTICATED; in BTM_BleConfirmReply()401 p_dev_rec->sec_flags |= BTM_SEC_LE_AUTHENTICATED; in BTM_BleOobDataReply()429 p_dev_rec->sec_flags |= BTM_SEC_LE_AUTHENTICATED; in BTM_BleSecureConnectionOobDataReply()1284 p_rec->sec_flags |= BTM_SEC_LE_LINK_KEY_KNOWN; in btm_sec_save_le_key()1286 p_rec->sec_flags |= BTM_SEC_LE_LINK_KEY_AUTHED; in btm_sec_save_le_key()1288 p_rec->sec_flags &= ~BTM_SEC_LE_LINK_KEY_AUTHED; in btm_sec_save_le_key()1291 p_rec->ble.key_type, p_rec->sec_flags, p_rec->ble.keys.sec_level); in btm_sec_save_le_key()1316 p_rec->sec_flags |= BTM_SEC_LE_LINK_KEY_KNOWN; in btm_sec_save_le_key()[all …]
377 p_dev_rec->sec_flags); in btm_acl_removed()380 p_dev_rec->sec_flags &= ~(BTM_SEC_LE_ENCRYPTED | BTM_SEC_ROLE_SWITCHED); in btm_acl_removed()381 if ((p_dev_rec->sec_flags & BTM_SEC_LE_LINK_KEY_KNOWN) == 0) { in btm_acl_removed()383 p_dev_rec->sec_flags &= in btm_acl_removed()390 p_dev_rec->sec_flags &= ~(BTM_SEC_AUTHORIZED | BTM_SEC_AUTHENTICATED | in btm_acl_removed()394 p_dev_rec->sec_flags); in btm_acl_removed()602 ((p_dev_rec->sec_flags & BTM_SEC_ENCRYPTED) != 0) && in BTM_SwitchRole()946 if (!(p_dev_rec->sec_flags & BTM_SEC_NAME_KNOWN) || in btm_process_remote_ext_features()2541 ((p_dev_rec->sec_flags & BTM_SEC_ENCRYPTED) != 0) && in btm_cont_rswitch()
223 BTM_TRACE_DEBUG("sec_flags = %02x device_type = %d", p_dev_rec->sec_flags, in btm_ble_match_random_bda()
497 uint16_t sec_flags; /* Current device security state */ member
103 uint8_t sec_flags, le_flags; in BTA_JvIsEncrypted() local105 if (BTM_GetSecurityFlags(bd_addr, &sec_flags) && in BTA_JvIsEncrypted()107 if (sec_flags & BTM_SEC_FLAG_ENCRYPTED || le_flags & BTM_SEC_FLAG_ENCRYPTED) in BTA_JvIsEncrypted()