/packages/modules/Bluetooth/system/stack/include/ |
D | sec_hci_link_interface.h | 36 void btm_sec_encrypt_change(uint16_t handle, tHCI_STATUS status, uint8_t encr_enable, 38 void btm_sec_encryption_change_evt(uint16_t handle, tHCI_STATUS status, uint8_t encr_enable,
|
D | smp_api.h | 217 void smp_link_encrypted(const RawAddress& bda, uint8_t encr_enable);
|
/packages/modules/Bluetooth/system/stack/btm/ |
D | security_event_parser.cc | 67 EncryptionEnabled encr_enable = change.GetEncryptionEnabled(); in parse_encryption_change() local 70 static_cast<uint8_t>(encr_enable), 0); in parse_encryption_change() 83 EncryptionEnabled encr_enable = change.GetEncryptionEnabled(); in parse_encryption_change_v2() local 87 static_cast<uint8_t>(encr_enable), key_size); in parse_encryption_change_v2()
|
D | btm_sec.h | 554 void btm_sec_encryption_change_evt(uint16_t handle, tHCI_STATUS status, uint8_t encr_enable, 567 void btm_sec_encrypt_change(uint16_t handle, tHCI_STATUS status, uint8_t encr_enable,
|
D | btm_sec.cc | 129 uint8_t encr_enable); 3211 void btm_sec_encrypt_change(uint16_t handle, tHCI_STATUS status, uint8_t encr_enable, in btm_sec_encrypt_change() argument 3228 handle, hci_status_code_text(status), encr_enable); in btm_sec_encrypt_change() 3237 if (key_size == 0 && status == HCI_SUCCESS && encr_enable == HCI_ENCRYPT_MODE_ON) { in btm_sec_encrypt_change() 3247 hci_status_code_text(status), (encr_enable) ? "encrypt" : "unencrypt", in btm_sec_encrypt_change() 3252 if (encr_enable) { in btm_sec_encrypt_change() 3269 handle, hci_status_code_text(status), encr_enable); in btm_sec_encrypt_change() 3284 handle, hci_status_code_text(status), encr_enable); in btm_sec_encrypt_change() 3301 btm_sec_check_pending_enc_req(p_dev_rec, transport, encr_enable); in btm_sec_encrypt_change() 3305 (bool)encr_enable, key_size, transport, in btm_sec_encrypt_change() [all …]
|
D | btm_ble_sec.cc | 1285 static void btm_ble_notify_enc_cmpl(const RawAddress& bd_addr, bool encr_enable) { in btm_ble_notify_enc_cmpl() argument 1286 if (encr_enable) { in btm_ble_notify_enc_cmpl() 1315 void btm_ble_link_encrypted(const RawAddress& bd_addr, uint8_t encr_enable) { in btm_ble_link_encrypted() argument 1319 log::verbose("bd_addr:{}, encr_enable={}", bd_addr, encr_enable); in btm_ble_link_encrypted() 1328 smp_link_encrypted(bd_addr, encr_enable); in btm_ble_link_encrypted() 1332 if (encr_enable && p_dev_rec->sec_rec.enc_key_size == 0) { in btm_ble_link_encrypted() 1338 if (encr_enable) { in btm_ble_link_encrypted() 1361 btm_ble_notify_enc_cmpl(p_dev_rec->ble.pseudo_addr, encr_enable); in btm_ble_link_encrypted()
|
D | btm_ble_sec.h | 56 void btm_ble_link_encrypted(const RawAddress& bd_addr, uint8_t encr_enable);
|
/packages/modules/Bluetooth/system/stack/acl/ |
D | acl.h | 243 friend void btm_acl_encrypt_change(uint16_t handle, uint8_t status, uint8_t encr_enable); 297 friend void btm_acl_encrypt_change(uint16_t handle, uint8_t status, uint8_t encr_enable); 338 void btm_acl_encrypt_change(uint16_t handle, uint8_t status, uint8_t encr_enable);
|
D | btm_acl.cc | 592 void btm_acl_encrypt_change(uint16_t handle, uint8_t /* status */, uint8_t encr_enable) { in btm_acl_encrypt_change() argument 602 if (p->is_encrypted && !encr_enable) { in btm_acl_encrypt_change() 615 p->is_encrypted = encr_enable; in btm_acl_encrypt_change() 620 if (encr_enable) { in btm_acl_encrypt_change()
|
/packages/modules/Bluetooth/system/test/mock/ |
D | mock_stack_btm_sec.h | 541 std::function<void(uint16_t handle, tHCI_STATUS status, uint8_t encr_enable, uint8_t key_size, 545 void operator()(uint16_t handle, tHCI_STATUS status, uint8_t encr_enable, uint8_t key_size, in operator() 547 body(handle, status, encr_enable, key_size, from_key_refresh); in operator() 556 std::function<void(uint16_t handle, tHCI_STATUS status, uint8_t encr_enable, uint8_t key_size)> 559 void operator()(uint16_t handle, tHCI_STATUS status, uint8_t encr_enable, uint8_t key_size) { in operator() 560 body(handle, status, encr_enable, key_size); in operator()
|
D | mock_stack_btm_sec.cc | 311 void btm_sec_encrypt_change(uint16_t handle, tHCI_STATUS status, uint8_t encr_enable, in btm_sec_encrypt_change() argument 314 test::mock::stack_btm_sec::btm_sec_encrypt_change(handle, status, encr_enable, key_size, in btm_sec_encrypt_change() 317 void btm_sec_encryption_change_evt(uint16_t handle, tHCI_STATUS status, uint8_t encr_enable, in btm_sec_encryption_change_evt() argument 320 test::mock::stack_btm_sec::btm_sec_encryption_change_evt(handle, status, encr_enable, key_size); in btm_sec_encryption_change_evt()
|
D | mock_stack_btm_ble.h | 340 std::function<void(const RawAddress& bd_addr, uint8_t encr_enable)> body{ 342 void operator()(const RawAddress& bd_addr, uint8_t encr_enable) { body(bd_addr, encr_enable); } in operator()
|
D | mock_stack_btm_ble.cc | 212 void btm_ble_link_encrypted(const RawAddress& bd_addr, uint8_t encr_enable) { in btm_ble_link_encrypted() argument 214 test::mock::stack_btm_ble::btm_ble_link_encrypted(bd_addr, encr_enable); in btm_ble_link_encrypted()
|
D | mock_stack_smp_act.h | 582 std::function<void(const RawAddress& bda, uint8_t encr_enable)> body{ 584 void operator()(const RawAddress& bda, uint8_t encr_enable) { body(bda, encr_enable); } in operator()
|
D | mock_stack_acl.h | 510 std::function<void(uint16_t handle, uint8_t status, uint8_t encr_enable)> body{ 512 void operator()(uint16_t handle, uint8_t status, uint8_t encr_enable) { in operator() 513 body(handle, status, encr_enable); in operator()
|
D | mock_stack_acl.cc | 315 void btm_acl_encrypt_change(uint16_t handle, uint8_t status, uint8_t encr_enable) { in btm_acl_encrypt_change() argument 317 test::mock::stack_acl::btm_acl_encrypt_change(handle, status, encr_enable); in btm_acl_encrypt_change()
|
D | mock_stack_smp_act.cc | 355 void smp_link_encrypted(const RawAddress& bda, uint8_t encr_enable) { in smp_link_encrypted() argument 357 test::mock::stack_smp_act::smp_link_encrypted(bda, encr_enable); in smp_link_encrypted()
|
/packages/modules/Bluetooth/system/stack/btu/ |
D | btu_hcif.cc | 763 uint8_t encr_enable; in btu_hcif_encryption_change_evt() local 767 STREAM_TO_UINT8(encr_enable, p); in btu_hcif_encryption_change_evt() 769 btm_sec_encryption_change_evt(handle, static_cast<tHCI_STATUS>(status), encr_enable, 0); in btu_hcif_encryption_change_evt() 784 uint8_t encr_enable; in btu_hcif_encryption_change_evt_v2() local 789 STREAM_TO_UINT8(encr_enable, p); in btu_hcif_encryption_change_evt_v2() 792 btm_sec_encryption_change_evt(handle, static_cast<tHCI_STATUS>(status), encr_enable, key_size); in btu_hcif_encryption_change_evt_v2()
|
/packages/modules/Bluetooth/system/stack/smp/ |
D | smp_act.cc | 2071 void smp_link_encrypted(const RawAddress& bda, uint8_t encr_enable) { in smp_link_encrypted() argument 2075 log::debug("SMP encryption enable:{} device:{}", encr_enable, bda); in smp_link_encrypted() 2079 if (p_cb->loc_enc_size != 0 && encr_enable) { in smp_link_encrypted() 2086 .status = static_cast<tSMP_STATUS>(encr_enable), in smp_link_encrypted() 2091 log::warn("SMP state machine busy so skipping encryption enable:{} device:{}", encr_enable, in smp_link_encrypted()
|
/packages/modules/Bluetooth/system/include/hardware/ |
D | bluetooth.h | 502 bool encr_enable; member
|
/packages/modules/Bluetooth/android/app/jni/ |
D | com_android_bluetooth_btservice_AdapterService.cpp | 811 encryption_change.status, encryption_change.encr_enable, in encryption_change_callback()
|