Home
last modified time | relevance | path

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

/system/bt/stack/btu/
Dbtu_hcif.c617 UINT8 encr_enable; in btu_hcif_encryption_change_evt() local
621 STREAM_TO_UINT8 (encr_enable, p); in btu_hcif_encryption_change_evt()
623 btm_acl_encrypt_change (handle, status, encr_enable); in btu_hcif_encryption_change_evt()
624 btm_sec_encrypt_change (handle, status, encr_enable); in btu_hcif_encryption_change_evt()
/system/bt/stack/btm/
Dbtm_ble.c49 extern void smp_link_encrypted(BD_ADDR bda, UINT8 encr_enable);
1618 void btm_ble_link_encrypted(BD_ADDR bd_addr, UINT8 encr_enable) in btm_ble_link_encrypted() argument
1625 BTM_TRACE_WARNING ("btm_ble_link_encrypted (No Device Found!) encr_enable=%d", encr_enable); in btm_ble_link_encrypted()
1629 BTM_TRACE_DEBUG ("btm_ble_link_encrypted encr_enable=%d", encr_enable); in btm_ble_link_encrypted()
1633 smp_link_encrypted(bd_addr, encr_enable); in btm_ble_link_encrypted()
1637 if (encr_enable && p_dev_rec->enc_key_size == 0) in btm_ble_link_encrypted()
1643 if (encr_enable) in btm_ble_link_encrypted()
Dbtm_sec.c111 UINT8 encr_enable);
4187 void btm_sec_encrypt_change (UINT16 handle, UINT8 status, UINT8 encr_enable) in btm_sec_encrypt_change() argument
4195 status, (p_dev_rec) ? p_dev_rec->sec_state : 0, encr_enable); in btm_sec_encrypt_change()
4211 if ((status == HCI_SUCCESS) && encr_enable) in btm_sec_encrypt_change()
4229 if ((status == HCI_SUCCESS) && !encr_enable) in btm_sec_encrypt_change()
4244 btm_sec_check_pending_enc_req(p_dev_rec, p_acl->transport, encr_enable); in btm_sec_encrypt_change()
4254 btm_ble_link_encrypted(p_dev_rec->ble.pseudo_addr, encr_enable); in btm_sec_encrypt_change()
4266 if ((status == HCI_SUCCESS) && encr_enable && (p_dev_rec->hci_handle == handle)) in btm_sec_encrypt_change()
4296 if ((encr_enable == 1) && /* encryption is ON for SSP */ in btm_sec_encrypt_change()
4312 btm_sec_check_pending_enc_req (p_dev_rec, BT_TRANSPORT_BR_EDR, encr_enable); in btm_sec_encrypt_change()
[all …]
Dbtm_int.h974 extern void btm_acl_encrypt_change (UINT16 handle, UINT8 status, UINT8 encr_enable);
1090 extern void btm_sec_encrypt_change (UINT16 handle, UINT8 status, UINT8 encr_enable);
Dbtm_ble_int.h392 extern void btm_ble_link_encrypted(BD_ADDR bd_addr, UINT8 encr_enable);
Dbtm_acl.c727 void btm_acl_encrypt_change (UINT16 handle, UINT8 status, UINT8 encr_enable) in btm_acl_encrypt_change() argument
735 handle, status, encr_enable); in btm_acl_encrypt_change()
747 if (encr_enable) in btm_acl_encrypt_change()
/system/bt/stack/smp/
Dsmp_act.c2022 void smp_link_encrypted(BD_ADDR bda, UINT8 encr_enable) in smp_link_encrypted() argument
2026 SMP_TRACE_DEBUG("%s encr_enable=%d", __func__, encr_enable); in smp_link_encrypted()
2032 if (p_cb->loc_enc_size != 0 && encr_enable) in smp_link_encrypted()
2038 smp_sm_event(&smp_cb, SMP_ENCRYPTED_EVT, &encr_enable); in smp_link_encrypted()