/external/bluetooth/bluedroid/bta/ag/ |
D | bta_ag_act.c | 71 typedef void (*tBTA_AG_ATCMD_CBACK)(tBTA_AG_SCB *p_scb, UINT16 cmd, UINT8 arg_type, 90 static void bta_ag_cback_open(tBTA_AG_SCB *p_scb, tBTA_AG_DATA *p_data, tBTA_AG_STATUS status) in bta_ag_cback_open() argument 95 open.hdr.handle = bta_ag_scb_to_idx(p_scb); in bta_ag_cback_open() 96 open.hdr.app_id = p_scb->app_id; in bta_ag_cback_open() 98 open.service_id = bta_ag_svc_id[p_scb->conn_service]; in bta_ag_cback_open() 106 bdcpy(open.bd_addr, p_scb->peer_addr); in bta_ag_cback_open() 123 void bta_ag_register(tBTA_AG_SCB *p_scb, tBTA_AG_DATA *p_data) in bta_ag_register() argument 128 p_scb->reg_services = p_data->api_register.services; in bta_ag_register() 129 p_scb->serv_sec_mask = p_data->api_register.sec_mask; in bta_ag_register() 130 p_scb->features = p_data->api_register.features; in bta_ag_register() [all …]
|
D | bta_ag_cmd.c | 329 static void bta_ag_send_result(tBTA_AG_SCB *p_scb, UINT8 code, char *p_arg, in bta_ag_send_result() argument 346 if(p_scb->conn_service == BTA_AG_HSP) in bta_ag_send_result() 386 PORT_WriteData(p_scb->conn_handle, buf, (UINT16) (p - buf), &len); in bta_ag_send_result() 400 static void bta_ag_send_multi_result(tBTA_AG_SCB *p_scb, tBTA_AG_MULTI_RESULT_CB *m_res_cb) in bta_ag_send_multi_result() argument 450 PORT_WriteData(p_scb->conn_handle, buf, (UINT16) (p - buf), &len); in bta_ag_send_multi_result() 464 static void bta_ag_send_ok(tBTA_AG_SCB *p_scb) in bta_ag_send_ok() argument 466 bta_ag_send_result(p_scb, BTA_AG_RES_OK, NULL, 0); in bta_ag_send_ok() 480 static void bta_ag_send_error(tBTA_AG_SCB *p_scb, INT16 errcode) in bta_ag_send_error() argument 483 if (p_scb->conn_service == BTA_AG_HFP && p_scb->cmee_enabled) in bta_ag_send_error() 484 bta_ag_send_result(p_scb, BTA_AG_RES_CMEE, NULL, errcode); in bta_ag_send_error() [all …]
|
D | bta_ag_sco.c | 136 tBTA_AG_SCB *p_scb; in bta_ag_sco_conn_cback() local 148 p_scb = bta_ag_scb_by_idx(handle); in bta_ag_sco_conn_cback() 149 if(p_scb && !p_scb->svc_conn) in bta_ag_sco_conn_cback() 285 static BOOLEAN bta_ag_remove_sco(tBTA_AG_SCB *p_scb, BOOLEAN only_active) in bta_ag_remove_sco() argument 290 if (p_scb->sco_idx != BTM_INVALID_SCO_INDEX) in bta_ag_remove_sco() 292 if (!only_active || p_scb->sco_idx == bta_ag_cb.sco.cur_idx) in bta_ag_remove_sco() 294 status = BTM_RemoveSco(p_scb->sco_idx); in bta_ag_remove_sco() 296 APPL_TRACE_DEBUG2("ag remove sco: inx 0x%04x, status:0x%x", p_scb->sco_idx, status); in bta_ag_remove_sco() 301 bta_ag_cb.sco.p_curr_scb = p_scb; in bta_ag_remove_sco() 308 p_scb->sco_idx = BTM_INVALID_SCO_INDEX; in bta_ag_remove_sco() [all …]
|
D | bta_ag_main.c | 94 typedef void (*tBTA_AG_ACTION)(tBTA_AG_SCB *p_scb, tBTA_AG_DATA *p_data); 310 tBTA_AG_SCB *p_scb = &bta_ag_cb.scb[0]; in bta_ag_scb_alloc() local 313 for (i = 0; i < BTA_AG_NUM_SCB; i++, p_scb++) in bta_ag_scb_alloc() 315 if (!p_scb->in_use) in bta_ag_scb_alloc() 318 p_scb->in_use = TRUE; in bta_ag_scb_alloc() 319 p_scb->sco_idx = BTM_INVALID_SCO_INDEX; in bta_ag_scb_alloc() 322 p_scb->act_timer.param = (UINT32) p_scb; in bta_ag_scb_alloc() 323 p_scb->act_timer.p_cback = bta_ag_timer_cback; in bta_ag_scb_alloc() 325 APPL_TRACE_DEBUG1("bta_ag_scb_alloc %d", bta_ag_scb_to_idx(p_scb)); in bta_ag_scb_alloc() 333 p_scb = NULL; in bta_ag_scb_alloc() [all …]
|
D | bta_ag_int.h | 342 extern void bta_ag_scb_dealloc(tBTA_AG_SCB *p_scb); 343 extern UINT16 bta_ag_scb_to_idx(tBTA_AG_SCB *p_scb); 349 extern void bta_ag_sm_execute(tBTA_AG_SCB *p_scb, UINT16 event, tBTA_AG_DATA *p_data); 353 extern void bta_ag_resume_open (tBTA_AG_SCB *p_scb); 358 extern void bta_ag_create_records(tBTA_AG_SCB *p_scb, tBTA_AG_DATA *p_data); 359 extern void bta_ag_del_records(tBTA_AG_SCB *p_scb, tBTA_AG_DATA *p_data); 360 extern BOOLEAN bta_ag_sdp_find_attr(tBTA_AG_SCB *p_scb, tBTA_SERVICE_MASK service); 361 extern void bta_ag_do_disc(tBTA_AG_SCB *p_scb, tBTA_SERVICE_MASK service); 362 extern void bta_ag_free_db(tBTA_AG_SCB *p_scb, tBTA_AG_DATA *p_data); 365 extern void bta_ag_start_servers(tBTA_AG_SCB *p_scb, tBTA_SERVICE_MASK services); [all …]
|
D | bta_ag_rfc.c | 91 tBTA_AG_SCB *p_scb; in bta_ag_port_cback() local 93 if ((p_scb = bta_ag_scb_by_idx(handle)) != NULL) in bta_ag_port_cback() 96 if (port_handle != p_scb->conn_handle) in bta_ag_port_cback() 99 port_handle, p_scb->conn_handle, handle); in bta_ag_port_cback() 125 tBTA_AG_SCB *p_scb; in bta_ag_mgmt_cback() local 133 if ((p_scb = bta_ag_scb_by_idx(handle)) != NULL) in bta_ag_mgmt_cback() 136 if ((code != PORT_SUCCESS) && (port_handle != p_scb->conn_handle)) in bta_ag_mgmt_cback() 144 if (p_scb->conn_handle) /* Outgoing connection */ in bta_ag_mgmt_cback() 146 if (port_handle == p_scb->conn_handle) in bta_ag_mgmt_cback() 153 if (port_handle == p_scb->serv_handle[i]) in bta_ag_mgmt_cback() [all …]
|
D | bta_ag_sdp.c | 74 tBTA_AG_SCB *p_scb; in bta_ag_sdp_cback() local 78 if ((p_scb = bta_ag_scb_by_idx(idx)) != NULL) in bta_ag_sdp_cback() 81 if (p_scb->role == BTA_AG_ACP) in bta_ag_sdp_cback() 215 void bta_ag_create_records(tBTA_AG_SCB *p_scb, tBTA_AG_DATA *p_data) in bta_ag_create_records() argument 220 services = p_scb->reg_services >> BTA_HSP_SERVICE_ID; in bta_ag_create_records() 239 p_scb->hsp_version = HSP_VERSION_1_2; in bta_ag_create_records() 253 void bta_ag_del_records(tBTA_AG_SCB *p_scb, tBTA_AG_DATA *p_data) in bta_ag_del_records() argument 263 if (p_scb == p) in bta_ag_del_records() 275 services = p_scb->reg_services >> BTA_HSP_SERVICE_ID; in bta_ag_del_records() 305 BOOLEAN bta_ag_sdp_find_attr(tBTA_AG_SCB *p_scb, tBTA_SERVICE_MASK service) in bta_ag_sdp_find_attr() argument [all …]
|
/external/bluetooth/bluedroid/bta/av/ |
D | bta_av_aact.c | 239 static void bta_av_save_addr(tBTA_AV_SCB *p_scb, const BD_ADDR b) in bta_av_save_addr() argument 242 p_scb->recfg_sup, p_scb->suspend_sup); in bta_av_save_addr() 243 if(bdcmp(p_scb->peer_addr, b) != 0) in bta_av_save_addr() 247 p_scb->recfg_sup = TRUE; in bta_av_save_addr() 248 p_scb->suspend_sup = TRUE; in bta_av_save_addr() 253 bdcpy(p_scb->peer_addr, b); in bta_av_save_addr() 267 void bta_av_st_rc_timer(tBTA_AV_SCB *p_scb, tBTA_AV_DATA *p_data) in bta_av_st_rc_timer() argument 271 p_scb->rc_handle, p_scb->use_rc); in bta_av_st_rc_timer() 273 if( (p_scb->rc_handle == BTA_AV_RC_HANDLE_NONE) && in bta_av_st_rc_timer() 275 (p_scb->use_rc == TRUE || (p_scb->role & BTA_AV_ROLE_AD_ACP)) ) in bta_av_st_rc_timer() [all …]
|
D | bta_av_main.c | 212 tBTA_AV_SCB *p_scb = NULL; in bta_av_timer_cback() local 217 if(bta_av_cb.p_scb[xx] && &(bta_av_cb.p_scb[xx]->timer)== p) in bta_av_timer_cback() 219 p_scb = bta_av_cb.p_scb[xx]; in bta_av_timer_cback() 224 if (p_scb && (p_buf = (BT_HDR *) GKI_getbuf(sizeof(BT_HDR))) != NULL) in bta_av_timer_cback() 229 p_buf->layer_specific = p_scb->hndl; in bta_av_timer_cback() 285 tBTA_AV_SCB * p_scb = NULL; in bta_av_addr_to_scb() local 290 if(bta_av_cb.p_scb[xx]) in bta_av_addr_to_scb() 292 if(!bdcmp(bd_addr, bta_av_cb.p_scb[xx]->peer_addr)) in bta_av_addr_to_scb() 294 p_scb = bta_av_cb.p_scb[xx]; in bta_av_addr_to_scb() 299 return p_scb; in bta_av_addr_to_scb() [all …]
|
D | bta_av_int.h | 419 typedef void (tBTA_AV_VDP_DATA_ACT)(void *p_scb); 542 typedef void (*tBTA_AV_SACT)(tBTA_AV_SCB *p_scb, tBTA_AV_DATA *p_data); 548 tBTA_AV_SCB *p_scb[BTA_AV_NUM_STRS]; /* stream control block */ member 609 extern BOOLEAN bta_av_chk_start(tBTA_AV_SCB *p_scb); 611 extern UINT16 bta_av_chk_mtu(tBTA_AV_SCB *p_scb, UINT16 mtu); 615 extern void bta_av_stream_chg(tBTA_AV_SCB *p_scb, BOOLEAN started); 616 extern BOOLEAN bta_av_is_scb_opening (tBTA_AV_SCB *p_scb); 617 extern BOOLEAN bta_av_is_scb_incoming (tBTA_AV_SCB *p_scb); 618 extern void bta_av_set_scb_sst_init (tBTA_AV_SCB *p_scb); 619 extern BOOLEAN bta_av_is_scb_init (tBTA_AV_SCB *p_scb); [all …]
|
D | bta_av_act.c | 93 tBTA_AV_SCB *p_scb; in bta_av_del_rc() local 100 p_scb = bta_av_cb.p_scb[p_rcb->shdl - 1]; in bta_av_del_rc() 101 if(p_scb) in bta_av_del_rc() 104 p_scb->rc_handle, p_rcb->handle); in bta_av_del_rc() 105 if(p_scb->rc_handle == p_rcb->handle) in bta_av_del_rc() 106 p_scb->rc_handle = BTA_AV_RC_HANDLE_NONE; in bta_av_del_rc() 109 bta_sys_stop_timer(&p_scb->timer); in bta_av_del_rc() 301 tBTA_AV_SCB *p_scb = p_cb->p_scb[shdl - 1]; in bta_av_rc_create() local 308 bda = p_scb->peer_addr; in bta_av_rc_create() 465 tBTA_AV_SCB *p_scb; in bta_av_rc_opened() local [all …]
|
D | bta_av_ssm.c | 381 BOOLEAN bta_av_is_rcfg_sst (tBTA_AV_SCB *p_scb) in bta_av_is_rcfg_sst() argument 385 if (p_scb != NULL) in bta_av_is_rcfg_sst() 387 if (p_scb->state == BTA_AV_RCFG_SST) in bta_av_is_rcfg_sst() 404 void bta_av_ssm_execute(tBTA_AV_SCB *p_scb, UINT16 event, tBTA_AV_DATA *p_data) in bta_av_ssm_execute() argument 410 if(p_scb == NULL) in bta_av_ssm_execute() 421 if ((p_scb->state == BTA_AV_INIT_SST) && (event == BTA_AV_STR_CONFIG_IND_EVT)) in bta_av_ssm_execute() 425 if (bta_av_cb.p_scb[xx]) in bta_av_ssm_execute() 427 if (bta_av_cb.p_scb[xx]->state == BTA_AV_INCOMING_SST) in bta_av_ssm_execute() 429 bta_av_cb.p_scb[xx]->state = BTA_AV_INIT_SST; in bta_av_ssm_execute() 430 bta_av_cb.p_scb[xx]->coll_mask = 0; in bta_av_ssm_execute() [all …]
|
/external/bluetooth/bluedroid/stack/avdt/ |
D | avdt_scb_act.c | 72 UINT32 avdt_scb_gen_ssrc(tAVDT_SCB *p_scb) in avdt_scb_gen_ssrc() argument 75 return ((UINT32)(p_scb->cs.cfg.codec_info[1] | p_scb->cs.cfg.codec_info[2])); in avdt_scb_gen_ssrc() 88 void avdt_scb_hdl_abort_cmd(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_hdl_abort_cmd() argument 90 p_scb->role = AVDT_CLOSE_ACP; in avdt_scb_hdl_abort_cmd() 91 avdt_scb_event(p_scb, AVDT_SCB_API_ABORT_RSP_EVT, p_data); in avdt_scb_hdl_abort_cmd() 104 void avdt_scb_hdl_abort_rsp(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_hdl_abort_rsp() argument 119 void avdt_scb_hdl_close_cmd(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_hdl_close_cmd() argument 121 p_scb->role = AVDT_CLOSE_ACP; in avdt_scb_hdl_close_cmd() 122 avdt_scb_event(p_scb, AVDT_SCB_API_CLOSE_RSP_EVT, p_data); in avdt_scb_hdl_close_cmd() 135 void avdt_scb_hdl_close_rsp(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_hdl_close_rsp() argument [all …]
|
D | avdt_int.h | 511 typedef void (*tAVDT_SCB_ACTION)(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data); 605 extern void avdt_scb_event(tAVDT_SCB *p_scb, UINT8 event, tAVDT_SCB_EVT *p_data); 608 extern void avdt_scb_dealloc(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data); 609 extern UINT8 avdt_scb_to_hdl(tAVDT_SCB *p_scb); 613 extern UINT32 avdt_scb_gen_ssrc(tAVDT_SCB *p_scb); 616 extern void avdt_scb_hdl_abort_cmd(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data); 617 extern void avdt_scb_hdl_abort_rsp(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data); 618 extern void avdt_scb_hdl_close_cmd(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data); 619 extern void avdt_scb_hdl_close_rsp(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data); 620 extern void avdt_scb_hdl_getconfig_cmd(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data); [all …]
|
D | avdt_api.c | 194 tAVDT_SCB *p_scb; in AVDT_CreateStream() local 204 else if ((p_scb = avdt_scb_alloc(p_cs)) == NULL) in AVDT_CreateStream() 210 *p_handle = avdt_scb_to_hdl(p_scb); in AVDT_CreateStream() 232 tAVDT_SCB *p_scb; in AVDT_RemoveStream() local 238 if ((p_scb = avdt_scb_by_hdl(handle)) == NULL) in AVDT_RemoveStream() 245 avdt_scb_event(p_scb, AVDT_SCB_API_REMOVE_EVT, NULL); in AVDT_RemoveStream() 448 tAVDT_SCB *p_scb; in AVDT_DelayReport() local 455 if ((p_scb = avdt_scb_by_hdl(handle)) == NULL) in AVDT_DelayReport() 464 avdt_scb_event(p_scb, AVDT_SCB_API_DELAY_RPT_REQ_EVT, &evt); in AVDT_DelayReport() 486 tAVDT_SCB *p_scb = NULL; in AVDT_OpenReq() local [all …]
|
D | avdt_ad.c | 46 UINT8 avdt_ad_type_to_tcid(UINT8 type, tAVDT_SCB *p_scb) in avdt_ad_type_to_tcid() argument 56 scb_idx = avdt_scb_to_hdl(p_scb) - 1; in avdt_ad_type_to_tcid() 229 tAVDT_TC_TBL *avdt_ad_tc_tbl_by_type(UINT8 type, tAVDT_CCB *p_ccb, tAVDT_SCB *p_scb) in avdt_ad_tc_tbl_by_type() argument 237 tcid = avdt_ad_type_to_tcid(type, p_scb); in avdt_ad_tc_tbl_by_type() 323 tAVDT_SCB *p_scb; in avdt_ad_tc_close_ind() local 344 p_scb = avdt_scb_by_hdl(avdt_cb.ad.rt_tbl[p_tbl->ccb_idx][p_tbl->tcid].scb_hdl); in avdt_ad_tc_close_ind() 345 if (p_scb != NULL) in avdt_ad_tc_close_ind() 349 avdt_scb_event(p_scb, AVDT_SCB_TC_CLOSE_EVT, (tAVDT_SCB_EVT *)&close); in avdt_ad_tc_close_ind() 369 tAVDT_SCB *p_scb; in avdt_ad_tc_open_ind() local 395 p_scb = avdt_scb_by_hdl(avdt_cb.ad.rt_tbl[p_tbl->ccb_idx][p_tbl->tcid].scb_hdl); in avdt_ad_tc_open_ind() [all …]
|
D | avdt_scb.c | 524 void avdt_scb_event(tAVDT_SCB *p_scb, UINT8 event, tAVDT_SCB_EVT *p_data) in avdt_scb_event() argument 531 …hdl=%d event=%d/%s state=%s", avdt_scb_to_hdl(p_scb), event, avdt_scb_evt_str[event], avdt_scb_st_… in avdt_scb_event() 533 BTTRC_AVDT_SCB_EVENT(event, p_scb->state); in avdt_scb_event() 536 p_scb->curr_evt = event; in avdt_scb_event() 539 state_table = avdt_scb_st_tbl[p_scb->state]; in avdt_scb_event() 542 if (p_scb->state != state_table[event][AVDT_SCB_NEXT_STATE]) in avdt_scb_event() 544 p_scb->state = state_table[event][AVDT_SCB_NEXT_STATE]; in avdt_scb_event() 553 (*avdt_cb.p_scb_act[action])(p_scb, p_data); in avdt_scb_event() 592 tAVDT_SCB *p_scb = &avdt_cb.scb[0]; in avdt_scb_alloc() local 596 for (i = 0; i < AVDT_NUM_SEPS; i++, p_scb++) in avdt_scb_alloc() [all …]
|
D | avdt_ccb_act.c | 124 tAVDT_SCB *p_scb = &avdt_cb.scb[0]; in avdt_ccb_chk_close() local 127 for (i = 0; i < AVDT_NUM_SEPS; i++, p_scb++) in avdt_ccb_chk_close() 129 if ((p_scb->allocated) && (p_scb->p_ccb == p_ccb)) in avdt_ccb_chk_close() 158 tAVDT_SCB *p_scb = &avdt_cb.scb[0]; in avdt_ccb_hdl_discover_cmd() local 165 for (i = 0; i < AVDT_NUM_SEPS; i++, p_scb++) in avdt_ccb_hdl_discover_cmd() 167 if (p_scb->allocated) in avdt_ccb_hdl_discover_cmd() 170 sep_info[i].in_use = p_scb->in_use; in avdt_ccb_hdl_discover_cmd() 172 sep_info[i].media_type = p_scb->cs.media_type; in avdt_ccb_hdl_discover_cmd() 173 sep_info[i].tsep = p_scb->cs.tsep; in avdt_ccb_hdl_discover_cmd() 220 tAVDT_SCB *p_scb; in avdt_ccb_hdl_getcap_cmd() local [all …]
|
D | avdt_msg.c | 1467 void avdt_msg_send_cmd(tAVDT_CCB *p_ccb, void *p_scb, UINT8 sig_id, tAVDT_MSG *p_params) in avdt_msg_send_cmd() argument 1492 if (p_scb != NULL) in avdt_msg_send_cmd() 1499 memcpy(p, (UINT8 *) p_scb, p_buf->len); in avdt_msg_send_cmd() 1504 *p = avdt_scb_to_hdl((tAVDT_SCB *) p_scb); in avdt_msg_send_cmd() 1686 tAVDT_SCB *p_scb; in avdt_msg_ind() local 1874 if (evt && (p_scb = avdt_scb_by_hdl(scb_hdl)) != NULL) in avdt_msg_ind() 1876 avdt_scb_event(p_scb, evt, (tAVDT_SCB_EVT *) &msg); in avdt_msg_ind()
|
/external/bluetooth/bluedroid/bta/pan/ |
D | bta_pan_act.c | 59 tBTA_PAN_SCB *p_scb; in bta_pan_conn_state_cback() local 67 if((p_scb = bta_pan_scb_by_handle(handle)) == NULL) in bta_pan_conn_state_cback() 70 p_scb = bta_pan_scb_alloc(); in bta_pan_conn_state_cback() 74 if(!p_scb) in bta_pan_conn_state_cback() 80 p_scb->handle = handle; in bta_pan_conn_state_cback() 81 p_scb->local_role = src_role; in bta_pan_conn_state_cback() 82 p_scb->peer_role = dst_role; in bta_pan_conn_state_cback() 83 p_scb->pan_flow_enable = TRUE; in bta_pan_conn_state_cback() 84 bdcpy(p_scb->bd_addr, bd_addr); in bta_pan_conn_state_cback() 85 GKI_init_q(&p_scb->data_queue); in bta_pan_conn_state_cback() [all …]
|
D | bta_pan_main.c | 61 typedef void (*tBTA_PAN_ACTION)(tBTA_PAN_SCB *p_scb, tBTA_PAN_DATA *p_data); 174 tBTA_PAN_SCB *p_scb = &bta_pan_cb.scb[0]; in bta_pan_scb_alloc() local 177 for (i = 0; i < BTA_PAN_NUM_CONN; i++, p_scb++) in bta_pan_scb_alloc() 179 if (!p_scb->in_use) in bta_pan_scb_alloc() 181 p_scb->in_use = TRUE; in bta_pan_scb_alloc() 190 p_scb = NULL; in bta_pan_scb_alloc() 193 return p_scb; in bta_pan_scb_alloc() 206 static void bta_pan_sm_execute(tBTA_PAN_SCB *p_scb, UINT16 event, tBTA_PAN_DATA *p_data) in bta_pan_sm_execute() argument 212 …APPL_TRACE_EVENT3("PAN scb=%d event=0x%x state=%d", bta_pan_scb_to_idx(p_scb), event, p_scb->state… in bta_pan_sm_execute() 215 state_table = bta_pan_st_tbl[p_scb->state]; in bta_pan_sm_execute() [all …]
|
D | bta_pan_int.h | 190 extern void bta_pan_scb_dealloc(tBTA_PAN_SCB *p_scb); 191 extern UINT8 bta_pan_scb_to_idx(tBTA_PAN_SCB *p_scb); 199 extern void bta_pan_open(tBTA_PAN_SCB *p_scb, tBTA_PAN_DATA *p_data); 200 extern void bta_pan_api_close(tBTA_PAN_SCB *p_scb, tBTA_PAN_DATA *p_data); 201 extern void bta_pan_set_shutdown(tBTA_PAN_SCB *p_scb, tBTA_PAN_DATA *p_data); 202 extern void bta_pan_rx_path(tBTA_PAN_SCB *p_scb, tBTA_PAN_DATA *p_data); 203 extern void bta_pan_tx_path(tBTA_PAN_SCB *p_scb, tBTA_PAN_DATA *p_data); 204 extern void bta_pan_tx_flow(tBTA_PAN_SCB *p_scb, tBTA_PAN_DATA *p_data); 205 extern void bta_pan_conn_open(tBTA_PAN_SCB *p_scb, tBTA_PAN_DATA *p_data); 206 extern void bta_pan_conn_close(tBTA_PAN_SCB *p_scb, tBTA_PAN_DATA *p_data); [all …]
|
D | bta_pan_ci.c | 204 tBTA_PAN_SCB * p_scb; in bta_pan_ci_readbuf() local 207 p_scb = bta_pan_scb_by_handle(handle); in bta_pan_ci_readbuf() 209 p_buf = (BT_HDR *)GKI_dequeue(&p_scb->data_queue); in bta_pan_ci_readbuf()
|
/external/bluetooth/bluedroid/btif/src/ |
D | btif_hl.c | 2274 btif_hl_soc_cb_t *p_scb = p_dcb->p_scb; in btif_hl_send_disconnecting_cb() local 2276 int app_id = (int) btif_hl_get_app_id(p_scb->channel_id); in btif_hl_send_disconnecting_cb() 2278 btif_hl_copy_bda(&bd_addr, p_scb->bd_addr); in btif_hl_send_disconnecting_cb() 2281 …"call channel state callback channel_id=0x%08x mdep_cfg_idx=%d, state=%d fd=%d",p_scb->channel_id, in btif_hl_send_disconnecting_cb() 2282 p_scb->mdep_cfg_idx, BTHL_CONN_STATE_DISCONNECTING, p_scb->socket_id[0]); in btif_hl_send_disconnecting_cb() 2285 &bd_addr, p_scb->mdep_cfg_idx, in btif_hl_send_disconnecting_cb() 2286 p_scb->channel_id, BTHL_CONN_STATE_DISCONNECTING, p_scb->socket_id[0] ); in btif_hl_send_disconnecting_cb() 4579 btif_hl_soc_cb_t *p_scb = NULL; in btif_hl_update_maxfd() local 4587 p_scb = (btif_hl_soc_cb_t *)GKI_getfirst((void *)&soc_queue); in btif_hl_update_maxfd() 4588 if (maxfd < p_scb->max_s) in btif_hl_update_maxfd() [all …]
|
/external/bluetooth/bluedroid/btif/co/ |
D | bta_hl_co.c | 383 if (p_dcb->p_scb) in bta_hl_co_put_rx_data() 387 r = send(p_dcb->p_scb->socket_id[1], p_dcb->p_rx_pkt, data_size, 0); in bta_hl_co_put_rx_data()
|