/system/bt/bta/sys/ |
D | bta_sys_conn.cc | 100 void bta_sys_notify_role_chg(const RawAddress& peer_addr, uint8_t new_role, in bta_sys_notify_role_chg() argument 103 peer_addr.ToString().c_str(), new_role, hci_status); in bta_sys_notify_role_chg() 105 bta_sys_cb.p_role_cb(BTA_SYS_ROLE_CHANGE, new_role, hci_status, peer_addr); in bta_sys_notify_role_chg() 142 void bta_sys_notify_collision(const RawAddress& peer_addr) { in bta_sys_notify_collision() argument 148 bta_sys_cb.colli_reg.p_coll_cback[index](0, BTA_ID_SYS, 0, peer_addr); in bta_sys_notify_collision() 193 const RawAddress& peer_addr) { in bta_sys_conn_open() argument 195 bta_sys_cb.prm_cb(BTA_SYS_CONN_OPEN, id, app_id, peer_addr); in bta_sys_conn_open() 199 bta_sys_cb.ppm_cb(BTA_SYS_CONN_OPEN, id, app_id, peer_addr); in bta_sys_conn_open() 215 const RawAddress& peer_addr) { in bta_sys_conn_close() argument 217 bta_sys_cb.prm_cb(BTA_SYS_CONN_CLOSE, id, app_id, peer_addr); in bta_sys_conn_close() [all …]
|
D | bta_sys.h | 141 uint8_t app_id, const RawAddress& peer_addr); 240 const RawAddress& peer_addr); 242 const RawAddress& peer_addr); 244 const RawAddress& peer_addr); 246 const RawAddress& peer_addr); 248 const RawAddress& peer_addr); 250 const RawAddress& peer_addr); 252 const RawAddress& peer_addr); 254 const RawAddress& peer_addr); 256 const RawAddress& peer_addr); [all …]
|
/system/bt/btif/src/ |
D | btif_a2dp.cc | 49 bool btif_a2dp_on_started(const RawAddress& peer_addr, tBTA_AV_START* p_av_start) { in btif_a2dp_on_started() argument 50 …LOG(INFO) << __func__ << ": ## ON A2DP STARTED ## peer " << peer_addr << " p_av_start:" << p_av_st… in btif_a2dp_on_started() 55 … LOG(ERROR) << __func__ << ": peer " << peer_addr << " call in progress, do not start A2DP stream"; in btif_a2dp_on_started() 70 LOG(INFO) << __func__ << ": peer " << peer_addr << " status:" << +p_av_start->status in btif_a2dp_on_started() 75 …LOG(WARNING) << __func__ << ": peer " << peer_addr << " A2DP is suspending and ignores the started… in btif_a2dp_on_started() 97 …LOG(ERROR) << __func__ << ": peer " << peer_addr << " A2DP start request failed: status = " << +p_… in btif_a2dp_on_started() 141 void btif_a2dp_on_offload_started(const RawAddress& peer_addr, in btif_a2dp_on_offload_started() argument 145 peer_addr.ToString().c_str(), status); in btif_a2dp_on_offload_started() 153 peer_addr.ToString().c_str()); in btif_a2dp_on_offload_started() 158 peer_addr.ToString().c_str(), status); in btif_a2dp_on_offload_started() [all …]
|
/system/bt/bta/ag/ |
D | bta_ag_act.cc | 177 p_scb->peer_addr = data.api_open.bd_addr; in bta_ag_start_open() 187 bta_ag_collision_cback(0, BTA_ID_AG, 0, p_scb->peer_addr); in bta_ag_start_open() 297 RawAddress peer_addr = p_scb->peer_addr; in bta_ag_disc_fail() local 298 p_scb->peer_addr = RawAddress::kEmpty; in bta_ag_disc_fail() 301 bta_ag_cback_open(p_scb, peer_addr, BTA_AG_FAIL_SDP); in bta_ag_disc_fail() 330 RawAddress peer_addr = p_scb->peer_addr; in bta_ag_rfc_fail() local 341 p_scb->peer_addr = RawAddress::kEmpty; in bta_ag_rfc_fail() 347 bta_ag_cback_open(p_scb, peer_addr, BTA_AG_FAIL_RFCOMM); in bta_ag_rfc_fail() 394 close.bd_addr = p_scb->peer_addr; in bta_ag_rfc_close() 396 bta_sys_conn_close(BTA_ID_AG, p_scb->app_id, p_scb->peer_addr); in bta_ag_rfc_close() [all …]
|
D | bta_ag_sco.cc | 318 << (p_scb ? p_scb->peer_addr : RawAddress::kEmpty); in bta_ag_esco_connreq_cback() 368 p_scb->peer_addr.ToString().c_str()); in bta_ag_create_sco() 371 if (!bta_ag_sco_is_active_device(p_scb->peer_addr)) { in bta_ag_create_sco() 372 LOG(WARNING) << __func__ << ": device " << p_scb->peer_addr in bta_ag_create_sco() 385 p_scb->peer_addr.ToString().c_str(), p_scb->sco_idx); in bta_ag_create_sco() 438 bta_sys_sco_use(BTA_ID_AG, p_scb->app_id, p_scb->peer_addr); in bta_ag_create_sco() 447 &p_scb->peer_addr, false, params.packet_types, &p_scb->sco_idx, in bta_ag_create_sco() 462 p_scb->peer_addr.ToString().c_str()); in bta_ag_create_sco() 509 if (BTM_CreateSco(&p_scb->peer_addr, true, params.packet_types, in bta_ag_create_pending_sco() 564 uint8_t* p_rem_feat = BTM_ReadRemoteFeatures(p_scb->peer_addr); in bta_ag_codec_negotiate() [all …]
|
D | bta_ag_main.cc | 468 uint16_t bta_ag_idx_by_bdaddr(const RawAddress* peer_addr) { in bta_ag_idx_by_bdaddr() argument 470 if (peer_addr != nullptr) { in bta_ag_idx_by_bdaddr() 472 if (p_scb->in_use && *peer_addr == p_scb->peer_addr) { in bta_ag_idx_by_bdaddr() 533 const RawAddress& peer_addr) { in bta_ag_collision_cback() argument 535 uint16_t handle = bta_ag_idx_by_bdaddr(&peer_addr); in bta_ag_collision_cback() 541 << unsigned(handle) << " device " << peer_addr; in bta_ag_collision_cback() 544 << unsigned(handle) << " device " << peer_addr; in bta_ag_collision_cback() 547 << unsigned(handle) << " device " << peer_addr; in bta_ag_collision_cback() 565 LOG(INFO) << __func__ << ": Resume connection to " << p_scb->peer_addr in bta_ag_resume_open() 567 tBTA_AG_DATA open_data = {.api_open.bd_addr = p_scb->peer_addr, in bta_ag_resume_open() [all …]
|
D | bta_ag_rfc.cc | 90 << handle << " peer_addr " << p_scb->peer_addr << " state " in bta_ag_port_cback() 225 << p_scb->peer_addr; in bta_ag_setup_port() 230 << p_scb->peer_addr; in bta_ag_setup_port() 256 << ", bd_addr=" << p_scb->peer_addr; in bta_ag_start_servers() 261 << ", bd_addr" << p_scb->peer_addr; in bta_ag_start_servers() 340 p_scb->peer_addr, &(p_scb->conn_handle), in bta_ag_rfc_do_open() 351 << " for " << p_scb->peer_addr; in bta_ag_rfc_do_open()
|
D | bta_ag_sdp.cc | 352 p_scb->peer_addr.ToString(), HFP_VERSION_CONFIG_KEY, in bta_ag_sdp_find_attr() 357 __func__, p_scb->peer_addr.ToString().c_str()); in bta_ag_sdp_find_attr() 380 p_scb->peer_addr.ToString(), HFP_SDP_FEATURES_CONFIG_KEY, in bta_ag_sdp_find_attr() 386 p_scb->peer_addr.ToString().c_str()); in bta_ag_sdp_find_attr() 486 p_scb->peer_addr, p_scb->p_disc_db, in bta_ag_do_disc() 491 << p_scb->peer_addr; in bta_ag_do_disc() 495 << p_scb->peer_addr; in bta_ag_do_disc()
|
/system/bt/bta/dm/ |
D | bta_dm_pm.cc | 41 uint8_t app_id, const RawAddress& peer_addr); 42 static void bta_dm_pm_set_mode(const RawAddress& peer_addr, 49 static bool bta_dm_pm_park(const RawAddress& peer_addr); 68 static void bta_dm_pm_ssr(const RawAddress& peer_addr, int ssr); 159 static void bta_dm_pm_stop_timer(const RawAddress& peer_addr) { in bta_dm_pm_stop_timer() argument 164 bta_dm_cb.pm_timer[i].peer_bdaddr == peer_addr) { in bta_dm_pm_stop_timer() 216 static void bta_dm_pm_stop_timer_by_mode(const RawAddress& peer_addr, in bta_dm_pm_stop_timer_by_mode() argument 223 bta_dm_cb.pm_timer[i].peer_bdaddr == peer_addr) { in bta_dm_pm_stop_timer_by_mode() 249 static void bta_dm_pm_stop_timer_by_srvc_id(const RawAddress& peer_addr, in bta_dm_pm_stop_timer_by_srvc_id() argument 253 bta_dm_cb.pm_timer[i].peer_bdaddr == peer_addr) { in bta_dm_pm_stop_timer_by_srvc_id() [all …]
|
/system/bt/bta/hf_client/ |
D | bta_hf_client_act.cc | 66 bta_dm_pm_active(client_cb->peer_addr); in bta_hf_client_start_close() 67 L2CA_SetIdleTimeoutByBdAddr(client_cb->peer_addr, 0, BT_TRANSPORT_BR_EDR); in bta_hf_client_start_close() 101 client_cb->peer_addr = p_data->api_open.bd_addr; in bta_hf_client_start_open() 111 bta_hf_client_collision_cback(0, BTA_ID_HS, 0, client_cb->peer_addr); in bta_hf_client_start_open() 142 bta_sys_conn_open(BTA_ID_HS, 1, client_cb->peer_addr); in bta_hf_client_rfc_open() 184 if (dev_addr == client_cb->peer_addr) { in bta_hf_client_rfc_acp_open() 194 client_cb->peer_addr = dev_addr; in bta_hf_client_rfc_acp_open() 294 bta_sys_conn_close(BTA_ID_HS, 1, client_cb->peer_addr); in bta_hf_client_rfc_close() 299 evt.conn.bd_addr = client_cb->peer_addr; in bta_hf_client_rfc_close() 306 bta_sys_sco_unuse(BTA_ID_HS, 1, client_cb->peer_addr); in bta_hf_client_rfc_close() [all …]
|
D | bta_hf_client_rfc.cc | 101 RawAddress peer_addr = RawAddress::kEmpty; in bta_hf_client_mgmt_cback() local 103 int status = PORT_CheckConnection(port_handle, &peer_addr, &lcid); in bta_hf_client_mgmt_cback() 110 bta_hf_client_allocate_handle(peer_addr, &tmp_handle); in bta_hf_client_mgmt_cback() 135 << client_cb->peer_addr; in bta_hf_client_mgmt_cback() 244 false, BTA_HF_CLIENT_MTU, client_cb->peer_addr, in bta_hf_client_rfc_do_open()
|
D | bta_hf_client_sco.cc | 87 evt.bd_addr = client_cb->peer_addr; in bta_hf_client_cback_sco() 123 bta_sys_sco_use(BTA_ID_HS, 1, client_cb->peer_addr); in bta_hf_client_sco_conn_rsp() 242 bta_sys_sco_use(BTA_ID_HS, 1, client_cb->peer_addr); in bta_hf_client_sco_create() 245 status = BTM_CreateSco(&client_cb->peer_addr, is_orig, params.packet_types, in bta_hf_client_sco_create() 563 bta_sys_sco_open(BTA_ID_HS, 1, client_cb->peer_addr); in bta_hf_client_sco_conn_open() 598 bta_sys_sco_close(BTA_ID_HS, 1, client_cb->peer_addr); in bta_hf_client_sco_conn_close() 600 bta_sys_sco_unuse(BTA_ID_HS, 1, client_cb->peer_addr); in bta_hf_client_sco_conn_close()
|
D | bta_hf_client_main.cc | 332 msg.api_open.bd_addr = client_cb->peer_addr; in bta_hf_client_resume_open() 368 const RawAddress& peer_addr) { in bta_hf_client_collision_cback() argument 369 tBTA_HF_CLIENT_CB* client_cb = bta_hf_client_find_cb_by_bda(peer_addr); in bta_hf_client_collision_cback() 492 tBTA_HF_CLIENT_CB* bta_hf_client_find_cb_by_bda(const RawAddress& peer_addr) { in bta_hf_client_find_cb_by_bda() argument 496 if (client_cb->is_allocated && peer_addr == client_cb->peer_addr) { in bta_hf_client_find_cb_by_bda() 608 client_cb->peer_addr = bd_addr; in bta_hf_client_allocate_handle() 748 << client_cb->state << " device " << client_cb->peer_addr; in bta_hf_client_sm_execute() 751 evt.bd_addr = client_cb->peer_addr; in bta_hf_client_sm_execute() 762 VLOG(2) << __func__ << ": device " << client_cb->peer_addr in bta_hf_client_sm_execute() 930 uint8_t* a = client_cb->peer_addr.address; in bta_hf_client_dump_statistics()
|
/system/bt/btif/include/ |
D | btif_rc.h | 25 uint8_t btif_rc_get_connected_peer_handle(const RawAddress& peer_addr); 26 void btif_rc_check_handle_pending_play(const RawAddress& peer_addr, 28 bool btif_rc_is_connected_peer(const RawAddress& peer_addr);
|
D | btif_av_co.h | 27 bool bta_av_co_set_active_peer(const RawAddress& peer_addr); 33 void bta_av_co_get_peer_params(const RawAddress& peer_addr, 53 const RawAddress& peer_addr,
|
D | btif_a2dp.h | 35 bool btif_a2dp_on_started(const RawAddress& peer_addr, tBTA_AV_START* p_av_start); 54 void btif_a2dp_on_offload_started(const RawAddress& peer_addr,
|
/system/bt/stack/avct/ |
D | avct_lcb_act.cc | 176 BTM_SetOutService(p_lcb->peer_addr, BTM_SEC_SERVICE_AVCTP, 0); in avct_lcb_chnl_open() 179 p_lcb->ch_lcid = L2CA_ConnectReq(AVCT_PSM, p_lcb->peer_addr); in avct_lcb_chnl_open() 228 &p_lcb->peer_addr); in avct_lcb_open_ind() 238 &p_lcb->peer_addr); in avct_lcb_open_ind() 267 &p_lcb->peer_addr); in avct_lcb_open_fail() 290 avct_ccb_dealloc(p_ccb, AVCT_DISCONNECT_IND_EVT, 0, &p_lcb->peer_addr); in avct_lcb_close_ind() 295 &p_lcb->peer_addr); in avct_lcb_close_ind() 328 avct_ccb_dealloc(p_ccb, event, p_data->result, &p_lcb->peer_addr); in avct_lcb_close_cfm() 332 &p_lcb->peer_addr); in avct_lcb_close_cfm() 351 AVCT_CONNECT_CFM_EVT, 0, &p_lcb->peer_addr); in avct_lcb_bind_conn() [all …]
|
D | avct_bcb_act.cc | 106 BTM_SetOutService(p_lcb->peer_addr, BTM_SEC_SERVICE_AVCTP_BROWSE, 0); in avct_bcb_chnl_open() 119 L2CA_ErtmConnectReq(AVCT_BR_PSM, p_lcb->peer_addr, &ertm_info); in avct_bcb_chnl_open() 172 0, &p_ccb->p_lcb->peer_addr); in avct_bcb_open_ind() 178 p_bcb->peer_addr == p_ccb->p_lcb->peer_addr) { in avct_bcb_open_ind() 184 0, &p_ccb->p_lcb->peer_addr); in avct_bcb_open_ind() 253 &p_lcb->peer_addr); in avct_bcb_close_ind() 296 &p_bcb->peer_addr); in avct_bcb_close_cfm() 316 &p_lcb->peer_addr); in avct_bcb_bind_conn() 396 &p_lcb->peer_addr); in avct_bcb_cong_ind()
|
D | avct_api.cc | 135 const RawAddress& peer_addr) { in AVCT_CreateConn() argument 153 p_lcb = avct_lcb_by_bd(peer_addr); in AVCT_CreateConn() 155 p_lcb = avct_lcb_alloc(peer_addr); in AVCT_CreateConn() 274 p_bcb->peer_addr = p_ccb->p_lcb->peer_addr; in AVCT_CreateBrowse()
|
/system/bt/profile/avrcp/ |
D | connection_handler.cc | 213 const RawAddress* peer_addr) { in InitiatorControlCb() argument 218 << " addr=" << (peer_addr ? peer_addr->ToString() : "none"); in InitiatorControlCb() 224 const auto& feature_iter = feature_map_.find(*peer_addr); in InitiatorControlCb() 246 *peer_addr, !supports_browsing, callback, ctrl_mtu, browse_mtu); in InitiatorControlCb() 301 const RawAddress* peer_addr) { in AcceptorControlCb() argument 306 << " addr=" << (peer_addr ? peer_addr->ToString() : "none"); in AcceptorControlCb() 317 *peer_addr, false, callback, ctrl_mtu, browse_mtu); in AcceptorControlCb() 324 << peer_addr->ToString(); in AcceptorControlCb() 347 SdpLookup(*peer_addr, base::Bind(sdp_lambda, this, handle)); in AcceptorControlCb()
|
/system/bt/bta/av/ |
D | bta_av_int.h | 161 const RawAddress& peer_addr, 165 const RawAddress& peer_addr, 171 const RawAddress& peer_addr, 177 const RawAddress& peer_addr, uint16_t mtu); 179 const RawAddress& peer_addr); 181 const RawAddress& peer_addr, 185 const RawAddress& peer_addr); 189 const RawAddress& peer_addr, uint16_t delay); 191 const RawAddress& peer_addr, 195 const RawAddress& peer_addr); [all …]
|
D | bta_av_act.cc | 209 const RawAddress* peer_addr) { in bta_av_rc_ctrl_cback() argument 231 if (peer_addr) p_msg->peer_addr = *peer_addr; in bta_av_rc_ctrl_cback() 498 if (p_scb && p_scb->PeerAddress() == p_data->rc_conn_chg.peer_addr) { in bta_av_rc_opened() 551 p_lcb->addr = p_data->rc_conn_chg.peer_addr; in bta_av_rc_opened() 561 rc_open.peer_addr = p_data->rc_conn_chg.peer_addr; in bta_av_rc_opened() 1136 p_lcb = bta_av_find_lcb(p_data->conn_chg.peer_addr, BTA_AV_LCB_FIND); in bta_av_conn_chg() 1175 p_data->conn_chg.peer_addr.ToString().c_str()); in bta_av_conn_chg() 1178 p_lcb_rc->addr == p_data->conn_chg.peer_addr) { in bta_av_conn_chg() 1859 rc_open.peer_addr = p_scb->PeerAddress(); in bta_av_rc_disc_done() 1878 rc_feat.peer_addr = p_cb->lcb[p_cb->rcb[rc_handle].lidx - 1].addr; in bta_av_rc_disc_done() [all …]
|
/system/bt/stack/include/ |
D | avct_api.h | 105 const RawAddress* peer_addr); 175 const RawAddress& peer_addr);
|
/system/bt/bta/include/ |
D | bta_dm_api.h | 30 void bta_dm_pm_active(const RawAddress& peer_addr);
|
D | bta_av_api.h | 238 RawAddress peer_addr; member 245 RawAddress peer_addr; member 251 RawAddress peer_addr; member 258 RawAddress peer_addr; member 265 RawAddress peer_addr; member
|