Home
last modified time | relevance | path

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

12

/system/bt/stack/btm/
Dbtm_ble_batchscan.cc90 STREAM_TO_UINT8(adv_data.addr_type, p); in btm_ble_batchscan_filter_track_adv_vse_cback()
116 STREAM_TO_UINT8(adv_data.addr_type, p); in btm_ble_batchscan_filter_track_adv_vse_cback()
122 adv_data.filt_index, adv_data.addr_type, in btm_ble_batchscan_filter_track_adv_vse_cback()
127 adv_data.addr_type); in btm_ble_batchscan_filter_track_adv_vse_cback()
322 tBLE_ADDR_TYPE addr_type, in btm_ble_set_batchscan_param() argument
327 addr_type = btm_cb.ble_ctr_cb.addr_mgnt_cb.own_addr_type; in btm_ble_set_batchscan_param()
338 UINT8_TO_STREAM(p, addr_type); in btm_ble_set_batchscan_param()
416 tBLE_ADDR_TYPE addr_type, in BTM_BleEnableBatchScan() argument
420 scan_interval, scan_window, addr_type, discard_rule); in BTM_BleEnableBatchScan()
458 ble_batchscan_cb.addr_type = addr_type; in BTM_BleEnableBatchScan()
[all …]
Dbtm_ble_bgconn.cc51 uint8_t addr_type; member
68 static void background_connection_add(uint8_t addr_type, in background_connection_add() argument
73 BackgroundConnection{address, addr_type, false, 0, false}; in background_connection_add()
76 if (addr_type != connection->addr_type) { in background_connection_add()
81 connection->addr_type = addr_type; in background_connection_add()
285 btsnd_hcic_ble_add_white_list(connection->addr_type, connection->address, in btm_execute_wl_dev_operation()
288 connection->addr_type_in_wl = connection->addr_type; in btm_execute_wl_dev_operation()
Dbtm_ble_gap.cc75 const std::vector<uint8_t>& Set(uint8_t addr_type, const RawAddress& addr, in Set() argument
77 auto it = Find(addr_type, addr); in Set()
87 items.emplace_front(addr_type, addr, std::move(data)); in Set()
92 const std::vector<uint8_t>& Append(uint8_t addr_type, const RawAddress& addr, in Append() argument
94 auto it = Find(addr_type, addr); in Append()
104 items.emplace_front(addr_type, addr, std::move(data)); in Append()
109 void Clear(uint8_t addr_type, const RawAddress& addr) { in Clear() argument
110 auto it = Find(addr_type, addr); in Clear()
118 uint8_t addr_type; member
122 Item(uint8_t addr_type, const RawAddress& addr, std::vector<uint8_t> data) in Item()
[all …]
Dbtm_ble_addr.cc273 uint8_t addr_type) { in btm_find_dev_by_identity_addr() argument
282 (addr_type & (~BLE_ADDR_TYPE_ID_BIT))) in btm_find_dev_by_identity_addr()
285 __func__, p_dev_rec->ble.identity_addr_type, addr_type); in btm_find_dev_by_identity_addr()
/system/bt/btif/src/
Dbtif_ble_scanner.cc73 void btif_address_cache_add(const RawAddress& p_bda, uint8_t addr_type) { in btif_address_cache_add() 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_address_cache_add(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.cc495 RawAddress bd_addr, const uint8_t addr_type, in btif_read_le_key() argument
508 BTA_DmAddBleDevice(bd_addr, addr_type, BT_DEVICE_TYPE_BLE); in btif_read_le_key()
1249 int addr_type; in btif_in_fetch_bonded_ble_device() local
1264 if (btif_storage_get_remote_addr_type(&bd_addr, &addr_type) != in btif_in_fetch_bonded_ble_device()
1266 addr_type = BLE_ADDR_PUBLIC; in btif_in_fetch_bonded_ble_device()
1271 addr_type, add, &device_added, &key_found); in btif_in_fetch_bonded_ble_device()
1274 addr_type, add, &device_added, &key_found); in btif_in_fetch_bonded_ble_device()
1277 addr_type, add, &device_added, &key_found); in btif_in_fetch_bonded_ble_device()
1280 addr_type, add, &device_added, &key_found); in btif_in_fetch_bonded_ble_device()
1283 addr_type, add, &device_added, &key_found); in btif_in_fetch_bonded_ble_device()
[all …]
Dbtif_sock.cc223 int addr_type = 0; in btsock_connect() local
226 if (btif_get_address_type(*bd_addr, &addr_type) && in btsock_connect()
229 BTA_DmAddBleDevice(*bd_addr, addr_type, device_type); in btsock_connect()
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.cc257 int addr_type = 0; in btif_gattc_open_impl() local
261 if (btif_get_address_type(address, &addr_type) && in btif_gattc_open_impl()
264 BTA_DmAddBleDevice(address, addr_type, device_type); in btif_gattc_open_impl()
273 (addr_type == BLE_ADDR_RANDOM) && BTM_BLE_IS_RESOLVE_BDA(address)) { in btif_gattc_open_impl()
Dbtif_dm.cc678 int addr_type; in btif_dm_cb_create_bond() local
685 if (btif_storage_get_remote_addr_type(&bd_addr, &addr_type) != in btif_dm_cb_create_bond()
692 addr_type = tmp_addr_type; in btif_dm_cb_create_bond()
694 btif_storage_set_remote_addr_type(&bd_addr, addr_type); in btif_dm_cb_create_bond()
698 (btif_storage_get_remote_addr_type(&bd_addr, &addr_type) == in btif_dm_cb_create_bond()
702 BTA_DmAddBleDevice(bd_addr, addr_type, device_type); in btif_dm_cb_create_bond()
711 BTA_DmBond(bd_addr, addr_type, transport); in btif_dm_cb_create_bond()
1105 btif_storage_set_remote_addr_type(&bd_addr, p_auth_cmpl->addr_type); in btif_dm_auth_cmpl_evt()
1304 int addr_type = 0; in btif_dm_search_devices_evt() local
1346 addr_type = p_search_data->inq_res.ble_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.h272 int* addr_type);
275 uint8_t addr_type);
/system/bt/vendor_libs/test_vendor_lib/model/controller/
Dlink_layer_controller.h140 void LeWhiteListAddDevice(Address addr, uint8_t addr_type);
141 void LeWhiteListRemoveDevice(Address addr, uint8_t addr_type);
142 bool LeWhiteListContainsDevice(Address addr, uint8_t addr_type);
145 void LeResolvingListAddDevice(Address addr, uint8_t addr_type,
148 void LeResolvingListRemoveDevice(Address addr, uint8_t addr_type);
149 bool LeResolvingListContainsDevice(Address addr, uint8_t addr_type);
Dlink_layer_controller.cc1654 uint8_t addr_type) { in LeWhiteListAddDevice() argument
1655 std::tuple<Address, uint8_t> new_tuple = std::make_tuple(addr, addr_type); in LeWhiteListAddDevice()
1665 Address addr, uint8_t addr_type, std::array<uint8_t, kIrk_size> peerIrk, in LeResolvingListAddDevice() argument
1669 new_tuple = std::make_tuple(addr, addr_type, peerIrk, localIrk); in LeResolvingListAddDevice()
1672 if (std::get<0>(curr) == addr && std::get<1>(curr) == addr_type) { in LeResolvingListAddDevice()
1689 uint8_t addr_type) { in LeWhiteListRemoveDevice() argument
1692 std::tuple<Address, uint8_t> erase_tuple = std::make_tuple(addr, addr_type); in LeWhiteListRemoveDevice()
1701 uint8_t addr_type) { in LeResolvingListRemoveDevice() argument
1706 if (std::get<0>(curr) == addr && std::get<1>(curr) == addr_type) { in LeResolvingListRemoveDevice()
1713 uint8_t addr_type) { in LeWhiteListContainsDevice() argument
[all …]
/system/bt/stack/include/
Dbtm_ble_api.h57 tBLE_ADDR_TYPE addr_type);
139 tBLE_ADDR_TYPE addr_type, base::Callback<void(uint8_t /* status */)> cb);
Dhcimsgs.h745 uint16_t scan_win, uint8_t addr_type,
765 uint8_t addr_type, const RawAddress& bda,
769 uint8_t addr_type, const RawAddress& bda,
/system/bt/bta/dm/
Dbta_dm_api.cc213 void BTA_DmBond(const RawAddress& bd_addr, tBLE_ADDR_TYPE addr_type, in BTA_DmBond() argument
216 base::Bind(bta_dm_bond, bd_addr, addr_type, transport)); in BTA_DmBond()
458 void BTA_DmAddBleDevice(const RawAddress& bd_addr, tBLE_ADDR_TYPE addr_type, in BTA_DmAddBleDevice() argument
461 addr_type, dev_type)); in BTA_DmAddBleDevice()
/system/bt/stack/test/
Dstack_smp_test.cc165 BTM_ReadConnectionAddr(p_cb_.pairing_bda, p_cb_.local_bda, &p_cb_.addr_type); in TEST_F()
180 BTM_ReadConnectionAddr(p_cb_.pairing_bda, p_cb_.local_bda, &p_cb_.addr_type); in TEST_F()
/system/bt/main/shim/
Dbtm_api.h483 tBT_DEVICE_TYPE dev_type, tBLE_ADDR_TYPE addr_type);
1814 tBTM_STATUS BTM_SecBond(const RawAddress& bd_addr, tBLE_ADDR_TYPE addr_type,
2167 tBLE_ADDR_TYPE addr_type,
2355 tBTM_STATUS BTM_SecBond(const RawAddress& bd_addr, tBLE_ADDR_TYPE addr_type,
/system/bt/vendor_libs/test_vendor_lib/model/devices/
Ddevice_properties.h194 void SetLeAddressType(uint8_t addr_type) { in SetLeAddressType() argument
195 le_address_type_ = addr_type; in SetLeAddressType()
/system/bt/gd/security/
Dsmp_packets.pdl111 addr_type : AddrType,
/system/bt/stack/smp/
Dsmp_utils.cc1396 tBLE_ADDR_TYPE addr_type = 0; in smp_collect_local_ble_address() local
1402 BTM_ReadConnectionAddr(p_cb->pairing_bda, bda, &addr_type); in smp_collect_local_ble_address()
1404 UINT8_TO_STREAM(p, addr_type); in smp_collect_local_ble_address()
1418 tBLE_ADDR_TYPE addr_type = 0; in smp_collect_peer_ble_address() local
1424 if (!BTM_ReadRemoteConnectionAddr(p_cb->pairing_bda, bda, &addr_type)) { in smp_collect_peer_ble_address()
1431 UINT8_TO_STREAM(p, addr_type); in smp_collect_peer_ble_address()
/system/bt/bta/include/
Dbta_api.h511 tBLE_ADDR_TYPE addr_type; /* Peer device address type */ member
1200 extern void BTA_DmBond(const RawAddress& bd_addr, tBLE_ADDR_TYPE addr_type,
1413 tBLE_ADDR_TYPE addr_type,
/system/bt/stack/hcic/
Dhciblecmds.cc254 uint8_t addr_type, const RawAddress& bda, in btsnd_hcic_ble_add_white_list() argument
259 UINT8_TO_STREAM(pp, addr_type); in btsnd_hcic_ble_add_white_list()
267 uint8_t addr_type, const RawAddress& bda, in btsnd_hcic_ble_remove_from_white_list() argument
272 UINT8_TO_STREAM(pp, addr_type); in btsnd_hcic_ble_remove_from_white_list()

12