Home
last modified time | relevance | path

Searched refs:p_str (Results 1 – 9 of 9) sorted by relevance

/system/bt/stack/smp/
Dsmp_br_main.c297 const char *p_str = smp_br_state_name[SMP_BR_STATE_MAX]; in smp_get_br_state_name() local
300 p_str = smp_br_state_name[br_state]; in smp_get_br_state_name()
302 return p_str; in smp_get_br_state_name()
310 const char * p_str = smp_br_event_name[SMP_BR_MAX_EVT - 1]; in smp_get_br_event_name() local
314 p_str = smp_br_event_name[event- 1]; in smp_get_br_event_name()
316 return p_str; in smp_get_br_event_name()
Dsmp_main.c837 const char *p_str = smp_state_name[SMP_STATE_MAX]; in smp_get_state_name() local
841 p_str = smp_state_name[state]; in smp_get_state_name()
843 return p_str; in smp_get_state_name()
852 const char *p_str = smp_event_name[SMP_MAX_EVT]; in smp_get_event_name() local
856 p_str = smp_event_name[event- 1]; in smp_get_event_name()
858 return p_str; in smp_get_event_name()
/system/bt/stack/avrc/
Davrc_pars_ct.c291 UINT8 *p_str = (UINT8 *)osi_malloc(p_result->get_app_attr_txt.p_attrs[xx].str_len); in avrc_ctrl_pars_vendor_rsp() local
292 BE_STREAM_TO_ARRAY(p, p_str, p_result->get_app_attr_txt.p_attrs[xx].str_len); in avrc_ctrl_pars_vendor_rsp()
293 p_result->get_app_attr_txt.p_attrs[xx].p_str = p_str; in avrc_ctrl_pars_vendor_rsp()
295 p_result->get_app_attr_txt.p_attrs[xx].p_str = NULL; in avrc_ctrl_pars_vendor_rsp()
321 UINT8 *p_str = (UINT8 *)osi_malloc(p_result->get_app_val_txt.p_attrs[i].str_len); in avrc_ctrl_pars_vendor_rsp() local
322 BE_STREAM_TO_ARRAY(p, p_str, p_result->get_app_val_txt.p_attrs[i].str_len); in avrc_ctrl_pars_vendor_rsp()
323 p_result->get_app_val_txt.p_attrs[i].p_str = p_str; in avrc_ctrl_pars_vendor_rsp()
325 p_result->get_app_val_txt.p_attrs[i].p_str = NULL; in avrc_ctrl_pars_vendor_rsp()
355 p_attrs[i].name.p_str = (UINT8 *)osi_malloc(p_attrs[i].name.str_len); in avrc_ctrl_pars_vendor_rsp()
356 BE_STREAM_TO_ARRAY(p, p_attrs[i].name.p_str, p_attrs[i].name.str_len); in avrc_ctrl_pars_vendor_rsp()
Davrc_bld_tg.c345 if ( !p_rsp->p_attrs[xx].str_len || !p_rsp->p_attrs[xx].p_str ) in avrc_bld_app_setting_text_rsp()
353 ARRAY_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].p_str, p_rsp->p_attrs[xx].str_len); in avrc_bld_app_setting_text_rsp()
491 if ( !p_rsp->p_attrs[xx].name.p_str ) in avrc_bld_get_elem_attrs_rsp()
498 ARRAY_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].name.p_str, p_rsp->p_attrs[xx].name.str_len); in avrc_bld_get_elem_attrs_rsp()
/system/bt/stack/srvc/
Dsrvc_dis.c272 UINT8 *pp = NULL, *p_str; in dis_c_cmpl_cback() local
315 p_str = p_clcb->dis_value.data_string[read_type - GATT_UUID_MODEL_NUMBER_STR]; in dis_c_cmpl_cback()
316 osi_free(p_str); in dis_c_cmpl_cback()
317 p_str = (UINT8 *)osi_malloc(p_data->att_value.len + 1); in dis_c_cmpl_cback()
319 memcpy(p_str, p_data->att_value.value, p_data->att_value.len); in dis_c_cmpl_cback()
320 p_str[p_data->att_value.len] = 0; in dis_c_cmpl_cback()
321 p_clcb->dis_value.data_string[read_type - GATT_UUID_MODEL_NUMBER_STR] = p_str; in dis_c_cmpl_cback()
/system/bt/btif/src/
Dbtif_rc.c1687 element_attrs[i].name.p_str = p_attrs[i].text; in get_element_attr_rsp()
1691 element_attrs[i].name.p_str); in get_element_attr_rsp()
2814 osi_free_and_reset((void **)&p_app_settings->ext_attrs[xx].p_str); in handle_app_attr_txt_response()
2837 p_app_settings->ext_attrs[x].p_str = p_rsp->p_attrs[xx].p_str; in handle_app_attr_txt_response()
2891 osi_free_and_reset((void **)&p_ext_attr->ext_attr_val[x].p_str); in handle_app_attr_val_txt_response()
2893 osi_free_and_reset((void **)&p_app_settings->ext_attrs[xx].p_str); in handle_app_attr_val_txt_response()
2919 p_ext_attr->ext_attr_val[x].p_str = p_rsp->p_attrs[xx].p_str; in handle_app_attr_val_txt_response()
2961 osi_free_and_reset((void **)&p_ext_attr->ext_attr_val[x].p_str); in handle_app_attr_val_txt_response()
2963 osi_free_and_reset((void **)&p_app_settings->ext_attrs[xx].p_str); in handle_app_attr_val_txt_response()
3019 p_rsp->p_attrs[i].name.p_str) { in handle_get_elem_attr_response()
[all …]
/system/bt/stack/l2cap/
Dl2c_fcr.c247 char *p_str = (char *)osi_malloc(120); in l2c_fcr_cleanup() local
261 sprintf(p_str, "Sent Pkts:%08u Bytes:%10u(%06u/sec) RR:%08u REJ:%08u RNR:%08u SREJ:%08u", in l2c_fcr_cleanup()
266 … BT_TRACE(TRACE_CTRL_GENERAL | TRACE_LAYER_GKI | TRACE_ORG_GKI , TRACE_TYPE_GENERIC, "%s", p_str); in l2c_fcr_cleanup()
268 sprintf(p_str, "Rcvd Pkts:%08u Bytes:%10u(%06u/sec) RR:%08u REJ:%08u RNR:%08u SREJ:%08u", in l2c_fcr_cleanup()
273 … BT_TRACE(TRACE_CTRL_GENERAL | TRACE_LAYER_GKI | TRACE_ORG_GKI , TRACE_TYPE_GENERIC, "%s", p_str); in l2c_fcr_cleanup()
286 …sprintf(p_str, "[%02u] throughput: %5u, ack_delay avg:%3u, min:%3u, max:%3u, ack_q_count avg:%3u, … in l2c_fcr_cleanup()
291 … BT_TRACE(TRACE_CTRL_GENERAL | TRACE_LAYER_GKI | TRACE_ORG_GKI , TRACE_TYPE_GENERIC, "%s", p_str); in l2c_fcr_cleanup()
306 osi_free(p_str); in l2c_fcr_cleanup()
/system/extras/perfprofd/
Dperfprofdcore.cc564 std::string p_str = android::base::StringPrintf("%u", sampling_period); in invoke_perf() local
565 argv[slot++] = p_str.c_str(); in invoke_perf()
/system/bt/stack/include/
Davrc_defs.h875 UINT8 *p_str; member
880 UINT8 *p_str; member
908 UINT8 *p_str; member