Home
last modified time | relevance | path

Searched refs:addr_type (Results 1 – 25 of 26) sorted by relevance

12

/system/bt/stack/btm/
Dbtm_ble_batchscan.c91 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()
543 UINT32 scan_interval, UINT32 scan_window, tBLE_ADDR_TYPE addr_type, in btm_ble_set_batchscan_param() argument
554 addr_type = btm_cb.ble_ctr_cb.addr_mgnt_cb.own_addr_type; in btm_ble_set_batchscan_param()
560 UINT8_TO_STREAM (pp_scan, addr_type); in btm_ble_set_batchscan_param()
614 ble_batchscan_cb.addr_type, ble_batchscan_cb.discard_rule)) != BTM_CMD_STARTED) in btm_ble_enable_disable_batchscan()
724 UINT32 scan_interval, UINT32 scan_window, tBLE_ADDR_TYPE addr_type, in BTM_BleEnableBatchScan() argument
730 scan_mode, scan_interval, scan_window, addr_type, discard_rule, ref_value); in BTM_BleEnableBatchScan()
769 ble_batchscan_cb.addr_type = addr_type; in BTM_BleEnableBatchScan()
[all …]
Dbtm_ble_bgconn.c152 tBLE_ADDR_TYPE addr_type = BLE_ADDR_PUBLIC; in btm_add_dev_to_controller() local
191 BTM_ReadDevInfo(bd_addr, &dev_type, &addr_type); in btm_add_dev_to_controller()
193 started = btsnd_hcic_ble_remove_from_white_list (addr_type, bd_addr); in btm_add_dev_to_controller()
195 started = btsnd_hcic_ble_add_white_list (addr_type, bd_addr); in btm_add_dev_to_controller()
Dbtm_ble_addr.c437 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
449 (addr_type & (~BLE_ADDR_TYPE_ID_BIT))) in btm_find_dev_by_identity_addr()
452 __func__, p_dev_rec->ble.static_addr_type, addr_type); in btm_find_dev_by_identity_addr()
Dbtm_ble_gap.c68 static void btm_ble_process_adv_pkt_cont(BD_ADDR bda, UINT8 addr_type, UINT8 evt_type, UINT8 *p);
730 UINT8 addr_type = BLE_ADDR_RANDOM; in btm_ble_resolve_random_addr_on_adv() local
738 STREAM_TO_UINT8 (addr_type, pp); in btm_ble_resolve_random_addr_on_adv()
756 btm_ble_process_adv_pkt_cont(bda, addr_type, evt_type, pp); in btm_ble_resolve_random_addr_on_adv()
2503 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
2529 p_cur->ble_addr_type = addr_type; in btm_ble_update_inq_result()
2649 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
2653 UNUSED(addr_type); in btm_send_sel_conn_callback()
2698 UINT8 addr_type = 0; in btm_ble_process_adv_pkt() local
2716 STREAM_TO_UINT8 (addr_type, p); in btm_ble_process_adv_pkt()
[all …]
Dbtm_ble.c72 tBLE_ADDR_TYPE addr_type) in BTM_SecAddBleDevice() argument
129 p_dev_rec->ble.ble_addr_type = addr_type; in BTM_SecAddBleDevice()
809 tBLE_ADDR_TYPE addr_type; in BTM_UseLeLink() local
822 BTM_ReadDevInfo(bd_addr, &dev_type, &addr_type); in BTM_UseLeLink()
1062 p_rec->ble.static_addr_type = p_keys->pid_key.addr_type; in btm_sec_save_le_key()
1751 tBLE_ADDR_TYPE addr_type, BOOLEAN addr_matched) in btm_ble_connected() argument
1793 p_dev_rec->ble.ble_addr_type = addr_type; in btm_ble_connected()
Dbtm_ble_int.h366 … (UINT8 *bda, UINT16 handle, UINT8 enc_mode, UINT8 role, tBLE_ADDR_TYPE addr_type, BOOLEAN addr_ma…
Dbtm_acl.c1951 tBLE_ADDR_TYPE addr_type; in BTM_ReadRSSI() local
1962 BTM_ReadDevInfo(remote_bda, &dev_type, &addr_type); in BTM_ReadRSSI()
/system/bt/btif/src/
Dbtif_storage.c183 int *addr_type);
553 const uint8_t addr_type, const bool add_key, bool *device_added, bool *key_found) in btif_read_le_key() argument
570 BTA_DmAddBleDevice(bta_bd_addr, addr_type, BT_DEVICE_TYPE_BLE); in btif_read_le_key()
1200 int addr_type; in btif_in_fetch_bonded_ble_device() local
1217 if (btif_storage_get_remote_addr_type(&bd_addr, &addr_type) != BT_STATUS_SUCCESS) in btif_in_fetch_bonded_ble_device()
1219 addr_type = BLE_ADDR_PUBLIC; in btif_in_fetch_bonded_ble_device()
1224 bd_addr, addr_type, add, &device_added, &key_found); in btif_in_fetch_bonded_ble_device()
1227 bd_addr, addr_type, add, &device_added, &key_found); in btif_in_fetch_bonded_ble_device()
1230 bd_addr, addr_type, add, &device_added, &key_found); in btif_in_fetch_bonded_ble_device()
1233 bd_addr, addr_type, add, &device_added, &key_found); in btif_in_fetch_bonded_ble_device()
[all …]
Dbtif_gatt_client.c143 tBLE_ADDR_TYPE addr_type; member
173 uint8_t addr_type; member
203 uint8_t addr_type; member
230 uint8_t addr_type; member
394 static void btif_gattc_add_remote_bdaddr (BD_ADDR p_bda, uint8_t addr_type) in btif_gattc_add_remote_bdaddr() argument
402 p_dev_cb->addr_type = addr_type; in btif_gattc_add_remote_bdaddr()
413 p_dev_cb->addr_type = addr_type; in btif_gattc_add_remote_bdaddr()
462 btif_storage_set_remote_addr_type( &p_btif_cb->bd_addr, p_btif_cb->addr_type); in btif_gattc_update_properties()
633 if ((p_btif_cb->addr_type != BLE_ADDR_RANDOM) || (p_eir_remote_name)) in btif_gattc_upstreams_evt()
637 btif_gattc_add_remote_bdaddr(p_btif_cb->bd_addr.address, p_btif_cb->addr_type); in btif_gattc_upstreams_evt()
[all …]
Dbtif_dm.c661 int addr_type; in btif_dm_cb_create_bond() local
670 if (btif_storage_get_remote_addr_type(bd_addr, &addr_type) != BT_STATUS_SUCCESS) in btif_dm_cb_create_bond()
676 (btif_storage_get_remote_addr_type(bd_addr, &addr_type) == BT_STATUS_SUCCESS) && in btif_dm_cb_create_bond()
679 BTA_DmAddBleDevice(bd_addr->address, addr_type, device_type); in btif_dm_cb_create_bond()
1096 btif_storage_set_remote_addr_type(&bd_addr, p_auth_cmpl->addr_type); in btif_dm_auth_cmpl_evt()
1319 int addr_type = 0; in btif_dm_search_devices_evt() local
1357 addr_type = p_search_data->inq_res.ble_addr_type; in btif_dm_search_devices_evt()
1373 status = btif_storage_set_remote_addr_type(&bdaddr, addr_type); in btif_dm_search_devices_evt()
2904 int addr_type; in btif_dm_ble_auth_cmpl_evt() local
2907 if (btif_storage_get_remote_addr_type(&bdaddr, &addr_type) != BT_STATUS_SUCCESS) in btif_dm_ble_auth_cmpl_evt()
[all …]
Dbtif_gatt_server.c390 int addr_type = 0; in btgatts_handle_event() local
394 if (btif_get_address_type(p_cb->bd_addr.address, &addr_type) && in btgatts_handle_event()
398 BTA_DmAddBleDevice(p_cb->bd_addr.address, addr_type, device_type); in btgatts_handle_event()
/system/bt/btif/include/
Dbtif_storage.h332 int *addr_type);
335 UINT8 addr_type);
/system/bt/stack/smp/
Dsmp_utils.c1387 tBLE_ADDR_TYPE addr_type = 0; in smp_collect_local_ble_address() local
1393 BTM_ReadConnectionAddr( p_cb->pairing_bda, bda, &addr_type); in smp_collect_local_ble_address()
1395 UINT8_TO_STREAM(p, addr_type); in smp_collect_local_ble_address()
1410 tBLE_ADDR_TYPE addr_type = 0; in smp_collect_peer_ble_address() local
1416 if (!BTM_ReadRemoteConnectionAddr(p_cb->pairing_bda, bda, &addr_type)) in smp_collect_peer_ble_address()
1423 UINT8_TO_STREAM(p, addr_type); in smp_collect_peer_ble_address()
Dsmp_keys.c523 tBLE_ADDR_TYPE addr_type = 0; in smp_gen_p1_4_confirm() local
528 if (!BTM_ReadRemoteConnectionAddr(p_cb->pairing_bda, remote_bda, &addr_type)) in smp_gen_p1_4_confirm()
534 BTM_ReadConnectionAddr( p_cb->pairing_bda, p_cb->local_bda, &p_cb->addr_type); in smp_gen_p1_4_confirm()
539 UINT8_TO_STREAM(p, p_cb->addr_type); in smp_gen_p1_4_confirm()
541 UINT8_TO_STREAM(p, addr_type); in smp_gen_p1_4_confirm()
550 UINT8_TO_STREAM(p, addr_type); in smp_gen_p1_4_confirm()
552 UINT8_TO_STREAM(p, p_cb->addr_type); in smp_gen_p1_4_confirm()
578 tBLE_ADDR_TYPE addr_type = 0; in smp_gen_p2_4_confirm() local
580 if (!BTM_ReadRemoteConnectionAddr(p_cb->pairing_bda, remote_bda, &addr_type)) in smp_gen_p2_4_confirm()
Dsmp_int.h334 UINT8 addr_type; member
Dsmp_act.c1001 STREAM_TO_UINT8(pid_key.addr_type, p); in smp_proc_id_addr()
1007 p_cb->id_addr_type = pid_key.addr_type; in smp_proc_id_addr()
/system/bt/stack/include/
Dbtm_ble_api.h575 tBLE_ADDR_TYPE addr_type; member
876 typedef void (tBTM_BLE_SCAN_REQ_CBACK)(BD_ADDR remote_bda, tBLE_ADDR_TYPE addr_type, UINT8 adv_evt);
904 tBT_DEVICE_TYPE dev_type, tBLE_ADDR_TYPE addr_type);
1055 tBLE_ADDR_TYPE addr_type,
Dhcimsgs.h711 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);
Dbtm_api.h1676 tBLE_ADDR_TYPE addr_type; member
/system/bt/bta/dm/
Dbta_dm_api.c754 void BTA_DmAddBleDevice(BD_ADDR bd_addr, tBLE_ADDR_TYPE addr_type, tBT_DEVICE_TYPE dev_type) in BTA_DmAddBleDevice() argument
765 p_msg->addr_type = addr_type; in BTA_DmAddBleDevice()
1133 tBLE_ADDR_TYPE addr_type, in BTA_DmBleEnableBatchScan() argument
1145 p_msg->addr_type = addr_type; in BTA_DmBleEnableBatchScan()
Dbta_dm_int.h405 tBLE_ADDR_TYPE addr_type; member
567 tBLE_ADDR_TYPE addr_type; member
Dbta_dm_act.c2284 tBLE_ADDR_TYPE addr_type; in bta_dm_discover_device() local
2286 BTM_ReadDevInfo(remote_bd_addr, &dev_type, &addr_type); in bta_dm_discover_device()
2287 if (dev_type == BT_DEVICE_TYPE_BLE || addr_type == BLE_ADDR_RANDOM) in bta_dm_discover_device()
2839 BTM_ReadDevInfo(bd_addr, &sec_event.auth_cmpl.dev_type, &sec_event.auth_cmpl.addr_type); in bta_dm_new_link_key_cback()
2877 BTM_ReadDevInfo(bd_addr, &sec_event.auth_cmpl.dev_type, &sec_event.auth_cmpl.addr_type); in bta_dm_authentication_complete_cback()
4499 BTM_ReadDevInfo(bda, &sec_event.auth_cmpl.dev_type, &sec_event.auth_cmpl.addr_type); in bta_dm_ble_smp_cback()
4617 p_data->add_ble_device.addr_type)) in bta_dm_add_ble_device()
5087 p_data->ble_enable_scan.addr_type, in bta_dm_ble_enable_batch_scan()
/system/bt/stack/hcic/
Dhciblecmds.c352 BOOLEAN btsnd_hcic_ble_add_white_list (UINT8 addr_type, BD_ADDR bda) in btsnd_hcic_ble_add_white_list() argument
368 UINT8_TO_STREAM (pp, addr_type); in btsnd_hcic_ble_add_white_list()
375 BOOLEAN btsnd_hcic_ble_remove_from_white_list (UINT8 addr_type, BD_ADDR bda) in btsnd_hcic_ble_remove_from_white_list() argument
391 UINT8_TO_STREAM (pp, addr_type); in btsnd_hcic_ble_remove_from_white_list()
/system/bt/bta/include/
Dbta_api.h769 tBLE_ADDR_TYPE addr_type; /* Peer device address type */ member
1823 extern void BTA_DmAddBleDevice(BD_ADDR bd_addr, tBLE_ADDR_TYPE addr_type,
2234 tBLE_ADDR_TYPE addr_type,
/system/bt/stack/l2cap/
Dl2c_utils.c2234 tBLE_ADDR_TYPE addr_type; in l2cu_create_conn() local
2237 BTM_ReadDevInfo(p_lcb->remote_bd_addr, &dev_type, &addr_type); in l2cu_create_conn()
2244 p_lcb->ble_addr_type = addr_type; in l2cu_create_conn()

12