/system/bt/bta/ag/ |
D | bta_ag_act.cc | 60 typedef void (*tBTA_AG_ATCMD_CBACK)(tBTA_AG_SCB* p_scb, uint16_t cmd, 77 static void bta_ag_cback_open(tBTA_AG_SCB* p_scb, const RawAddress& bd_addr, in bta_ag_cback_open() argument 82 open.hdr.handle = bta_ag_scb_to_idx(p_scb); in bta_ag_cback_open() 83 open.hdr.app_id = p_scb->app_id; in bta_ag_cback_open() 85 open.service_id = bta_ag_svc_id[p_scb->conn_service]; in bta_ag_cback_open() 102 void bta_ag_register(tBTA_AG_SCB* p_scb, const tBTA_AG_DATA& data) { in bta_ag_register() argument 104 p_scb->reg_services = data.api_register.services; in bta_ag_register() 105 p_scb->serv_sec_mask = data.api_register.sec_mask; in bta_ag_register() 106 p_scb->features = data.api_register.features; in bta_ag_register() 107 p_scb->app_id = data.api_register.app_id; in bta_ag_register() [all …]
|
D | bta_ag_cmd.cc | 209 static void bta_ag_send_result(tBTA_AG_SCB* p_scb, size_t code, in bta_ag_send_result() argument 227 if (p_scb->conn_service == BTA_AG_HSP) { in bta_ag_send_result() 255 PORT_WriteData(p_scb->conn_handle, buf, (uint16_t)(p - buf), &len); in bta_ag_send_result() 268 static void bta_ag_send_ok(tBTA_AG_SCB* p_scb) { in bta_ag_send_ok() argument 269 bta_ag_send_result(p_scb, BTA_AG_LOCAL_RES_OK, nullptr, 0); in bta_ag_send_ok() 283 static void bta_ag_send_error(tBTA_AG_SCB* p_scb, int16_t errcode) { in bta_ag_send_error() argument 285 if (p_scb->conn_service == BTA_AG_HFP && p_scb->cmee_enabled) in bta_ag_send_error() 286 bta_ag_send_result(p_scb, BTA_AG_LOCAL_RES_CMEE, nullptr, errcode); in bta_ag_send_error() 288 bta_ag_send_result(p_scb, BTA_AG_LOCAL_RES_ERROR, nullptr, 0); in bta_ag_send_error() 301 static void bta_ag_send_ind(tBTA_AG_SCB* p_scb, uint16_t id, uint16_t value, in bta_ag_send_ind() argument [all …]
|
D | bta_ag_sco.cc | 108 static void bta_ag_create_pending_sco(tBTA_AG_SCB* p_scb, bool is_local); 122 tBTA_AG_SCB* p_scb; in bta_ag_sco_conn_cback() local 132 p_scb = bta_ag_scb_by_idx(handle); in bta_ag_sco_conn_cback() 133 if (p_scb && !p_scb->svc_conn) handle = 0; in bta_ag_sco_conn_cback() 247 static bool bta_ag_remove_sco(tBTA_AG_SCB* p_scb, bool only_active) { in bta_ag_remove_sco() argument 248 if (p_scb->sco_idx != BTM_INVALID_SCO_INDEX) { in bta_ag_remove_sco() 249 if (!only_active || p_scb->sco_idx == bta_ag_cb.sco.cur_idx) { in bta_ag_remove_sco() 250 tBTM_STATUS status = BTM_RemoveSco(p_scb->sco_idx); in bta_ag_remove_sco() 252 p_scb->sco_idx, status); in bta_ag_remove_sco() 255 bta_ag_cb.sco.p_curr_scb = p_scb; in bta_ag_remove_sco() [all …]
|
D | bta_ag_rfc.cc | 79 tBTA_AG_SCB* p_scb = bta_ag_scb_by_idx(handle); in bta_ag_port_cback() local 80 if (p_scb != nullptr) { in bta_ag_port_cback() 82 if (port_handle != p_scb->conn_handle) { in bta_ag_port_cback() 85 port_handle, p_scb->conn_handle, handle); in bta_ag_port_cback() 88 if (!bta_ag_scb_open(p_scb)) { in bta_ag_port_cback() 90 << handle << " peer_addr " << p_scb->peer_addr << " state " in bta_ag_port_cback() 91 << std::to_string(p_scb->state); in bta_ag_port_cback() 111 tBTA_AG_SCB* p_scb = bta_ag_scb_by_idx(handle); in bta_ag_mgmt_cback() local 113 __func__, code, port_handle, handle, p_scb); in bta_ag_mgmt_cback() 114 if (p_scb == nullptr) { in bta_ag_mgmt_cback() [all …]
|
D | bta_ag_main.cc | 78 typedef void (*tBTA_AG_ACTION)(tBTA_AG_SCB* p_scb, const tBTA_AG_DATA& data); 322 tBTA_AG_SCB* p_scb = &bta_ag_cb.scb[0]; in bta_ag_scb_alloc() local 325 for (i = 0; i < BTA_AG_MAX_NUM_CLIENTS; i++, p_scb++) { in bta_ag_scb_alloc() 326 if (!p_scb->in_use) { in bta_ag_scb_alloc() 328 p_scb->in_use = true; in bta_ag_scb_alloc() 329 p_scb->sco_idx = BTM_INVALID_SCO_INDEX; in bta_ag_scb_alloc() 330 p_scb->received_at_bac = false; in bta_ag_scb_alloc() 331 p_scb->codec_updated = false; in bta_ag_scb_alloc() 332 p_scb->codec_fallback = false; in bta_ag_scb_alloc() 333 p_scb->peer_codecs = BTA_AG_CODEC_CVSD; in bta_ag_scb_alloc() [all …]
|
D | bta_ag_int.h | 304 extern void bta_ag_scb_dealloc(tBTA_AG_SCB* p_scb); 305 extern uint16_t bta_ag_scb_to_idx(tBTA_AG_SCB* p_scb); 311 extern void bta_ag_sm_execute(tBTA_AG_SCB* p_scb, uint16_t event, 317 extern void bta_ag_resume_open(tBTA_AG_SCB* p_scb); 323 extern void bta_ag_create_records(tBTA_AG_SCB* p_scb, const tBTA_AG_DATA& data); 324 extern void bta_ag_del_records(tBTA_AG_SCB* p_scb); 325 extern bool bta_ag_sdp_find_attr(tBTA_AG_SCB* p_scb, tBTA_SERVICE_MASK service); 326 extern void bta_ag_do_disc(tBTA_AG_SCB* p_scb, tBTA_SERVICE_MASK service); 327 extern void bta_ag_free_db(tBTA_AG_SCB* p_scb, const tBTA_AG_DATA& data); 330 extern void bta_ag_start_servers(tBTA_AG_SCB* p_scb, [all …]
|
D | bta_ag_sdp.cc | 81 tBTA_AG_SCB* p_scb = bta_ag_scb_by_idx(idx); in bta_ag_sdp_cback() local 82 if (p_scb) { in bta_ag_sdp_cback() 85 if (p_scb->role == BTA_AG_ACP) { in bta_ag_sdp_cback() 214 void bta_ag_create_records(tBTA_AG_SCB* p_scb, const tBTA_AG_DATA& data) { in bta_ag_create_records() argument 218 services = p_scb->reg_services >> BTA_HSP_SERVICE_ID; in bta_ag_create_records() 245 void bta_ag_del_records(tBTA_AG_SCB* p_scb) { in bta_ag_del_records() argument 253 if (p_scb == p) { in bta_ag_del_records() 263 services = p_scb->reg_services >> BTA_HSP_SERVICE_ID; in bta_ag_del_records() 292 bool bta_ag_sdp_find_attr(tBTA_AG_SCB* p_scb, tBTA_SERVICE_MASK service) { in bta_ag_sdp_find_attr() argument 302 if (p_scb->peer_version == HFP_HSP_VERSION_UNKNOWN) { in bta_ag_sdp_find_attr() [all …]
|
/system/bt/bta/av/ |
D | bta_av_aact.cc | 84 static void bta_av_offload_codec_builder(tBTA_AV_SCB* p_scb, 86 static void bta_av_st_rc_timer(tBTA_AV_SCB* p_scb, 227 static uint8_t bta_av_get_scb_handle(tBTA_AV_SCB* p_scb, uint8_t local_sep) { in bta_av_get_scb_handle() argument 229 if ((p_scb->seps[i].tsep == local_sep) && in bta_av_get_scb_handle() 230 A2DP_CodecTypeEquals(p_scb->seps[i].codec_info, in bta_av_get_scb_handle() 231 p_scb->cfg.codec_info)) { in bta_av_get_scb_handle() 232 return (p_scb->seps[i].av_handle); in bta_av_get_scb_handle() 248 static uint8_t bta_av_get_scb_sep_type(tBTA_AV_SCB* p_scb, in bta_av_get_scb_sep_type() argument 251 if (p_scb->seps[i].av_handle == tavdt_handle) return (p_scb->seps[i].tsep); in bta_av_get_scb_sep_type() 267 static void bta_av_save_addr(tBTA_AV_SCB* p_scb, const RawAddress& bd_addr) { in bta_av_save_addr() argument [all …]
|
D | bta_av_main.cc | 297 tBTA_AV_SCB* p_scb = NULL; in bta_av_addr_to_scb() local 301 if (bta_av_cb.p_scb[xx]) { in bta_av_addr_to_scb() 302 if (bd_addr == bta_av_cb.p_scb[xx]->PeerAddress()) { in bta_av_addr_to_scb() 303 p_scb = bta_av_cb.p_scb[xx]; in bta_av_addr_to_scb() 308 return p_scb; in bta_av_addr_to_scb() 313 tBTA_AV_SCB* p_scb = bta_av_addr_to_scb(peer_address); in BTA_AvObtainPeerChannelIndex() local 314 if (p_scb != nullptr) { in BTA_AvObtainPeerChannelIndex() 315 return p_scb->hdi; in BTA_AvObtainPeerChannelIndex() 320 tBTA_AV_SCB* p_scb = bta_av_cb.p_scb[index]; in BTA_AvObtainPeerChannelIndex() local 321 if (p_scb == nullptr) { in BTA_AvObtainPeerChannelIndex() [all …]
|
D | bta_av_int.h | 588 typedef void (*tBTA_AV_SACT)(tBTA_AV_SCB* p_scb, tBTA_AV_DATA* p_data); 592 tBTA_AV_SCB* p_scb[BTA_AV_NUM_STRS]; /* stream control block */ member 674 extern bool bta_av_chk_start(tBTA_AV_SCB* p_scb); 681 extern void bta_av_stream_chg(tBTA_AV_SCB* p_scb, bool started); 682 extern bool bta_av_is_scb_opening(tBTA_AV_SCB* p_scb); 683 extern bool bta_av_is_scb_incoming(tBTA_AV_SCB* p_scb); 684 extern void bta_av_set_scb_sst_init(tBTA_AV_SCB* p_scb); 685 extern bool bta_av_is_scb_init(tBTA_AV_SCB* p_scb); 686 extern void bta_av_set_scb_sst_incoming(tBTA_AV_SCB* p_scb); 689 extern void bta_av_free_scb(tBTA_AV_SCB* p_scb); [all …]
|
D | bta_av_ssm.cc | 481 void bta_av_ssm_execute(tBTA_AV_SCB* p_scb, uint16_t event, in bta_av_ssm_execute() argument 483 if (p_scb == NULL) { in bta_av_ssm_execute() 490 tBTA_AV_SST_TBL state_table = bta_av_sst_tbl[p_scb->state]; in bta_av_ssm_execute() 495 if (p_scb->state != new_state) { in bta_av_ssm_execute() 498 __func__, p_scb->PeerAddress().ToString().c_str(), p_scb->hndl, event, in bta_av_ssm_execute() 499 bta_av_evt_code(event), p_scb->state, bta_av_sst_code(p_scb->state), in bta_av_ssm_execute() 500 new_state, bta_av_sst_code(new_state), p_scb); in bta_av_ssm_execute() 504 p_scb->PeerAddress().ToString().c_str(), p_scb->hndl, event, in bta_av_ssm_execute() 505 bta_av_evt_code(event), p_scb->state, bta_av_sst_code(p_scb->state), in bta_av_ssm_execute() 506 p_scb); in bta_av_ssm_execute() [all …]
|
D | bta_av_act.cc | 103 tBTA_AV_SCB* p_scb; in bta_av_del_rc() local 106 p_scb = NULL; in bta_av_del_rc() 111 p_scb = bta_av_cb.p_scb[p_rcb->shdl - 1]; in bta_av_del_rc() 113 if (p_scb) { in bta_av_del_rc() 115 p_rcb->shdl, p_scb->rc_handle, p_rcb->handle); in bta_av_del_rc() 116 if (p_scb->rc_handle == p_rcb->handle) in bta_av_del_rc() 117 p_scb->rc_handle = BTA_AV_RC_HANDLE_NONE; in bta_av_del_rc() 121 alarm_cancel(p_scb->avrc_ct_timer); in bta_av_del_rc() 329 tBTA_AV_SCB* p_scb = p_cb->p_scb[shdl - 1]; in bta_av_rc_create() local 330 bda = p_scb->PeerAddress(); in bta_av_rc_create() [all …]
|
/system/bt/stack/avdt/ |
D | avdt_scb_act.cc | 66 uint32_t avdt_scb_gen_ssrc(AvdtpScb* p_scb) { in avdt_scb_gen_ssrc() argument 68 return ((uint32_t)(p_scb->stream_config.cfg.codec_info[1] | in avdt_scb_gen_ssrc() 69 p_scb->stream_config.cfg.codec_info[2])); in avdt_scb_gen_ssrc() 82 void avdt_scb_hdl_abort_cmd(AvdtpScb* p_scb, tAVDT_SCB_EVT* p_data) { in avdt_scb_hdl_abort_cmd() argument 83 p_scb->role = AVDT_CLOSE_ACP; in avdt_scb_hdl_abort_cmd() 84 avdt_scb_event(p_scb, AVDT_SCB_API_ABORT_RSP_EVT, p_data); in avdt_scb_hdl_abort_cmd() 97 void avdt_scb_hdl_abort_rsp(UNUSED_ATTR AvdtpScb* p_scb, in avdt_scb_hdl_abort_rsp() argument 112 void avdt_scb_hdl_close_cmd(AvdtpScb* p_scb, tAVDT_SCB_EVT* p_data) { in avdt_scb_hdl_close_cmd() argument 113 p_scb->role = AVDT_CLOSE_ACP; in avdt_scb_hdl_close_cmd() 114 avdt_scb_event(p_scb, AVDT_SCB_API_CLOSE_RSP_EVT, p_data); in avdt_scb_hdl_close_cmd() [all …]
|
D | avdt_int.h | 736 typedef void (*tAVDT_SCB_ACTION)(AvdtpScb* p_scb, tAVDT_SCB_EVT* p_data); 777 uint8_t ComputeScbHandle(const AvdtpScb* p_scb) const { in ComputeScbHandle() argument 785 if (&ccb[i].scb[j] == p_scb) { in ComputeScbHandle() 865 extern void avdt_scb_event(AvdtpScb* p_scb, uint8_t event, 870 extern void avdt_scb_dealloc(AvdtpScb* p_scb, tAVDT_SCB_EVT* p_data); 871 extern uint8_t avdt_scb_to_hdl(AvdtpScb* p_scb); 876 extern uint32_t avdt_scb_gen_ssrc(AvdtpScb* p_scb); 879 extern void avdt_scb_hdl_abort_cmd(AvdtpScb* p_scb, tAVDT_SCB_EVT* p_data); 880 extern void avdt_scb_hdl_abort_rsp(AvdtpScb* p_scb, tAVDT_SCB_EVT* p_data); 881 extern void avdt_scb_hdl_close_cmd(AvdtpScb* p_scb, tAVDT_SCB_EVT* p_data); [all …]
|
D | avdt_api.cc | 71 AvdtpScb* p_scb = (AvdtpScb*)data; in avdt_scb_transport_channel_timer_timeout() local 74 avdt_scb_event(p_scb, avdt_event, NULL); in avdt_scb_transport_channel_timer_timeout() 146 AvdtpScb* p_scb = avdt_scb_by_hdl(handle); in AVDT_AbortReq() local 147 if (p_scb != NULL) { in AVDT_AbortReq() 148 avdt_scb_event(p_scb, AVDT_SCB_API_ABORT_REQ_EVT, NULL); in AVDT_AbortReq() 172 AvdtpScb* p_scb; in AVDT_CreateStream() local 183 p_scb = avdt_scb_alloc(peer_id, avdtp_stream_config); in AVDT_CreateStream() 184 if (p_scb == NULL) { in AVDT_CreateStream() 187 *p_handle = avdt_scb_to_hdl(p_scb); in AVDT_CreateStream() 215 AvdtpScb* p_scb; in AVDT_RemoveStream() local [all …]
|
D | avdt_ccb_act.cc | 112 AvdtpScb* p_scb = &(p_ccb->scb[0]); in avdt_ccb_chk_close() local 115 for (i = 0; i < AVDT_NUM_SEPS; i++, p_scb++) { in avdt_ccb_chk_close() 116 if ((p_scb->allocated) && (p_scb->p_ccb == p_ccb)) { in avdt_ccb_chk_close() 146 AvdtpScb* p_scb = &(p_ccb->scb[0]); in avdt_ccb_hdl_discover_cmd() local 154 for (int i = 0; i < AVDT_NUM_SEPS; i++, p_scb++) { in avdt_ccb_hdl_discover_cmd() 155 if (p_scb->allocated) { in avdt_ccb_hdl_discover_cmd() 157 sep_info[p_data->msg.discover_rsp.num_seps].in_use = p_scb->in_use; in avdt_ccb_hdl_discover_cmd() 158 sep_info[p_data->msg.discover_rsp.num_seps].seid = p_scb->ScbHandle(); in avdt_ccb_hdl_discover_cmd() 160 p_scb->stream_config.media_type; in avdt_ccb_hdl_discover_cmd() 162 p_scb->stream_config.tsep; in avdt_ccb_hdl_discover_cmd() [all …]
|
D | avdt_ad.cc | 66 uint8_t avdt_ad_type_to_tcid(uint8_t type, AvdtpScb* p_scb) { in avdt_ad_type_to_tcid() argument 73 uint8_t scb_idx = (avdt_scb_to_hdl(p_scb) - 1) % AVDT_NUM_LINKS; in avdt_ad_type_to_tcid() 218 AvdtpScb* p_scb) { in avdt_ad_tc_tbl_by_type() argument 225 tcid = avdt_ad_type_to_tcid(type, p_scb); in avdt_ad_tc_tbl_by_type() 303 AvdtpScb* p_scb; in avdt_ad_tc_close_ind() local 322 p_scb = avdtp_cb.ad.LookupAvdtpScb(*p_tbl); in avdt_ad_tc_close_ind() 323 if (p_scb == nullptr) { in avdt_ad_tc_close_ind() 332 avdt_scb_event(p_scb, AVDT_SCB_TC_CLOSE_EVT, &avdt_scb_evt); in avdt_ad_tc_close_ind() 349 AvdtpScb* p_scb; in avdt_ad_tc_open_ind() local 379 p_scb = avdtp_cb.ad.LookupAvdtpScb(*p_tbl); in avdt_ad_tc_open_ind() [all …]
|
D | avdt_scb.cc | 758 void avdt_scb_event(AvdtpScb* p_scb, uint8_t event, tAVDT_SCB_EVT* p_data) { in avdt_scb_event() argument 766 __func__, avdt_scb_to_hdl(p_scb), event, avdt_scb_evt_str[event], in avdt_scb_event() 767 avdt_scb_st_str[p_scb->state], p_scb, p_scb->stream_config.scb_index); in avdt_scb_event() 770 p_scb->curr_evt = event; in avdt_scb_event() 773 state_table = avdt_scb_st_tbl[p_scb->state]; in avdt_scb_event() 776 if (p_scb->state != state_table[event][AVDT_SCB_NEXT_STATE]) { in avdt_scb_event() 777 p_scb->state = state_table[event][AVDT_SCB_NEXT_STATE]; in avdt_scb_event() 784 (*avdtp_cb.p_scb_act[action])(p_scb, p_data); in avdt_scb_event() 826 AvdtpScb* p_scb = &avdtp_cb.ccb[peer_id].scb[0]; in avdt_scb_alloc() local 827 for (int i = 0; i < AVDT_NUM_SEPS; i++, p_scb++) { in avdt_scb_alloc() [all …]
|
D | avdt_msg.cc | 1336 void avdt_msg_send_cmd(AvdtpCcb* p_ccb, void* p_scb, uint8_t sig_id, in avdt_msg_send_cmd() argument 1353 if (p_scb != NULL) { in avdt_msg_send_cmd() 1358 memcpy(p, (uint8_t*)p_scb, p_buf->len); in avdt_msg_send_cmd() 1362 *p = avdt_scb_to_hdl((AvdtpScb*)p_scb); in avdt_msg_send_cmd() 1521 AvdtpScb* p_scb; in avdt_msg_ind() local 1684 p_scb = avdt_scb_by_hdl(scb_hdl); in avdt_msg_ind() 1685 if (p_scb != NULL) { in avdt_msg_ind() 1688 avdt_scb_event(p_scb, evt, &avdt_scb_evt); in avdt_msg_ind()
|
/system/bt/bta/pan/ |
D | bta_pan_act.cc | 58 static void bta_pan_pm_conn_busy(tBTA_PAN_SCB* p_scb) { in bta_pan_pm_conn_busy() argument 59 if ((p_scb != NULL) && (p_scb->state != BTA_PAN_IDLE_ST)) in bta_pan_pm_conn_busy() 60 bta_sys_busy(BTA_ID_PAN, p_scb->app_id, p_scb->bd_addr); in bta_pan_pm_conn_busy() 74 static void bta_pan_pm_conn_idle(tBTA_PAN_SCB* p_scb) { in bta_pan_pm_conn_idle() argument 75 if ((p_scb != NULL) && (p_scb->state != BTA_PAN_IDLE_ST)) in bta_pan_pm_conn_idle() 76 bta_sys_idle(BTA_ID_PAN, p_scb->app_id, p_scb->bd_addr); in bta_pan_pm_conn_idle() 92 tBTA_PAN_SCB* p_scb; in bta_pan_conn_state_cback() local 97 p_scb = bta_pan_scb_by_handle(handle); in bta_pan_conn_state_cback() 98 if (p_scb == NULL) { in bta_pan_conn_state_cback() 100 p_scb = bta_pan_scb_alloc(); in bta_pan_conn_state_cback() [all …]
|
D | bta_pan_main.cc | 59 typedef void (*tBTA_PAN_ACTION)(tBTA_PAN_SCB* p_scb, tBTA_PAN_DATA* p_data); 139 tBTA_PAN_SCB* p_scb = &bta_pan_cb.scb[0]; in bta_pan_scb_alloc() local 142 for (i = 0; i < BTA_PAN_NUM_CONN; i++, p_scb++) { in bta_pan_scb_alloc() 143 if (!p_scb->in_use) { in bta_pan_scb_alloc() 144 p_scb->in_use = true; in bta_pan_scb_alloc() 152 p_scb = NULL; in bta_pan_scb_alloc() 155 return p_scb; in bta_pan_scb_alloc() 168 static void bta_pan_sm_execute(tBTA_PAN_SCB* p_scb, uint16_t event, in bta_pan_sm_execute() argument 174 APPL_TRACE_EVENT("PAN scb=%d event=0x%x state=%d", bta_pan_scb_to_idx(p_scb), in bta_pan_sm_execute() 175 event, p_scb->state); in bta_pan_sm_execute() [all …]
|
D | bta_pan_int.h | 165 extern void bta_pan_scb_dealloc(tBTA_PAN_SCB* p_scb); 166 extern uint8_t bta_pan_scb_to_idx(tBTA_PAN_SCB* p_scb); 174 extern void bta_pan_open(tBTA_PAN_SCB* p_scb, tBTA_PAN_DATA* p_data); 175 extern void bta_pan_api_close(tBTA_PAN_SCB* p_scb, tBTA_PAN_DATA* p_data); 176 extern void bta_pan_set_shutdown(tBTA_PAN_SCB* p_scb, tBTA_PAN_DATA* p_data); 177 extern void bta_pan_rx_path(tBTA_PAN_SCB* p_scb, tBTA_PAN_DATA* p_data); 178 extern void bta_pan_tx_path(tBTA_PAN_SCB* p_scb, tBTA_PAN_DATA* p_data); 179 extern void bta_pan_tx_flow(tBTA_PAN_SCB* p_scb, tBTA_PAN_DATA* p_data); 180 extern void bta_pan_conn_open(tBTA_PAN_SCB* p_scb, tBTA_PAN_DATA* p_data); 181 extern void bta_pan_conn_close(tBTA_PAN_SCB* p_scb, tBTA_PAN_DATA* p_data); [all …]
|
D | bta_pan_ci.cc | 186 tBTA_PAN_SCB* p_scb = bta_pan_scb_by_handle(handle); in bta_pan_ci_readbuf() local 189 if (p_scb == NULL) return NULL; in bta_pan_ci_readbuf() 191 p_buf = (BT_HDR*)fixed_queue_try_dequeue(p_scb->data_queue); in bta_pan_ci_readbuf()
|