/system/bt/stack/btm/ |
D | btm_ble_batchscan.cc | 89 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 …]
|
D | btm_ble_gap.cc | 71 const std::vector<uint8_t>& Set(uint8_t addr_type, const RawAddress& addr, in Set() argument 73 auto it = Find(addr_type, addr); in Set() 83 items.emplace_front(addr_type, addr, std::move(data)); in Set() 88 const std::vector<uint8_t>& Append(uint8_t addr_type, const RawAddress& addr, in Append() argument 90 auto it = Find(addr_type, addr); in Append() 100 items.emplace_front(addr_type, addr, std::move(data)); in Append() 105 void Clear(uint8_t addr_type, const RawAddress& addr) { in Clear() argument 106 auto it = Find(addr_type, addr); in Clear() 114 uint8_t addr_type; member 118 Item(uint8_t addr_type, const RawAddress& addr, std::vector<uint8_t> data) in Item() [all …]
|
D | btm_ble_bgconn.cc | 50 uint8_t addr_type; member 67 static void background_connection_add(uint8_t addr_type, in background_connection_add() argument 72 BackgroundConnection{address, addr_type, false, 0, false}; in background_connection_add() 75 connection->addr_type = addr_type; in background_connection_add() 280 btsnd_hcic_ble_add_white_list(connection->addr_type, connection->address, in btm_execute_wl_dev_operation() 283 connection->addr_type_in_wl = connection->addr_type; in btm_execute_wl_dev_operation()
|
D | btm_ble_addr.cc | 265 uint8_t addr_type) { in btm_find_dev_by_identity_addr() argument 274 (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()
|
D | btm_ble_int.h | 64 tBLE_ADDR_TYPE addr_type, bool addr_matched);
|
/system/bt/btif/src/ |
D | btif_ble_scanner.cc | 73 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()
|
D | btif_storage.cc | 499 RawAddress bd_addr, const uint8_t addr_type, in btif_read_le_key() argument 512 BTA_DmAddBleDevice(bd_addr, addr_type, BT_DEVICE_TYPE_BLE); in btif_read_le_key() 1250 int addr_type; in btif_in_fetch_bonded_ble_device() local 1265 if (btif_storage_get_remote_addr_type(&bd_addr, &addr_type) != in btif_in_fetch_bonded_ble_device() 1267 addr_type = BLE_ADDR_PUBLIC; in btif_in_fetch_bonded_ble_device() 1272 addr_type, add, &device_added, &key_found); in btif_in_fetch_bonded_ble_device() 1275 addr_type, add, &device_added, &key_found); in btif_in_fetch_bonded_ble_device() 1278 addr_type, add, &device_added, &key_found); in btif_in_fetch_bonded_ble_device() 1281 addr_type, add, &device_added, &key_found); in btif_in_fetch_bonded_ble_device() 1284 addr_type, add, &device_added, &key_found); in btif_in_fetch_bonded_ble_device() [all …]
|
D | btif_gatt_server.cc | 284 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()
|
D | btif_gatt_client.cc | 257 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()
|
D | btif_dm.cc | 667 int addr_type; in btif_dm_cb_create_bond() local 674 if (btif_storage_get_remote_addr_type(&bd_addr, &addr_type) != in btif_dm_cb_create_bond() 681 addr_type = tmp_addr_type; in btif_dm_cb_create_bond() 683 btif_storage_set_remote_addr_type(&bd_addr, addr_type); in btif_dm_cb_create_bond() 687 (btif_storage_get_remote_addr_type(&bd_addr, &addr_type) == in btif_dm_cb_create_bond() 691 BTA_DmAddBleDevice(bd_addr, addr_type, device_type); in btif_dm_cb_create_bond() 1094 btif_storage_set_remote_addr_type(&bd_addr, p_auth_cmpl->addr_type); in btif_dm_auth_cmpl_evt() 1285 int addr_type = 0; in btif_dm_search_devices_evt() local 1327 addr_type = p_search_data->inq_res.ble_addr_type; in btif_dm_search_devices_evt() 1342 status = btif_storage_set_remote_addr_type(&bdaddr, addr_type); in btif_dm_search_devices_evt() [all …]
|
/system/bt/vendor_libs/test_vendor_lib/packets/hci/test/ |
D | event_builder_test.cc | 46 LeAdvertisement::AddressType addr_type = LeAdvertisement::AddressType::RANDOM; in TEST() local 52 le_adv->AddLeAdvertisingReport(adv_type, addr_type, addr, {payload}, rssi); in TEST() 81 LeAdvertisement::AddressType addr_type = LeAdvertisement::AddressType::RANDOM; in TEST() local 86 le_adv->AddLeAdvertisingReport(adv_type, addr_type, addr, count, rssi); in TEST()
|
/system/bt/include/hardware/ |
D | bt_common_types.h | 36 uint8_t addr_type; member 94 uint8_t addr_type; member
|
D | ble_scanner.h | 39 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/ |
D | btif_storage.h | 272 int* addr_type); 275 uint8_t addr_type);
|
/system/bt/stack/include/ |
D | btm_ble_api.h | 57 tBLE_ADDR_TYPE addr_type); 139 tBLE_ADDR_TYPE addr_type, base::Callback<void(uint8_t /* status */)> cb);
|
D | hcimsgs.h | 745 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/vendor_libs/test_vendor_lib/model/devices/ |
D | device_properties.h | 185 void SetLeAddressType(uint8_t addr_type) { in SetLeAddressType() argument 186 le_address_type_ = addr_type; in SetLeAddressType()
|
/system/bt/vendor_libs/test_vendor_lib/model/controller/ |
D | link_layer_controller.cc | 453 LeAdvertisement::AddressType addr_type = advertisement.GetAddressType(); in IncomingLeAdvertisementPacket() local 464 …if (!le_adverts->AddLeAdvertisingReport(adv_type, addr_type, incoming.GetSourceAddress(), ad, GetR… in IncomingLeAdvertisementPacket() 476 if (le_peer_address_ == addr && le_peer_address_type_ == addr_type && in IncomingLeAdvertisementPacket() 480 hci::Status::SUCCESS, handle, HCI_ROLE_MASTER, addr_type, addr, 1, in IncomingLeAdvertisementPacket() 496 if (LeWhiteListContainsDevice(addr, addr_type) && in IncomingLeAdvertisementPacket() 502 hci::Status::SUCCESS, handle, HCI_ROLE_MASTER, addr_type, addr, 1, in IncomingLeAdvertisementPacket() 1033 void LinkLayerController::LeWhiteListAddDevice(Address addr, uint8_t addr_type) { in LeWhiteListAddDevice() argument 1034 std::tuple<Address, uint8_t> new_tuple = std::make_tuple(addr, addr_type); in LeWhiteListAddDevice() 1043 void LinkLayerController::LeWhiteListRemoveDevice(Address addr, uint8_t addr_type) { in LeWhiteListRemoveDevice() argument 1046 std::tuple<Address, uint8_t> erase_tuple = std::make_tuple(addr, addr_type); in LeWhiteListRemoveDevice() [all …]
|
D | link_layer_controller.h | 108 void LeWhiteListAddDevice(Address addr, uint8_t addr_type); 109 void LeWhiteListRemoveDevice(Address addr, uint8_t addr_type); 110 bool LeWhiteListContainsDevice(Address addr, uint8_t addr_type);
|
/system/bt/stack/test/ |
D | stack_smp_test.cc | 165 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/vendor_libs/test_vendor_lib/packets/hci/ |
D | le_meta_event_builder.cc | 99 … LeAdvertisement::AddressType addr_type, const Address& addr, in AddLeAdvertisingReport() argument 108 CHECK(ad->AddOctets1(static_cast<uint8_t>(addr_type))); in AddLeAdvertisingReport()
|
D | le_meta_event_builder.h | 57 …tisingReport(LeAdvertisement::AdvertisementType event_type, LeAdvertisement::AddressType addr_type,
|
/system/bt/stack/smp/ |
D | smp_utils.cc | 1396 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/stack/hcic/ |
D | hciblecmds.cc | 254 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()
|
/system/bt/bta/dm/ |
D | bta_dm_api.cc | 463 void BTA_DmAddBleDevice(const RawAddress& bd_addr, tBLE_ADDR_TYPE addr_type, in BTA_DmAddBleDevice() argument 466 addr_type, dev_type)); in BTA_DmAddBleDevice()
|