/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/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/btif/src/ |
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_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_config.cc | 91 bool btif_get_device_type(const RawAddress& bda, int* p_device_type) { argument 94 std::string addrstr = bda.ToString(); 104 bool btif_get_address_type(const RawAddress& bda, int* p_addr_type) { argument 107 std::string addrstr = bda.ToString();
|
/system/bt/test/suite/gatt/ |
H A D | gatt_test.cc | 101 bluetooth::hal::BluetoothGattInterface* /* unused */, const RawAddress& bda, 100 ScanResultCallback( bluetooth::hal::BluetoothGattInterface* , const RawAddress& bda, int rssi, std::vector<uint8_t> adv_data) argument
|
/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) {
|
/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 | low_energy_scanner.cc | 141 hal::BluetoothGattInterface* gatt_iface, const RawAddress& bda, int rssi, 155 ScanResult result(BtAddrString(&bda), scan_record, rssi); 140 ScanResultCallback( hal::BluetoothGattInterface* gatt_iface, const RawAddress& bda, int rssi, std::vector<uint8_t> adv_data) argument
|
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...] |
/system/bt/bta/gatt/ |
H A D | bta_gattc_api.cc | 622 * bda - target GATT server. 629 const RawAddress& bda, 644 p_clreg->notif_reg[i].remote_bda == bda && 658 p_clreg->notif_reg[i].remote_bda = bda; 692 const RawAddress& bda, 702 << " not registered bd_addr:" << bda; local 708 p_clreg->notif_reg[i].remote_bda == bda && 710 VLOG(1) << __func__ << " deregistered bd_addr:" << bda; local 716 LOG(ERROR) << __func__ << " registration not found bd_addr:" << bda; local 628 BTA_GATTC_RegisterForNotifications(tBTA_GATTC_IF client_if, const RawAddress& bda, uint16_t handle) argument 691 BTA_GATTC_DeregisterForNotifications(tBTA_GATTC_IF client_if, const RawAddress& bda, uint16_t handle) argument
|
H A D | bta_gattc_utils.cc | 160 p_clcb->transport == transport && p_clcb->bda == remote_bda) 209 p_clcb->bda = remote_bda; 298 tBTA_GATTC_SERV* bta_gattc_find_srcb(const RawAddress& bda) { argument 303 if (p_srcb->in_use && p_srcb->server_bda == bda) return p_srcb; 317 tBTA_GATTC_SERV* bta_gattc_find_srvr_cache(const RawAddress& bda) { argument 322 if (p_srcb->server_bda == bda) return p_srcb; 352 tBTA_GATTC_SERV* bta_gattc_srcb_alloc(const RawAddress& bda) { argument 379 p_tcb->server_bda = bda;
|
H A D | bta_gattc_act.cc | 50 static void bta_gattc_conn_cback(tGATT_IF gattc_if, const RawAddress& bda, 63 static void bta_gattc_enc_cmpl_cback(tGATT_IF gattc_if, const RawAddress& bda); 328 void bta_gattc_process_enc_cmpl(tGATT_IF client_if, const RawAddress& bda) { argument 338 cb_data.enc_cmpl.remote_bda = bda; 376 bta_gattc_send_open_cback(p_clcb->p_rcb, BTA_GATT_OK, p_clcb->bda, 390 bta_gattc_send_open_cback(p_clcb->p_rcb, BTA_GATT_ERROR, p_clcb->bda, 565 GATT_GetConnectionInfor(p_data->hdr.layer_specific, &gatt_if, p_clcb->bda, 602 bta_sys_conn_open(BTA_ID_GATTC, BTA_ALL_APP_ID, p_clcb->bda); 604 bta_gattc_send_open_cback(p_clcb->p_rcb, BTA_GATT_OK, p_clcb->bda, 625 cb_data.close.remote_bda = p_clcb->bda; 1355 bta_gattc_enc_cmpl_cback(tGATT_IF gattc_if, const RawAddress& bda) argument [all...] |
/system/bt/bta/hh/ |
H A D | bta_hh_api.cc | 319 void BTA_HhAddDev(const RawAddress& bda, tBTA_HH_ATTR_MASK attr_mask, argument 332 p_buf->bda = bda;
|
H A D | bta_hh_utils.cc | 57 uint8_t bta_hh_find_cb(const RawAddress& bda) { argument 63 if ((bda == bta_hh_cb.kdev[xx].addr && !bda.IsEmpty())) { 81 bta_hh_cb.kdev[xx].addr = bda;
|
/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/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...] |
H A D | gatt_api.cc | 1118 RawAddress bda; local 1128 gatt_find_the_connected_bda(start_idx, bda, &found_idx, &transport)) { 1129 p_tcb = gatt_find_tcb_by_addr(bda, transport); 1132 (*p_reg->app_cb.p_conn_cb)(gatt_if, bda, conn_id, true, 0, transport);
|
H A D | gatt_main.cc | 984 void gatt_add_a_bonded_dev_for_srv_chg(const RawAddress& bda) { argument 988 srv_chg_clt.bda = bda; 991 req.srv_chg.bda = bda; 1044 gatt_send_srv_chg_ind(p_srv_chg_clt->bda); 1104 RawAddress bda; local 1114 gatt_find_the_connected_bda(start_idx, bda, &found_idx, &transport)) { 1127 btif_storage_get_stored_remote_name(bda, remote_name)) { 1135 if (send_indication) gatt_send_srv_chg_ind(bda); [all...] |
/system/bt/service/hal/ |
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/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/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/stack/smp/ |
H A D | smp_act.cc | 35 static bool lmp_version_below(const RawAddress& bda, uint8_t version) { argument 36 tACL_CONN* acl = btm_bda_to_acl(bda, BT_TRANSPORT_LE); 1849 void smp_link_encrypted(const RawAddress& bda, uint8_t encr_enable) { argument 1854 if (smp_cb.pairing_bda == bda) { 1859 btm_ble_update_sec_key_size(bda, p_cb->loc_enc_size); 1876 bool smp_proc_ltk_request(const RawAddress& bda) { argument 1880 if (bda == smp_cb.pairing_bda) { 1883 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(bda);
|