/system/bt/stack/btm/ |
D | btm_ble_batchscan.c | 91 STREAM_TO_UINT8(adv_data.addr_type, p); in btm_ble_batchscan_filter_track_adv_vse_cback() 119 STREAM_TO_UINT8(adv_data.addr_type, p); in btm_ble_batchscan_filter_track_adv_vse_cback() 125 adv_data.addr_type, adv_data.advertiser_state); in btm_ble_batchscan_filter_track_adv_vse_cback() 544 UINT32 scan_interval, UINT32 scan_window, tBLE_ADDR_TYPE addr_type, in btm_ble_set_batchscan_param() argument 555 addr_type = btm_cb.ble_ctr_cb.addr_mgnt_cb.own_addr_type; in btm_ble_set_batchscan_param() 561 UINT8_TO_STREAM (pp_scan, addr_type); in btm_ble_set_batchscan_param() 615 ble_batchscan_cb.addr_type, ble_batchscan_cb.discard_rule)) != BTM_CMD_STARTED) in btm_ble_enable_disable_batchscan() 725 UINT32 scan_interval, UINT32 scan_window, tBLE_ADDR_TYPE addr_type, in BTM_BleEnableBatchScan() argument 731 scan_mode, scan_interval, scan_window, addr_type, discard_rule, ref_value); in BTM_BleEnableBatchScan() 770 ble_batchscan_cb.addr_type = addr_type; in BTM_BleEnableBatchScan() [all …]
|
D | btm_ble_addr.c | 394 tBTM_SEC_DEV_REC* btm_find_dev_by_identity_addr(BD_ADDR bd_addr, UINT8 addr_type) in btm_find_dev_by_identity_addr() argument 402 (addr_type & (~BLE_ADDR_TYPE_ID_BIT))) in btm_find_dev_by_identity_addr() 404 __func__, p_dev_rec->ble.static_addr_type, addr_type); in btm_find_dev_by_identity_addr()
|
D | btm_ble_gap.c | 71 static void btm_ble_process_adv_pkt_cont(BD_ADDR bda, UINT8 addr_type, UINT8 evt_type, UINT8 *p); 742 UINT8 addr_type = BLE_ADDR_RANDOM; in btm_ble_resolve_random_addr_on_adv() local 750 STREAM_TO_UINT8 (addr_type, pp); in btm_ble_resolve_random_addr_on_adv() 768 btm_ble_process_adv_pkt_cont(bda, addr_type, evt_type, pp); in btm_ble_resolve_random_addr_on_adv() 2524 BOOLEAN btm_ble_update_inq_result(tINQ_DB_ENT *p_i, UINT8 addr_type, UINT8 evt_type, UINT8 *p) in btm_ble_update_inq_result() argument 2550 p_cur->ble_addr_type = addr_type; in btm_ble_update_inq_result() 2670 void btm_send_sel_conn_callback(BD_ADDR remote_bda, UINT8 evt_type, UINT8 *p_data, UINT8 addr_type) in btm_send_sel_conn_callback() argument 2674 UNUSED(addr_type); in btm_send_sel_conn_callback() 2719 UINT8 addr_type = 0; in btm_ble_process_adv_pkt() local 2737 STREAM_TO_UINT8 (addr_type, p); in btm_ble_process_adv_pkt() [all …]
|
D | btm_ble_bgconn.c | 178 UINT8 addr_type = BTM_IS_PUBLIC_BDA(bd_addr) ? BLE_ADDR_PUBLIC : BLE_ADDR_RANDOM; in btm_add_dev_to_controller() local 179 started = btsnd_hcic_ble_remove_from_white_list(addr_type, bd_addr); in btm_add_dev_to_controller() 181 started = btsnd_hcic_ble_add_white_list(addr_type, bd_addr); in btm_add_dev_to_controller()
|
D | btm_ble.c | 73 tBLE_ADDR_TYPE addr_type) in BTM_SecAddBleDevice() argument 109 p_dev_rec->ble.ble_addr_type = addr_type; in BTM_SecAddBleDevice() 789 tBLE_ADDR_TYPE addr_type; in BTM_UseLeLink() local 802 BTM_ReadDevInfo(bd_addr, &dev_type, &addr_type); in BTM_UseLeLink() 1203 p_rec->ble.static_addr_type = p_keys->pid_key.addr_type; in btm_sec_save_le_key() 1837 tBLE_ADDR_TYPE addr_type, BOOLEAN addr_matched) in btm_ble_connected() argument 1879 p_dev_rec->ble.ble_addr_type = addr_type; in btm_ble_connected()
|
D | btm_ble_int.h | 370 … (UINT8 *bda, UINT16 handle, UINT8 enc_mode, UINT8 role, tBLE_ADDR_TYPE addr_type, BOOLEAN addr_ma…
|
D | btm_acl.c | 1981 tBLE_ADDR_TYPE addr_type; in BTM_ReadRSSI() local 1992 BTM_ReadDevInfo(remote_bda, &dev_type, &addr_type); in BTM_ReadRSSI()
|
/system/bt/btif/src/ |
D | btif_storage.c | 497 const uint8_t addr_type, const bool add_key, bool *device_added, bool *key_found) in btif_read_le_key() argument 514 BTA_DmAddBleDevice(bta_bd_addr, addr_type, BT_DEVICE_TYPE_BLE); in btif_read_le_key() 1190 int addr_type; in btif_in_fetch_bonded_ble_device() local 1206 if (btif_storage_get_remote_addr_type(&bd_addr, &addr_type) != BT_STATUS_SUCCESS) in btif_in_fetch_bonded_ble_device() 1208 addr_type = BLE_ADDR_PUBLIC; in btif_in_fetch_bonded_ble_device() 1213 bd_addr, addr_type, add, &device_added, &key_found); in btif_in_fetch_bonded_ble_device() 1216 bd_addr, addr_type, add, &device_added, &key_found); in btif_in_fetch_bonded_ble_device() 1219 bd_addr, addr_type, add, &device_added, &key_found); in btif_in_fetch_bonded_ble_device() 1222 bd_addr, addr_type, add, &device_added, &key_found); in btif_in_fetch_bonded_ble_device() 1225 bd_addr, addr_type, add, &device_added, &key_found); in btif_in_fetch_bonded_ble_device() [all …]
|
D | btif_gatt_client.c | 138 tBLE_ADDR_TYPE addr_type; member 167 uint8_t addr_type; member 198 uint8_t addr_type; member 225 uint8_t addr_type; member 376 static void btif_gattc_add_remote_bdaddr (BD_ADDR p_bda, uint8_t addr_type) in btif_gattc_add_remote_bdaddr() argument 384 p_dev_cb->addr_type = addr_type; in btif_gattc_add_remote_bdaddr() 395 p_dev_cb->addr_type = addr_type; in btif_gattc_add_remote_bdaddr() 589 if ((p_btif_cb->addr_type != BLE_ADDR_RANDOM) || (p_eir_remote_name)) in btif_gattc_upstreams_evt() 593 btif_gattc_add_remote_bdaddr(p_btif_cb->bd_addr.address, p_btif_cb->addr_type); in btif_gattc_upstreams_evt() 603 btif_storage_set_remote_addr_type( &p_btif_cb->bd_addr, p_btif_cb->addr_type); in btif_gattc_upstreams_evt() [all …]
|
D | btif_gatt_server.c | 383 int addr_type = 0; in btgatts_handle_event() local 387 if (btif_get_address_type(p_cb->bd_addr.address, &addr_type) && in btgatts_handle_event() 391 BTA_DmAddBleDevice(p_cb->bd_addr.address, addr_type, device_type); in btgatts_handle_event()
|
D | btif_dm.c | 708 int addr_type; in btif_dm_cb_create_bond() local 717 if (btif_storage_get_remote_addr_type(bd_addr, &addr_type) != BT_STATUS_SUCCESS) in btif_dm_cb_create_bond() 723 (btif_storage_get_remote_addr_type(bd_addr, &addr_type) == BT_STATUS_SUCCESS) && in btif_dm_cb_create_bond() 726 BTA_DmAddBleDevice(bd_addr->address, addr_type, device_type); in btif_dm_cb_create_bond() 1154 btif_storage_set_remote_addr_type(&bd_addr, p_auth_cmpl->addr_type); in btif_dm_auth_cmpl_evt() 1368 int addr_type = 0; in btif_dm_search_devices_evt() local 1406 addr_type = p_search_data->inq_res.ble_addr_type; in btif_dm_search_devices_evt() 1422 status = btif_storage_set_remote_addr_type(&bdaddr, addr_type); in btif_dm_search_devices_evt() 3065 int addr_type; in btif_dm_ble_auth_cmpl_evt() local 3068 if (btif_storage_get_remote_addr_type(&bdaddr, &addr_type) != BT_STATUS_SUCCESS) in btif_dm_ble_auth_cmpl_evt() [all …]
|
/system/bt/btif/include/ |
D | btif_storage.h | 297 int *addr_type); 300 UINT8 addr_type);
|
/system/bt/stack/smp/ |
D | smp_utils.c | 1355 tBLE_ADDR_TYPE addr_type = 0; in smp_collect_local_ble_address() local 1361 BTM_ReadConnectionAddr( p_cb->pairing_bda, bda, &addr_type); in smp_collect_local_ble_address() 1363 UINT8_TO_STREAM(p, addr_type); in smp_collect_local_ble_address() 1378 tBLE_ADDR_TYPE addr_type = 0; in smp_collect_peer_ble_address() local 1384 if (!BTM_ReadRemoteConnectionAddr(p_cb->pairing_bda, bda, &addr_type)) in smp_collect_peer_ble_address() 1391 UINT8_TO_STREAM(p, addr_type); in smp_collect_peer_ble_address()
|
D | smp_keys.c | 504 tBLE_ADDR_TYPE addr_type = 0; in smp_gen_p1_4_confirm() local 509 if (!BTM_ReadRemoteConnectionAddr(p_cb->pairing_bda, remote_bda, &addr_type)) in smp_gen_p1_4_confirm() 515 BTM_ReadConnectionAddr( p_cb->pairing_bda, p_cb->local_bda, &p_cb->addr_type); in smp_gen_p1_4_confirm() 520 UINT8_TO_STREAM(p, p_cb->addr_type); in smp_gen_p1_4_confirm() 522 UINT8_TO_STREAM(p, addr_type); in smp_gen_p1_4_confirm() 531 UINT8_TO_STREAM(p, addr_type); in smp_gen_p1_4_confirm() 533 UINT8_TO_STREAM(p, p_cb->addr_type); in smp_gen_p1_4_confirm() 559 tBLE_ADDR_TYPE addr_type = 0; in smp_gen_p2_4_confirm() local 561 if (!BTM_ReadRemoteConnectionAddr(p_cb->pairing_bda, remote_bda, &addr_type)) in smp_gen_p2_4_confirm()
|
D | smp_int.h | 334 UINT8 addr_type; member
|
D | smp_act.c | 1054 STREAM_TO_UINT8(pid_key.addr_type, p); in smp_proc_id_addr() 1060 p_cb->id_addr_type = pid_key.addr_type; in smp_proc_id_addr()
|
/system/bt/stack/include/ |
D | btm_ble_api.h | 587 tBLE_ADDR_TYPE addr_type; member 888 typedef void (tBTM_BLE_SCAN_REQ_CBACK)(BD_ADDR remote_bda, tBLE_ADDR_TYPE addr_type, UINT8 adv_evt); 916 tBT_DEVICE_TYPE dev_type, tBLE_ADDR_TYPE addr_type); 1067 tBLE_ADDR_TYPE addr_type,
|
D | hcimsgs.h | 711 UINT8 addr_type, UINT8 scan_filter_policy); 726 extern BOOLEAN btsnd_hcic_ble_add_white_list (UINT8 addr_type, BD_ADDR bda); 728 extern BOOLEAN btsnd_hcic_ble_remove_from_white_list (UINT8 addr_type, BD_ADDR bda);
|
D | btm_api.h | 1672 tBLE_ADDR_TYPE addr_type; member
|
/system/bt/bta/dm/ |
D | bta_dm_api.c | 672 void BTA_DmAddBleDevice(BD_ADDR bd_addr, tBLE_ADDR_TYPE addr_type, tBT_DEVICE_TYPE dev_type) in BTA_DmAddBleDevice() argument 680 p_msg->addr_type = addr_type; in BTA_DmAddBleDevice() 1022 tBLE_ADDR_TYPE addr_type, in BTA_DmBleEnableBatchScan() argument 1033 p_msg->addr_type = addr_type; in BTA_DmBleEnableBatchScan()
|
D | bta_dm_int.h | 403 tBLE_ADDR_TYPE addr_type; member 565 tBLE_ADDR_TYPE addr_type; member
|
D | bta_dm_act.c | 2236 tBLE_ADDR_TYPE addr_type; in bta_dm_discover_device() local 2238 BTM_ReadDevInfo(remote_bd_addr, &dev_type, &addr_type); in bta_dm_discover_device() 2239 if (dev_type == BT_DEVICE_TYPE_BLE || addr_type == BLE_ADDR_RANDOM) in bta_dm_discover_device() 2764 BTM_ReadDevInfo(bd_addr, &sec_event.auth_cmpl.dev_type, &sec_event.auth_cmpl.addr_type); in bta_dm_new_link_key_cback() 2808 BTM_ReadDevInfo(bd_addr, &sec_event.auth_cmpl.dev_type, &sec_event.auth_cmpl.addr_type); in bta_dm_authentication_complete_cback() 4400 BTM_ReadDevInfo(bda, &sec_event.auth_cmpl.dev_type, &sec_event.auth_cmpl.addr_type); in bta_dm_ble_smp_cback() 4514 p_data->add_ble_device.addr_type)) in bta_dm_add_ble_device() 4984 p_data->ble_enable_scan.addr_type, in bta_dm_ble_enable_batch_scan()
|
/system/bt/stack/hcic/ |
D | hciblecmds.c | 292 BOOLEAN btsnd_hcic_ble_add_white_list (UINT8 addr_type, BD_ADDR bda) in btsnd_hcic_ble_add_white_list() argument 303 UINT8_TO_STREAM (pp, addr_type); in btsnd_hcic_ble_add_white_list() 310 BOOLEAN btsnd_hcic_ble_remove_from_white_list (UINT8 addr_type, BD_ADDR bda) in btsnd_hcic_ble_remove_from_white_list() argument 321 UINT8_TO_STREAM (pp, addr_type); in btsnd_hcic_ble_remove_from_white_list()
|
/system/bt/bta/include/ |
D | bta_api.h | 722 tBLE_ADDR_TYPE addr_type; /* Peer device address type */ member 1767 extern void BTA_DmAddBleDevice(BD_ADDR bd_addr, tBLE_ADDR_TYPE addr_type, 2177 tBLE_ADDR_TYPE addr_type,
|
/system/bt/stack/l2cap/ |
D | l2c_utils.c | 2290 tBLE_ADDR_TYPE addr_type; in l2cu_create_conn() local 2293 BTM_ReadDevInfo(p_lcb->remote_bd_addr, &dev_type, &addr_type); in l2cu_create_conn() 2300 p_lcb->ble_addr_type = addr_type; in l2cu_create_conn()
|