Home
last modified time | relevance | path

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

/external/bluetooth/bluedroid/bta/gatt/
Dbta_gatts_act.c415 UINT16 attr_id = 0; in bta_gatts_add_include_srvc() local
418 attr_id = GATTS_AddIncludeService(p_msg->api_add_incl_srvc.hdr.layer_specific, in bta_gatts_add_include_srvc()
423 cb_data.add_result.attr_id = attr_id; in bta_gatts_add_include_srvc()
425 if (attr_id) in bta_gatts_add_include_srvc()
449 UINT16 attr_id = 0; in bta_gatts_add_char() local
452 attr_id = GATTS_AddCharacteristic(p_msg->api_add_char.hdr.layer_specific, in bta_gatts_add_char()
458 cb_data.add_result.attr_id = attr_id; in bta_gatts_add_char()
463 if (attr_id) in bta_gatts_add_char()
487 UINT16 attr_id = 0; in bta_gatts_add_char_descr() local
490 attr_id = GATTS_AddCharDescriptor(p_msg->api_add_char_descr.hdr.layer_specific, in bta_gatts_add_char_descr()
[all …]
Dbta_gatts_utils.c157 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
167 attr_id >= p_cb->srvc_cb[i].service_id && in bta_gatts_find_srvc_cb_by_attr_id()
168 attr_id < p_cb->srvc_cb[i + 1].service_id) || in bta_gatts_find_srvc_cb_by_attr_id()
173 attr_id >= p_cb->srvc_cb[i].service_id) || in bta_gatts_find_srvc_cb_by_attr_id()
176 attr_id >= p_cb->srvc_cb[i].service_id) in bta_gatts_find_srvc_cb_by_attr_id()
Dbta_gatts_api.c386 void BTA_GATTS_HandleValueIndication (UINT16 conn_id, UINT16 attr_id, UINT16 data_len, in BTA_GATTS_HandleValueIndication() argument
398 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);
/external/bluetooth/bluedroid/stack/sdp/
Dsdp_db.c398 BOOLEAN SDP_AddAttribute (UINT32 handle, UINT16 attr_id, UINT8 attr_type, in SDP_AddAttribute() argument
424 handle,attr_id,attr_type,attr_len,p_val,num_array); in SDP_AddAttribute()
429 handle,attr_id,attr_type,attr_len,p_val,*p_val); in SDP_AddAttribute()
434 handle,attr_id,attr_type,attr_len,p_val,p_val); in SDP_AddAttribute()
450 if (p_attr->id == attr_id) in SDP_AddAttribute()
452 SDP_DeleteAttribute (handle, attr_id); in SDP_AddAttribute()
455 if (p_attr->id > attr_id) in SDP_AddAttribute()
472 p_attr->id = attr_id; in SDP_AddAttribute()
503 attr_id, attr_len ); in SDP_AddAttribute()
511 attr_id == ATTR_ID_EXT_BRCM_VERSION) in SDP_AddAttribute()
[all …]
Dsdp_api.c265 tSDP_DISC_REC *SDP_FindAttributeInDb (tSDP_DISCOVERY_DB *p_db, UINT16 attr_id, in SDP_FindAttributeInDb() argument
286 if (p_attr->attr_id == attr_id) in SDP_FindAttributeInDb()
310 tSDP_DISC_ATTR *SDP_FindAttributeInRec (tSDP_DISC_REC *p_rec, UINT16 attr_id) in SDP_FindAttributeInRec() argument
318 if (p_attr->attr_id == attr_id) in SDP_FindAttributeInRec()
350 if ((p_attr->attr_id == ATTR_ID_SERVICE_CLASS_ID_LIST) in SDP_FindServiceUUIDInRec()
402 else if (p_attr->attr_id == ATTR_ID_SERVICE_ID) in SDP_FindServiceUUIDInRec()
441 if ((p_attr->attr_id == ATTR_ID_SERVICE_CLASS_ID_LIST) in SDP_FindServiceUUIDInRec_128bit()
459 else if (p_attr->attr_id == ATTR_ID_SERVICE_ID) in SDP_FindServiceUUIDInRec_128bit()
508 if ((p_attr->attr_id == ATTR_ID_SERVICE_CLASS_ID_LIST) in SDP_FindServiceInDb()
562 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);
787 UINT16 attr_id; in save_attr_seq() local
826 BE_STREAM_TO_UINT16 (attr_id, p); in save_attr_seq()
829 p = add_attr (p, p_ccb->p_db, p_rec, attr_id, NULL, 0); in save_attr_seq()
896 UINT16 attr_id, tSDP_DISC_ATTR *p_parent_attr, UINT8 nest_level) in add_attr() argument
929 p_attr->attr_id = attr_id; in add_attr()
1049 if(is_additional_list != 0 || attr_id == ATTR_ID_ADDITION_PROTO_DESC_LISTS) in add_attr()
/external/bluetooth/bluedroid/stack/avrc/
Davrc_pars_tg.c89 p_result->list_app_values.attr_id = *p++; in avrc_pars_vendor_cmd()
90 if (!AVRC_IS_VALID_ATTRIBUTE(p_result->list_app_values.attr_id)) in avrc_pars_vendor_cmd()
128 p_app_set[xx].attr_id = *p++; in avrc_pars_vendor_cmd()
130 … if (!avrc_is_valid_player_attrib_value(p_app_set[xx].attr_id, p_app_set[xx].attr_val)) in avrc_pars_vendor_cmd()
152 BE_STREAM_TO_UINT8 (p_result->get_app_val_txt.attr_id, p); in avrc_pars_vendor_cmd()
153 if (!AVRC_IS_VALID_ATTRIBUTE(p_result->get_app_val_txt.attr_id)) in avrc_pars_vendor_cmd()
166 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()
345 UINT8_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].attr_id); in avrc_bld_app_setting_text_rsp()
480 if (!AVRC_IS_VALID_MEDIA_ATTRIBUTE(p_rsp->p_attrs[xx].attr_id)) in avrc_bld_get_elem_attrs_rsp()
482 …TRACE_ERROR("avrc_bld_get_elem_attrs_rsp invalid attr id[%d]: %d", xx, p_rsp->p_attrs[xx].attr_id); in avrc_bld_get_elem_attrs_rsp()
489 UINT32_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].attr_id); in avrc_bld_get_elem_attrs_rsp()
623 if (avrc_is_valid_player_attrib_value(p_rsp->param.player_setting.attr_id[xx], in avrc_bld_notify_rsp()
626 UINT8_TO_BE_STREAM(p_data, p_rsp->param.player_setting.attr_id[xx]); in avrc_bld_notify_rsp()
/external/bluetooth/bluedroid/stack/include/
Dsdp_api.h118 UINT16 attr_id; /* Attribute ID */ member
285 UINT16 attr_id,
300 UINT16 attr_id);
483 SDP_API extern BOOLEAN SDP_AddAttribute (UINT32 handle, UINT16 attr_id,
502 SDP_API extern BOOLEAN SDP_AddSequence (UINT32 handle, UINT16 attr_id,
519 SDP_API extern BOOLEAN SDP_AddUuidSequence (UINT32 handle, UINT16 attr_id,
616 SDP_API extern BOOLEAN SDP_DeleteAttribute (UINT32 handle, UINT16 attr_id);
Davrc_defs.h900 UINT8 attr_id; member
906 UINT8 attr_id; member
937 …UINT32 attr_id; /* Use AVRC_MEDIA_ATTR_ID_TITLE, AVRC_MEDIA_ATTR_ID_ARTIST, AV… member
978 UINT8 attr_id; member
1017 UINT8 attr_id; member
1289 UINT8 attr_id[AVRC_MAX_APP_SETTINGS]; member
Dbtm_api.h2882 BTM_API extern tSDP_DISC_REC *BTM_FindAttribute (UINT16 attr_id,
/external/wpa_supplicant_8/wpa_supplicant/doc/docbook/
Deapol_test.sgml155 attr_id:syntax:value, or attr_id alone. attr_id should be the numeric
158 to send. When attr_id is given alone, NULL is used as the attribute
/external/bluetooth/bluedroid/bta/jv/
Dbta_jv_api.c904 tBTA_JV_STATUS BTA_JvAddAttribute(UINT32 handle, UINT16 attr_id, in BTA_JvAddAttribute() argument
915 p_msg->attr_id = attr_id; in BTA_JvAddAttribute()
936 tBTA_JV_STATUS BTA_JvDeleteAttribute(UINT32 handle, UINT16 attr_id) in BTA_JvDeleteAttribute() argument
946 p_msg->attr_id = attr_id; in BTA_JvDeleteAttribute()
Dbta_jv_int.h381 UINT16 attr_id; member
Dbta_jv_act.c1411 …if(ATTR_ID_SERVICE_RECORD_HDL != aa->attr_id && /* do not allow the SDP record handle to be update… in bta_jv_add_attribute()
1413 SDP_AddAttribute(handle, aa->attr_id, (UINT8)((type >> 3) & 0x1f), in bta_jv_add_attribute()
1449 if(SDP_DeleteAttribute(handle, da->attr_id)) in bta_jv_delete_attribute()
/external/bluetooth/bluedroid/btif/src/
Dbtif_gatt_server.c233 p_data->add_result.attr_id); in btapp_gatts_handle_cback()
246 p_data->add_result.attr_id); in btapp_gatts_handle_cback()
260 p_data->add_result.attr_id); in btapp_gatts_handle_cback()
Dbtif_rc.c1297 element_attrs[i].attr_id = p_attrs[i].attr_id; in get_element_attr_rsp()
1302 __FUNCTION__, (unsigned int)element_attrs[i].attr_id, in get_element_attr_rsp()
/external/bluetooth/bluedroid/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()
/external/bluetooth/bluedroid/bta/include/
Dbta_jv_api.h878 BTA_API extern tBTA_JV_STATUS BTA_JvAddAttribute(UINT32 handle, UINT16 attr_id,
893 BTA_API extern tBTA_JV_STATUS BTA_JvDeleteAttribute(UINT32 handle, UINT16 attr_id);
Dbta_gatt_api.h569 UINT16 attr_id; member
1315 BTA_API extern void BTA_GATTS_HandleValueIndication (UINT16 conn_id, UINT16 attr_id,
/external/bluetooth/bluedroid/bta/hl/
Dbta_hl_sdp.c606 if ((p_attr->attr_id == ATTR_ID_SERVICE_CLASS_ID_LIST) in bta_hl_find_sink_or_src_srv_class_in_db()