/system/bt/bta/gatt/ |
D | bta_gattc_utils.cc | 91 const RawAddress& remote_bda, in bta_gattc_find_clcb_by_cif() argument 98 p_clcb->transport == transport && p_clcb->bda == remote_bda) in bta_gattc_find_clcb_by_cif() 132 const RawAddress& remote_bda, in bta_gattc_clcb_alloc() argument 146 p_clcb->bda = remote_bda; in bta_gattc_clcb_alloc() 150 p_clcb->p_srcb = bta_gattc_find_srcb(remote_bda); in bta_gattc_clcb_alloc() 152 p_clcb->p_srcb = bta_gattc_srcb_alloc(remote_bda); in bta_gattc_clcb_alloc() 177 const RawAddress& remote_bda, in bta_gattc_find_alloc_clcb() argument 181 p_clcb = bta_gattc_find_clcb_by_cif(client_if, remote_bda, transport); in bta_gattc_find_alloc_clcb() 183 p_clcb = bta_gattc_clcb_alloc(client_if, remote_bda, transport); in bta_gattc_find_alloc_clcb() 352 p_clreg->notif_reg[i].remote_bda == p_srcb->server_bda && in bta_gattc_check_notif_registry() [all …]
|
D | bta_gattc_int.h | 87 RawAddress remote_bda; member 164 RawAddress remote_bda; member 231 RawAddress remote_bda; member 284 RawAddress remote_bda; member 291 RawAddress remote_bda; member 396 const RawAddress& remote_bda, 399 extern void bta_gattc_process_api_refresh(const RawAddress& remote_bda); 407 const RawAddress& remote_bda, 411 const RawAddress& remote_bda, 415 const RawAddress& remote_bda, [all …]
|
D | bta_gattc_api.cc | 120 void BTA_GATTC_Open(tGATT_IF client_if, const RawAddress& remote_bda, in BTA_GATTC_Open() argument 123 BTA_GATTC_Open(client_if, remote_bda, is_direct, BT_TRANSPORT_LE, in BTA_GATTC_Open() 127 void BTA_GATTC_Open(tGATT_IF client_if, const RawAddress& remote_bda, in BTA_GATTC_Open() argument 139 p_buf->remote_bda = remote_bda; in BTA_GATTC_Open() 159 void BTA_GATTC_CancelOpen(tGATT_IF client_if, const RawAddress& remote_bda, in BTA_GATTC_CancelOpen() argument 167 p_buf->remote_bda = remote_bda; in BTA_GATTC_CancelOpen() 657 p_clreg->notif_reg[i].remote_bda == bda && in BTA_GATTC_RegisterForNotifications() 671 p_clreg->notif_reg[i].remote_bda = bda; in BTA_GATTC_RegisterForNotifications() 721 p_clreg->notif_reg[i].remote_bda == bda && in BTA_GATTC_DeregisterForNotifications() 744 void BTA_GATTC_Refresh(const RawAddress& remote_bda) { in BTA_GATTC_Refresh() argument [all …]
|
D | bta_gatts_api.cc | 305 void BTA_GATTS_Open(tGATT_IF server_if, const RawAddress& remote_bda, in BTA_GATTS_Open() argument 314 p_buf->remote_bda = remote_bda; in BTA_GATTS_Open() 333 void BTA_GATTS_CancelOpen(tGATT_IF server_if, const RawAddress& remote_bda, in BTA_GATTS_CancelOpen() argument 341 p_buf->remote_bda = remote_bda; in BTA_GATTS_CancelOpen()
|
D | bta_gatts_act.cc | 373 RawAddress remote_bda; in bta_gatts_indicate_handle() local 382 &gatt_if, remote_bda, &transport)) { in bta_gatts_indicate_handle() 397 bta_sys_busy(BTA_ID_GATTS, BTA_ALL_APP_ID, remote_bda); in bta_gatts_indicate_handle() 398 bta_sys_idle(BTA_ID_GATTS, BTA_ALL_APP_ID, remote_bda); in bta_gatts_indicate_handle() 436 if (GATT_Connect(p_rcb->gatt_if, p_msg->api_open.remote_bda, in bta_gatts_open() 441 if (GATT_GetConnIdIfConnected(p_rcb->gatt_if, p_msg->api_open.remote_bda, in bta_gatts_open() 472 if (!GATT_CancelConnect(p_rcb->gatt_if, p_msg->api_cancel_open.remote_bda, in bta_gatts_cancel_open() 501 RawAddress remote_bda; in bta_gatts_close() local 504 if (GATT_GetConnectionInfor(p_msg->hdr.layer_specific, &gatt_if, remote_bda, in bta_gatts_close() 517 bta_sys_conn_close(BTA_ID_GATTS, BTA_ALL_APP_ID, remote_bda); in bta_gatts_close() [all …]
|
D | bta_gattc_act.cc | 222 bta_gattc_cb.bg_track[i].remote_bda, false); in bta_gattc_deregister() 224 bta_gattc_cb.bg_track[i].remote_bda, false); in bta_gattc_deregister() 264 p_msg->api_conn.client_if, p_msg->api_conn.remote_bda, in bta_gattc_process_api_open() 272 p_msg->api_conn.remote_bda, GATT_INVALID_CONN_ID, in bta_gattc_process_api_open() 291 p_msg->api_cancel_conn.client_if, p_msg->api_cancel_conn.remote_bda, in bta_gattc_process_api_open_cancel() 320 cb_data.enc_cmpl.remote_bda = bda; in bta_gattc_process_enc_cmpl() 360 if (!GATT_Connect(p_clcb->p_rcb->client_if, p_data->api_conn.remote_bda, true, in bta_gattc_open() 371 p_clcb->p_rcb->client_if, p_data->api_conn.remote_bda, in bta_gattc_open() 383 if (!bta_gattc_mark_bg_conn(p_data->client_if, p_data->remote_bda, true)) { in bta_gattc_init_bk_conn() 384 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/ |
D | acl_api.h | 53 tBTM_STATUS BTM_SetLinkSuperTout(const RawAddress& remote_bda, 64 tBTM_STATUS BTM_GetLinkSuperTout(const RawAddress& remote_bda, 78 bool BTM_IsAclConnectionUp(const RawAddress& remote_bda, 81 bool BTM_IsAclConnectionUpAndHandleValid(const RawAddress& remote_bda, 132 tBTM_STATUS BTM_ReadRSSI(const RawAddress& remote_bda, tBTM_CMPL_CB* p_cb); 149 tBTM_STATUS BTM_ReadFailedContactCounter(const RawAddress& remote_bda, 168 tBTM_STATUS BTM_ReadTxPower(const RawAddress& remote_bda, 193 const RawAddress& remote_bda, uint8_t rra_type, 196 void btm_establish_continue_from_address(const RawAddress& remote_bda, 200 const RawAddress& remote_bda); [all …]
|
D | btm_api.h | 377 tBTM_STATUS BTM_ReadRemoteDeviceName(const RawAddress& remote_bda, 503 tBTM_STATUS BTM_CreateSco(const RawAddress* remote_bda, bool is_orig, 717 void BTM_PM_OnConnected(uint16_t handle, const RawAddress& remote_bda); 733 tBTM_STATUS BTM_SetPowerMode(uint8_t pm_id, const RawAddress& remote_bda, 735 bool BTM_SetLinkPolicyActiveMode(const RawAddress& remote_bda); 755 tBTM_STATUS BTM_SetSsrParams(const RawAddress& remote_bda, uint16_t max_lat, 768 uint16_t BTM_GetHCIConnHandle(const RawAddress& remote_bda, 780 bool BTM_IsPhy2mSupported(const RawAddress& remote_bda, tBT_TRANSPORT transport); 790 extern void BTM_RequestPeerSCA(const RawAddress& remote_bda, 803 extern uint8_t BTM_GetPeerSCA(const RawAddress& remote_bda, [all …]
|
/system/bt/bta/test/common/ |
D | bta_gatt_api_mock.cc | 36 void BTA_GATTC_Open(tGATT_IF client_if, const RawAddress& remote_bda, in BTA_GATTC_Open() argument 39 gatt_interface->Open(client_if, remote_bda, is_direct, transport, in BTA_GATTC_Open() 43 void BTA_GATTC_Open(tGATT_IF client_if, const RawAddress& remote_bda, in BTA_GATTC_Open() argument 45 gatt_interface->Open(client_if, remote_bda, is_direct, opportunistic); in BTA_GATTC_Open() 48 void BTA_GATTC_CancelOpen(tGATT_IF client_if, const RawAddress& remote_bda, in BTA_GATTC_CancelOpen() argument 50 gatt_interface->CancelOpen(client_if, remote_bda, is_direct); in BTA_GATTC_CancelOpen() 75 const RawAddress& remote_bda, in BTA_GATTC_RegisterForNotifications() argument 77 return gatt_interface->RegisterForNotifications(client_if, remote_bda, in BTA_GATTC_RegisterForNotifications() 82 const RawAddress& remote_bda, in BTA_GATTC_DeregisterForNotifications() argument 84 return gatt_interface->DeregisterForNotifications(client_if, remote_bda, in BTA_GATTC_DeregisterForNotifications()
|
D | bta_gatt_api_mock.h | 31 virtual void Open(tGATT_IF client_if, const RawAddress& remote_bda, 34 virtual void Open(tGATT_IF client_if, const RawAddress& remote_bda, 36 virtual void CancelOpen(tGATT_IF client_if, const RawAddress& remote_bda, 47 const RawAddress& remote_bda, 50 const RawAddress& remote_bda, 63 (tGATT_IF client_if, const RawAddress& remote_bda, bool is_direct, 66 (tGATT_IF client_if, const RawAddress& remote_bda, bool is_direct, 69 (tGATT_IF client_if, const RawAddress& remote_bda, 80 (tGATT_IF client_if, const RawAddress& remote_bda, 83 (tGATT_IF client_if, const RawAddress& remote_bda,
|
/system/bt/test/mock/ |
D | mock_stack_acl_btm_pm.cc | 47 bool BTM_ReadPowerMode(const RawAddress& remote_bda, tBTM_PM_MODE* p_mode) { in BTM_ReadPowerMode() argument 51 bool BTM_SetLinkPolicyActiveMode(const RawAddress& remote_bda) { in BTM_SetLinkPolicyActiveMode() argument 64 tBTM_STATUS BTM_SetPowerMode(uint8_t pm_id, const RawAddress& remote_bda, in BTM_SetPowerMode() argument 69 tBTM_STATUS BTM_SetSsrParams(const RawAddress& remote_bda, uint16_t max_lat, in BTM_SetSsrParams() argument 74 void BTM_PM_OnConnected(uint16_t handle, const RawAddress& remote_bda) { in BTM_PM_OnConnected() argument
|
D | mock_stack_acl.cc | 51 bool BTM_IsAclConnectionUp(const RawAddress& remote_bda, in BTM_IsAclConnectionUp() argument 56 bool BTM_IsAclConnectionUpAndHandleValid(const RawAddress& remote_bda, in BTM_IsAclConnectionUpAndHandleValid() argument 69 bool BTM_IsPhy2mSupported(const RawAddress& remote_bda, in BTM_IsPhy2mSupported() argument 111 const RawAddress& remote_bda) { in acl_peer_supports_ble_connection_parameters_request() argument 119 bool acl_peer_supports_sniff_subrating(const RawAddress& remote_bda) { in acl_peer_supports_sniff_subrating() argument 135 bool sco_peer_supports_esco_2m_phy(const RawAddress& remote_bda) { in sco_peer_supports_esco_2m_phy() argument 139 bool sco_peer_supports_esco_3m_phy(const RawAddress& remote_bda) { in sco_peer_supports_esco_3m_phy() argument 165 tBTM_STATUS BTM_GetLinkSuperTout(const RawAddress& remote_bda, in BTM_GetLinkSuperTout() argument 174 tBTM_STATUS BTM_ReadFailedContactCounter(const RawAddress& remote_bda, in BTM_ReadFailedContactCounter() argument 179 tBTM_STATUS BTM_ReadRSSI(const RawAddress& remote_bda, tBTM_CMPL_CB* p_cb) { in BTM_ReadRSSI() argument [all …]
|
D | mock_stack_gatt_attr.cc | 36 uint16_t gatt_profile_find_conn_id_by_bd_addr(const RawAddress& remote_bda) { in gatt_profile_find_conn_id_by_bd_addr() argument 41 const RawAddress& remote_bda, in gatt_profile_get_eatt_support() argument 71 void GATT_ConfigServiceChangeCCC(const RawAddress& remote_bda, bool enable, in GATT_ConfigServiceChangeCCC() argument
|
D | mock_btif_co_bta_hh_co.cc | 40 tBTA_HH_RPT_CACHE_ENTRY* bta_hh_le_co_cache_load(const RawAddress& remote_bda, in bta_hh_le_co_cache_load() argument 73 void bta_hh_le_co_reset_rpt_cache(const RawAddress& remote_bda, in bta_hh_le_co_reset_rpt_cache() argument 77 void bta_hh_le_co_rpt_info(const RawAddress& remote_bda, in bta_hh_le_co_rpt_info() argument
|
D | mock_bta_gattc_api.cc | 87 void BTA_GATTC_CancelOpen(tGATT_IF client_if, const RawAddress& remote_bda, in BTA_GATTC_CancelOpen() argument 111 void BTA_GATTC_Open(tGATT_IF client_if, const RawAddress& remote_bda, in BTA_GATTC_Open() argument 115 void BTA_GATTC_Open(tGATT_IF client_if, const RawAddress& remote_bda, in BTA_GATTC_Open() argument 145 void BTA_GATTC_Refresh(const RawAddress& remote_bda) { in BTA_GATTC_Refresh() argument
|
D | mock_bta_gatts_api.cc | 52 void BTA_GATTS_CancelOpen(tGATT_IF server_if, const RawAddress& remote_bda, in BTA_GATTS_CancelOpen() argument 70 void BTA_GATTS_Open(tGATT_IF server_if, const RawAddress& remote_bda, in BTA_GATTS_Open() argument
|
/system/bt/bta/include/ |
D | bta_gatt_api.h | 172 RawAddress remote_bda; member 181 RawAddress remote_bda; member 204 RawAddress remote_bda; member 209 RawAddress remote_bda; member 230 RawAddress remote_bda; member 247 RawAddress remote_bda; /* service change event */ member 308 RawAddress remote_bda; member 337 RawAddress remote_bda; member 449 extern void BTA_GATTC_Open(tGATT_IF client_if, const RawAddress& remote_bda, 451 extern void BTA_GATTC_Open(tGATT_IF client_if, const RawAddress& remote_bda, [all …]
|
D | bta_hh_co.h | 123 extern void bta_hh_le_co_rpt_info(const RawAddress& remote_bda, 144 const RawAddress& remote_bda, uint8_t* p_num_rpt, uint8_t app_id); 157 extern void bta_hh_le_co_reset_rpt_cache(const RawAddress& remote_bda,
|
/system/bt/stack/acl/ |
D | btm_pm.cc | 158 void BTM_PM_OnConnected(uint16_t handle, const RawAddress& remote_bda) { in BTM_PM_OnConnected() argument 160 pm_mode_db[handle].Init(remote_bda, handle); in BTM_PM_OnConnected() 181 tBTM_STATUS BTM_SetPowerMode(uint8_t pm_id, const RawAddress& remote_bda, in BTM_SetPowerMode() argument 189 PRIVATE_ADDRESS(remote_bda)); in BTM_SetPowerMode() 194 auto* p_cb = btm_pm_get_power_manager_from_address(remote_bda); in BTM_SetPowerMode() 197 PRIVATE_ADDRESS(remote_bda)); in BTM_SetPowerMode() 225 interop_match_addr(INTEROP_DISABLE_SNIFF, &remote_bda)) { in BTM_SetPowerMode() 227 PRIVATE_ADDRESS(remote_bda)); in BTM_SetPowerMode() 273 PRIVATE_ADDRESS(remote_bda)); in BTM_SetPowerMode() 280 PRIVATE_ADDRESS(remote_bda), power_mode_state_text(p_cb->state).c_str(), in BTM_SetPowerMode() [all …]
|
D | btm_acl.cc | 1128 tBTM_STATUS BTM_GetLinkSuperTout(const RawAddress& remote_bda, in BTM_GetLinkSuperTout() argument 1132 internal_.btm_bda_to_acl(remote_bda, BT_TRANSPORT_BR_EDR); in BTM_GetLinkSuperTout() 1150 tBTM_STATUS BTM_SetLinkSuperTout(const RawAddress& remote_bda, in BTM_SetLinkSuperTout() argument 1152 tACL_CONN* p_acl = internal_.btm_bda_to_acl(remote_bda, BT_TRANSPORT_BR_EDR); in BTM_SetLinkSuperTout() 1165 PRIVATE_ADDRESS(remote_bda)); in BTM_SetLinkSuperTout() 1171 supervision_timeout_to_seconds(timeout), PRIVATE_ADDRESS(remote_bda)); in BTM_SetLinkSuperTout() 1176 bool BTM_IsAclConnectionUp(const RawAddress& remote_bda, in BTM_IsAclConnectionUp() argument 1179 return bluetooth::shim::L2CA_IsLinkEstablished(remote_bda, transport); in BTM_IsAclConnectionUp() 1182 return internal_.btm_bda_to_acl(remote_bda, transport) != nullptr; in BTM_IsAclConnectionUp() 1185 bool BTM_IsAclConnectionUpAndHandleValid(const RawAddress& remote_bda, in BTM_IsAclConnectionUpAndHandleValid() argument [all …]
|
/system/bt/main/shim/ |
D | btm_api.h | 185 tBTM_STATUS BTM_ReadRemoteDeviceName(const RawAddress& remote_bda, 455 void BTM_ReadConnectionAddr(const RawAddress& remote_bda, 568 void BTM_ReadDevInfo(const RawAddress& remote_bda, tBT_DEVICE_TYPE* p_dev_type, 585 bool BTM_ReadConnectedTransportAddress(RawAddress* remote_bda, 1073 tBTM_STATUS BTM_SetLinkSuperTout(const RawAddress& remote_bda, 1084 tBTM_STATUS BTM_GetLinkSuperTout(const RawAddress& remote_bda, 1097 bool BTM_IsAclConnectionUp(const RawAddress& remote_bda, 1146 tBTM_STATUS BTM_ReadRSSI(const RawAddress& remote_bda, tBTM_CMPL_CB* p_cb); 1163 tBTM_STATUS BTM_ReadFailedContactCounter(const RawAddress& remote_bda, 1181 tBTM_STATUS BTM_ReadAutomaticFlushTimeout(const RawAddress& remote_bda, [all …]
|
/system/bt/stack/test/ |
D | stack_smp_test.cc | 69 void BTM_ReadConnectionAddr(const RawAddress& remote_bda, in BTM_ReadConnectionAddr() argument 89 const RawAddress& remote_bda); 162 RawAddress remote_bda; in TEST_F() local 164 BTM_ReadRemoteConnectionAddr(p_cb_.pairing_bda, remote_bda, in TEST_F() 167 Octet16 p2 = smp_gen_p2_4_confirm(&p_cb_, remote_bda); in TEST_F() 177 RawAddress remote_bda; in TEST_F() local 179 BTM_ReadRemoteConnectionAddr(p_cb_.pairing_bda, remote_bda, in TEST_F()
|
/system/bt/stack/srvc/ |
D | srvc_eng_int.h | 64 extern bool srvc_eng_request_channel(const RawAddress& remote_bda, 67 extern void srvc_sr_notify(const RawAddress& remote_bda, uint16_t handle,
|
/system/bt/stack/btm/ |
D | btm_sco.cc | 339 tBTM_STATUS BTM_CreateSco(const RawAddress* remote_bda, bool is_orig, in BTM_CreateSco() argument 355 if (!remote_bda) { in BTM_CreateSco() 359 acl_handle = BTM_GetHCIConnHandle(*remote_bda, BT_TRANSPORT_BR_EDR); in BTM_CreateSco() 362 << remote_bda; in BTM_CreateSco() 367 if (remote_bda) { in BTM_CreateSco() 372 (p->esco.data.bd_addr == *remote_bda)) { in BTM_CreateSco() 374 << *remote_bda << ", at state " << unsigned(p->state); in BTM_CreateSco() 394 if (remote_bda) { in BTM_CreateSco() 398 if (BTM_ReadPowerMode(*remote_bda, &state)) { in BTM_CreateSco() 401 LOG(INFO) << __func__ << ": " << *remote_bda in BTM_CreateSco() [all …]
|
/system/bt/btif/src/ |
D | btif_gatt_server.cc | 143 btif_gatt_check_encrypted_link(p_data->conn.remote_bda, in btapp_gatts_handle_cback() 147 p_data->conn.server_if, true, p_data->conn.remote_bda); in btapp_gatts_handle_cback() 153 p_data->conn.server_if, false, p_data->conn.remote_bda); in btapp_gatts_handle_cback() 172 p_data->req_data.remote_bda, in btapp_gatts_handle_cback() 182 p_data->req_data.remote_bda, in btapp_gatts_handle_cback() 194 p_data->req_data.remote_bda, req.handle, req.offset, in btapp_gatts_handle_cback() 204 p_data->req_data.remote_bda, req.handle, req.offset, in btapp_gatts_handle_cback() 212 p_data->req_data.remote_bda, in btapp_gatts_handle_cback()
|