Searched refs:sec_flags (Results 1 – 9 of 9) sorted by relevance
81 p_dev_rec->sec_flags = BTM_SEC_IN_USE; in BTM_SecAddDevice()109 p_dev_rec->sec_flags |= BTM_SEC_NAME_KNOWN; in BTM_SecAddDevice()138 p_dev_rec->sec_flags |= BTM_SEC_LINK_KEY_KNOWN; in BTM_SecAddDevice()148 p_dev_rec->sec_flags |= BTM_SEC_16_DIGIT_PIN_AUTHED; in BTM_SecAddDevice()224 p_dev_rec->sec_flags = 0; in BTM_SecClearSecurityFlags()267 BOOLEAN dev_free = !(p_sec_dev->sec_flags & BTM_SEC_IN_USE); in btm_find_sec_dev_in_list()339 if (!(p_dev_old_rec->sec_flags & BTM_SEC_IN_USE) && in btm_sec_alloc_dev()349 if (!(p_dev_new_rec->sec_flags & BTM_SEC_IN_USE)) { in btm_sec_alloc_dev()385 p_dev_rec->sec_flags = BTM_SEC_IN_USE; in btm_sec_alloc_dev()433 p_dev_rec->sec_flags &= ~(BTM_SEC_AUTHORIZED | BTM_SEC_AUTHENTICATED in btm_sec_free_dev()[all …]
138 if (p_dev_rec->sec_flags & BTM_SEC_AUTHENTICATED) { in btm_dev_authenticated()155 if (p_dev_rec->sec_flags & BTM_SEC_ENCRYPTED) { in btm_dev_encrypted()172 if (p_dev_rec->sec_flags & BTM_SEC_AUTHORIZED) { in btm_dev_authorized()190 if (p_dev_rec->sec_flags & BTM_SEC_16_DIGIT_PIN_AUTHED) { in btm_dev_16_digit_authenticated()342 *p_sec_flags = (UINT8) p_dev_rec->sec_flags; in BTM_GetSecurityFlags()365 *p_sec_flags = (UINT8) p_dev_rec->sec_flags; in BTM_GetSecurityFlagsByTransport()367 *p_sec_flags = (UINT8) (p_dev_rec->sec_flags >> 8); in BTM_GetSecurityFlagsByTransport()883 p_dev_rec->sec_flags |= BTM_SEC_LINK_KEY_AUTHED; in BTM_PINCodeReply()885 p_dev_rec->sec_flags |= BTM_SEC_16_DIGIT_PIN_AUTHED; in BTM_PINCodeReply()920 p_dev_rec->sec_flags &= ~BTM_SEC_LINK_KEY_AUTHED; in BTM_PINCodeReply()[all …]
96 p_dev_rec->sec_flags = BTM_SEC_IN_USE; in BTM_SecAddBleDevice()121 p_dev_rec->sec_flags |= BTM_SEC_NAME_KNOWN; in BTM_SecAddBleDevice()415 p_dev_rec->sec_flags |= BTM_SEC_LE_AUTHENTICATED; in BTM_BlePasskeyReply()464 p_dev_rec->sec_flags |= BTM_SEC_LE_AUTHENTICATED; in BTM_BleConfirmReply()495 p_dev_rec->sec_flags |= BTM_SEC_LE_AUTHENTICATED; in BTM_BleOobDataReply()524 p_dev_rec->sec_flags |= BTM_SEC_LE_AUTHENTICATED; in BTM_BleSecureConnectionOobDataReply()1301 p_rec->sec_flags |= BTM_SEC_LE_LINK_KEY_KNOWN; in btm_sec_save_le_key()1303 p_rec->sec_flags |= BTM_SEC_LE_LINK_KEY_AUTHED; in btm_sec_save_le_key()1305 p_rec->sec_flags &= ~BTM_SEC_LE_LINK_KEY_AUTHED; in btm_sec_save_le_key()1309 p_rec->sec_flags, in btm_sec_save_le_key()[all …]
466 BTM_TRACE_DEBUG("before update p_dev_rec->sec_flags=0x%x\n", p_dev_rec->sec_flags); in btm_acl_removed()469 p_dev_rec->sec_flags &= ~(BTM_SEC_LE_ENCRYPTED | BTM_SEC_ROLE_SWITCHED); in btm_acl_removed()470 if ( (p_dev_rec->sec_flags & BTM_SEC_LE_LINK_KEY_KNOWN) == 0) { in btm_acl_removed()472 … p_dev_rec->sec_flags &= ~(BTM_SEC_LE_LINK_KEY_AUTHED | BTM_SEC_LE_AUTHENTICATED); in btm_acl_removed()478 p_dev_rec->sec_flags &= ~(BTM_SEC_AUTHORIZED | BTM_SEC_AUTHENTICATED in btm_acl_removed()481 BTM_TRACE_DEBUG("after update p_dev_rec->sec_flags=0x%x\n", p_dev_rec->sec_flags); in btm_acl_removed()727 && ((p_dev_rec->sec_flags & BTM_SEC_ENCRYPTED) != 0) in BTM_SwitchRole()2450 if (p_dev_rec != NULL && ((p_dev_rec->sec_flags & BTM_SEC_ENCRYPTED) != 0) in btm_cont_rswitch()
357 BTM_TRACE_DEBUG("sec_flags = %02x device_type = %d", p_dev_rec->sec_flags, in btm_ble_match_random_bda()
874 (p_dev_rec->sec_flags & BTM_SEC_IN_USE) != 0 && in btm_ble_resolving_list_load_dev()
1416 if ((p_dev_rec->sec_flags & BTM_SEC_IN_USE) != 0 && in btm_set_conn_mode_adv_init_addr()
180 UINT8 sec_flags, le_flags; in BTA_JvIsEncrypted() local182 if (BTM_GetSecurityFlags(bd_addr, &sec_flags) && in BTA_JvIsEncrypted()184 if (sec_flags & BTM_SEC_FLAG_ENCRYPTED || in BTA_JvIsEncrypted()
623 UINT16 sec_flags; /* Current device security state */ member