Home
last modified time | relevance | path

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

12

/system/bt/stack/btm/
Dbtm_ble_batchscan.cc89 STREAM_TO_UINT8(adv_data.addr_type, p); in btm_ble_batchscan_filter_track_adv_vse_cback()
114 STREAM_TO_UINT8(adv_data.addr_type, p); in btm_ble_batchscan_filter_track_adv_vse_cback()
120 adv_data.filt_index, adv_data.addr_type, in btm_ble_batchscan_filter_track_adv_vse_cback()
125 adv_data.addr_type); in btm_ble_batchscan_filter_track_adv_vse_cback()
320 tBLE_ADDR_TYPE addr_type, in btm_ble_set_batchscan_param() argument
325 addr_type = btm_cb.ble_ctr_cb.addr_mgnt_cb.own_addr_type; in btm_ble_set_batchscan_param()
336 UINT8_TO_STREAM(p, addr_type); in btm_ble_set_batchscan_param()
414 tBLE_ADDR_TYPE addr_type, in BTM_BleEnableBatchScan() argument
418 scan_interval, scan_window, addr_type, discard_rule); in BTM_BleEnableBatchScan()
456 ble_batchscan_cb.addr_type = addr_type; in BTM_BleEnableBatchScan()
[all …]
Dbtm_ble_gap.cc68 const std::vector<uint8_t>& Set(uint8_t addr_type, const RawAddress& addr, in Set() argument
70 auto it = Find(addr_type, addr); in Set()
80 items.emplace_front(addr_type, addr, std::move(data)); in Set()
85 const std::vector<uint8_t>& Append(uint8_t addr_type, const RawAddress& addr, in Append() argument
87 auto it = Find(addr_type, addr); in Append()
97 items.emplace_front(addr_type, addr, std::move(data)); in Append()
102 void Clear(uint8_t addr_type, const RawAddress& addr) { in Clear() argument
103 auto it = Find(addr_type, addr); in Clear()
111 uint8_t addr_type; member
115 Item(uint8_t addr_type, const RawAddress& addr, std::vector<uint8_t> data) in Item()
[all …]
Dbtm_ble_bgconn.cc53 uint8_t addr_type; member
72 static void background_connection_add(uint8_t addr_type, in background_connection_add() argument
77 background_connection_t{address, addr_type, false, 0, false}; in background_connection_add()
80 connection->addr_type = addr_type; in background_connection_add()
245 btsnd_hcic_ble_add_white_list(connection->addr_type, connection->address); in btm_execute_wl_dev_operation()
247 connection->addr_type_in_wl = connection->addr_type; in btm_execute_wl_dev_operation()
Dbtm_ble_addr.cc337 uint8_t addr_type) { in btm_find_dev_by_identity_addr() argument
346 (addr_type & (~BLE_ADDR_TYPE_ID_BIT))) in btm_find_dev_by_identity_addr()
349 __func__, p_dev_rec->ble.static_addr_type, addr_type); in btm_find_dev_by_identity_addr()
Dbtm_ble.cc76 tBT_DEVICE_TYPE dev_type, tBLE_ADDR_TYPE addr_type) { in BTM_SecAddBleDevice() argument
106 p_dev_rec->ble.ble_addr_type = addr_type; in BTM_SecAddBleDevice()
769 tBLE_ADDR_TYPE addr_type; in BTM_UseLeLink() local
780 BTM_ReadDevInfo(bd_addr, &dev_type, &addr_type); in BTM_UseLeLink()
1320 p_rec->ble.static_addr_type = p_keys->pid_key.addr_type; in btm_sec_save_le_key()
1863 uint8_t role, tBLE_ADDR_TYPE addr_type, in btm_ble_connected() argument
1897 p_dev_rec->ble.ble_addr_type = addr_type; in btm_ble_connected()
Dbtm_ble_int.h64 tBLE_ADDR_TYPE addr_type, bool addr_matched);
Dbtm_acl.cc1956 tBLE_ADDR_TYPE addr_type; in BTM_ReadRSSI() local
1961 BTM_ReadDevInfo(remote_bda, &dev_type, &addr_type); in BTM_ReadRSSI()
2000 tBLE_ADDR_TYPE addr_type; in BTM_ReadFailedContactCounter() local
2005 BTM_ReadDevInfo(remote_bda, &dev_type, &addr_type); in BTM_ReadFailedContactCounter()
2039 tBLE_ADDR_TYPE addr_type; in BTM_ReadAutomaticFlushTimeout() local
2044 BTM_ReadDevInfo(remote_bda, &dev_type, &addr_type); in BTM_ReadAutomaticFlushTimeout()
/system/bt/btif/src/
Dbtif_ble_scanner.cc73 void btif_gattc_add_remote_bdaddr(const RawAddress& p_bda, uint8_t addr_type) { in btif_gattc_add_remote_bdaddr() argument
105 int8_t rssi, uint8_t addr_type, in bta_scan_results_cb_impl() argument
123 if ((addr_type != BLE_ADDR_RANDOM) || (p_eir_remote_name)) { in bta_scan_results_cb_impl()
125 btif_gattc_add_remote_bdaddr(bd_addr, addr_type); in bta_scan_results_cb_impl()
154 btif_storage_set_remote_addr_type(&bd_addr, addr_type); in bta_scan_results_cb_impl()
155 HAL_CBACK(bt_gatt_callbacks, scanner->scan_result_cb, ble_evt_type, addr_type, in bta_scan_results_cb_impl()
310 int addr_type, int discard_rule, Callback cb) override { in BatchscanEnable() argument
313 scan_window, discard_rule, addr_type, in BatchscanEnable()
Dbtif_storage.cc477 RawAddress bd_addr, const uint8_t addr_type, in btif_read_le_key() argument
490 BTA_DmAddBleDevice(bd_addr, addr_type, BT_DEVICE_TYPE_BLE); in btif_read_le_key()
1184 int addr_type; in btif_in_fetch_bonded_ble_device() local
1199 if (btif_storage_get_remote_addr_type(&bd_addr, &addr_type) != in btif_in_fetch_bonded_ble_device()
1201 addr_type = BLE_ADDR_PUBLIC; in btif_in_fetch_bonded_ble_device()
1206 addr_type, add, &device_added, &key_found); in btif_in_fetch_bonded_ble_device()
1209 addr_type, add, &device_added, &key_found); in btif_in_fetch_bonded_ble_device()
1212 addr_type, add, &device_added, &key_found); in btif_in_fetch_bonded_ble_device()
1215 addr_type, add, &device_added, &key_found); in btif_in_fetch_bonded_ble_device()
1218 addr_type, add, &device_added, &key_found); in btif_in_fetch_bonded_ble_device()
[all …]
Dbtif_gatt_server.cc284 int addr_type = 0; in btif_gatts_open_impl() local
288 if (btif_get_address_type(address, &addr_type) && in btif_gatts_open_impl()
291 BTA_DmAddBleDevice(address, addr_type, device_type); in btif_gatts_open_impl()
Dbtif_gatt_client.cc254 int addr_type = 0; in btif_gattc_open_impl() local
258 if (btif_get_address_type(address, &addr_type) && in btif_gattc_open_impl()
261 BTA_DmAddBleDevice(address, addr_type, device_type); in btif_gattc_open_impl()
270 (addr_type == BLE_ADDR_RANDOM) && BTM_BLE_IS_RESOLVE_BDA(address)) { in btif_gattc_open_impl()
Dbtif_dm.cc659 int addr_type; in btif_dm_cb_create_bond() local
666 if (btif_storage_get_remote_addr_type(&bd_addr, &addr_type) != in btif_dm_cb_create_bond()
673 addr_type = tmp_addr_type; in btif_dm_cb_create_bond()
675 btif_storage_set_remote_addr_type(&bd_addr, addr_type); in btif_dm_cb_create_bond()
679 (btif_storage_get_remote_addr_type(&bd_addr, &addr_type) == in btif_dm_cb_create_bond()
683 BTA_DmAddBleDevice(bd_addr, addr_type, device_type); in btif_dm_cb_create_bond()
1086 btif_storage_set_remote_addr_type(&bd_addr, p_auth_cmpl->addr_type); in btif_dm_auth_cmpl_evt()
1277 int addr_type = 0; in btif_dm_search_devices_evt() local
1319 addr_type = p_search_data->inq_res.ble_addr_type; in btif_dm_search_devices_evt()
1334 status = btif_storage_set_remote_addr_type(&bdaddr, addr_type); in btif_dm_search_devices_evt()
[all …]
/system/bt/include/hardware/
Dbt_common_types.h36 uint8_t addr_type; member
94 uint8_t addr_type; member
Dble_scanner.h39 typedef void (*scan_result_callback)(uint16_t event_type, uint8_t addr_type,
110 int scan_window, int addr_type, int discard_rule,
/system/bt/btif/include/
Dbtif_storage.h238 int* addr_type);
241 uint8_t addr_type);
/system/bt/stack/include/
Dbtm_ble_api.h57 tBLE_ADDR_TYPE addr_type);
155 tBLE_ADDR_TYPE addr_type, base::Callback<void(uint8_t /* status */)> cb);
Dhcimsgs.h749 uint16_t scan_win, uint8_t addr_type,
767 extern void btsnd_hcic_ble_add_white_list(uint8_t addr_type,
770 extern void btsnd_hcic_ble_remove_from_white_list(uint8_t addr_type,
Dbtm_ble_api_types.h395 tBLE_ADDR_TYPE addr_type; member
/system/bt/vendor_libs/test_vendor_lib/src/
Ddual_mode_controller.cc305 uint8_t addr_type = devices_[dev]->GetAddressType(); in LeScan() local
314 adv_type, addr_type, addr, ad, GetRssi(dev))) { in LeScan()
317 CHECK(le_adverts->AddLeAdvertisingReport(adv_type, addr_type, addr, ad, in LeScan()
325 if (peer_address_ == addr && peer_address_type_ == addr_type && in LeScan()
330 kSuccessStatus, handle, HCI_ROLE_MASTER, addr_type, addr, in LeScan()
349 BTM_BLE_SCAN_RSP_EVT, addr_type, addr, ad, GetRssi(dev))) { in LeScan()
353 BTM_BLE_SCAN_RSP_EVT, addr_type, addr, ad, GetRssi(dev))); in LeScan()
Devent_packet.cc350 bool EventPacket::AddLeAdvertisingReport(uint8_t event_type, uint8_t addr_type, in AddLeAdvertisingReport() argument
361 CHECK(AddPayloadOctets1(addr_type)); in AddLeAdvertisingReport()
/system/bt/stack/test/
Dstack_smp_test.cc178 BTM_ReadConnectionAddr(p_cb_.pairing_bda, p_cb_.local_bda, &p_cb_.addr_type); in TEST_F()
194 BTM_ReadConnectionAddr(p_cb_.pairing_bda, p_cb_.local_bda, &p_cb_.addr_type); in TEST_F()
/system/bt/stack/smp/
Dsmp_utils.cc1361 tBLE_ADDR_TYPE addr_type = 0; in smp_collect_local_ble_address() local
1367 BTM_ReadConnectionAddr(p_cb->pairing_bda, bda, &addr_type); in smp_collect_local_ble_address()
1369 UINT8_TO_STREAM(p, addr_type); in smp_collect_local_ble_address()
1383 tBLE_ADDR_TYPE addr_type = 0; in smp_collect_peer_ble_address() local
1389 if (!BTM_ReadRemoteConnectionAddr(p_cb->pairing_bda, bda, &addr_type)) { in smp_collect_peer_ble_address()
1396 UINT8_TO_STREAM(p, addr_type); in smp_collect_peer_ble_address()
/system/bt/vendor_libs/test_vendor_lib/include/
Devent_packet.h148 bool AddLeAdvertisingReport(uint8_t event_type, uint8_t addr_type,
/system/bt/stack/hcic/
Dhciblecmds.cc260 void btsnd_hcic_ble_add_white_list(uint8_t addr_type, const RawAddress& bda) { in btsnd_hcic_ble_add_white_list() argument
270 UINT8_TO_STREAM(pp, addr_type); in btsnd_hcic_ble_add_white_list()
276 void btsnd_hcic_ble_remove_from_white_list(uint8_t addr_type, in btsnd_hcic_ble_remove_from_white_list() argument
287 UINT8_TO_STREAM(pp, addr_type); in btsnd_hcic_ble_remove_from_white_list()
/system/bt/bta/dm/
Dbta_dm_api.cc465 void BTA_DmAddBleDevice(const RawAddress& bd_addr, tBLE_ADDR_TYPE addr_type, in BTA_DmAddBleDevice() argument
468 addr_type, dev_type)); in BTA_DmAddBleDevice()

12