Home
last modified time | relevance | path

Searched refs:attr_id (Results 1 – 24 of 24) sorted by relevance

/system/bt/stack/include/
Dsdp_api.h113 UINT16 attr_id; /* Attribute ID */ member
271 UINT16 attr_id,
286 UINT16 attr_id);
469 BOOLEAN SDP_AddAttribute (UINT32 handle, UINT16 attr_id,
488 BOOLEAN SDP_AddSequence (UINT32 handle, UINT16 attr_id,
505 BOOLEAN SDP_AddUuidSequence (UINT32 handle, UINT16 attr_id,
599 BOOLEAN SDP_DeleteAttribute (UINT32 handle, UINT16 attr_id);
Davrc_defs.h899 UINT8 attr_id; member
905 UINT8 attr_id; member
936 …UINT32 attr_id; /* Use AVRC_MEDIA_ATTR_ID_TITLE, AVRC_MEDIA_ATTR_ID_ARTIST, AV… member
977 UINT8 attr_id; member
1016 UINT8 attr_id; member
1288 UINT8 attr_id[AVRC_MAX_APP_SETTINGS]; member
Dbtm_api.h2611 extern tSDP_DISC_REC *BTM_FindAttribute (UINT16 attr_id,
/system/bt/bta/gatt/
Dbta_gatts_utils.c156 tBTA_GATTS_SRVC_CB * bta_gatts_find_srvc_cb_by_attr_id(tBTA_GATTS_CB *p_cb, UINT16 attr_id) in bta_gatts_find_srvc_cb_by_attr_id() argument
166 attr_id >= p_cb->srvc_cb[i].service_id && in bta_gatts_find_srvc_cb_by_attr_id()
167 attr_id < p_cb->srvc_cb[i + 1].service_id) || in bta_gatts_find_srvc_cb_by_attr_id()
172 attr_id >= p_cb->srvc_cb[i].service_id) || in bta_gatts_find_srvc_cb_by_attr_id()
175 attr_id >= p_cb->srvc_cb[i].service_id) in bta_gatts_find_srvc_cb_by_attr_id()
Dbta_gatts_act.c394 UINT16 attr_id = 0; in bta_gatts_add_include_srvc() local
397 attr_id = GATTS_AddIncludeService(p_msg->api_add_incl_srvc.hdr.layer_specific, in bta_gatts_add_include_srvc()
402 cb_data.add_result.attr_id = attr_id; in bta_gatts_add_include_srvc()
404 if (attr_id) in bta_gatts_add_include_srvc()
428 UINT16 attr_id = 0; in bta_gatts_add_char() local
431 attr_id = GATTS_AddCharacteristic(p_msg->api_add_char.hdr.layer_specific, in bta_gatts_add_char()
437 cb_data.add_result.attr_id = attr_id; in bta_gatts_add_char()
440 if (attr_id) in bta_gatts_add_char()
464 UINT16 attr_id = 0; in bta_gatts_add_char_descr() local
467 attr_id = GATTS_AddCharDescriptor(p_msg->api_add_char_descr.hdr.layer_specific, in bta_gatts_add_char_descr()
[all …]
Dbta_gatts_api.c331 void BTA_GATTS_HandleValueIndication (UINT16 conn_id, UINT16 attr_id, UINT16 data_len, in BTA_GATTS_HandleValueIndication() argument
339 p_buf->attr_id = attr_id; in BTA_GATTS_HandleValueIndication()
Dbta_gatts_int.h119 UINT16 attr_id; member
256 extern tBTA_GATTS_SRVC_CB * bta_gatts_find_srvc_cb_by_attr_id(tBTA_GATTS_CB *p_cb, UINT16 attr_id);
/system/bt/stack/sdp/
Dsdp_db.c395 BOOLEAN SDP_AddAttribute (UINT32 handle, UINT16 attr_id, UINT8 attr_type, in SDP_AddAttribute() argument
421 handle,attr_id,attr_type,attr_len,p_val,num_array); in SDP_AddAttribute()
426 handle,attr_id,attr_type,attr_len,p_val,*p_val); in SDP_AddAttribute()
431 handle,attr_id,attr_type,attr_len,p_val,p_val); in SDP_AddAttribute()
447 if (p_attr->id == attr_id) in SDP_AddAttribute()
449 SDP_DeleteAttribute (handle, attr_id); in SDP_AddAttribute()
452 if (p_attr->id > attr_id) in SDP_AddAttribute()
469 p_attr->id = attr_id; in SDP_AddAttribute()
500 attr_id, attr_len ); in SDP_AddAttribute()
527 BOOLEAN SDP_AddSequence (UINT32 handle, UINT16 attr_id, UINT16 num_elem, in SDP_AddSequence() argument
[all …]
Dsdp_api.c260 tSDP_DISC_REC *SDP_FindAttributeInDb (tSDP_DISCOVERY_DB *p_db, UINT16 attr_id, in SDP_FindAttributeInDb() argument
281 if (p_attr->attr_id == attr_id) in SDP_FindAttributeInDb()
305 tSDP_DISC_ATTR *SDP_FindAttributeInRec (tSDP_DISC_REC *p_rec, UINT16 attr_id) in SDP_FindAttributeInRec() argument
313 if (p_attr->attr_id == attr_id) in SDP_FindAttributeInRec()
345 if ((p_attr->attr_id == ATTR_ID_SERVICE_CLASS_ID_LIST) in SDP_FindServiceUUIDInRec()
398 else if (p_attr->attr_id == ATTR_ID_SERVICE_ID) in SDP_FindServiceUUIDInRec()
434 if ((p_attr->attr_id == ATTR_ID_SERVICE_CLASS_ID_LIST) in SDP_FindServiceUUIDInRec_128bit()
456 else if (p_attr->attr_id == ATTR_ID_SERVICE_ID) in SDP_FindServiceUUIDInRec_128bit()
506 if ((p_attr->attr_id == ATTR_ID_SERVICE_CLASS_ID_LIST) in SDP_FindServiceInDb()
560 else if (p_attr->attr_id == ATTR_ID_SERVICE_ID) in SDP_FindServiceInDb()
[all …]
Dsdp_discovery.c54 UINT16 attr_id, tSDP_DISC_ATTR *p_parent_attr, UINT8 nest_level);
725 UINT16 attr_id; in save_attr_seq() local
764 BE_STREAM_TO_UINT16 (attr_id, p); in save_attr_seq()
767 p = add_attr (p, p_ccb->p_db, p_rec, attr_id, NULL, 0); in save_attr_seq()
834 UINT16 attr_id, tSDP_DISC_ATTR *p_parent_attr, UINT8 nest_level) in add_attr() argument
867 p_attr->attr_id = attr_id; in add_attr()
987 if(is_additional_list != 0 || attr_id == ATTR_ID_ADDITION_PROTO_DESC_LISTS) in add_attr()
/system/extras/simpleperf/
Drecord_file_writer.cpp84 for (auto& attr_id : attr_ids) { in WriteAttrSection() local
85 if (!Write(attr_id.ids.data(), attr_id.ids.size() * sizeof(uint64_t))) { in WriteAttrSection()
95 for (auto& attr_id : attr_ids) { in WriteAttrSection() local
97 file_attr.attr = *attr_id.attr; in WriteAttrSection()
99 file_attr.ids.size = attr_id.ids.size() * sizeof(uint64_t); in WriteAttrSection()
Drecord_file_test.cpp42 AttrWithId attr_id; in AddEventType() local
43 attr_id.attr = attrs_.back().get(); in AddEventType()
44 attr_id.ids.push_back(attrs_.size()); // Fake id. in AddEventType()
45 attr_ids_.push_back(attr_id); in AddEventType()
Dcmd_record.cpp515 AttrWithId attr_id; in CreateRecordFile() local
516 attr_id.attr = event_selection_set_.FindEventAttrByType(event_type); in CreateRecordFile()
517 CHECK(attr_id.attr != nullptr); in CreateRecordFile()
522 attr_id.ids.push_back(fd->Id()); in CreateRecordFile()
524 attr_ids.push_back(attr_id); in CreateRecordFile()
/system/bt/stack/avrc/
Davrc_pars_tg.c157 p_result->list_app_values.attr_id = *p++; in avrc_pars_vendor_cmd()
158 if (!AVRC_IS_VALID_ATTRIBUTE(p_result->list_app_values.attr_id)) in avrc_pars_vendor_cmd()
196 p_app_set[xx].attr_id = *p++; in avrc_pars_vendor_cmd()
198 … if (!avrc_is_valid_player_attrib_value(p_app_set[xx].attr_id, p_app_set[xx].attr_val)) in avrc_pars_vendor_cmd()
222 BE_STREAM_TO_UINT8 (p_result->get_app_val_txt.attr_id, p); in avrc_pars_vendor_cmd()
223 if (!AVRC_IS_VALID_ATTRIBUTE(p_result->get_app_val_txt.attr_id)) in avrc_pars_vendor_cmd()
236 if (!avrc_is_valid_player_attrib_value(p_result->get_app_val_txt.attr_id, in avrc_pars_vendor_cmd()
Davrc_bld_tg.c253 … if (avrc_is_valid_player_attrib_value(p_rsp->p_vals[xx].attr_id, p_rsp->p_vals[xx].attr_val)) in avrc_bld_get_cur_app_setting_value_rsp()
256 UINT8_TO_BE_STREAM(p_data, p_rsp->p_vals[xx].attr_id); in avrc_bld_get_cur_app_setting_value_rsp()
350 UINT8_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].attr_id); in avrc_bld_app_setting_text_rsp()
485 if (!AVRC_IS_VALID_MEDIA_ATTRIBUTE(p_rsp->p_attrs[xx].attr_id)) in avrc_bld_get_elem_attrs_rsp()
488 __func__, xx, p_rsp->p_attrs[xx].attr_id); in avrc_bld_get_elem_attrs_rsp()
495 UINT32_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].attr_id); in avrc_bld_get_elem_attrs_rsp()
629 if (avrc_is_valid_player_attrib_value(p_rsp->param.player_setting.attr_id[xx], in avrc_bld_notify_rsp()
632 UINT8_TO_BE_STREAM(p_data, p_rsp->param.player_setting.attr_id[xx]); in avrc_bld_notify_rsp()
Davrc_pars_ct.c126 BE_STREAM_TO_UINT8(p_rsp->param.player_setting.attr_id[index], p_stream); in avrc_parse_notification_rsp()
263 BE_STREAM_TO_UINT8(app_sett[xx].attr_id, p); in avrc_ctrl_pars_vendor_rsp()
286 BE_STREAM_TO_UINT8(p_result->get_app_attr_txt.p_attrs[xx].attr_id, p); in avrc_ctrl_pars_vendor_rsp()
317 BE_STREAM_TO_UINT8(p_result->get_app_val_txt.p_attrs[i].attr_id, p); in avrc_ctrl_pars_vendor_rsp()
351 BE_STREAM_TO_UINT32(p_attrs[i].attr_id, p); in avrc_ctrl_pars_vendor_rsp()
Davrc_bld_ct.c234 UINT8_TO_BE_STREAM(p_data,p_val[count].attr_id); in avrc_bld_set_current_player_app_values_cmd()
473 status = avrc_bld_list_player_app_values_cmd(p_pkt,p_cmd->list_app_values.attr_id); in AVRC_BldCommand()
/system/bt/btif/src/
Dbtif_rc.c1685 element_attrs[i].attr_id = p_attrs[i].attr_id; in get_element_attr_rsp()
1690 __FUNCTION__, (unsigned int)element_attrs[i].attr_id, in get_element_attr_rsp()
2567 app_settings.attr_ids[xx] = p_rsp->param.player_setting.attr_id[xx]; in handle_notification_response()
2628 btif_rc_cb.rc_app_settings.ext_attrs[st_index].attr_id = p_rsp->attrs[xx]; in handle_app_attr_response()
2634 btif_rc_cb.rc_app_settings.attrs[st_index].attr_id = p_rsp->attrs[xx]; in handle_app_attr_response()
2643 list_player_app_setting_value_cmd (btif_rc_cb.rc_app_settings.attrs[0].attr_id); in handle_app_attr_response()
2694 … list_player_app_setting_value_cmd (p_app_settings->attrs[p_app_settings->attr_index].attr_id); in handle_app_val_response()
2700 list_player_app_setting_value_cmd (p_app_settings->ext_attrs[attr_index].attr_id); in handle_app_val_response()
2706 attrs[xx] = p_app_settings->attrs[xx].attr_id; in handle_app_val_response()
2725 …t_player_app_setting_value_cmd (p_app_settings->ext_attrs[p_app_settings->ext_attr_index].attr_id); in handle_app_val_response()
[all …]
Dbtif_gatt_server.c226 p_data->add_result.attr_id); in btapp_gatts_handle_cback()
239 p_data->add_result.attr_id); in btapp_gatts_handle_cback()
253 p_data->add_result.attr_id); in btapp_gatts_handle_cback()
/system/media/audio_route/
Daudio_route.c448 const XML_Char *attr_id = NULL; in start_tag() local
465 attr_id = attr[i + 1]; in start_tag()
522 if (attr_id) { in start_tag()
524 id = atoi((char *)attr_id); in start_tag()
550 if (attr_id) in start_tag()
551 mixer_value.index = atoi((char *)attr_id); in start_tag()
/system/bt/stack/hid/
Dhidh_api.c77 void hidh_get_str_attr( tSDP_DISC_REC *p_rec, UINT16 attr_id, UINT16 max_len, char *str ) in hidh_get_str_attr() argument
82 if ((p_attr = SDP_FindAttributeInRec(p_rec, attr_id)) != NULL) in hidh_get_str_attr()
/system/bt/bta/include/
Dbta_gatt_api.h505 UINT16 attr_id; member
1195 extern void BTA_GATTS_HandleValueIndication (UINT16 conn_id, UINT16 attr_id,
/system/bt/bta/jv/
Dbta_jv_int.h324 UINT16 attr_id; member
/system/bt/bta/hl/
Dbta_hl_sdp.c605 if ((p_attr->attr_id == ATTR_ID_SERVICE_CLASS_ID_LIST) in bta_hl_find_sink_or_src_srv_class_in_db()