Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/stack/include/
Dsec_hci_link_interface.h38 uint8_t encr_enable);
40 uint8_t encr_enable);
Dsmp_api.h209 void smp_link_encrypted(const RawAddress& bda, uint8_t encr_enable);
/packages/modules/Bluetooth/system/stack/acl/
Dacl.h254 uint8_t encr_enable);
325 uint8_t encr_enable);
365 uint8_t encr_enable);
Dbtm_acl.cc638 uint8_t encr_enable) { in btm_acl_encrypt_change() argument
648 if (p->is_encrypted && !encr_enable) { in btm_acl_encrypt_change()
661 p->is_encrypted = encr_enable; in btm_acl_encrypt_change()
666 if (encr_enable) { in btm_acl_encrypt_change()
/packages/modules/Bluetooth/system/test/mock/
Dmock_stack_btm_sec.h637 std::function<void(uint16_t handle, tHCI_STATUS status, uint8_t encr_enable)>
640 void operator()(uint16_t handle, tHCI_STATUS status, uint8_t encr_enable) { in operator()
641 body(handle, status, encr_enable); in operator()
650 std::function<void(uint16_t handle, tHCI_STATUS status, uint8_t encr_enable)>
653 void operator()(uint16_t handle, tHCI_STATUS status, uint8_t encr_enable) { in operator()
654 body(handle, status, encr_enable); in operator()
Dmock_stack_btm_sec.cc362 uint8_t encr_enable) { in btm_sec_encrypt_change() argument
365 encr_enable); in btm_sec_encrypt_change()
368 uint8_t encr_enable) { in btm_sec_encryption_change_evt() argument
371 encr_enable); in btm_sec_encryption_change_evt()
Dmock_stack_btm_ble.h454 std::function<void(const RawAddress& bd_addr, uint8_t encr_enable)> body{
456 void operator()(const RawAddress& bd_addr, uint8_t encr_enable) { in operator()
457 body(bd_addr, encr_enable); in operator()
Dmock_stack_smp_act.h590 std::function<void(const RawAddress& bda, uint8_t encr_enable)> body{
592 void operator()(const RawAddress& bda, uint8_t encr_enable) { in operator()
593 body(bda, encr_enable); in operator()
Dmock_stack_btm_ble.cc272 void btm_ble_link_encrypted(const RawAddress& bd_addr, uint8_t encr_enable) { in btm_ble_link_encrypted() argument
274 test::mock::stack_btm_ble::btm_ble_link_encrypted(bd_addr, encr_enable); in btm_ble_link_encrypted()
Dmock_stack_smp_act.cc367 void smp_link_encrypted(const RawAddress& bda, uint8_t encr_enable) { in smp_link_encrypted() argument
369 test::mock::stack_smp_act::smp_link_encrypted(bda, encr_enable); in smp_link_encrypted()
Dmock_stack_acl.h816 std::function<void(uint16_t handle, uint8_t status, uint8_t encr_enable)>
819 void operator()(uint16_t handle, uint8_t status, uint8_t encr_enable) { in operator()
820 body(handle, status, encr_enable); in operator()
Dmock_stack_acl.cc487 uint8_t encr_enable) { in btm_acl_encrypt_change() argument
489 test::mock::stack_acl::btm_acl_encrypt_change(handle, status, encr_enable); in btm_acl_encrypt_change()
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_sec.h588 uint8_t encr_enable);
601 uint8_t encr_enable);
Dbtm_sec.cc143 uint8_t encr_enable);
3292 uint8_t encr_enable) { in btm_sec_encrypt_change() argument
3309 handle, hci_status_code_text(status), encr_enable); in btm_sec_encrypt_change()
3319 hci_status_code_text(status), (encr_enable) ? "encrypt" : "unencrypt", in btm_sec_encrypt_change()
3324 if (encr_enable) { in btm_sec_encrypt_change()
3342 handle, hci_status_code_text(status), encr_enable); in btm_sec_encrypt_change()
3358 handle, hci_status_code_text(status), encr_enable); in btm_sec_encrypt_change()
3378 btm_sec_check_pending_enc_req(p_dev_rec, transport, encr_enable); in btm_sec_encrypt_change()
3393 btm_ble_link_encrypted(p_dev_rec->ble.pseudo_addr, encr_enable); in btm_sec_encrypt_change()
3410 if ((status == HCI_SUCCESS) && encr_enable && in btm_sec_encrypt_change()
[all …]
Dbtm_ble_sec.cc1272 bool encr_enable) { in btm_ble_notify_enc_cmpl() argument
1273 if (encr_enable) { in btm_ble_notify_enc_cmpl()
1303 void btm_ble_link_encrypted(const RawAddress& bd_addr, uint8_t encr_enable) { in btm_ble_link_encrypted() argument
1307 log::verbose("bd_addr:{}, encr_enable={}", bd_addr, encr_enable); in btm_ble_link_encrypted()
1316 smp_link_encrypted(bd_addr, encr_enable); in btm_ble_link_encrypted()
1321 if (encr_enable && p_dev_rec->sec_rec.enc_key_size == 0) in btm_ble_link_encrypted()
1326 if (encr_enable) btm_sec_dev_rec_cback_event(p_dev_rec, BTM_SUCCESS, true); in btm_ble_link_encrypted()
1349 btm_ble_notify_enc_cmpl(p_dev_rec->ble.pseudo_addr, encr_enable); in btm_ble_link_encrypted()
Dbtm_ble_sec.h61 void btm_ble_link_encrypted(const RawAddress& bd_addr, uint8_t encr_enable);
Dsecurity_event_parser.cc71 EncryptionEnabled encr_enable = change.GetEncryptionEnabled(); in parse_encryption_change() local
74 static_cast<uint8_t>(encr_enable)); in parse_encryption_change()
/packages/modules/Bluetooth/system/stack/smp/
Dsmp_act.cc2069 void smp_link_encrypted(const RawAddress& bda, uint8_t encr_enable) { in smp_link_encrypted() argument
2073 log::debug("SMP encryption enable:{} device:{}", encr_enable, bda); in smp_link_encrypted()
2077 if (p_cb->loc_enc_size != 0 && encr_enable) { in smp_link_encrypted()
2084 .status = static_cast<tSMP_STATUS>(encr_enable), in smp_link_encrypted()
2091 encr_enable, bda); in smp_link_encrypted()
/packages/modules/Bluetooth/system/stack/btu/
Dbtu_hcif.cc800 uint8_t encr_enable; in btu_hcif_encryption_change_evt() local
804 STREAM_TO_UINT8(encr_enable, p); in btu_hcif_encryption_change_evt()
807 encr_enable); in btu_hcif_encryption_change_evt()