Home
last modified time | relevance | path

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

/system/bt/stack/include/
Dsmp_api.h210 extern void smp_link_encrypted(const RawAddress& bda, uint8_t encr_enable);
/system/bt/stack/btm/
Dbtm_int.h117 uint8_t encr_enable);
239 uint8_t encr_enable);
Dbtm_ble_int.h93 uint8_t encr_enable);
Dbtm_ble.cc1647 void btm_ble_link_encrypted(const RawAddress& bd_addr, uint8_t encr_enable) { in btm_ble_link_encrypted() argument
1654 encr_enable); in btm_ble_link_encrypted()
1658 BTM_TRACE_DEBUG("btm_ble_link_encrypted encr_enable=%d", encr_enable); in btm_ble_link_encrypted()
1662 smp_link_encrypted(bd_addr, encr_enable); in btm_ble_link_encrypted()
1666 if (encr_enable && p_dev_rec->enc_key_size == 0) in btm_ble_link_encrypted()
1671 if (encr_enable) in btm_ble_link_encrypted()
Dbtm_sec.cc123 uint8_t encr_enable);
3942 uint8_t encr_enable) { in btm_sec_encrypt_change() argument
3948 status, (p_dev_rec) ? p_dev_rec->sec_state : 0, encr_enable); in btm_sec_encrypt_change()
3963 if ((status == HCI_SUCCESS) && encr_enable) { in btm_sec_encrypt_change()
3979 if ((status == HCI_SUCCESS) && !encr_enable) { in btm_sec_encrypt_change()
3992 btm_sec_check_pending_enc_req(p_dev_rec, p_acl->transport, encr_enable); in btm_sec_encrypt_change()
4000 btm_ble_link_encrypted(p_dev_rec->ble.pseudo_addr, encr_enable); in btm_sec_encrypt_change()
4010 if ((status == HCI_SUCCESS) && encr_enable && in btm_sec_encrypt_change()
4041 if ((encr_enable == 1) && /* encryption is ON for SSP */ in btm_sec_encrypt_change()
5804 uint8_t encr_enable) { in btm_sec_check_pending_enc_req() argument
[all …]
Dbtm_acl.cc645 uint8_t encr_enable) { in btm_acl_encrypt_change() argument
651 handle, status, encr_enable); in btm_acl_encrypt_change()
662 if (encr_enable) { in btm_acl_encrypt_change()
/system/bt/stack/btu/
Dbtu_hcif.cc1174 uint8_t encr_enable; in btu_hcif_encryption_change_evt() local
1178 STREAM_TO_UINT8(encr_enable, p); in btu_hcif_encryption_change_evt()
1180 if (status != HCI_SUCCESS || encr_enable == 0 || BTM_IsBleConnection(handle)) { in btu_hcif_encryption_change_evt()
1186 btm_acl_encrypt_change(handle, status, encr_enable); in btu_hcif_encryption_change_evt()
1187 btm_sec_encrypt_change(handle, status, encr_enable); in btu_hcif_encryption_change_evt()
/system/bt/stack/smp/
Dsmp_act.cc1920 void smp_link_encrypted(const RawAddress& bda, uint8_t encr_enable) { in smp_link_encrypted() argument
1923 SMP_TRACE_DEBUG("%s: encr_enable=%d", __func__, encr_enable); in smp_link_encrypted()
1928 if (p_cb->loc_enc_size != 0 && encr_enable) { in smp_link_encrypted()
1934 smp_int_data.status = encr_enable; in smp_link_encrypted()