Searched refs:sec_flags (Results 1 – 8 of 8) sorted by relevance
/external/bluetooth/bluedroid/stack/btm/ |
D | btm_dev.c | 73 if (!(btm_cb.sec_dev_rec[i].sec_flags & BTM_SEC_IN_USE)) in BTM_SecAddDevice() 79 p_dev_rec->sec_flags = BTM_SEC_IN_USE; in BTM_SecAddDevice() 105 p_dev_rec->sec_flags |= BTM_SEC_NAME_KNOWN; in BTM_SecAddDevice() 122 p_dev_rec->sec_flags |= BTM_SEC_LINK_KEY_KNOWN; in BTM_SecAddDevice() 208 if (!(btm_cb.sec_dev_rec[i].sec_flags & BTM_SEC_IN_USE)) in btm_sec_alloc_dev() 220 p_dev_rec->sec_flags = BTM_SEC_IN_USE; in btm_sec_alloc_dev() 241 p_dev_rec->sec_flags |= BTM_SEC_NAME_KNOWN; in btm_sec_alloc_dev() 275 p_dev_rec->sec_flags = 0; in btm_sec_free_dev() 356 if ((p_dev_rec->sec_flags & BTM_SEC_IN_USE) in btm_find_dev_by_handle() 382 if ((p_dev_rec->sec_flags & BTM_SEC_IN_USE) in btm_find_dev() [all …]
|
D | btm_sec.c | 271 *p_sec_flags = p_dev_rec->sec_flags; in BTM_GetSecurityFlags() 880 p_dev_rec->sec_flags |= BTM_SEC_LINK_KEY_AUTHED; in BTM_PINCodeReply() 916 p_dev_rec->sec_flags &= ~BTM_SEC_LINK_KEY_AUTHED; in BTM_PINCodeReply() 965 p_dev_rec->sec_flags |= BTM_SEC_AUTHORIZED; in BTM_DeviceAuthorized() 1024 BTM_TRACE_DEBUG1 ("before update sec_flags=0x%x", p_dev_rec->sec_flags); in BTM_SecBond() 1056 && (p_dev_rec->sec_flags & BTM_SEC_AUTHENTICATED) ) in BTM_SecBond() 1065 && (p_dev_rec->sec_flags & BTM_SEC_AUTHENTICATED) ) in BTM_SecBond() 1098 p_dev_rec->sec_flags &= ~(BTM_SEC_LINK_KEY_KNOWN | BTM_SEC_AUTHENTICATED | BTM_SEC_ENCRYPTED in BTM_SecBond() 1115 p_dev_rec->sec_flags &= ~(BTM_SEC_LINK_KEY_KNOWN | BTM_SEC_AUTHENTICATED | BTM_SEC_ENCRYPTED in BTM_SecBond() 1119 BTM_TRACE_DEBUG1 ("after update sec_flags=0x%x", p_dev_rec->sec_flags); in BTM_SecBond() [all …]
|
D | btm_ble.c | 81 if (!(btm_cb.sec_dev_rec[i].sec_flags & BTM_SEC_IN_USE)) in BTM_SecAddBleDevice() 88 p_dev_rec->sec_flags = BTM_SEC_IN_USE; in BTM_SecAddBleDevice() 115 p_dev_rec->sec_flags |= BTM_SEC_NAME_KNOWN; in BTM_SecAddBleDevice() 122 dev_type, addr_type, p_dev_rec->sec_flags); in BTM_SecAddBleDevice() 349 p_dev_rec->sec_flags |= BTM_SEC_LINK_KEY_AUTHED; in BTM_BlePasskeyReply() 374 p_dev_rec->sec_flags |= BTM_SEC_LINK_KEY_AUTHED; in BTM_BleOobDataReply() 767 p_rec->sec_flags |= BTM_SEC_LINK_KEY_KNOWN; in btm_sec_save_le_key() 769 p_rec->sec_flags |= BTM_SEC_LINK_KEY_AUTHED; in btm_sec_save_le_key() 771 p_rec->sec_flags &= ~BTM_SEC_LINK_KEY_AUTHED; in btm_sec_save_le_key() 774 p_rec->sec_flags, in btm_sec_save_le_key() [all …]
|
D | btm_acl.c | 374 BTM_TRACE_DEBUG1("before update p_dev_rec->sec_flags=0x%x", p_dev_rec->sec_flags); in btm_acl_removed() 378 p_dev_rec->sec_flags &= ~(BTM_SEC_ENCRYPTED | BTM_SEC_ROLE_SWITCHED); in btm_acl_removed() 379 if ( (p_dev_rec->sec_flags & BTM_SEC_LINK_KEY_KNOWN) == 0) in btm_acl_removed() 382 p_dev_rec->sec_flags &= ~(BTM_SEC_AUTHENTICATED | BTM_SEC_LINK_KEY_AUTHED); in btm_acl_removed() 392 …p_dev_rec->sec_flags &= ~(BTM_SEC_AUTHORIZED | BTM_SEC_AUTHENTICATED | BTM_SEC_ENCRYPTED | BTM_SEC… in btm_acl_removed() 394 BTM_TRACE_DEBUG1("after update p_dev_rec->sec_flags=0x%x", p_dev_rec->sec_flags); in btm_acl_removed() 650 && ((p_dev_rec->sec_flags & BTM_SEC_ENCRYPTED) != 0) in BTM_SwitchRole() 758 && ((p_dev_rec->sec_flags & BTM_SEC_ENCRYPTED) != 0) && !BTM_EPR_AVAILABLE(p)) in BTM_ChangeLinkKey() 2889 if (p_dev_rec != NULL && ((p_dev_rec->sec_flags & BTM_SEC_ENCRYPTED) != 0) in btm_cont_rswitch_or_chglinkkey()
|
D | btm_ble_addr.c | 282 …BTM_TRACE_ERROR2("sec_flags = %02x device_type = %d", p_dev_rec->sec_flags, p_dev_rec->device_type… in btm_ble_match_random_bda()
|
D | btm_int.h | 504 UINT8 sec_flags; /* Current device security state */ member
|
D | btm_ble_gap.c | 1958 BTM_TRACE_DEBUG1 ("btm_ble_connected sec_flags=0x%x",p_dev_rec->sec_flags); in btm_ble_connected()
|
/external/bluetooth/bluedroid/bta/jv/ |
D | bta_jv_api.c | 415 UINT8 sec_flags; in BTA_JvIsAuthenticated() local 417 if(BTM_GetSecurityFlags(bd_addr, &sec_flags)) in BTA_JvIsAuthenticated() 419 if(sec_flags&BTM_SEC_FLAG_AUTHENTICATED) in BTA_JvIsAuthenticated() 439 UINT8 sec_flags; in BTA_JvIsTrusted() local 441 if(BTM_GetSecurityFlags(bd_addr, &sec_flags)) in BTA_JvIsTrusted() 443 if ((sec_flags&BTM_SEC_FLAG_AUTHENTICATED) || in BTA_JvIsTrusted() 444 (sec_flags&BTM_SEC_FLAG_LKEY_KNOWN)) in BTA_JvIsTrusted() 465 UINT8 sec_flags; in BTA_JvIsAuthorized() local 467 if(BTM_GetSecurityFlags(bd_addr, &sec_flags)) in BTA_JvIsAuthorized() 469 if(sec_flags&BTM_SEC_FLAG_AUTHORIZED) in BTA_JvIsAuthorized() [all …]
|