/system/bt/stack/btm/ |
D | btm_ble_addr.cc | 163 if (p_dev_rec->ble.pseudo_addr.IsEmpty()) { in btm_ble_init_pseudo_addr() 164 p_dev_rec->ble.pseudo_addr = new_pseudo_addr; in btm_ble_init_pseudo_addr() 203 (p_dev_rec->ble.key_type & BTM_LE_KEY_PID)) { in btm_ble_addr_resolvable() 206 if (rpa_matches_irk(rpa, p_dev_rec->ble.keys.irk)) { in btm_ble_addr_resolvable() 227 !(p_dev_rec->ble.key_type & BTM_LE_KEY_PID)) in btm_ble_match_random_bda() 230 if (rpa_matches_irk(*random_bda, p_dev_rec->ble.keys.irk)) { in btm_ble_match_random_bda() 272 if (p_dev_rec->ble.identity_addr == bd_addr) { in btm_find_dev_by_identity_addr() 273 if ((p_dev_rec->ble.identity_addr_type & (~BLE_ADDR_TYPE_ID_BIT)) != in btm_find_dev_by_identity_addr() 277 __func__, p_dev_rec->ble.identity_addr_type, addr_type); in btm_find_dev_by_identity_addr() 312 *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 | 101 p_dev_rec->ble.ble_addr_type = addr_type; in BTM_SecAddBleDevice() 103 p_dev_rec->ble.pseudo_addr = bd_addr; in BTM_SecAddBleDevice() 107 p_info->results.ble_addr_type = p_dev_rec->ble.ble_addr_type; in BTM_SecAddBleDevice() 289 *p_addr_type = p_dev_rec->ble.ble_addr_type; in BTM_ReadRemoteConnectionAddr() 437 oob.peer_oob_data.addr_rcvd_from.type = p_dev_rec->ble.ble_addr_type; in BTM_BleSecureConnectionOobDataReply() 584 p_dev_rec->ble.ble_addr_type = p_inq_info->results.ble_addr_type; in BTM_ReadDevInfo() 587 p_dev_rec->ble.pseudo_addr == remote_bda) { in BTM_ReadDevInfo() 589 *p_addr_type = p_dev_rec->ble.ble_addr_type; in BTM_ReadDevInfo() 590 } else if (p_dev_rec->ble.pseudo_addr == remote_bda) { in BTM_ReadDevInfo() 592 *p_addr_type = p_dev_rec->ble.ble_addr_type; in BTM_ReadDevInfo() [all …]
|
D | btm_ble_bgconn.cc | 173 if (p_dev_rec->ble.identity_addr != address && in BTM_BackgroundConnectAddressKnown() 174 !p_dev_rec->ble.identity_addr.IsEmpty()) { in BTM_BackgroundConnectAddressKnown() 179 if (p_dev_rec->ble.ble_addr_type == BLE_ADDR_PUBLIC || in BTM_BackgroundConnectAddressKnown() 200 if (p_dev_rec->ble.identity_addr != bd_addr && in btm_add_dev_to_controller() 201 !p_dev_rec->ble.identity_addr.IsEmpty()) { in btm_add_dev_to_controller() 202 background_connection_add(p_dev_rec->ble.identity_addr_type, in btm_add_dev_to_controller() 203 p_dev_rec->ble.identity_addr); in btm_add_dev_to_controller() 205 background_connection_add(p_dev_rec->ble.ble_addr_type, bd_addr); in btm_add_dev_to_controller() 207 if (p_dev_rec->ble.ble_addr_type == BLE_ADDR_RANDOM && in btm_add_dev_to_controller() 213 p_dev_rec->ble.in_controller_list |= BTM_WHITE_LIST_BIT; in btm_add_dev_to_controller() [all …]
|
D | btm_dev.cc | 154 memset(&p_dev_rec->ble.keys, 0, sizeof(tBTM_SEC_BLE_KEYS)); in wipe_secrets_and_remove() 252 p_dev_rec->ble.ble_addr_type = p_inq_info->results.ble_addr_type; in btm_sec_alloc_dev() 346 if (p_dev_rec->ble.pseudo_addr == *bd_addr) return false; in is_address_equal() 397 p_target_rec->ble = temp_rec.ble; in btm_consolidate_dev() 417 if (p_target_rec->ble.pseudo_addr == p_dev_rec->bd_addr) { in btm_consolidate_dev() 418 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()
|
D | btm_ble_gap.cc | 734 if ((p_dev_rec->ble.in_controller_list & BTM_RESOLVING_LIST_BIT) != 0) in is_resolving_list_bit_set() 775 p_dev_rec->ble.in_controller_list & BTM_RESOLVING_LIST_BIT) { in btm_set_conn_mode_adv_init_addr() 777 p_peer_addr_ptr = p_dev_rec->ble.identity_addr; in btm_set_conn_mode_adv_init_addr() 778 *p_peer_addr_type = p_dev_rec->ble.identity_addr_type; in btm_set_conn_mode_adv_init_addr() 808 p_peer_addr_ptr = p_dev_rec->ble.identity_addr; in btm_set_conn_mode_adv_init_addr() 809 *p_peer_addr_type = p_dev_rec->ble.identity_addr_type; in btm_set_conn_mode_adv_init_addr() 1750 match_rec->ble.active_addr_type = BTM_BLE_ADDR_RRA; in btm_ble_process_adv_addr() 1751 match_rec->ble.cur_rand_addr = bda; in btm_ble_process_adv_addr() 1757 bda = match_rec->ble.pseudo_addr; in btm_ble_process_adv_addr()
|
D | btm_acl.cc | 155 switch (p_dev_rec->ble.active_addr_type) { in btm_ble_get_acl_remote_addr() 158 *p_addr_type = p_dev_rec->ble.ble_addr_type; in btm_ble_get_acl_remote_addr() 162 conn_addr = p_dev_rec->ble.cur_rand_addr; in btm_ble_get_acl_remote_addr() 167 conn_addr = p_dev_rec->ble.identity_addr; in btm_ble_get_acl_remote_addr() 168 *p_addr_type = p_dev_rec->ble.identity_addr_type; in btm_ble_get_acl_remote_addr() 173 p_dev_rec->ble.active_addr_type); in btm_ble_get_acl_remote_addr()
|
D | btm_sec.cc | 3998 p_dev_rec->ble.key_type = BTM_LE_KEY_NONE; in btm_sec_encrypt_change() 4000 btm_ble_link_encrypted(p_dev_rec->ble.pseudo_addr, encr_enable); in btm_sec_encrypt_change() 4561 if (is_sample_ltk(p_dev_rec->ble.keys.pltk)) { in btm_sec_disconnected() 5595 (*p_callback)(&p_dev_rec->ble.pseudo_addr, BT_TRANSPORT_LE, in btm_sec_dev_rec_cback_event() 5861 p_dev_rec->ble.key_type = BTM_LE_KEY_NONE; in btm_sec_clear_ble_keys() 5862 memset(&p_dev_rec->ble.keys, 0, sizeof(tBTM_SEC_BLE_KEYS)); in btm_sec_clear_ble_keys() 5882 if (p_dev_rec && ((p_dev_rec->ble.key_type && in btm_sec_is_a_bonded_dev()
|
D | btm_int_types.h | 565 tBTM_SEC_BLE ble; member
|
/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 | 126 btif_dm_ble_cb_t ble; member 1087 (!pairing_cb.ble.is_penc_key_rcvd)) { in btif_dm_auth_cmpl_evt() 1761 pairing_cb.ble.is_penc_key_rcvd = true; in btif_dm_upstreams_evt() 1762 pairing_cb.ble.penc_key = p_data->ble_key.p_key_value->penc_key; in btif_dm_upstreams_evt() 1767 pairing_cb.ble.is_pid_key_rcvd = true; in btif_dm_upstreams_evt() 1768 pairing_cb.ble.pid_key = p_data->ble_key.p_key_value->pid_key; in btif_dm_upstreams_evt() 1773 pairing_cb.ble.is_pcsrk_key_rcvd = true; in btif_dm_upstreams_evt() 1774 pairing_cb.ble.pcsrk_key = p_data->ble_key.p_key_value->pcsrk_key; in btif_dm_upstreams_evt() 1779 pairing_cb.ble.is_lenc_key_rcvd = true; in btif_dm_upstreams_evt() 1780 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 | 489 gatt_find_tcb_by_addr(p_dev_rec->ble.pseudo_addr, BT_TRANSPORT_LE); in gatt_notify_phy_updated() 509 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 | 177 "//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()
|