Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Dcmd_merge.cpp266 for (size_t attr_id = 0; attr_id < attrs.size(); attr_id++) { in CheckAttrSection() local
267 if (attrs[attr_id].attr != attrs0[attr_id].attr) { in CheckAttrSection()
305 for (size_t attr_id = 0; attr_id < attrs.size(); attr_id++) { in WriteGapInDataSection() local
306 for (size_t event_id : attrs[attr_id].ids) { in WriteGapInDataSection()
307 if (auto it = cur_map.find(event_id); it == cur_map.end() || it->second != attr_id) { in WriteGapInDataSection()
308 event_id_data.push_back(attr_id); in WriteGapInDataSection()
Drecord_file_writer.cpp92 for (auto& attr_id : attr_ids) { in WriteAttrSection() local
93 if (!Write(attr_id.ids.data(), attr_id.ids.size() * sizeof(uint64_t))) { in WriteAttrSection()
103 for (auto& attr_id : attr_ids) { in WriteAttrSection() local
105 file_attr.attr = attr_id.attr; in WriteAttrSection()
107 file_attr.ids.size = attr_id.ids.size() * sizeof(uint64_t); in WriteAttrSection()
Drecord_file_test.cpp45 EventAttrWithId& attr_id = attr_ids_.back(); in AddEventType() local
48 attr_id.attr = CreateDefaultPerfEventAttr(event_type_modifier->event_type); in AddEventType()
49 attr_id.attr.sample_id_all = 1; in AddEventType()
50 attr_id.ids.push_back(fake_id); in AddEventType()
Dcmd_report.cpp489 void ProcessSampleRecordInTraceOffCpuMode(std::unique_ptr<Record> record, size_t attr_id);
960 size_t attr_id = record_file_reader_->GetAttrIndexOfRecord(record.get()); in ProcessRecord() local
962 sample_tree_builder_[attr_id]->ReportCmdProcessSampleRecord( in ProcessRecord()
965 ProcessSampleRecordInTraceOffCpuMode(std::move(record), attr_id); in ProcessRecord()
978 size_t attr_id) { in ProcessSampleRecordInTraceOffCpuMode() argument
980 if (attr_id == sched_switch_attr_id_) { in ProcessSampleRecordInTraceOffCpuMode()
990 sample_tree_builder_[attr_id]->ReportCmdProcessSampleRecord(r); in ProcessSampleRecordInTraceOffCpuMode()
Drecord_file_reader.cpp406 event_attrs_[data.attr_id].ids.push_back(data.event_id); in ProcessEventIdRecord()
407 event_id_to_attr_map_[data.event_id] = data.attr_id; in ProcessEventIdRecord()
Drecord.h615 uint64_t attr_id; member
Drecord.cpp1403 PrintIndented(indent, "attr_id[%" PRIu64 "]: %" PRIu64 "\n", i, data[i].attr_id); in DumpData()
/system/connectivity/wificond/net/
Dnetlink_utils.cpp821 int attr_id = attr.GetAttributeId(); in MergePacketsForSplitWiphyDump() local
822 if (attr_id != NL80211_ATTR_WIPHY && in MergePacketsForSplitWiphyDump()
823 attr_id != NL80211_ATTR_IFINDEX && in MergePacketsForSplitWiphyDump()
824 attr_id != NL80211_ATTR_WDEV) { in MergePacketsForSplitWiphyDump()
826 attr_by_wiphy_and_id[wiphy_index].find(attr_id); in MergePacketsForSplitWiphyDump()
829 insert(make_pair(attr_id, std::move(attr))); in MergePacketsForSplitWiphyDump()
Dnl80211_attribute.cpp69 int attr_id, in GetAttributeImpl() argument
77 if (header->nla_type == attr_id) { in GetAttributeImpl()
Dnl80211_attribute.h49 int attr_id,
/system/media/audio_route/
Daudio_route.c477 const XML_Char *attr_id = NULL; in start_tag() local
495 attr_id = attr[i + 1]; in start_tag()
563 if (attr_id) in start_tag()
593 if (attr_id) { in start_tag()
595 id = atoi((char *)attr_id); in start_tag()
631 if (attr_id) in start_tag()
632 mixer_value.index = atoi((char *)attr_id); in start_tag()
/system/chre/platform/slpi/see/
Dsee_helper.cc641 switch (data->attr.attr_id) { in decodeSnsStrAttr()
651 LOGW("%s: %d", getAttrNameFromAttrId(data->attr.attr_id), in decodeSnsStrAttr()