/system/bt/bta/ag/ |
D | bta_ag_act.cc | 57 typedef void (*tBTA_AG_ATCMD_CBACK)(tBTA_AG_SCB* p_scb, uint16_t cmd, 74 static void bta_ag_cback_open(tBTA_AG_SCB* p_scb, const RawAddress& bd_addr, in bta_ag_cback_open() argument 79 open.hdr.handle = bta_ag_scb_to_idx(p_scb); in bta_ag_cback_open() 80 open.hdr.app_id = p_scb->app_id; in bta_ag_cback_open() 82 open.service_id = bta_ag_svc_id[p_scb->conn_service]; in bta_ag_cback_open() 99 void bta_ag_register(tBTA_AG_SCB* p_scb, const tBTA_AG_DATA& data) { in bta_ag_register() argument 101 p_scb->reg_services = data.api_register.services; in bta_ag_register() 102 p_scb->features = data.api_register.features; in bta_ag_register() 103 p_scb->masked_features = data.api_register.features; in bta_ag_register() 104 p_scb->app_id = data.api_register.app_id; in bta_ag_register() [all …]
|
D | bta_ag_main.cc | 135 tBTA_AG_SCB* p_scb = &bta_ag_cb.scb[0]; in bta_ag_scb_alloc() local 138 for (i = 0; i < BTA_AG_MAX_NUM_CLIENTS; i++, p_scb++) { in bta_ag_scb_alloc() 139 if (!p_scb->in_use) { in bta_ag_scb_alloc() 141 p_scb->in_use = true; in bta_ag_scb_alloc() 142 p_scb->sco_idx = BTM_INVALID_SCO_INDEX; in bta_ag_scb_alloc() 143 p_scb->received_at_bac = false; in bta_ag_scb_alloc() 144 p_scb->codec_updated = false; in bta_ag_scb_alloc() 145 p_scb->codec_fallback = false; in bta_ag_scb_alloc() 146 p_scb->peer_codecs = BTA_AG_CODEC_CVSD; in bta_ag_scb_alloc() 147 p_scb->sco_codec = BTA_AG_CODEC_CVSD; in bta_ag_scb_alloc() [all …]
|
D | bta_ag_cmd.cc | 204 static void bta_ag_send_result(tBTA_AG_SCB* p_scb, size_t code, in bta_ag_send_result() argument 222 if (p_scb->conn_service == BTA_AG_HSP) { in bta_ag_send_result() 250 PORT_WriteData(p_scb->conn_handle, buf, (uint16_t)(p - buf), &len); in bta_ag_send_result() 263 static void bta_ag_send_ok(tBTA_AG_SCB* p_scb) { in bta_ag_send_ok() argument 264 bta_ag_send_result(p_scb, BTA_AG_LOCAL_RES_OK, nullptr, 0); in bta_ag_send_ok() 278 static void bta_ag_send_error(tBTA_AG_SCB* p_scb, int16_t errcode) { in bta_ag_send_error() argument 280 if (p_scb->conn_service == BTA_AG_HFP && p_scb->cmee_enabled) in bta_ag_send_error() 281 bta_ag_send_result(p_scb, BTA_AG_LOCAL_RES_CMEE, nullptr, errcode); in bta_ag_send_error() 283 bta_ag_send_result(p_scb, BTA_AG_LOCAL_RES_ERROR, nullptr, 0); in bta_ag_send_error() 296 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 | 112 static void bta_ag_create_pending_sco(tBTA_AG_SCB* p_scb, bool is_local); 126 tBTA_AG_SCB* p_scb; in bta_ag_sco_conn_cback() local 136 p_scb = bta_ag_scb_by_idx(handle); in bta_ag_sco_conn_cback() 137 if (p_scb && !p_scb->svc_conn) handle = 0; in bta_ag_sco_conn_cback() 246 static bool bta_ag_remove_sco(tBTA_AG_SCB* p_scb, bool only_active) { in bta_ag_remove_sco() argument 247 if (p_scb->sco_idx != BTM_INVALID_SCO_INDEX) { in bta_ag_remove_sco() 248 if (!only_active || p_scb->sco_idx == bta_ag_cb.sco.cur_idx) { in bta_ag_remove_sco() 249 tBTM_STATUS status = BTM_RemoveSco(p_scb->sco_idx); in bta_ag_remove_sco() 250 LOG_DEBUG("Removed SCO index:0x%04x status:%s", p_scb->sco_idx, in bta_ag_remove_sco() 254 bta_ag_cb.sco.p_curr_scb = p_scb; in bta_ag_remove_sco() [all …]
|
D | bta_ag_rfc.cc | 73 tBTA_AG_SCB* p_scb = bta_ag_scb_by_idx(handle); in bta_ag_port_cback() local 74 if (p_scb != nullptr) { in bta_ag_port_cback() 76 if (port_handle != p_scb->conn_handle) { in bta_ag_port_cback() 79 port_handle, p_scb->conn_handle, handle); in bta_ag_port_cback() 82 if (!bta_ag_scb_open(p_scb)) { in bta_ag_port_cback() 84 << handle << " peer_addr " << p_scb->peer_addr << " state " in bta_ag_port_cback() 85 << std::to_string(p_scb->state); in bta_ag_port_cback() 105 tBTA_AG_SCB* p_scb = bta_ag_scb_by_idx(handle); in bta_ag_mgmt_cback() local 107 __func__, code, port_handle, handle, p_scb); in bta_ag_mgmt_cback() 108 if (p_scb == nullptr) { in bta_ag_mgmt_cback() [all …]
|
D | bta_ag_int.h | 318 extern void bta_ag_scb_dealloc(tBTA_AG_SCB* p_scb); 319 extern uint16_t bta_ag_scb_to_idx(tBTA_AG_SCB* p_scb); 325 extern void bta_ag_sm_execute(tBTA_AG_SCB* p_scb, uint16_t event, 331 extern void bta_ag_resume_open(tBTA_AG_SCB* p_scb); 337 extern void bta_ag_create_records(tBTA_AG_SCB* p_scb, const tBTA_AG_DATA& data); 338 extern void bta_ag_del_records(tBTA_AG_SCB* p_scb); 339 extern bool bta_ag_sdp_find_attr(tBTA_AG_SCB* p_scb, tBTA_SERVICE_MASK service); 340 extern void bta_ag_do_disc(tBTA_AG_SCB* p_scb, tBTA_SERVICE_MASK service); 341 extern void bta_ag_free_db(tBTA_AG_SCB* p_scb, const tBTA_AG_DATA& data); 344 extern void bta_ag_start_servers(tBTA_AG_SCB* p_scb, [all …]
|
D | bta_ag_sdp.cc | 78 tBTA_AG_SCB* p_scb = bta_ag_scb_by_idx(idx); in bta_ag_sdp_cback() local 79 if (p_scb) { in bta_ag_sdp_cback() 82 if (p_scb->role == BTA_AG_ACP) { in bta_ag_sdp_cback() 211 void bta_ag_create_records(tBTA_AG_SCB* p_scb, const tBTA_AG_DATA& data) { in bta_ag_create_records() argument 215 services = p_scb->reg_services >> BTA_HSP_SERVICE_ID; in bta_ag_create_records() 242 void bta_ag_del_records(tBTA_AG_SCB* p_scb) { in bta_ag_del_records() argument 250 if (p_scb == p) { in bta_ag_del_records() 260 services = p_scb->reg_services >> BTA_HSP_SERVICE_ID; in bta_ag_del_records() 289 bool bta_ag_sdp_find_attr(tBTA_AG_SCB* p_scb, tBTA_SERVICE_MASK service) { in bta_ag_sdp_find_attr() argument 299 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 | 85 static void bta_av_offload_codec_builder(tBTA_AV_SCB* p_scb, 172 static uint8_t bta_av_get_scb_handle(tBTA_AV_SCB* p_scb, uint8_t local_sep) { in bta_av_get_scb_handle() argument 174 if ((p_scb->seps[i].tsep == local_sep) && in bta_av_get_scb_handle() 175 A2DP_CodecTypeEquals(p_scb->seps[i].codec_info, in bta_av_get_scb_handle() 176 p_scb->cfg.codec_info)) { in bta_av_get_scb_handle() 177 return (p_scb->seps[i].av_handle); in bta_av_get_scb_handle() 193 static uint8_t bta_av_get_scb_sep_type(tBTA_AV_SCB* p_scb, in bta_av_get_scb_sep_type() argument 196 if (p_scb->seps[i].av_handle == tavdt_handle) return (p_scb->seps[i].tsep); in bta_av_get_scb_sep_type() 212 static void bta_av_save_addr(tBTA_AV_SCB* p_scb, const RawAddress& bd_addr) { in bta_av_save_addr() argument 214 bd_addr.ToString().c_str(), p_scb->recfg_sup, in bta_av_save_addr() [all …]
|
D | bta_av_ssm.cc | 44 static void bta_av_better_stream_state_machine(tBTA_AV_SCB* p_scb, in bta_av_better_stream_state_machine() argument 47 uint8_t previous_state = p_scb->state; in bta_av_better_stream_state_machine() 50 switch (p_scb->state) { in bta_av_better_stream_state_machine() 54 p_scb->state = BTA_AV_OPENING_SST; in bta_av_better_stream_state_machine() 67 p_scb->state = BTA_AV_INCOMING_SST; in bta_av_better_stream_state_machine() 71 p_scb->state = BTA_AV_INCOMING_SST; in bta_av_better_stream_state_machine() 87 p_scb->state = BTA_AV_CLOSING_SST; in bta_av_better_stream_state_machine() 102 p_scb->state = BTA_AV_INIT_SST; in bta_av_better_stream_state_machine() 119 p_scb->state = BTA_AV_OPEN_SST; in bta_av_better_stream_state_machine() 123 p_scb->state = BTA_AV_INIT_SST; in bta_av_better_stream_state_machine() [all …]
|
D | bta_av_main.cc | 189 tBTA_AV_SCB* p_scb = NULL; in bta_av_addr_to_scb() local 193 if (bta_av_cb.p_scb[xx]) { in bta_av_addr_to_scb() 194 if (bd_addr == bta_av_cb.p_scb[xx]->PeerAddress()) { in bta_av_addr_to_scb() 195 p_scb = bta_av_cb.p_scb[xx]; in bta_av_addr_to_scb() 200 return p_scb; in bta_av_addr_to_scb() 205 tBTA_AV_SCB* p_scb = bta_av_addr_to_scb(peer_address); in BTA_AvObtainPeerChannelIndex() local 206 if (p_scb != nullptr) { in BTA_AvObtainPeerChannelIndex() 207 return p_scb->hdi; in BTA_AvObtainPeerChannelIndex() 212 tBTA_AV_SCB* p_scb = bta_av_cb.p_scb[index]; in BTA_AvObtainPeerChannelIndex() local 213 if (p_scb == nullptr) { in BTA_AvObtainPeerChannelIndex() [all …]
|
D | bta_av_int.h | 613 typedef void (*tBTA_AV_SACT)(tBTA_AV_SCB* p_scb, tBTA_AV_DATA* p_data); 617 tBTA_AV_SCB* p_scb[BTA_AV_NUM_STRS]; /* stream control block */ member 694 extern bool bta_av_chk_start(tBTA_AV_SCB* p_scb); 701 extern void bta_av_stream_chg(tBTA_AV_SCB* p_scb, bool started); 702 extern bool bta_av_is_scb_opening(tBTA_AV_SCB* p_scb); 703 extern bool bta_av_is_scb_incoming(tBTA_AV_SCB* p_scb); 704 extern void bta_av_set_scb_sst_init(tBTA_AV_SCB* p_scb); 705 extern bool bta_av_is_scb_init(tBTA_AV_SCB* p_scb); 706 extern void bta_av_set_scb_sst_incoming(tBTA_AV_SCB* p_scb); 709 extern void bta_av_free_scb(tBTA_AV_SCB* p_scb); [all …]
|
D | bta_av_act.cc | 98 tBTA_AV_SCB* p_scb; in bta_av_del_rc() local 101 p_scb = NULL; in bta_av_del_rc() 106 p_scb = bta_av_cb.p_scb[p_rcb->shdl - 1]; in bta_av_del_rc() 108 if (p_scb) { in bta_av_del_rc() 110 p_rcb->shdl, p_scb->rc_handle, p_rcb->handle); in bta_av_del_rc() 111 if (p_scb->rc_handle == p_rcb->handle) in bta_av_del_rc() 112 p_scb->rc_handle = BTA_AV_RC_HANDLE_NONE; in bta_av_del_rc() 116 alarm_cancel(p_scb->avrc_ct_timer); in bta_av_del_rc() 323 tBTA_AV_SCB* p_scb = p_cb->p_scb[shdl - 1]; in bta_av_rc_create() local 324 bda = p_scb->PeerAddress(); in bta_av_rc_create() [all …]
|
/system/bt/stack/avdt/ |
D | avdt_scb_act.cc | 68 uint32_t avdt_scb_gen_ssrc(AvdtpScb* p_scb) { in avdt_scb_gen_ssrc() argument 70 return ((uint32_t)(p_scb->stream_config.cfg.codec_info[1] | in avdt_scb_gen_ssrc() 71 p_scb->stream_config.cfg.codec_info[2])); in avdt_scb_gen_ssrc() 84 void avdt_scb_hdl_abort_cmd(AvdtpScb* p_scb, tAVDT_SCB_EVT* p_data) { in avdt_scb_hdl_abort_cmd() argument 85 p_scb->role = AVDT_CLOSE_ACP; in avdt_scb_hdl_abort_cmd() 86 avdt_scb_event(p_scb, AVDT_SCB_API_ABORT_RSP_EVT, p_data); in avdt_scb_hdl_abort_cmd() 99 void avdt_scb_hdl_abort_rsp(UNUSED_ATTR AvdtpScb* p_scb, in avdt_scb_hdl_abort_rsp() argument 114 void avdt_scb_hdl_close_cmd(AvdtpScb* p_scb, tAVDT_SCB_EVT* p_data) { in avdt_scb_hdl_close_cmd() argument 115 p_scb->role = AVDT_CLOSE_ACP; in avdt_scb_hdl_close_cmd() 116 avdt_scb_event(p_scb, AVDT_SCB_API_CLOSE_RSP_EVT, p_data); in avdt_scb_hdl_close_cmd() [all …]
|
D | avdt_int.h | 726 typedef void (*tAVDT_SCB_ACTION)(AvdtpScb* p_scb, tAVDT_SCB_EVT* p_data); 767 uint8_t ComputeScbHandle(const AvdtpScb* p_scb) const { in ComputeScbHandle() argument 775 if (&ccb[i].scb[j] == p_scb) { in ComputeScbHandle() 855 extern void avdt_scb_event(AvdtpScb* p_scb, uint8_t event, 860 extern void avdt_scb_dealloc(AvdtpScb* p_scb, tAVDT_SCB_EVT* p_data); 861 extern uint8_t avdt_scb_to_hdl(AvdtpScb* p_scb); 866 extern uint32_t avdt_scb_gen_ssrc(AvdtpScb* p_scb); 869 extern void avdt_scb_hdl_abort_cmd(AvdtpScb* p_scb, tAVDT_SCB_EVT* p_data); 870 extern void avdt_scb_hdl_abort_rsp(AvdtpScb* p_scb, tAVDT_SCB_EVT* p_data); 871 extern void avdt_scb_hdl_close_cmd(AvdtpScb* p_scb, tAVDT_SCB_EVT* p_data); [all …]
|
D | avdt_api.cc | 75 AvdtpScb* p_scb = (AvdtpScb*)data; in avdt_scb_transport_channel_timer_timeout() local 78 avdt_scb_event(p_scb, avdt_event, NULL); in avdt_scb_transport_channel_timer_timeout() 132 AvdtpScb* p_scb = avdt_scb_by_hdl(handle); in AVDT_AbortReq() local 133 if (p_scb != NULL) { in AVDT_AbortReq() 134 avdt_scb_event(p_scb, AVDT_SCB_API_ABORT_REQ_EVT, NULL); in AVDT_AbortReq() 158 AvdtpScb* p_scb; in AVDT_CreateStream() local 170 p_scb = avdt_scb_alloc(peer_id, avdtp_stream_config); in AVDT_CreateStream() 171 if (p_scb == NULL) { in AVDT_CreateStream() 176 *p_handle = avdt_scb_to_hdl(p_scb); in AVDT_CreateStream() 200 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 | 67 uint8_t avdt_ad_type_to_tcid(uint8_t type, AvdtpScb* p_scb) { in avdt_ad_type_to_tcid() argument 74 uint8_t scb_idx = (avdt_scb_to_hdl(p_scb) - 1) % AVDT_NUM_LINKS; in avdt_ad_type_to_tcid() 216 AvdtpScb* p_scb) { in avdt_ad_tc_tbl_by_type() argument 223 tcid = avdt_ad_type_to_tcid(type, p_scb); in avdt_ad_tc_tbl_by_type() 300 AvdtpScb* p_scb; in avdt_ad_tc_close_ind() local 319 p_scb = avdtp_cb.ad.LookupAvdtpScb(*p_tbl); in avdt_ad_tc_close_ind() 320 if (p_scb == nullptr) { in avdt_ad_tc_close_ind() 329 avdt_scb_event(p_scb, AVDT_SCB_TC_CLOSE_EVT, &avdt_scb_evt); in avdt_ad_tc_close_ind() 346 AvdtpScb* p_scb; in avdt_ad_tc_open_ind() local 376 p_scb = avdtp_cb.ad.LookupAvdtpScb(*p_tbl); in avdt_ad_tc_open_ind() [all …]
|
D | avdt_scb.cc | 759 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() 792 } else if (num_st_streams > 1 && !p_scb->curr_stream && in avdt_scb_event() 795 avdt_scb_free_pkt(p_scb, p_data); in avdt_scb_event() 800 p_scb->curr_evt = event; in avdt_scb_event() 803 state_table = avdt_scb_st_tbl[p_scb->state]; in avdt_scb_event() 806 if (p_scb->state != state_table[event][AVDT_SCB_NEXT_STATE]) { in avdt_scb_event() 807 p_scb->state = state_table[event][AVDT_SCB_NEXT_STATE]; in avdt_scb_event() 814 (*avdtp_cb.p_scb_act[action])(p_scb, p_data); in avdt_scb_event() [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 | 52 typedef void (*tBTA_PAN_ACTION)(tBTA_PAN_SCB* p_scb, tBTA_PAN_DATA* p_data); 132 tBTA_PAN_SCB* p_scb = &bta_pan_cb.scb[0]; in bta_pan_scb_alloc() local 135 for (i = 0; i < BTA_PAN_NUM_CONN; i++, p_scb++) { in bta_pan_scb_alloc() 136 if (!p_scb->in_use) { in bta_pan_scb_alloc() 137 p_scb->in_use = true; in bta_pan_scb_alloc() 145 p_scb = NULL; in bta_pan_scb_alloc() 148 return p_scb; in bta_pan_scb_alloc() 161 static void bta_pan_sm_execute(tBTA_PAN_SCB* p_scb, uint16_t event, in bta_pan_sm_execute() argument 167 APPL_TRACE_EVENT("PAN scb=%d event=0x%x state=%d", bta_pan_scb_to_idx(p_scb), in bta_pan_sm_execute() 168 event, p_scb->state); in bta_pan_sm_execute() [all …]
|
D | bta_pan_int.h | 164 extern void bta_pan_scb_dealloc(tBTA_PAN_SCB* p_scb); 165 extern uint8_t bta_pan_scb_to_idx(tBTA_PAN_SCB* p_scb); 173 extern void bta_pan_open(tBTA_PAN_SCB* p_scb, tBTA_PAN_DATA* p_data); 174 extern void bta_pan_api_close(tBTA_PAN_SCB* p_scb, tBTA_PAN_DATA* p_data); 175 extern void bta_pan_rx_path(tBTA_PAN_SCB* p_scb, tBTA_PAN_DATA* p_data); 176 extern void bta_pan_tx_path(tBTA_PAN_SCB* p_scb, tBTA_PAN_DATA* p_data); 177 extern void bta_pan_tx_flow(tBTA_PAN_SCB* p_scb, tBTA_PAN_DATA* p_data); 178 extern void bta_pan_conn_open(tBTA_PAN_SCB* p_scb, tBTA_PAN_DATA* p_data); 179 extern void bta_pan_conn_close(tBTA_PAN_SCB* p_scb, tBTA_PAN_DATA* p_data); 180 extern void bta_pan_write_buf(tBTA_PAN_SCB* p_scb, tBTA_PAN_DATA* p_data); [all …]
|
D | bta_pan_ci.cc | 179 tBTA_PAN_SCB* p_scb = bta_pan_scb_by_handle(handle); in bta_pan_ci_readbuf() local 182 if (p_scb == NULL) return NULL; in bta_pan_ci_readbuf() 184 p_buf = (BT_HDR*)fixed_queue_try_dequeue(p_scb->data_queue); in bta_pan_ci_readbuf()
|
/system/bt/test/mock/ |
D | mock_bta_av_main.cc | 46 bool bta_av_chk_start(tBTA_AV_SCB* p_scb) { in bta_av_chk_start() argument 54 bool bta_av_link_role_ok(tBTA_AV_SCB* p_scb, uint8_t bits) { in bta_av_link_role_ok() argument 58 bool bta_av_switch_if_needed(tBTA_AV_SCB* p_scb) { in bta_av_switch_if_needed() argument 85 void bta_av_dup_audio_buf(tBTA_AV_SCB* p_scb, BT_HDR* p_buf) { in bta_av_dup_audio_buf() argument 88 void bta_av_free_scb(tBTA_AV_SCB* p_scb) { in bta_av_free_scb() argument
|
/system/bt/stack/test/common/ |
D | mock_stack_avdt_msg.cc | 58 void avdt_msg_send_cmd(AvdtpCcb* p_ccb, void* p_scb, uint8_t sig_id, in avdt_msg_send_cmd() argument
|