Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/stack/include/
Dsec_hci_link_interface.h36 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,
Dsmp_api.h217 void smp_link_encrypted(const RawAddress& bda, uint8_t encr_enable);
/packages/modules/Bluetooth/system/stack/btm/
Dsecurity_event_parser.cc67 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()
Dbtm_sec.h554 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,
Dbtm_sec.cc129 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 …]
Dbtm_ble_sec.cc1285 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()
Dbtm_ble_sec.h56 void btm_ble_link_encrypted(const RawAddress& bd_addr, uint8_t encr_enable);
/packages/modules/Bluetooth/system/stack/acl/
Dacl.h243 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);
Dbtm_acl.cc592 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/
Dmock_stack_btm_sec.h541 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()
Dmock_stack_btm_sec.cc311 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()
Dmock_stack_btm_ble.h340 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()
Dmock_stack_btm_ble.cc212 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()
Dmock_stack_smp_act.h582 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()
Dmock_stack_acl.h510 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()
Dmock_stack_acl.cc315 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()
Dmock_stack_smp_act.cc355 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/
Dbtu_hcif.cc763 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/
Dsmp_act.cc2071 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/
Dbluetooth.h502 bool encr_enable; member
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth_btservice_AdapterService.cpp811 encryption_change.status, encryption_change.encr_enable, in encryption_change_callback()