/system/bt/stack/btm/ |
D | btm_ble_addr.cc | 120 if (p_dev_rec->ble.pseudo_addr.IsEmpty()) { in btm_ble_init_pseudo_addr() 121 p_dev_rec->ble.pseudo_addr = new_pseudo_addr; in btm_ble_init_pseudo_addr() 160 (p_dev_rec->ble.key_type & BTM_LE_KEY_PID)) { in btm_ble_addr_resolvable() 163 if (rpa_matches_irk(rpa, p_dev_rec->ble.keys.irk)) { in btm_ble_addr_resolvable() 184 !(p_dev_rec->ble.key_type & BTM_LE_KEY_PID)) in btm_ble_match_random_bda() 187 if (rpa_matches_irk(*random_bda, p_dev_rec->ble.keys.irk)) { in btm_ble_match_random_bda() 229 if (p_dev_rec->ble.identity_addr == bd_addr) { in btm_find_dev_by_identity_addr() 230 if ((p_dev_rec->ble.identity_addr_type & (~BLE_ADDR_TYPE_ID_BIT)) != in btm_find_dev_by_identity_addr() 234 __func__, p_dev_rec->ble.identity_addr_type, addr_type); in btm_find_dev_by_identity_addr() 269 *bd_addr = p_dev_rec->ble.pseudo_addr; in btm_identity_addr_to_random_pseudo() [all …]
|
D | btm_ble_privacy.cc | 193 p_dev_rec->ble.in_controller_list |= BTM_RESOLVING_LIST_BIT; in btm_ble_update_resolving_list() 195 p_dev_rec->ble.resolving_list_index = btm_ble_find_irk_index(); in btm_ble_update_resolving_list() 197 p_dev_rec->ble.in_controller_list &= ~BTM_RESOLVING_LIST_BIT; in btm_ble_update_resolving_list() 200 btm_ble_clear_irk_index(p_dev_rec->ble.resolving_list_index); in btm_ble_update_resolving_list() 201 p_dev_rec->ble.resolving_list_index = 0; in btm_ble_update_resolving_list() 208 p_dev_rec->ble.in_controller_list &= ~BTM_RESOLVING_LIST_BIT; in clear_resolving_list_bit() 418 btsnd_hcic_ble_rm_device_resolving_list(p_dev_rec->ble.identity_addr_type, in btm_ble_remove_resolving_list_entry() 419 p_dev_rec->ble.identity_addr); in btm_ble_remove_resolving_list_entry() 425 UINT8_TO_STREAM(p, p_dev_rec->ble.identity_addr_type); in btm_ble_remove_resolving_list_entry() 426 BDADDR_TO_STREAM(p, p_dev_rec->ble.identity_addr); in btm_ble_remove_resolving_list_entry() [all …]
|
D | btm_ble.cc | 108 p_dev_rec->ble.ble_addr_type = addr_type; in BTM_SecAddBleDevice() 110 p_dev_rec->ble.pseudo_addr = bd_addr; in BTM_SecAddBleDevice() 114 p_info->results.ble_addr_type = p_dev_rec->ble.ble_addr_type; in BTM_SecAddBleDevice() 328 *p_addr_type = p_dev_rec->ble.ble_addr_type; in BTM_ReadRemoteConnectionAddr() 492 oob.peer_oob_data.addr_rcvd_from.type = p_dev_rec->ble.ble_addr_type; in BTM_BleSecureConnectionOobDataReply() 605 p_dev_rec->ble.ble_addr_type = p_inq_info->results.ble_addr_type; in BTM_ReadDevInfo() 608 p_dev_rec->ble.pseudo_addr == remote_bda) { in BTM_ReadDevInfo() 610 *p_addr_type = p_dev_rec->ble.ble_addr_type; in BTM_ReadDevInfo() 611 } else if (p_dev_rec->ble.pseudo_addr == remote_bda) { in BTM_ReadDevInfo() 613 *p_addr_type = p_dev_rec->ble.ble_addr_type; in BTM_ReadDevInfo() [all …]
|
D | btm_ble_bgconn.cc | 181 if (!p_dev_rec->ble.identity_addr.IsEmpty()) { in BTM_BackgroundConnectAddressKnown() 186 if (p_dev_rec->ble.ble_addr_type == BLE_ADDR_PUBLIC || in BTM_BackgroundConnectAddressKnown() 207 if (!p_dev_rec->ble.identity_addr.IsEmpty()) { in btm_add_dev_to_controller() 208 background_connection_add(p_dev_rec->ble.identity_addr_type, in btm_add_dev_to_controller() 209 p_dev_rec->ble.identity_addr); in btm_add_dev_to_controller() 211 background_connection_add(p_dev_rec->ble.ble_addr_type, bd_addr); in btm_add_dev_to_controller() 213 if (p_dev_rec->ble.ble_addr_type == BLE_ADDR_RANDOM && in btm_add_dev_to_controller() 219 p_dev_rec->ble.in_controller_list |= BTM_WHITE_LIST_BIT; in btm_add_dev_to_controller() 221 if (!p_dev_rec->ble.identity_addr.IsEmpty()) { in btm_add_dev_to_controller() 222 background_connection_remove(p_dev_rec->ble.identity_addr); in btm_add_dev_to_controller() [all …]
|
D | btm_dev.cc | 156 memset(&p_dev_rec->ble.keys, 0, sizeof(tBTM_SEC_BLE_KEYS)); in wipe_secrets_and_remove() 258 p_dev_rec->ble.ble_addr_type = p_inq_info->results.ble_addr_type; in btm_sec_alloc_dev() 352 if (p_dev_rec->ble.pseudo_addr == *bd_addr) return false; in is_address_equal() 403 p_target_rec->ble = temp_rec.ble; in btm_consolidate_dev() 423 if (p_target_rec->ble.pseudo_addr == p_dev_rec->bd_addr) { in btm_consolidate_dev() 424 p_target_rec->ble.ble_addr_type = p_dev_rec->ble.ble_addr_type; in btm_consolidate_dev()
|
D | btm_ble_connection_establishment.cc | 157 match_rec->ble.active_addr_type = BTM_BLE_ADDR_RRA; in btm_ble_conn_complete() 158 match_rec->ble.cur_rand_addr = bda; in btm_ble_conn_complete() 161 bda = match_rec->ble.pseudo_addr; in btm_ble_conn_complete() 162 bda_type = match_rec->ble.ble_addr_type; in btm_ble_conn_complete()
|
D | btm_ble_gap.cc | 675 if ((p_dev_rec->ble.in_controller_list & BTM_RESOLVING_LIST_BIT) != 0) in is_resolving_list_bit_set() 716 p_dev_rec->ble.in_controller_list & BTM_RESOLVING_LIST_BIT) { in btm_set_conn_mode_adv_init_addr() 718 p_peer_addr_ptr = p_dev_rec->ble.identity_addr; in btm_set_conn_mode_adv_init_addr() 719 *p_peer_addr_type = p_dev_rec->ble.identity_addr_type; in btm_set_conn_mode_adv_init_addr() 749 p_peer_addr_ptr = p_dev_rec->ble.identity_addr; in btm_set_conn_mode_adv_init_addr() 750 *p_peer_addr_type = p_dev_rec->ble.identity_addr_type; in btm_set_conn_mode_adv_init_addr() 1664 match_rec->ble.active_addr_type = BTM_BLE_ADDR_RRA; in btm_ble_process_adv_addr() 1665 match_rec->ble.cur_rand_addr = bda; in btm_ble_process_adv_addr() 1671 bda = match_rec->ble.pseudo_addr; in btm_ble_process_adv_addr() 1672 *addr_type = match_rec->ble.ble_addr_type; in btm_ble_process_adv_addr()
|
D | btm_acl.cc | 157 switch (p_dev_rec->ble.active_addr_type) { in btm_ble_get_acl_remote_addr() 160 *p_addr_type = p_dev_rec->ble.ble_addr_type; in btm_ble_get_acl_remote_addr() 164 conn_addr = p_dev_rec->ble.cur_rand_addr; in btm_ble_get_acl_remote_addr() 169 conn_addr = p_dev_rec->ble.identity_addr; in btm_ble_get_acl_remote_addr() 170 *p_addr_type = p_dev_rec->ble.identity_addr_type; in btm_ble_get_acl_remote_addr() 175 p_dev_rec->ble.active_addr_type); in btm_ble_get_acl_remote_addr()
|
D | btm_int_types.h | 550 tBTM_SEC_BLE ble; member
|
D | btm_sec.cc | 3738 p_dev_rec->ble.key_type = BTM_LE_KEY_NONE; in btm_sec_encrypt_change() 3740 btm_ble_link_encrypted(p_dev_rec->ble.pseudo_addr, encr_enable); in btm_sec_encrypt_change() 4304 if (is_sample_ltk(p_dev_rec->ble.keys.pltk)) { in btm_sec_disconnected() 5331 (*p_callback)(&p_dev_rec->ble.pseudo_addr, BT_TRANSPORT_LE, in btm_sec_dev_rec_cback_event() 5597 p_dev_rec->ble.key_type = BTM_LE_KEY_NONE; in btm_sec_clear_ble_keys() 5598 memset(&p_dev_rec->ble.keys, 0, sizeof(tBTM_SEC_BLE_KEYS)); in btm_sec_clear_ble_keys() 5618 if (p_dev_rec && ((p_dev_rec->ble.key_type && in btm_sec_is_a_bonded_dev()
|
/system/bt/service/example/heart_rate/ |
D | heart_rate_server.cc | 76 android::sp<IBluetoothLeAdvertiser> ble; in OnAdvertiserRegistered() local 77 bt_->GetLeAdvertiserInterface(&ble); in OnAdvertiserRegistered() 79 ble->StartMultiAdvertising(advertiser_id, adv_data, scan_rsp, settings, in OnAdvertiserRegistered() 303 android::sp<IBluetoothLeAdvertiser> ble; in OnServiceAdded() local 304 bluetooth_->GetLeAdvertiserInterface(&ble); in OnServiceAdded() 306 ble->RegisterAdvertiser(new CLIBluetoothLeAdvertiserCallback(bluetooth_), in OnServiceAdded()
|
/system/bt/btif/src/ |
D | btif_dm.cc | 130 btif_dm_ble_cb_t ble; member 1148 (!pairing_cb.ble.is_penc_key_rcvd)) { in btif_dm_auth_cmpl_evt() 1828 pairing_cb.ble.is_penc_key_rcvd = true; in btif_dm_upstreams_evt() 1829 pairing_cb.ble.penc_key = p_data->ble_key.p_key_value->penc_key; in btif_dm_upstreams_evt() 1834 pairing_cb.ble.is_pid_key_rcvd = true; in btif_dm_upstreams_evt() 1835 pairing_cb.ble.pid_key = p_data->ble_key.p_key_value->pid_key; in btif_dm_upstreams_evt() 1840 pairing_cb.ble.is_pcsrk_key_rcvd = true; in btif_dm_upstreams_evt() 1841 pairing_cb.ble.pcsrk_key = p_data->ble_key.p_key_value->pcsrk_key; in btif_dm_upstreams_evt() 1846 pairing_cb.ble.is_lenc_key_rcvd = true; in btif_dm_upstreams_evt() 1847 pairing_cb.ble.lenc_key = p_data->ble_key.p_key_value->lenc_key; in btif_dm_upstreams_evt() [all …]
|
/system/bt/stack/gatt/ |
D | gatt_main.cc | 482 gatt_find_tcb_by_addr(p_dev_rec->ble.pseudo_addr, BT_TRANSPORT_LE); in gatt_notify_phy_updated() 502 gatt_find_tcb_by_addr(p_dev_rec->ble.pseudo_addr, BT_TRANSPORT_LE); in gatt_notify_conn_update()
|
/system/bt/stack/ |
D | BUILD.gn | 176 "//vnd/ble",
|
D | Android.bp | 40 "system/bt/vnd/ble",
|
/system/bt/stack/smp/ |
D | smp_act.cc | 1962 if (p_dev_rec != NULL && p_dev_rec->ble.pseudo_addr == smp_cb.pairing_bda && in smp_proc_ltk_request() 1963 p_dev_rec->ble.pseudo_addr != RawAddress::kEmpty) { in smp_proc_ltk_request()
|