Home
last modified time | relevance | path

Searched refs:sec_flags (Results 1 – 7 of 7) sorted by relevance

/system/bt/stack/btm/
Dbtm_sec.cc144 if (p_dev_rec->sec_flags & BTM_SEC_AUTHENTICATED) { in btm_dev_authenticated()
160 if (p_dev_rec->sec_flags & BTM_SEC_ENCRYPTED) { in btm_dev_encrypted()
176 if (p_dev_rec->sec_flags & BTM_SEC_AUTHORIZED) { in btm_dev_authorized()
193 if (p_dev_rec->sec_flags & BTM_SEC_16_DIGIT_PIN_AUTHED) { in btm_dev_16_digit_authenticated()
317 *p_sec_flags = (uint8_t)p_dev_rec->sec_flags; in BTM_GetSecurityFlags()
341 *p_sec_flags = (uint8_t)p_dev_rec->sec_flags; in BTM_GetSecurityFlagsByTransport()
343 *p_sec_flags = (uint8_t)(p_dev_rec->sec_flags >> 8); in BTM_GetSecurityFlagsByTransport()
731 p_dev_rec->sec_flags |= BTM_SEC_LINK_KEY_AUTHED; in BTM_PINCodeReply()
734 p_dev_rec->sec_flags |= BTM_SEC_16_DIGIT_PIN_AUTHED; in BTM_PINCodeReply()
772 p_dev_rec->sec_flags &= ~BTM_SEC_LINK_KEY_AUTHED; in BTM_PINCodeReply()
[all …]
Dbtm_dev.cc100 p_dev_rec->sec_flags |= BTM_SEC_NAME_KNOWN; in BTM_SecAddDevice()
127 p_dev_rec->sec_flags |= BTM_SEC_LINK_KEY_KNOWN; in BTM_SecAddDevice()
136 p_dev_rec->sec_flags |= in BTM_SecAddDevice()
208 p_dev_rec->sec_flags = 0; in BTM_SecClearSecurityFlags()
408 p_target_rec->sec_flags |= temp_rec.sec_flags; in btm_consolidate_dev()
478 if ((p_dev_rec->sec_flags & in btm_find_oldest_dev_rec()
525 p_dev_rec->sec_flags = BTM_SEC_IN_USE; in btm_sec_allocate_dev_rec()
Dbtm_ble.cc103 p_dev_rec->sec_flags |= BTM_SEC_NAME_KNOWN; in BTM_SecAddBleDevice()
387 p_dev_rec->sec_flags |= BTM_SEC_LE_AUTHENTICATED; in BTM_BlePasskeyReply()
417 p_dev_rec->sec_flags |= BTM_SEC_LE_AUTHENTICATED; in BTM_BleConfirmReply()
452 p_dev_rec->sec_flags |= BTM_SEC_LE_AUTHENTICATED; in BTM_BleOobDataReply()
484 p_dev_rec->sec_flags |= BTM_SEC_LE_AUTHENTICATED; in BTM_BleSecureConnectionOobDataReply()
1296 p_rec->sec_flags |= BTM_SEC_LE_LINK_KEY_KNOWN; in btm_sec_save_le_key()
1298 p_rec->sec_flags |= BTM_SEC_LE_LINK_KEY_AUTHED; in btm_sec_save_le_key()
1300 p_rec->sec_flags &= ~BTM_SEC_LE_LINK_KEY_AUTHED; in btm_sec_save_le_key()
1303 p_rec->ble.key_type, p_rec->sec_flags, p_rec->ble.keys.sec_level); in btm_sec_save_le_key()
1328 p_rec->sec_flags |= BTM_SEC_LE_LINK_KEY_KNOWN; in btm_sec_save_le_key()
[all …]
Dbtm_acl.cc379 p_dev_rec->sec_flags); in btm_acl_removed()
382 p_dev_rec->sec_flags &= ~(BTM_SEC_LE_ENCRYPTED | BTM_SEC_ROLE_SWITCHED); in btm_acl_removed()
383 if ((p_dev_rec->sec_flags & BTM_SEC_LE_LINK_KEY_KNOWN) == 0) { in btm_acl_removed()
385 p_dev_rec->sec_flags &= in btm_acl_removed()
392 p_dev_rec->sec_flags &= ~(BTM_SEC_AUTHORIZED | BTM_SEC_AUTHENTICATED | in btm_acl_removed()
396 p_dev_rec->sec_flags); in btm_acl_removed()
604 ((p_dev_rec->sec_flags & BTM_SEC_ENCRYPTED) != 0) && in BTM_SwitchRole()
919 if (!(p_dev_rec->sec_flags & BTM_SEC_NAME_KNOWN) || in btm_process_remote_ext_features()
2392 ((p_dev_rec->sec_flags & BTM_SEC_ENCRYPTED) != 0) && in btm_cont_rswitch()
Dbtm_ble_addr.cc180 BTM_TRACE_DEBUG("sec_flags = %02x device_type = %d", p_dev_rec->sec_flags, in btm_ble_match_random_bda()
Dbtm_int_types.h482 uint16_t sec_flags; /* Current device security state */ member
/system/bt/bta/jv/
Dbta_jv_api.cc103 uint8_t sec_flags, le_flags; in BTA_JvIsEncrypted() local
105 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()