Home
last modified time | relevance | path

Searched refs:remote_bda (Results 1 – 25 of 46) sorted by relevance

12

/system/bt/bta/gatt/
Dbta_gattc_utils.cc83 const RawAddress& remote_bda, in bta_gattc_find_clcb_by_cif() argument
90 p_clcb->transport == transport && p_clcb->bda == remote_bda) in bta_gattc_find_clcb_by_cif()
124 const RawAddress& remote_bda, in bta_gattc_clcb_alloc() argument
138 p_clcb->bda = remote_bda; in bta_gattc_clcb_alloc()
142 p_clcb->p_srcb = bta_gattc_find_srcb(remote_bda); in bta_gattc_clcb_alloc()
144 p_clcb->p_srcb = bta_gattc_srcb_alloc(remote_bda); in bta_gattc_clcb_alloc()
169 const RawAddress& remote_bda, in bta_gattc_find_alloc_clcb() argument
173 p_clcb = bta_gattc_find_clcb_by_cif(client_if, remote_bda, transport); in bta_gattc_find_alloc_clcb()
175 p_clcb = bta_gattc_clcb_alloc(client_if, remote_bda, transport); in bta_gattc_find_alloc_clcb()
344 p_clreg->notif_reg[i].remote_bda == p_srcb->server_bda && in bta_gattc_check_notif_registry()
[all …]
Dbta_gattc_int.h90 RawAddress remote_bda; member
167 RawAddress remote_bda; member
228 RawAddress remote_bda; member
275 RawAddress remote_bda; member
282 RawAddress remote_bda; member
374 const RawAddress& remote_bda,
377 extern void bta_gattc_process_api_refresh(const RawAddress& remote_bda);
384 const RawAddress& remote_bda,
388 const RawAddress& remote_bda,
392 const RawAddress& remote_bda,
[all …]
Dbta_gattc_api.cc120 void BTA_GATTC_Open(tGATT_IF client_if, const RawAddress& remote_bda, in BTA_GATTC_Open() argument
124 BTA_GATTC_Open(client_if, remote_bda, is_direct, transport, opportunistic, in BTA_GATTC_Open()
128 void BTA_GATTC_Open(tGATT_IF client_if, const RawAddress& remote_bda, in BTA_GATTC_Open() argument
140 p_buf->remote_bda = remote_bda; in BTA_GATTC_Open()
160 void BTA_GATTC_CancelOpen(tGATT_IF client_if, const RawAddress& remote_bda, in BTA_GATTC_CancelOpen() argument
168 p_buf->remote_bda = remote_bda; in BTA_GATTC_CancelOpen()
650 p_clreg->notif_reg[i].remote_bda == bda && in BTA_GATTC_RegisterForNotifications()
664 p_clreg->notif_reg[i].remote_bda = bda; in BTA_GATTC_RegisterForNotifications()
714 p_clreg->notif_reg[i].remote_bda == bda && in BTA_GATTC_DeregisterForNotifications()
737 void BTA_GATTC_Refresh(const RawAddress& remote_bda) { in BTA_GATTC_Refresh() argument
[all …]
Dbta_gatts_api.cc299 void BTA_GATTS_Open(tGATT_IF server_if, const RawAddress& remote_bda, in BTA_GATTS_Open() argument
308 p_buf->remote_bda = remote_bda; in BTA_GATTS_Open()
327 void BTA_GATTS_CancelOpen(tGATT_IF server_if, const RawAddress& remote_bda, in BTA_GATTS_CancelOpen() argument
335 p_buf->remote_bda = remote_bda; in BTA_GATTS_CancelOpen()
Dbta_gatts_act.cc374 RawAddress remote_bda; in bta_gatts_indicate_handle() local
383 &gatt_if, remote_bda, &transport)) { in bta_gatts_indicate_handle()
398 bta_sys_busy(BTA_ID_GATTS, BTA_ALL_APP_ID, remote_bda); in bta_gatts_indicate_handle()
399 bta_sys_idle(BTA_ID_GATTS, BTA_ALL_APP_ID, remote_bda); in bta_gatts_indicate_handle()
437 if (GATT_Connect(p_rcb->gatt_if, p_msg->api_open.remote_bda, in bta_gatts_open()
442 if (GATT_GetConnIdIfConnected(p_rcb->gatt_if, p_msg->api_open.remote_bda, in bta_gatts_open()
473 if (!GATT_CancelConnect(p_rcb->gatt_if, p_msg->api_cancel_open.remote_bda, in bta_gatts_cancel_open()
502 RawAddress remote_bda; in bta_gatts_close() local
505 if (GATT_GetConnectionInfor(p_msg->hdr.layer_specific, &gatt_if, remote_bda, in bta_gatts_close()
518 bta_sys_conn_close(BTA_ID_GATTS, BTA_ALL_APP_ID, remote_bda); in bta_gatts_close()
[all …]
Dbta_gattc_act.cc220 bta_gattc_cb.bg_track[i].remote_bda, false); in bta_gattc_deregister()
222 bta_gattc_cb.bg_track[i].remote_bda, false); in bta_gattc_deregister()
262 p_msg->api_conn.client_if, p_msg->api_conn.remote_bda, in bta_gattc_process_api_open()
270 p_msg->api_conn.remote_bda, GATT_INVALID_CONN_ID, in bta_gattc_process_api_open()
285 p_msg->api_cancel_conn.client_if, p_msg->api_cancel_conn.remote_bda, in bta_gattc_process_api_open_cancel()
314 cb_data.enc_cmpl.remote_bda = bda; in bta_gattc_process_enc_cmpl()
354 if (!GATT_Connect(p_clcb->p_rcb->client_if, p_data->api_conn.remote_bda, true, in bta_gattc_open()
365 p_clcb->p_rcb->client_if, p_data->api_conn.remote_bda, in bta_gattc_open()
377 if (!bta_gattc_mark_bg_conn(p_data->client_if, p_data->remote_bda, true)) { in bta_gattc_init_bk_conn()
378 bta_gattc_send_open_cback(p_clreg, GATT_NO_RESOURCES, p_data->remote_bda, in bta_gattc_init_bk_conn()
[all …]
/system/bt/stack/include/
Dbtm_api.h487 extern tBTM_STATUS BTM_ReadRemoteDeviceName(const RawAddress& remote_bda,
608 extern tBTM_STATUS BTM_SetLinkPolicy(const RawAddress& remote_bda,
644 extern tBTM_STATUS BTM_SetLinkSuperTout(const RawAddress& remote_bda,
655 extern tBTM_STATUS BTM_GetLinkSuperTout(const RawAddress& remote_bda,
668 extern bool BTM_IsAclConnectionUp(const RawAddress& remote_bda,
721 extern tBTM_STATUS BTM_ReadRSSI(const RawAddress& remote_bda,
739 extern tBTM_STATUS BTM_ReadFailedContactCounter(const RawAddress& remote_bda,
757 extern tBTM_STATUS BTM_ReadAutomaticFlushTimeout(const RawAddress& remote_bda,
776 extern tBTM_STATUS BTM_ReadTxPower(const RawAddress& remote_bda,
825 extern tBTM_STATUS BTM_CreateSco(const RawAddress* remote_bda, bool is_orig,
[all …]
Dbtm_ble_api.h291 extern void BTM_ReadConnectionAddr(const RawAddress& remote_bda,
414 extern void BTM_ReadDevInfo(const RawAddress& remote_bda,
432 extern bool BTM_ReadConnectedTransportAddress(RawAddress* remote_bda,
Dsrvc_api.h84 RawAddress remote_bda; member
/system/bt/bta/include/
Dbta_gatt_api.h147 RawAddress remote_bda; member
156 RawAddress remote_bda; member
179 RawAddress remote_bda; member
184 RawAddress remote_bda; member
217 RawAddress remote_bda; /* service change event */ member
277 RawAddress remote_bda; member
306 RawAddress remote_bda; member
419 extern void BTA_GATTC_Open(tGATT_IF client_if, const RawAddress& remote_bda,
422 extern void BTA_GATTC_Open(tGATT_IF client_if, const RawAddress& remote_bda,
441 const RawAddress& remote_bda, bool is_direct);
[all …]
Dbta_hh_co.h122 extern void bta_hh_le_co_rpt_info(const RawAddress& remote_bda,
143 const RawAddress& remote_bda, uint8_t* p_num_rpt, uint8_t app_id);
156 extern void bta_hh_le_co_reset_rpt_cache(const RawAddress& remote_bda,
/system/bt/main/shim/
Dbtm_api.h262 tBTM_STATUS BTM_ReadRemoteDeviceName(const RawAddress& remote_bda,
537 void BTM_ReadConnectionAddr(const RawAddress& remote_bda,
649 void BTM_ReadDevInfo(const RawAddress& remote_bda, tBT_DEVICE_TYPE* p_dev_type,
666 bool BTM_ReadConnectedTransportAddress(RawAddress* remote_bda,
1172 tBTM_STATUS BTM_SetLinkPolicy(const RawAddress& remote_bda, uint16_t* settings);
1207 tBTM_STATUS BTM_SetLinkSuperTout(const RawAddress& remote_bda,
1218 tBTM_STATUS BTM_GetLinkSuperTout(const RawAddress& remote_bda,
1231 bool BTM_IsAclConnectionUp(const RawAddress& remote_bda,
1283 tBTM_STATUS BTM_ReadRSSI(const RawAddress& remote_bda, tBTM_CMPL_CB* p_cb);
1300 tBTM_STATUS BTM_ReadFailedContactCounter(const RawAddress& remote_bda,
[all …]
/system/bt/stack/test/
Dstack_smp_test.cc68 void BTM_ReadConnectionAddr(const RawAddress& remote_bda, in BTM_ReadConnectionAddr() argument
88 const RawAddress& remote_bda);
161 RawAddress remote_bda; in TEST_F() local
163 BTM_ReadRemoteConnectionAddr(p_cb_.pairing_bda, remote_bda, in TEST_F()
166 Octet16 p2 = smp_gen_p2_4_confirm(&p_cb_, remote_bda); in TEST_F()
176 RawAddress remote_bda; in TEST_F() local
178 BTM_ReadRemoteConnectionAddr(p_cb_.pairing_bda, remote_bda, in TEST_F()
/system/bt/stack/btm/
Dbtm_pm.cc71 static int btm_pm_find_acl_ind(const RawAddress& remote_bda);
142 tBTM_STATUS BTM_SetPowerMode(uint8_t pm_id, const RawAddress& remote_bda, in BTM_SetPowerMode() argument
155 << " p_mode is null for " << remote_bda; in BTM_SetPowerMode()
159 VLOG(2) << __func__ << " pm_id " << pm_id << " BDA: " << remote_bda in BTM_SetPowerMode()
165 acl_ind = btm_pm_find_acl_ind(remote_bda); in BTM_SetPowerMode()
176 << unsigned(mode) << " is not supported for " << remote_bda; in BTM_SetPowerMode()
255 tBTM_STATUS BTM_ReadPowerMode(const RawAddress& remote_bda, in BTM_ReadPowerMode() argument
259 acl_ind = btm_pm_find_acl_ind(remote_bda); in BTM_ReadPowerMode()
287 tBTM_STATUS btm_read_power_mode_state(const RawAddress& remote_bda, in btm_read_power_mode_state() argument
289 int acl_ind = btm_pm_find_acl_ind(remote_bda); in btm_read_power_mode_state()
[all …]
Dbtm_sco.cc431 tBTM_STATUS BTM_CreateSco(const RawAddress* remote_bda, bool is_orig, in BTM_CreateSco() argument
445 if (!remote_bda) { in BTM_CreateSco()
449 acl_handle = BTM_GetHCIConnHandle(*remote_bda, BT_TRANSPORT_BR_EDR); in BTM_CreateSco()
452 << remote_bda; in BTM_CreateSco()
457 if (remote_bda) { in BTM_CreateSco()
462 (p->esco.data.bd_addr == *remote_bda)) { in BTM_CreateSco()
464 << *remote_bda << ", at state " << unsigned(p->state); in BTM_CreateSco()
484 if (remote_bda) { in BTM_CreateSco()
488 if ((btm_read_power_mode_state(*remote_bda, &state) == BTM_SUCCESS)) { in BTM_CreateSco()
491 LOG(INFO) << __func__ << ": " << *remote_bda in BTM_CreateSco()
[all …]
Dbtm_acl.cc754 tBTM_STATUS BTM_SetLinkPolicy(const RawAddress& remote_bda, in BTM_SetLinkPolicy() argument
764 p = btm_bda_to_acl(remote_bda, BT_TRANSPORT_BR_EDR); in BTM_SetLinkPolicy()
1240 tBTM_STATUS BTM_GetLinkSuperTout(const RawAddress& remote_bda, in BTM_GetLinkSuperTout() argument
1242 tACL_CONN* p = btm_bda_to_acl(remote_bda, BT_TRANSPORT_BR_EDR); in BTM_GetLinkSuperTout()
1262 tBTM_STATUS BTM_SetLinkSuperTout(const RawAddress& remote_bda, in BTM_SetLinkSuperTout() argument
1264 tACL_CONN* p = btm_bda_to_acl(remote_bda, BT_TRANSPORT_BR_EDR); in BTM_SetLinkSuperTout()
1294 bool BTM_IsAclConnectionUp(const RawAddress& remote_bda, in BTM_IsAclConnectionUp() argument
1298 VLOG(2) << __func__ << " RemBdAddr: " << remote_bda; in BTM_IsAclConnectionUp()
1300 p = btm_bda_to_acl(remote_bda, transport); in BTM_IsAclConnectionUp()
1355 uint16_t BTM_GetHCIConnHandle(const RawAddress& remote_bda, in BTM_GetHCIConnHandle() argument
[all …]
Dbtm_ble.cc242 void BTM_ReadConnectionAddr(const RawAddress& remote_bda, in BTM_ReadConnectionAddr() argument
246 return bluetooth::shim::BTM_ReadConnectionAddr(remote_bda, local_conn_addr, in BTM_ReadConnectionAddr()
249 tACL_CONN* p_acl = btm_bda_to_acl(remote_bda, BT_TRANSPORT_LE); in BTM_ReadConnectionAddr()
583 void BTM_ReadDevInfo(const RawAddress& remote_bda, tBT_DEVICE_TYPE* p_dev_type, in BTM_ReadDevInfo() argument
585 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(remote_bda); in BTM_ReadDevInfo()
586 tBTM_INQ_INFO* p_inq_info = BTM_InqDbRead(remote_bda); in BTM_ReadDevInfo()
607 if (p_dev_rec->bd_addr == remote_bda && in BTM_ReadDevInfo()
608 p_dev_rec->ble.pseudo_addr == remote_bda) { in BTM_ReadDevInfo()
611 } else if (p_dev_rec->ble.pseudo_addr == remote_bda) { in BTM_ReadDevInfo()
639 bool BTM_ReadConnectedTransportAddress(RawAddress* remote_bda, in BTM_ReadConnectedTransportAddress() argument
[all …]
Dbtm_ble_int.h43 extern tBTM_STATUS btm_ble_read_remote_name(const RawAddress& remote_bda,
45 extern bool btm_ble_cancel_remote_name(const RawAddress& remote_bda);
Dbtm_int.h56 extern tBTM_STATUS btm_initiate_rem_name(const RawAddress& remote_bda,
143 extern tBTM_STATUS btm_read_power_mode_state(const RawAddress& remote_bda,
165 extern bool btm_is_sco_active_by_bdaddr(const RawAddress& remote_bda);
/system/bt/stack/gatt/
Dgatt_attr.cc88 uint16_t gatt_profile_find_conn_id_by_bd_addr(const RawAddress& remote_bda) { in gatt_profile_find_conn_id_by_bd_addr() argument
90 GATT_GetConnIdIfConnected(gatt_cb.gatt_if, remote_bda, &conn_id, in gatt_profile_find_conn_id_by_bd_addr()
93 GATT_GetConnIdIfConnected(gatt_cb.gatt_if, remote_bda, &conn_id, in gatt_profile_find_conn_id_by_bd_addr()
637 void GATT_ConfigServiceChangeCCC(const RawAddress& remote_bda, bool enable, in GATT_ConfigServiceChangeCCC() argument
640 gatt_profile_find_clcb_by_bd_addr(remote_bda, transport); in GATT_ConfigServiceChangeCCC()
643 p_clcb = gatt_profile_clcb_alloc(0, remote_bda, transport); in GATT_ConfigServiceChangeCCC()
647 if (GATT_GetConnIdIfConnected(gatt_cb.gatt_if, remote_bda, &p_clcb->conn_id, in GATT_ConfigServiceChangeCCC()
652 GATT_Connect(gatt_cb.gatt_if, remote_bda, true, transport, true); in GATT_ConfigServiceChangeCCC()
726 const RawAddress& remote_bda, in gatt_profile_get_eatt_support() argument
732 VLOG(1) << __func__ << " BDA: " << remote_bda in gatt_profile_get_eatt_support()
[all …]
Dconnection_manager.h50 extern std::set<tAPP_ID> get_apps_connecting_to(const RawAddress& remote_bda);
/system/bt/stack/srvc/
Dsrvc_eng_int.h64 extern bool srvc_eng_request_channel(const RawAddress& remote_bda,
67 extern void srvc_sr_notify(const RawAddress& remote_bda, uint16_t handle,
Dsrvc_eng.cc353 bool srvc_eng_request_channel(const RawAddress& remote_bda, uint8_t srvc_id) { in srvc_eng_request_channel() argument
355 tSRVC_CLCB* p_clcb = srvc_eng_find_clcb_by_bd_addr(remote_bda); in srvc_eng_request_channel()
357 if (p_clcb == NULL) p_clcb = srvc_eng_clcb_alloc(0, remote_bda); in srvc_eng_request_channel()
424 void srvc_sr_notify(const RawAddress& remote_bda, uint16_t handle, uint16_t len, in srvc_sr_notify() argument
426 uint16_t conn_id = srvc_eng_find_conn_id_by_bd_addr(remote_bda); in srvc_sr_notify()
/system/bt/btif/src/
Dbtif_gatt_server.cc142 btif_gatt_check_encrypted_link(p_data->conn.remote_bda, in btapp_gatts_handle_cback()
146 p_data->conn.server_if, true, p_data->conn.remote_bda); in btapp_gatts_handle_cback()
152 p_data->conn.server_if, false, p_data->conn.remote_bda); in btapp_gatts_handle_cback()
171 p_data->req_data.remote_bda, in btapp_gatts_handle_cback()
181 p_data->req_data.remote_bda, in btapp_gatts_handle_cback()
193 p_data->req_data.remote_bda, req.handle, req.offset, in btapp_gatts_handle_cback()
203 p_data->req_data.remote_bda, req.handle, req.offset, in btapp_gatts_handle_cback()
211 p_data->req_data.remote_bda, in btapp_gatts_handle_cback()
/system/bt/btif/co/
Dbta_hh_co.cc634 void bta_hh_le_co_rpt_info(const RawAddress& remote_bda, in bta_hh_le_co_rpt_info() argument
639 std::string addrstr = remote_bda.ToString(); in bta_hh_le_co_rpt_info()
673 tBTA_HH_RPT_CACHE_ENTRY* bta_hh_le_co_cache_load(const RawAddress& remote_bda, in bta_hh_le_co_cache_load() argument
676 std::string addrstr = remote_bda.ToString(); in bta_hh_le_co_cache_load()
703 void bta_hh_le_co_reset_rpt_cache(const RawAddress& remote_bda, in bta_hh_le_co_reset_rpt_cache() argument
705 std::string addrstr = remote_bda.ToString(); in bta_hh_le_co_reset_rpt_cache()

12