Searched defs:attr_id (Results 1 - 15 of 15) sorted by relevance

/system/bt/bta/gatt/
H A Dbta_gatts_utils.c156 tBTA_GATTS_SRVC_CB * bta_gatts_find_srvc_cb_by_attr_id(tBTA_GATTS_CB *p_cb, UINT16 attr_id) argument
166 attr_id >= p_cb->srvc_cb[i].service_id &&
167 attr_id < p_cb->srvc_cb[i + 1].service_id) ||
172 attr_id >= p_cb->srvc_cb[i].service_id) ||
175 attr_id >= p_cb->srvc_cb[i].service_id)
H A Dbta_gatts_act.c394 UINT16 attr_id = 0; local
397 attr_id = GATTS_AddIncludeService(p_msg->api_add_incl_srvc.hdr.layer_specific,
402 cb_data.add_result.attr_id = attr_id;
404 if (attr_id)
428 UINT16 attr_id = 0; local
431 attr_id = GATTS_AddCharacteristic(p_msg->api_add_char.hdr.layer_specific,
437 cb_data.add_result.attr_id = attr_id;
440 if (attr_id)
464 UINT16 attr_id = 0; local
[all...]
H A Dbta_gatts_api.c323 ** attr_id - attribute ID to indicate.
331 void BTA_GATTS_HandleValueIndication (UINT16 conn_id, UINT16 attr_id, UINT16 data_len, argument
339 p_buf->attr_id = attr_id;
H A Dbta_gatts_int.h119 UINT16 attr_id; member in struct:__anon185
256 extern tBTA_GATTS_SRVC_CB * bta_gatts_find_srvc_cb_by_attr_id(tBTA_GATTS_CB *p_cb, UINT16 attr_id);
/system/extras/simpleperf/
H A Drecord_file_test.cpp42 AttrWithId attr_id; local
43 attr_id.attr = attrs_.back().get();
44 attr_id.ids.push_back(attrs_.size()); // Fake id.
45 attr_ids_.push_back(attr_id);
H A Dcmd_record.cpp515 AttrWithId attr_id; local
516 attr_id.attr = event_selection_set_.FindEventAttrByType(event_type);
517 CHECK(attr_id.attr != nullptr);
522 attr_id.ids.push_back(fd->Id());
524 attr_ids.push_back(attr_id);
/system/bt/stack/hid/
H A Dhidh_api.c77 void hidh_get_str_attr( tSDP_DISC_REC *p_rec, UINT16 attr_id, UINT16 max_len, char *str ) argument
82 if ((p_attr = SDP_FindAttributeInRec(p_rec, attr_id)) != NULL)
/system/bt/stack/sdp/
H A Dsdp_discovery.c54 UINT16 attr_id, tSDP_DISC_ATTR *p_parent_attr, UINT8 nest_level);
724 UINT16 attr_id; local
763 BE_STREAM_TO_UINT16 (attr_id, p);
766 p = add_attr (p, p_ccb->p_db, p_rec, attr_id, NULL, 0);
833 UINT16 attr_id, tSDP_DISC_ATTR *p_parent_attr, UINT8 nest_level)
866 p_attr->attr_id = attr_id;
986 if(is_additional_list != 0 || attr_id == ATTR_ID_ADDITION_PROTO_DESC_LISTS)
1045 p_parent_attr, p_parent_attr->attr_id, p_attr, p_attr->attr_id); */
832 add_attr(UINT8 *p, tSDP_DISCOVERY_DB *p_db, tSDP_DISC_REC *p_rec, UINT16 attr_id, tSDP_DISC_ATTR *p_parent_attr, UINT8 nest_level) argument
[all...]
H A Dsdp_api.c260 tSDP_DISC_REC *SDP_FindAttributeInDb (tSDP_DISCOVERY_DB *p_db, UINT16 attr_id, argument
281 if (p_attr->attr_id == attr_id)
305 tSDP_DISC_ATTR *SDP_FindAttributeInRec (tSDP_DISC_REC *p_rec, UINT16 attr_id) argument
313 if (p_attr->attr_id == attr_id)
345 if ((p_attr->attr_id == ATTR_ID_SERVICE_CLASS_ID_LIST)
398 else if (p_attr->attr_id == ATTR_ID_SERVICE_ID)
434 if ((p_attr->attr_id == ATTR_ID_SERVICE_CLASS_ID_LIST)
456 else if (p_attr->attr_id
[all...]
H A Dsdp_db.c395 BOOLEAN SDP_AddAttribute (UINT32 handle, UINT16 attr_id, UINT8 attr_type, argument
421 handle,attr_id,attr_type,attr_len,p_val,num_array);
426 handle,attr_id,attr_type,attr_len,p_val,*p_val);
431 handle,attr_id,attr_type,attr_len,p_val,p_val);
447 if (p_attr->id == attr_id)
449 SDP_DeleteAttribute (handle, attr_id);
452 if (p_attr->id > attr_id)
469 p_attr->id = attr_id;
500 attr_id, attr_len );
527 BOOLEAN SDP_AddSequence (UINT32 handle, UINT16 attr_id, UINT1 argument
605 SDP_AddUuidSequence(UINT32 handle, UINT16 attr_id, UINT16 num_uuids, UINT16 *p_uuids) argument
851 SDP_DeleteAttribute(UINT32 handle, UINT16 attr_id) argument
[all...]
/system/bt/stack/include/
H A Dsdp_api.h113 UINT16 attr_id; /* Attribute ID */ member in struct:t_sdp_disc_attr
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);
H A Davrc_defs.h899 UINT8 attr_id; member in struct:__anon960
905 UINT8 attr_id; member in struct:__anon961
936 UINT32 attr_id; /* Use AVRC_MEDIA_ATTR_ID_TITLE, AVRC_MEDIA_ATTR_ID_ARTIST, AVRC_MEDIA_ATTR_ID_ALBUM, member in struct:__anon964
977 UINT8 attr_id; member in struct:__anon969
1016 UINT8 attr_id; member in struct:__anon973
1288 UINT8 attr_id[AVRC_MAX_APP_SETTINGS]; member in struct:__anon998
/system/media/audio_route/
H A Daudio_route.c448 const XML_Char *attr_id = NULL; local
465 attr_id = attr[i + 1];
522 if (attr_id) {
524 id = atoi((char *)attr_id);
550 if (attr_id)
551 mixer_value.index = atoi((char *)attr_id);
/system/bt/bta/jv/
H A Dbta_jv_int.h324 UINT16 attr_id; member in struct:__anon519
/system/bt/bta/include/
H A Dbta_gatt_api.h505 UINT16 attr_id; member in struct:__anon371
1187 ** attr_id - attribute ID to indicate.
1195 extern void BTA_GATTS_HandleValueIndication (UINT16 conn_id, UINT16 attr_id,

Completed in 311 milliseconds