Searched refs:attr_id (Results 1 - 25 of 32) sorted by relevance

12

/system/bt/bta/gatt/
H A Dbta_gatts_utils.cc127 uint16_t attr_id) {
134 attr_id >= p_cb->srvc_cb[i].service_id &&
135 attr_id < p_cb->srvc_cb[i + 1].service_id) ||
139 attr_id >= p_cb->srvc_cb[i].service_id) ||
142 attr_id >= p_cb->srvc_cb[i].service_id)) {
126 bta_gatts_find_srvc_cb_by_attr_id(tBTA_GATTS_CB* p_cb, uint16_t attr_id) argument
H A Dbta_gatts_int.h83 uint16_t attr_id; member in struct:__anon129
186 tBTA_GATTS_CB* p_cb, uint16_t attr_id);
H A Dbta_gatts_api.cc225 * attr_id - attribute ID to indicate.
233 void BTA_GATTS_HandleValueIndication(uint16_t conn_id, uint16_t attr_id, argument
241 p_buf->attr_id = attr_id;
H A Dbta_gatts_act.cc379 bta_gatts_find_srvc_cb_by_attr_id(p_cb, p_msg->api_indicate.attr_id);
389 p_msg->api_indicate.hdr.layer_specific, p_msg->api_indicate.attr_id,
393 p_msg->api_indicate.hdr.layer_specific, p_msg->api_indicate.attr_id,
416 << loghex(p_msg->api_indicate.attr_id);
/system/bt/stack/include/
H A Dsdp_api.h103 uint16_t attr_id; /* Attribute ID */ member in struct:t_sdp_disc_attr
253 tSDP_DISC_REC* SDP_FindAttributeInDb(tSDP_DISCOVERY_DB* p_db, uint16_t attr_id,
266 tSDP_DISC_ATTR* SDP_FindAttributeInRec(tSDP_DISC_REC* p_rec, uint16_t attr_id);
440 bool SDP_AddAttribute(uint32_t handle, uint16_t attr_id, uint8_t attr_type,
457 bool SDP_AddSequence(uint32_t handle, uint16_t attr_id, uint16_t num_elem,
472 bool SDP_AddUuidSequence(uint32_t handle, uint16_t attr_id, uint16_t num_uuids,
560 bool SDP_DeleteAttribute(uint32_t handle, uint16_t attr_id);
H A Davrc_defs.h1031 uint8_t attr_id; member in struct:__anon1052
1036 uint8_t attr_id; member in struct:__anon1053
1069 attr_id; /* Use AVRC_MEDIA_ATTR_ID_TITLE, AVRC_MEDIA_ATTR_ID_ARTIST, member in struct:__anon1056
1108 uint8_t attr_id; member in struct:__anon1061
1143 uint8_t attr_id; member in struct:__anon1065
1396 uint8_t attr_id[AVRC_MAX_APP_SETTINGS]; member in struct:__anon1090
/system/bt/stack/sdp/
H A Dsdp_db.cc355 bool SDP_AddAttribute(uint32_t handle, uint16_t attr_id, uint8_t attr_type, argument
378 handle, attr_id, attr_type, attr_len, p_val, num_array);
383 handle, attr_id, attr_type, attr_len, p_val, *p_val);
388 handle, attr_id, attr_type, attr_len, p_val, p_val);
400 if (p_attr->id == attr_id) {
401 SDP_DeleteAttribute(handle, attr_id);
404 if (p_attr->id > attr_id) break;
418 p_attr->id = attr_id;
447 attr_id, attr_len);
473 bool SDP_AddSequence(uint32_t handle, uint16_t attr_id, uint16_ argument
547 SDP_AddUuidSequence(uint32_t handle, uint16_t attr_id, uint16_t num_uuids, uint16_t* p_uuids) argument
793 SDP_DeleteAttribute(uint32_t handle, uint16_t attr_id) argument
[all...]
H A Dsdp_api.cc230 tSDP_DISC_REC* SDP_FindAttributeInDb(tSDP_DISCOVERY_DB* p_db, uint16_t attr_id, argument
246 if (p_attr->attr_id == attr_id) return (p_rec);
267 tSDP_DISC_ATTR* SDP_FindAttributeInRec(tSDP_DISC_REC* p_rec, uint16_t attr_id) { argument
272 if (p_attr->attr_id == attr_id) return (p_attr);
300 if ((p_attr->attr_id == ATTR_ID_SERVICE_CLASS_ID_LIST) &&
341 } else if (p_attr->attr_id == ATTR_ID_SERVICE_ID) {
370 if ((p_attr->attr_id == ATTR_ID_SERVICE_CLASS_ID_LIST) &&
385 } else if (p_attr->attr_id
[all...]
H A Dsdp_discovery.cc59 tSDP_DISC_REC* p_rec, uint16_t attr_id,
717 uint16_t attr_id; local
752 BE_STREAM_TO_UINT16(attr_id, p);
755 p = add_attr(p, p_ccb->p_db, p_rec, attr_id, NULL, 0);
816 tSDP_DISC_REC* p_rec, uint16_t attr_id,
848 p_attr->attr_id = attr_id;
953 attr_id == ATTR_ID_ADDITION_PROTO_DESC_LISTS)
1003 p_parent_attr, p_parent_attr->attr_id, p_attr, p_attr->attr_id); */
815 add_attr(uint8_t* p, tSDP_DISCOVERY_DB* p_db, tSDP_DISC_REC* p_rec, uint16_t attr_id, tSDP_DISC_ATTR* p_parent_attr, uint8_t nest_level) argument
[all...]
/system/extras/simpleperf/
H A Drecord_file_test.cpp43 EventAttrWithId attr_id; local
44 attr_id.attr = attrs_.back().get();
45 attr_id.ids.push_back(attrs_.size()); // Fake id.
46 attr_ids_.push_back(attr_id);
H A Drecord_file_writer.cpp89 for (auto& attr_id : attr_ids) {
90 if (!Write(attr_id.ids.data(), attr_id.ids.size() * sizeof(uint64_t))) {
100 for (auto& attr_id : attr_ids) {
102 file_attr.attr = *attr_id.attr;
104 file_attr.ids.size = attr_id.ids.size() * sizeof(uint64_t);
H A Devent_selection_set.cpp250 EventAttrWithId attr_id; local
251 attr_id.attr = &selection.event_attr;
253 attr_id.ids.push_back(fd->Id());
256 attr_id.ids.push_back(selection.inplace_samplers[0]->Id());
258 result.push_back(attr_id);
865 uint64_t attr_id = 0; local
870 event_id_data.push_back(attr_id);
874 ++attr_id;
H A Dcmd_report.cpp440 void ProcessSampleRecordInTraceOffCpuMode(std::unique_ptr<Record> record, size_t attr_id);
878 size_t attr_id = record_file_reader_->GetAttrIndexOfRecord(record.get()); local
880 sample_tree_builder_[attr_id]->ReportCmdProcessSampleRecord(
883 ProcessSampleRecordInTraceOffCpuMode(std::move(record), attr_id); local
896 size_t attr_id) {
898 if (attr_id == sched_switch_attr_id_) {
908 sample_tree_builder_[attr_id]->ReportCmdProcessSampleRecord(r);
895 ProcessSampleRecordInTraceOffCpuMode(std::unique_ptr<Record> record, size_t attr_id) argument
H A Dcmd_record.cpp853 EventAttrWithId attr_id = event_selection_set_.GetEventAttrWithId()[0]; local
860 if (!DumpKernelAndModuleMmaps(*attr_id.attr, attr_id.ids[0])) {
863 if (!DumpThreadCommAndMmaps(*attr_id.attr, attr_id.ids[0])) {
/system/connectivity/wificond/net/
H A Dnetlink_utils.cpp545 int attr_id = attr.GetAttributeId(); local
546 if (attr_id != NL80211_ATTR_WIPHY &&
547 attr_id != NL80211_ATTR_IFINDEX &&
548 attr_id != NL80211_ATTR_WDEV) {
550 attr_by_wiphy_and_id[wiphy_index].find(attr_id);
553 insert(make_pair(attr_id, move(attr)));
H A Dnl80211_attribute.cpp69 int attr_id,
77 if (header->nla_type == attr_id) {
67 GetAttributeImpl(const uint8_t* buf, size_t len, int attr_id, uint8_t** attr_start, uint8_t** attr_end) argument
H A Dnl80211_attribute.h49 int attr_id,
/system/bt/stack/avrc/
H A Davrc_pars_tg.cc147 p_result->list_app_values.attr_id = *p++;
148 if (!AVRC_IS_VALID_ATTRIBUTE(p_result->list_app_values.attr_id))
188 p_app_set[xx].attr_id = *p++;
190 if (!avrc_is_valid_player_attrib_value(p_app_set[xx].attr_id,
213 BE_STREAM_TO_UINT8(p_result->get_app_val_txt.attr_id, p);
214 if (!AVRC_IS_VALID_ATTRIBUTE(p_result->get_app_val_txt.attr_id))
218 if ((len - 2 /* attr_id & num_val */) !=
231 p_result->get_app_val_txt.attr_id, p_u8[xx])) {
H A Davrc_bld_tg.cc236 if (avrc_is_valid_player_attrib_value(p_rsp->p_vals[xx].attr_id,
239 UINT8_TO_BE_STREAM(p_data, p_rsp->p_vals[xx].attr_id);
323 UINT8_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].attr_id);
419 p_attrs[index].attr_id);
420 CHECK(AVRC_IS_VALID_MEDIA_ATTRIBUTE(p_attrs[index].attr_id));
424 /* 8 is the size of attr_id, char set and str_len */
428 "%s not enough buffer space for attr_id[%d]: %d,"
430 __func__, index, p_attrs[index].attr_id, num_attrs - index);
435 "%s not enough buffer space for attr_id[%d]: %d,"
437 __func__, index, p_attrs[index].attr_id);
[all...]
H A Davrc_pars_ct.cc126 BE_STREAM_TO_UINT8(p_rsp->param.player_setting.attr_id[index],
285 BE_STREAM_TO_UINT32(attr_entry->attr_id, p);
296 __func__, attr_entry->attr_id,
506 BE_STREAM_TO_UINT8(app_sett[xx].attr_id, p);
530 BE_STREAM_TO_UINT8(p_result->get_app_attr_txt.p_attrs[xx].attr_id, p);
564 BE_STREAM_TO_UINT8(p_result->get_app_val_txt.p_attrs[i].attr_id, p);
596 BE_STREAM_TO_UINT32(p_attrs[i].attr_id, p);
H A Davrc_bld_ct.cc229 UINT8_TO_BE_STREAM(p_data, p_val[count].attr_id);
612 p_pkt, p_cmd->list_app_values.attr_id);
/system/bt/include/hardware/
H A Dbt_rc.h194 uint8_t attr_id; member in struct:__anon807
203 uint8_t attr_id; member in struct:__anon808
235 uint8_t id; /* can be attr_id or value_id */
240 uint32_t attr_id; member in struct:__anon814
296 typedef void (*btrc_list_player_app_values_callback)(btrc_player_attr_t attr_id,
316 uint8_t attr_id, uint8_t num_val, uint8_t* p_vals,
457 * attr_id */
/system/bt/btif/src/
H A Dbtif_rc.cc440 attr_vals[attr_cnt].attr_id = p_attrs[attr_cnt].attr_id;
446 "%s: attr_id: 0x%x, charset_id: 0x%x, str_len: %d, str: %s", __func__,
447 (unsigned int)attr_vals[attr_cnt].attr_id,
1849 element_attrs[i].attr_id = p_attrs[i].attr_id;
1854 "%s: attr_id: 0x%x, charset_id: 0x%x, str_len: %d, str: %s", __func__,
1855 (unsigned int)element_attrs[i].attr_id,
3340 app_settings.attr_ids[xx] = p_rsp->param.player_setting.attr_id[xx];
3403 p_dev->rc_app_settings.ext_attrs[st_index].attr_id
[all...]
/system/media/audio_route/
H A Daudio_route.c455 const XML_Char *attr_id = NULL; local
472 attr_id = attr[i + 1];
535 if (attr_id) {
537 id = atoi((char *)attr_id);
563 if (attr_id)
564 mixer_value.index = atoi((char *)attr_id);
/system/bt/stack/hid/
H A Dhidh_api.cc71 void hidh_get_str_attr(tSDP_DISC_REC* p_rec, uint16_t attr_id, uint16_t max_len, argument
76 p_attr = SDP_FindAttributeInRec(p_rec, attr_id);

Completed in 717 milliseconds

12