/system/bt/btif/include/ |
H A D | btif_profile_queue.h | 32 typedef bt_status_t (*btif_connect_cb_t)(RawAddress* bda, uint16_t uuid); 34 bt_status_t btif_queue_connect(uint16_t uuid, const RawAddress* bda,
|
H A D | btif_debug_conn.h | 31 void btif_debug_conn_state(const RawAddress& bda,
|
/system/bt/btif/co/ |
H A D | bta_gatts_co.cc | 63 void btif_gatts_add_bonded_dev_from_nv(const RawAddress& bda) { argument 71 if (p_cb->srv_chg[i].bda == bda) { 79 p_cb->srv_chg[p_cb->num_clients].bda = bda;
|
/system/bt/service/ |
H A D | low_energy_client.cc | 56 RawAddress bda; local 57 RawAddress::FromString(address, bda); 61 client_id_, bda, is_direct, BT_TRANSPORT_LE, false, PHY_LE_1M_MASK); 73 RawAddress bda; local 74 RawAddress::FromString(address, bda); 79 conn_id = connection_ids_.find(bda); 88 client_id_, bda, conn_id->second); 100 RawAddress bda; local 101 RawAddress::FromString(address, bda); 106 conn_id = connection_ids_.find(bda); 135 ConnectCallback(hal::BluetoothGattInterface* gatt_iface, int conn_id, int status, int client_id, const RawAddress& bda) argument 155 DisconnectCallback( hal::BluetoothGattInterface* gatt_iface, int conn_id, int status, int client_id, const RawAddress& bda) argument 178 const RawAddress* bda = nullptr; local [all...] |
H A D | gatt_server.cc | 238 int connected, const RawAddress& bda) { 243 std::string device_address = BtAddrString(&bda); 278 std::shared_ptr<Connection> connection(new Connection(conn_id, bda)); 330 const RawAddress& bda, int attribute_handle, int offset, bool is_long) { 335 auto conn = GetConnection(conn_id, bda, trans_id); 338 std::string device_address = BtAddrString(&bda); 363 const RawAddress& bda, int attribute_handle, int offset, bool is_long) { 368 auto conn = GetConnection(conn_id, bda, trans_id); 371 std::string device_address = BtAddrString(&bda); 397 const RawAddress& bda, in 236 ConnectionCallback( hal::BluetoothGattInterface* , int conn_id, int server_id, int connected, const RawAddress& bda) argument 328 RequestReadCharacteristicCallback( hal::BluetoothGattInterface* , int conn_id, int trans_id, const RawAddress& bda, int attribute_handle, int offset, bool is_long) argument 361 RequestReadDescriptorCallback( hal::BluetoothGattInterface* , int conn_id, int trans_id, const RawAddress& bda, int attribute_handle, int offset, bool is_long) argument 395 RequestWriteCharacteristicCallback( hal::BluetoothGattInterface* , int conn_id, int trans_id, const RawAddress& bda, int attr_handle, int offset, bool need_rsp, bool is_prep, std::vector<uint8_t> value) argument 434 RequestWriteDescriptorCallback( hal::BluetoothGattInterface* , int conn_id, int trans_id, const RawAddress& bda, int attr_handle, int offset, bool need_rsp, bool is_prep, std::vector<uint8_t> value) argument 473 RequestExecWriteCallback( hal::BluetoothGattInterface* , int conn_id, int trans_id, const RawAddress& bda, int exec_write) argument 534 GetConnection( int conn_id, const RawAddress& bda, int request_id) argument [all...] |
H A D | gatt_server.h | 197 const RawAddress& bda) override; 206 const RawAddress& bda, int attribute_handle, int offset, 210 const RawAddress& bda, 215 const RawAddress& bda, int attr_handle, int offset, bool need_rsp, 219 const RawAddress& bda, int attr_handle, 224 const RawAddress& bda, int exec_write) override; 236 std::shared_ptr<Connection> GetConnection(int conn_id, const RawAddress& bda,
|
H A D | gatt_server_old.cc | 207 void RequestReadCallback(int conn_id, int trans_id, const RawAddress& bda, argument 227 std::string addr(BtAddrString(&bda)); 250 void RequestWriteCallback(int conn_id, int trans_id, const RawAddress& bda, argument 253 std::string addr(BtAddrString(&bda)); 306 void RequestExecWriteCallback(int conn_id, int trans_id, const RawAddress& bda, argument 308 std::string addr(BtAddrString(&bda)); 331 const RawAddress& bda) { 332 std::string addr(BtAddrString(&bda)); 375 RawAddress* bda, uint8_t ble_primary_phy, 380 std::string addr(BtAddrString(bda)); 330 ConnectionCallback(int conn_id, int server_if, int connected, const RawAddress& bda) argument 374 ScanResultCallback(uint16_t ble_evt_type, uint8_t addr_type, RawAddress* bda, uint8_t ble_primary_phy, uint8_t ble_secondary_phy, uint8_t ble_advertising_sid, int8_t ble_tx_power, int8_t rssi, uint16_t ble_periodic_adv_int, std::vector<uint8_t> adv_data) argument 385 ClientConnectCallback(int conn_id, int status, int client_if, const RawAddress& bda) argument 392 ClientDisconnectCallback(int conn_id, int status, int client_if, const RawAddress& bda) argument [all...] |
/system/bt/stack/srvc/ |
H A D | srvc_eng_int.h | 40 RawAddress bda; member in struct:__anon1274 60 extern tSRVC_CLCB* srvc_eng_find_clcb_by_bd_addr(const RawAddress& bda); 61 extern uint16_t srvc_eng_find_conn_id_by_bd_addr(const RawAddress& bda);
|
H A D | srvc_eng.cc | 33 const RawAddress& bda, uint16_t conn_id, 69 uint16_t srvc_eng_find_conn_id_by_bd_addr(const RawAddress& bda) { argument 75 if (p_clcb->in_use && p_clcb->connected && p_clcb->bda == bda) { 92 tSRVC_CLCB* srvc_eng_find_clcb_by_bd_addr(const RawAddress& bda) { argument 98 if (p_clcb->in_use && p_clcb->connected && p_clcb->bda == bda) { 159 tSRVC_CLCB* srvc_eng_clcb_alloc(uint16_t conn_id, const RawAddress& bda) { argument 169 p_clcb->bda = bda; 336 srvc_eng_connect_cback(UNUSED_ATTR tGATT_IF gatt_if, const RawAddress& bda, uint16_t conn_id, bool connected, tGATT_DISCONN_REASON reason, UNUSED_ATTR tBT_TRANSPORT transport) argument [all...] |
/system/bt/btif/src/ |
H A D | btif_profile_queue.cc | 51 RawAddress bda; member in struct:__anon640 85 __func__, p_param->uuid, p_param->bda.ToString().c_str(), 93 __func__, p_param->uuid, p_param->bda.ToString().c_str(), p_param->busy); 104 __func__, p_head->uuid, p_head->bda.ToString().c_str(), 129 connection_request->bda.ToString().c_str(), 165 bt_status_t btif_queue_connect(uint16_t uuid, const RawAddress* bda, argument 169 node.bda = *bda; 215 __func__, p_head->uuid, p_head->bda.ToString().c_str(), 222 return p_head->connect_cb(&p_head->bda, p_hea [all...] |
H A D | btif_debug_conn.cc | 32 RawAddress bda; member in struct:conn_event_t 66 void btif_debug_conn_state(const RawAddress& bda, argument 75 evt->bda = bda; 90 format_state(evt->state), evt->bda.ToString().c_str());
|
H A D | btif_hd.cc | 179 RawAddress* addr = (RawAddress*)&p_data->reg_status.bda; 202 RawAddress* addr = (RawAddress*)&p_data->conn.bda; 215 btif_storage_set_hidd((RawAddress*)&p_data->conn.bda); 218 (RawAddress*)&p_data->conn.bda, BTHD_CONN_STATE_CONNECTED); 223 RawAddress* addr = (RawAddress*)&p_data->conn.bda; 230 (RawAddress*)&p_data->conn.bda, BTHD_CONN_STATE_DISCONNECTED); 255 (RawAddress*)&p_data->conn.bda, BTHD_CONN_STATE_DISCONNECTED); 256 if (bta_dm_check_if_only_hd_connected(p_data->conn.bda)) { 259 BTA_DmRemoveDevice(p_data->conn.bda); 261 RawAddress* bd_addr = (RawAddress*)&p_data->conn.bda; [all...] |
/system/bt/service/hal/ |
H A D | bluetooth_gatt_interface.h | 56 BluetoothGattInterface* gatt_iface, const RawAddress& bda, int rssi, 74 const RawAddress& bda); 78 const RawAddress& bda); 127 const RawAddress& bda); 143 const RawAddress& bda, int attr_handle, int offset, bool is_long); 147 const RawAddress& bda, int attr_handle, int offset, bool is_long); 151 const RawAddress& bda, int attr_handle, int offset, bool need_rsp, 157 const RawAddress& bda, int attr_handle, int offset, bool need_rsp, 163 const RawAddress& bda,
|
H A D | fake_bluetooth_gatt_interface.h | 81 void NotifyScanResultCallback(const RawAddress& bda, int rssi, 88 const RawAddress& bda); 90 const RawAddress& bda); 96 const RawAddress& bda); 107 const RawAddress& bda, 111 const RawAddress& bda, 115 const RawAddress& bda, 120 const RawAddress& bda, 125 const RawAddress& bda, int exec_write);
|
H A D | fake_bluetooth_gatt_interface.cc | 180 const RawAddress& bda, int rssi, std::vector<uint8_t> adv_data) { 182 ScanResultCallback(this, bda, rssi, adv_data)); 193 const RawAddress& bda) { 195 ConnectCallback(this, conn_id, status, client_if, bda)); 199 int conn_id, int status, int client_if, const RawAddress& bda) { 201 DisconnectCallback(this, conn_id, status, client_if, bda)); 211 int conn_id, int server_if, int connected, const RawAddress& bda) { 214 ConnectionCallback(this, conn_id, server_if, connected, bda)); 224 int conn_id, int trans_id, const RawAddress& bda, int attr_handle, 228 RequestReadCharacteristicCallback(this, conn_id, trans_id, bda, 179 NotifyScanResultCallback( const RawAddress& bda, int rssi, std::vector<uint8_t> adv_data) argument 191 NotifyConnectCallback(int conn_id, int status, int client_if, const RawAddress& bda) argument 198 NotifyDisconnectCallback( int conn_id, int status, int client_if, const RawAddress& bda) argument 210 NotifyServerConnectionCallback( int conn_id, int server_if, int connected, const RawAddress& bda) argument 223 NotifyRequestReadCharacteristicCallback( int conn_id, int trans_id, const RawAddress& bda, int attr_handle, int offset, bool is_long) argument 232 NotifyRequestReadDescriptorCallback( int conn_id, int trans_id, const RawAddress& bda, int attr_handle, int offset, bool is_long) argument 241 NotifyRequestWriteCharacteristicCallback( int conn_id, int trans_id, const RawAddress& bda, int attr_handle, int offset, bool need_rsp, bool is_prep, std::vector<uint8_t> value) argument 250 NotifyRequestWriteDescriptorCallback( int conn_id, int trans_id, const RawAddress& bda, int attr_handle, int offset, bool need_rsp, bool is_prep, std::vector<uint8_t> value) argument 259 NotifyRequestExecWriteCallback( int conn_id, int trans_id, const RawAddress& bda, int exec_write) argument [all...] |
H A D | bluetooth_gatt_interface.cc | 92 uint16_t ble_evt_type, uint8_t addr_type, RawAddress* bda, 99 CHECK(bda); 101 VLOG(2) << __func__ << " - BD_ADDR: " << BtAddrString(bda) 104 ScanResultCallback(g_interface, *bda, rssi, adv_data)); 108 const RawAddress& bda) { 113 << " - BD_ADDR: " << BtAddrString(&bda) << " - conn_id: " << conn_id; 116 ConnectCallback(g_interface, conn_id, status, client_if, bda)); 120 const RawAddress& bda) { 126 << " - BD_ADDR: " << BtAddrString(&bda); 128 DisconnectCallback(g_interface, conn_id, status, client_if, bda)); 91 ScanResultCallback( uint16_t ble_evt_type, uint8_t addr_type, RawAddress* bda, uint8_t ble_primary_phy, uint8_t ble_secondary_phy, uint8_t ble_advertising_sid, int8_t ble_tx_power, int8_t rssi, uint16_t ble_periodic_adv_int, std::vector<uint8_t> adv_data) argument 107 ConnectCallback(int conn_id, int status, int client_if, const RawAddress& bda) argument 119 DisconnectCallback(int conn_id, int status, int client_if, const RawAddress& bda) argument 234 ConnectionCallback(int conn_id, int server_if, int connected, const RawAddress& bda) argument 278 RequestReadCharacteristicCallback(int conn_id, int trans_id, const RawAddress& bda, int attr_handle, int offset, bool is_long) argument 291 RequestReadDescriptorCallback(int conn_id, int trans_id, const RawAddress& bda, int attr_handle, int offset, bool is_long) argument 304 RequestWriteCharacteristicCallback(int conn_id, int trans_id, const RawAddress& bda, int attr_handle, int offset, bool need_rsp, bool is_prep, std::vector<uint8_t> value) argument 320 RequestWriteDescriptorCallback( int conn_id, int trans_id, const RawAddress& bda, int attr_handle, int offset, bool need_rsp, bool is_prep, std::vector<uint8_t> value) argument 336 RequestExecWriteCallback(int conn_id, int trans_id, const RawAddress& bda, int exec_write) argument [all...] |
/system/bt/stack/btm/ |
H A D | btm_int.h | 58 extern void btm_process_remote_name(const RawAddress* bda, BD_NAME name, 79 extern void btm_acl_created(const RawAddress& bda, DEV_CLASS dc, BD_NAME bdn, 82 extern void btm_acl_removed(const RawAddress& bda, tBT_TRANSPORT transport); 130 extern tACL_CONN* btm_bda_to_acl(const RawAddress& bda, 132 extern bool btm_acl_notif_conn_collision(const RawAddress& bda); 158 extern void btm_sco_connected(uint8_t hci_status, const RawAddress* bda, 163 extern void btm_sco_conn_req(const RawAddress& bda, DEV_CLASS dev_class, 166 extern void btm_sco_acl_removed(const RawAddress* bda); 169 extern void btm_remove_sco_links(const RawAddress& bda); 232 extern void btm_sec_conn_req(const RawAddress& bda, uint8_ [all...] |
H A D | btm_ble_gap.cc | 148 uint16_t evt_type, uint8_t addr_type, const RawAddress& bda, 820 if ((p_dev_rec = btm_find_or_alloc_dev(p_cb->direct_bda.bda)) != NULL && 836 p_peer_addr_ptr = p_cb->direct_bda.bda; 915 p_cb->direct_bda.bda = p_dir_bda; 1435 void btm_ble_read_remote_name_cmpl(bool status, const RawAddress& bda, argument 1450 btm_process_remote_name(&bda, bd_name, length + 1, hci_status); 1451 btm_sec_rmt_name_request_complete(&bda, (uint8_t*)p_name, hci_status); 1565 uint8_t btm_ble_is_discoverable(const RawAddress& bda, argument 1577 bda != p_cond->filter_cond.bdaddr_cond) { 1733 const RawAddress& bda, uint16_ 1732 btm_ble_update_inq_result(tINQ_DB_ENT* p_i, uint8_t addr_type, const RawAddress& bda, uint16_t evt_type, uint8_t primary_phy, uint8_t secondary_phy, uint8_t advertising_sid, int8_t tx_power, int8_t rssi, uint16_t periodic_adv_int, std::vector<uint8_t> const& data) argument 1844 btm_ble_process_adv_addr(RawAddress& bda, uint8_t addr_type) argument 1849 VLOG(1) << __func__ << ": bda=" << bda; local 1874 RawAddress bda, direct_address; local 1931 RawAddress bda; local 1999 btm_ble_process_adv_pkt_cont( uint16_t evt_type, uint8_t addr_type, const RawAddress& bda, uint8_t primary_phy, uint8_t secondary_phy, uint8_t advertising_sid, int8_t tx_power, int8_t rssi, uint16_t periodic_adv_int, uint8_t data_len, uint8_t* data) argument [all...] |
/system/bt/stack/btu/ |
H A D | btu_hcif.cc | 576 RawAddress bda; local 585 STREAM_TO_BDADDR(bda, p); 592 btm_sec_connected(bda, handle, status, enc_mode); 594 l2c_link_hci_conn_comp(status, handle, bda); 600 esco_data.bd_addr = bda; 601 btm_sco_connected(status, &bda, handle, &esco_data); 616 RawAddress bda; local 620 STREAM_TO_BDADDR(bda, p); 627 btm_sec_conn_req(bda, dc); 631 btm_sco_conn_req(bda, d 819 RawAddress bda; local 1241 RawAddress bda; local 1325 RawAddress bda; local 1346 RawAddress bda; local 1362 RawAddress bda; local 1513 RawAddress bda; local [all...] |
/system/bt/stack/include/ |
H A D | smp_api.h | 224 extern bool smp_proc_ltk_request(const RawAddress& bda); 228 extern void smp_link_encrypted(const RawAddress& bda, uint8_t encr_enable);
|
/system/bt/stack/gatt/ |
H A D | gatt_attr.cc | 50 const RawAddress& bda, uint16_t conn_id, 121 const RawAddress& bda, tBT_TRANSPORT transport) { 128 p_clcb->bda == bda) 147 const RawAddress& bda, 159 p_clcb->bda = bda; 240 const RawAddress& bda, uint16_t conn_id, 243 VLOG(1) << __func__ << ": from " << bda 248 gatt_profile_find_clcb_by_bd_addr(bda, transpor 120 gatt_profile_find_clcb_by_bd_addr( const RawAddress& bda, tBT_TRANSPORT transport) argument 146 gatt_profile_clcb_alloc(uint16_t conn_id, const RawAddress& bda, tBT_TRANSPORT tranport) argument 239 gatt_connect_cback(UNUSED_ATTR tGATT_IF gatt_if, const RawAddress& bda, uint16_t conn_id, bool connected, tGATT_DISCONN_REASON reason, tBT_TRANSPORT transport) argument [all...] |
/system/bt/stack/gap/ |
H A D | gap_ble.cc | 38 RawAddress bda; member in struct:__anon896::__anon898 78 tGAP_CLCB* find_clcb_by_bd_addr(const RawAddress& bda) { argument 80 if (cb.bda == bda) return &cb; 94 tGAP_CLCB* clcb_alloc(const RawAddress& bda) { argument 97 cb.bda = bda; 274 (*p_cback)(status, clcb.bda, len, (char*)p_name); 287 void client_connect_cback(tGATT_IF, const RawAddress& bda, uint16_t conn_id, argument 290 tGAP_CLCB* p_clcb = find_clcb_by_bd_addr(bda); [all...] |
/system/bt/bta/include/ |
H A D | bta_hd_api.h | 82 RawAddress bda; member in struct:__anon356 86 RawAddress bda; member in struct:__anon357
|
/system/bt/stack/l2cap/ |
H A D | l2c_ble.cc | 225 void l2cble_notify_le_connection(const RawAddress& bda) { argument 226 tL2C_LCB* p_lcb = l2cu_find_lcb_by_bd_addr(bda, BT_TRANSPORT_LE); 227 tACL_CONN* p_acl = btm_bda_to_acl(bda, BT_TRANSPORT_LE); 258 void l2cble_scanner_conn_comp(uint16_t handle, const RawAddress& bda, argument 262 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_or_alloc_dev(bda); 272 p_lcb = l2cu_find_lcb_by_bd_addr(bda, BT_TRANSPORT_LE); 276 p_lcb = l2cu_allocate_lcb(bda, false, BT_TRANSPORT_LE); 316 btm_acl_created(bda, NULL, p_dev_rec->sec_bd_name, handle, p_lcb->link_role, 341 void l2cble_advertiser_conn_comp(uint16_t handle, const RawAddress& bda, argument 350 p_lcb = l2cu_find_lcb_by_bd_addr(bda, BT_TRANSPORT_L 421 l2cble_conn_comp(uint16_t handle, uint8_t role, const RawAddress& bda, tBLE_ADDR_TYPE type, uint16_t conn_interval, uint16_t conn_latency, uint16_t conn_timeout) argument 1315 l2cble_sec_comp(const RawAddress* bda, tBT_TRANSPORT transport, void* p_ref_data, uint8_t status) argument [all...] |
/system/bt/btif/test/ |
H A D | btif_profile_queue_test.cc | 73 static bt_status_t test_connect_cb(RawAddress* bda, uint16_t uuid) { argument 75 if (*bda == BtifProfileQueueTest::kTestAddr1) { 81 } else if (*bda == BtifProfileQueueTest::kTestAddr2) {
|