Home
last modified time | relevance | path

Searched refs:cs (Results 1 – 14 of 14) sorted by relevance

/system/core/libcutils/
Dconfig_utils.c122 static int _lex(cstate *cs, int value) in _lex() argument
128 data = cs->data; in _lex()
130 if(cs->next != 0) { in _lex()
131 c = cs->next; in _lex()
132 cs->next = 0; in _lex()
151 cs->data = data; in _lex()
154 cs->data = data + 1; in _lex()
163 cs->data = data; in _lex()
167 cs->data = data; in _lex()
171 cs->data = data; in _lex()
[all …]
/system/bt/stack/avdt/
Davdt_scb_act.c79 return ((UINT32)(p_scb->cs.cfg.codec_info[1] | p_scb->cs.cfg.codec_info[2])); in avdt_scb_gen_ssrc()
304 if (p_scb->cs.p_data_cback != NULL) in avdt_scb_hdl_pkt_no_frag()
308 (*p_scb->cs.p_data_cback)(avdt_scb_to_hdl(p_scb), p_data->p_pkt, in avdt_scb_hdl_pkt_no_frag()
314 if ((p_scb->cs.p_media_cback != NULL) in avdt_scb_hdl_pkt_no_frag()
321 (*p_scb->cs.p_media_cback)(avdt_scb_to_hdl(p_scb),p_scb->p_media_buf, in avdt_scb_hdl_pkt_no_frag()
350 if(p_scb->cs.p_report_cback) in avdt_scb_hdl_report()
401 (*p_scb->cs.p_report_cback)(avdt_scb_to_hdl(p_scb), pt, p_rpt); in avdt_scb_hdl_report()
502 else if ((p_scb->p_media_buf == NULL) || (p_scb->cs.p_media_cback == NULL)) in avdt_scb_hdl_pkt_frag()
627 if (p_scb->cs.p_media_cback != NULL) in avdt_scb_hdl_pkt_frag()
629 (*p_scb->cs.p_media_cback)(avdt_scb_to_hdl(p_scb), p_payload, in avdt_scb_hdl_pkt_frag()
[all …]
Davdt_api.c165 if ((p_scb->allocated) && (p_scb->cs.tsep == AVDT_TSEP_SNK)) in AVDT_SINK_Activate()
195 if ((p_scb->allocated) && (p_scb->cs.tsep == AVDT_TSEP_SNK)) in AVDT_SINK_Deactivate()
1161 if(p_buf && p_scb->cs.p_media_cback == NULL) in AVDT_SetMediaBuf()
1202 && (((type == AVDT_RTCP_PT_SR) && (p_scb->cs.tsep == AVDT_TSEP_SRC)) || in AVDT_SendReport()
1203 ((type == AVDT_RTCP_PT_RR) && (p_scb->cs.tsep == AVDT_TSEP_SNK)) || in AVDT_SendReport()
Davdt_scb.c601 memcpy(&p_scb->cs, p_cs, sizeof(tAVDT_CS)); in avdt_scb_alloc()
608 p_scb->cs.cfg.mux_tcid_media = avdt_ad_type_to_tcid(AVDT_CHAN_MEDIA, p_scb); in avdt_scb_alloc()
612 p_scb->cs.cfg.mux_tcid_report = avdt_ad_type_to_tcid(AVDT_CHAN_REPORT, p_scb); in avdt_scb_alloc()
740 else if (p_scb->cs.nsc_mask & nsc_mask) in avdt_scb_verify()
Davdt_ad.c562 p_tbl->my_mtu = p_scb->cs.mtu; in avdt_ad_open_req()
563 p_tbl->my_flush_to = p_scb->cs.flush_to; in avdt_ad_open_req()
Davdt_ccb_act.c175 sep_info[p_data->msg.discover_rsp.num_seps].media_type = p_scb->cs.media_type; in avdt_ccb_hdl_discover_cmd()
176 sep_info[p_data->msg.discover_rsp.num_seps].tsep = p_scb->cs.tsep; in avdt_ccb_hdl_discover_cmd()
228 p_data->msg.svccap.p_cfg = &p_scb->cs.cfg; in avdt_ccb_hdl_getcap_cmd()
Davdt_int.h488 tAVDT_CS cs; /* stream creation struct */ member
/system/bt/bta/av/
Dbta_av_main.c491 tAVDT_CS cs; in bta_av_api_register() local
497 memset(&cs,0,sizeof(tAVDT_CS)); in bta_av_api_register()
579 cs.cfg.num_codec = 1; in bta_av_api_register()
587 cs.nsc_mask = AVDT_NSC_RECONFIG | in bta_av_api_register()
589 APPL_TRACE_DEBUG("nsc_mask: 0x%x", cs.nsc_mask); in bta_av_api_register()
604 cs.p_ctrl_cback = bta_av_dt_cback[p_scb->hdi]; in bta_av_api_register()
611 cs.cfg.psc_mask = AVDT_PSC_TRANS; in bta_av_api_register()
612 cs.media_type = AVDT_MEDIA_AUDIO; in bta_av_api_register()
613 cs.mtu = p_bta_av_cfg->audio_mtu; in bta_av_api_register()
614 cs.flush_to = L2CAP_DEFAULT_FLUSH_TO; in bta_av_api_register()
[all …]
/system/bt/btif/src/
Dbtif_sock_rfc.c441 sock_connect_signal_t cs; in send_app_connect_signal() local
442 cs.size = sizeof(cs); in send_app_connect_signal()
443 cs.bd_addr = *addr; in send_app_connect_signal()
444 cs.channel = channel; in send_app_connect_signal()
445 cs.status = status; in send_app_connect_signal()
446 cs.max_rx_packet_size = 0; // not used for RFCOMM in send_app_connect_signal()
447 cs.max_tx_packet_size = 0; // not used for RFCOMM in send_app_connect_signal()
449 return sock_send_all(fd, (const uint8_t *)&cs, sizeof(cs)) == sizeof(cs); in send_app_connect_signal()
451 return sock_send_fd(fd, (const uint8_t *)&cs, sizeof(cs), send_fd) == sizeof(cs); in send_app_connect_signal()
Dbtif_sock_l2cap.c396 sock_connect_signal_t cs; in send_app_connect_signal() local
397 cs.size = sizeof(cs); in send_app_connect_signal()
398 cs.bd_addr = *addr; in send_app_connect_signal()
399 cs.channel = channel; in send_app_connect_signal()
400 cs.status = status; in send_app_connect_signal()
401 cs.max_rx_packet_size = L2CAP_MAX_SDU_LENGTH; in send_app_connect_signal()
402 cs.max_tx_packet_size = tx_mtu; in send_app_connect_signal()
404 if (sock_send_fd(fd, (const uint8_t*)&cs, sizeof(cs), send_fd) == sizeof(cs)) in send_app_connect_signal()
407 } else if (sock_send_all(fd, (const uint8_t*)&cs, sizeof(cs)) == sizeof(cs)) { in send_app_connect_signal()
/system/core/debuggerd/x86_64/
Dmachine.cpp64 r.cs, r.ss); in dump_registers()
/system/bt/osi/src/protos/
Dbluetooth.proto46 // https://cs.corp.google.com/#android/system/bt/stack/include/btm_api.h&q=major_computer.
122 // https://cs.corp.google.com/#android/system/bt/stack/include/hcidefs.h&q=failed_establish.
/system/media/audio_utils/
DDoxyfile.orig762 # *.h++, *.cs, *.d, *.php, *.php4, *.php5, *.phtml, *.inc, *.m, *.markdown,
DDoxyfile762 # *.h++, *.cs, *.d, *.php, *.php4, *.php5, *.phtml, *.inc, *.m, *.markdown,