Home
last modified time | relevance | path

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

123

/system/bt/stack/btm/
Dbtm_ble_batchscan.cc93 STREAM_TO_UINT8(adv_data.addr_type, p); in btm_ble_batchscan_filter_track_adv_vse_cback()
120 STREAM_TO_UINT8(adv_data.addr_type, p); in btm_ble_batchscan_filter_track_adv_vse_cback()
126 adv_data.filt_index, adv_data.addr_type, in btm_ble_batchscan_filter_track_adv_vse_cback()
131 adv_data.addr_type); in btm_ble_batchscan_filter_track_adv_vse_cback()
331 tBLE_ADDR_TYPE addr_type, in btm_ble_set_batchscan_param() argument
336 addr_type = btm_cb.ble_ctr_cb.addr_mgnt_cb.own_addr_type; in btm_ble_set_batchscan_param()
347 UINT8_TO_STREAM(p, addr_type); in btm_ble_set_batchscan_param()
425 tBLE_ADDR_TYPE addr_type, in BTM_BleEnableBatchScan() argument
429 scan_interval, scan_window, addr_type, discard_rule); in BTM_BleEnableBatchScan()
467 ble_batchscan_cb.addr_type = addr_type; in BTM_BleEnableBatchScan()
[all …]
Dbtm_ble_gap.cc82 const std::vector<uint8_t>& Set(uint8_t addr_type, const RawAddress& addr, in Set() argument
84 auto it = Find(addr_type, addr); in Set()
94 items.emplace_front(addr_type, addr, std::move(data)); in Set()
98 bool Exist(uint8_t addr_type, const RawAddress& addr) { in Exist() argument
99 auto it = Find(addr_type, addr); in Exist()
107 const std::vector<uint8_t>& Append(uint8_t addr_type, const RawAddress& addr, in Append() argument
109 auto it = Find(addr_type, addr); in Append()
119 items.emplace_front(addr_type, addr, std::move(data)); in Append()
124 void Clear(uint8_t addr_type, const RawAddress& addr) { in Clear() argument
125 auto it = Find(addr_type, addr); in Clear()
[all …]
Dbtm_ble_bgconn.cc64 uint8_t addr_type; member
142 static void background_connection_add(uint8_t addr_type, in background_connection_add() argument
147 BackgroundConnection{address, addr_type, false, 0, false}; in background_connection_add()
150 if (addr_type != connection->addr_type) { in background_connection_add()
155 connection->addr_type = addr_type; in background_connection_add()
310 connection->addr_type, connection->address, in btm_execute_wl_dev_operation()
313 connection->addr_type_in_wl = connection->addr_type; in btm_execute_wl_dev_operation()
Dbtm_ble_addr.cc225 const RawAddress& bd_addr, uint8_t addr_type) { in btm_find_dev_by_identity_addr() argument
233 (~BLE_ADDR_TYPE_ID_BIT)) != (addr_type & (~BLE_ADDR_TYPE_ID_BIT))) in btm_find_dev_by_identity_addr()
237 addr_type); in btm_find_dev_by_identity_addr()
/system/bt/btif/src/
Dbtif_ble_scanner.cc75 void btif_address_cache_add(const RawAddress& p_bda, uint8_t addr_type) { in btif_address_cache_add() argument
107 int8_t rssi, tBLE_ADDR_TYPE addr_type, in bta_scan_results_cb_impl() argument
125 if ((addr_type != BLE_ADDR_RANDOM) || (p_eir_remote_name)) { in bta_scan_results_cb_impl()
127 btif_address_cache_add(bd_addr, addr_type); in bta_scan_results_cb_impl()
155 btif_storage_set_remote_addr_type(&bd_addr, addr_type); in bta_scan_results_cb_impl()
156 HAL_CBACK(bt_gatt_callbacks, scanner->scan_result_cb, ble_evt_type, addr_type, in bta_scan_results_cb_impl()
313 int addr_type, int discard_rule, Callback cb) override { in BatchscanEnable() argument
317 static_cast<tBLE_ADDR_TYPE>(addr_type), in BatchscanEnable()
Dbtif_sock.cc219 tBLE_ADDR_TYPE addr_type = BLE_ADDR_PUBLIC; in btsock_connect() local
222 if (btif_get_address_type(*bd_addr, &addr_type) && in btsock_connect()
225 BTA_DmAddBleDevice(*bd_addr, addr_type, device_type); in btsock_connect()
Dbtif_storage.cc487 RawAddress bd_addr, const tBLE_ADDR_TYPE addr_type, in btif_read_le_key() argument
500 BTA_DmAddBleDevice(bd_addr, addr_type, BT_DEVICE_TYPE_BLE); in btif_read_le_key()
1244 tBLE_ADDR_TYPE addr_type; in btif_in_fetch_bonded_ble_device() local
1259 if (btif_storage_get_remote_addr_type(&bd_addr, &addr_type) != in btif_in_fetch_bonded_ble_device()
1261 addr_type = BLE_ADDR_PUBLIC; in btif_in_fetch_bonded_ble_device()
1266 addr_type, add, &device_added, &key_found); in btif_in_fetch_bonded_ble_device()
1269 addr_type, add, &device_added, &key_found); 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()
[all …]
Dbtif_gatt_server.cc286 tBLE_ADDR_TYPE addr_type = BLE_ADDR_PUBLIC; in btif_gatts_open_impl() local
290 if (btif_get_address_type(address, &addr_type) && in btif_gatts_open_impl()
293 BTA_DmAddBleDevice(address, addr_type, device_type); in btif_gatts_open_impl()
Dbtif_gatt_client.cc293 tBLE_ADDR_TYPE addr_type = BLE_ADDR_PUBLIC; in btif_gattc_open_impl() local
297 if (btif_get_address_type(address, &addr_type) && in btif_gattc_open_impl()
300 BTA_DmAddBleDevice(address, addr_type, device_type); in btif_gattc_open_impl()
309 (addr_type == BLE_ADDR_RANDOM) && BTM_BLE_IS_RESOLVE_BDA(address)) { in btif_gattc_open_impl()
/system/bt/test/mock/
Dmock_stack_btm_ble_gap.cc146 void btm_ble_process_adv_addr(RawAddress& bda, uint8_t* addr_type) { in btm_ble_process_adv_addr() argument
152 void btm_ble_process_adv_pkt_cont(uint16_t evt_type, uint8_t addr_type, in btm_ble_process_adv_pkt_cont() argument
161 uint16_t evt_type, uint8_t addr_type, const RawAddress& bda, in btm_ble_process_adv_pkt_cont_for_inquiry() argument
191 void btm_ble_update_inq_result(tINQ_DB_ENT* p_i, uint8_t addr_type, in btm_ble_update_inq_result() argument
Dmock_bta_dm_api.cc57 void BTA_DmAddBleDevice(const RawAddress& bd_addr, tBLE_ADDR_TYPE addr_type, in BTA_DmAddBleDevice() argument
96 void BTA_DmBond(const RawAddress& bd_addr, tBLE_ADDR_TYPE addr_type, in BTA_DmBond() argument
Dmock_stack_btm_ble_batchscan.cc50 tBLE_ADDR_TYPE addr_type, in BTM_BleEnableBatchScan() argument
Dmock_btif_storage.cc110 tBLE_ADDR_TYPE* addr_type) { in btif_storage_get_remote_addr_type() argument
162 tBLE_ADDR_TYPE addr_type) { in btif_storage_set_remote_addr_type() argument
Dmock_stack_btm_ble.cc193 tBLE_ADDR_TYPE addr_type) { in BTM_SecAddBleDevice() argument
204 uint8_t role, tBLE_ADDR_TYPE addr_type, in btm_ble_connected() argument
/system/bt/include/hardware/
Dbt_common_types.h36 uint8_t addr_type; member
96 uint8_t addr_type; member
Dble_scanner.h41 typedef void (*scan_result_callback)(uint16_t event_type, uint8_t addr_type,
81 virtual void OnScanResult(uint16_t event_type, uint8_t addr_type,
153 int scan_window, int addr_type, int discard_rule,
/system/bt/bta/dm/
Dbta_dm_api.cc154 void BTA_DmBond(const RawAddress& bd_addr, tBLE_ADDR_TYPE addr_type, in BTA_DmBond() argument
156 do_in_main_thread(FROM_HERE, base::Bind(bta_dm_bond, bd_addr, addr_type, in BTA_DmBond()
428 void BTA_DmAddBleDevice(const RawAddress& bd_addr, tBLE_ADDR_TYPE addr_type, in BTA_DmAddBleDevice() argument
431 addr_type, dev_type)); in BTA_DmAddBleDevice()
/system/bt/btif/include/
Dbtif_storage.h298 tBLE_ADDR_TYPE* addr_type);
301 tBLE_ADDR_TYPE addr_type);
/system/bt/main/shim/
Dle_scanning_manager.cc184 int scan_window, int addr_type, int discard_rule, in BatchscanEnable() argument
346 apcf_command.addr_type); in parse_filter_command()
404 void handle_remote_properties(RawAddress bd_addr, tBLE_ADDR_TYPE addr_type, in handle_remote_properties() argument
407 if (addr_type == BLE_ADDR_ANONYMOUS) { in handle_remote_properties()
431 if ((addr_type != BLE_ADDR_RANDOM) || (p_eir_remote_name)) { in handle_remote_properties()
472 le_device.SetAddressType((bluetooth::hci::AddressType)addr_type)); in handle_remote_properties()
/system/bt/stack/include/
Dbtm_ble_api.h59 tBLE_ADDR_TYPE addr_type);
141 tBLE_ADDR_TYPE addr_type, base::Callback<void(uint8_t /* status */)> cb);
Dbtm_client_interface.h129 tBLE_ADDR_TYPE addr_type,
138 tBLE_ADDR_TYPE addr_type);
/system/bt/vendor_libs/test_vendor_lib/model/controller/
Dlink_layer_controller.h170 ErrorCode LeConnectListAddDevice(Address addr, uint8_t addr_type);
171 ErrorCode LeConnectListRemoveDevice(Address addr, uint8_t addr_type);
172 bool LeConnectListContainsDevice(Address addr, uint8_t addr_type);
176 ErrorCode LeResolvingListAddDevice(Address addr, uint8_t addr_type,
179 ErrorCode LeResolvingListRemoveDevice(Address addr, uint8_t addr_type);
180 bool LeResolvingListContainsDevice(Address addr, uint8_t addr_type);
/system/bt/stack/test/
Dstack_smp_test.cc166 BTM_ReadConnectionAddr(p_cb_.pairing_bda, p_cb_.local_bda, &p_cb_.addr_type); in TEST_F()
181 BTM_ReadConnectionAddr(p_cb_.pairing_bda, p_cb_.local_bda, &p_cb_.addr_type); in TEST_F()
/system/bt/bta/include/
Dbta_api.h299 tBLE_ADDR_TYPE addr_type; /* Peer device address type */ member
765 extern void BTA_DmBond(const RawAddress& bd_addr, tBLE_ADDR_TYPE addr_type,
1004 tBLE_ADDR_TYPE addr_type,
/system/bt/stack/test/common/
Dmock_bta_dm_act.cc53 void bta_dm_bond(const RawAddress& bd_addr, tBLE_ADDR_TYPE addr_type, in bta_dm_bond() argument

123