Home
last modified time | relevance | path

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

/system/bt/stack/include/
Dsmp_api.h202 extern void smp_link_encrypted(const RawAddress& bda, uint8_t encr_enable);
Dsec_hci_link_interface.h40 uint8_t encr_enable);
Dacl_hci_link_interface.h39 uint8_t encr_enable);
/system/bt/stack/btm/
Dbtm_ble_int.h75 uint8_t encr_enable);
Dbtm_sec.h616 uint8_t encr_enable);
Dbtm_sec.cc126 uint8_t encr_enable);
3212 uint8_t encr_enable) { in btm_sec_encrypt_change() argument
3216 status, (p_dev_rec) ? p_dev_rec->sec_state : 0, encr_enable); in btm_sec_encrypt_change()
3231 if ((status == HCI_SUCCESS) && encr_enable) { in btm_sec_encrypt_change()
3247 if ((status == HCI_SUCCESS) && !encr_enable) { in btm_sec_encrypt_change()
3259 btm_sec_check_pending_enc_req(p_dev_rec, transport, encr_enable); in btm_sec_encrypt_change()
3267 btm_ble_link_encrypted(p_dev_rec->ble.pseudo_addr, encr_enable); in btm_sec_encrypt_change()
3277 if ((status == HCI_SUCCESS) && encr_enable && in btm_sec_encrypt_change()
3306 if ((encr_enable == 1) && /* encryption is ON for SSP */ in btm_sec_encrypt_change()
4751 uint8_t encr_enable) { in btm_sec_check_pending_enc_req() argument
[all …]
Dbtm_ble.cc1498 void btm_ble_link_encrypted(const RawAddress& bd_addr, uint8_t encr_enable) { in btm_ble_link_encrypted() argument
1505 encr_enable); in btm_ble_link_encrypted()
1509 BTM_TRACE_DEBUG("btm_ble_link_encrypted encr_enable=%d", encr_enable); in btm_ble_link_encrypted()
1513 smp_link_encrypted(bd_addr, encr_enable); in btm_ble_link_encrypted()
1517 if (encr_enable && p_dev_rec->enc_key_size == 0) in btm_ble_link_encrypted()
1522 if (encr_enable) in btm_ble_link_encrypted()
Dsecurity_device_record.h234 uint8_t encr_enable);
/system/bt/stack/acl/
Dacl.h251 uint8_t encr_enable);
382 uint8_t encr_enable);
Dbtm_acl.cc604 uint8_t encr_enable) { in btm_acl_encrypt_change() argument
611 p->is_encrypted = encr_enable; in btm_acl_encrypt_change()
616 if (encr_enable) { in btm_acl_encrypt_change()
/system/bt/test/mock/
Dmock_stack_smp_act.h621 std::function<void(const RawAddress& bda, uint8_t encr_enable)> body{
622 [](const RawAddress& bda, uint8_t encr_enable) {}};
623 void operator()(const RawAddress& bda, uint8_t encr_enable) { in operator()
624 body(bda, encr_enable); in operator()
Dmock_stack_btm_ble.cc216 void btm_ble_link_encrypted(const RawAddress& bd_addr, uint8_t encr_enable) { in btm_ble_link_encrypted() argument
Dmock_stack_smp_act.cc391 void smp_link_encrypted(const RawAddress& bda, uint8_t encr_enable) { in smp_link_encrypted() argument
393 test::mock::stack_smp_act::smp_link_encrypted(bda, encr_enable); in smp_link_encrypted()
Dmock_stack_btm_sec.cc272 uint8_t encr_enable) { in btm_sec_encrypt_change() argument
Dmock_stack_acl.cc331 uint8_t encr_enable) { in btm_acl_encrypt_change() argument
/system/bt/stack/btu/
Dbtu_hcif.cc1127 uint8_t encr_enable; in btu_hcif_encryption_change_evt() local
1131 STREAM_TO_UINT8(encr_enable, p); in btu_hcif_encryption_change_evt()
1133 if (status != HCI_SUCCESS || encr_enable == 0 || BTM_IsBleConnection(handle)) { in btu_hcif_encryption_change_evt()
1140 encr_enable); in btu_hcif_encryption_change_evt()
1142 encr_enable); in btu_hcif_encryption_change_evt()
/system/bt/stack/test/common/
Dmock_smp_smp_act.cc94 void smp_link_encrypted(const RawAddress& bda, uint8_t encr_enable) { in smp_link_encrypted() argument
/system/bt/stack/smp/
Dsmp_act.cc1970 void smp_link_encrypted(const RawAddress& bda, uint8_t encr_enable) { in smp_link_encrypted() argument
1973 SMP_TRACE_DEBUG("%s: encr_enable=%d", __func__, encr_enable); in smp_link_encrypted()
1978 if (p_cb->loc_enc_size != 0 && encr_enable) { in smp_link_encrypted()
1985 .status = static_cast<tSMP_STATUS>(encr_enable), in smp_link_encrypted()