Home
last modified time | relevance | path

Searched refs:ids (Results 1 – 25 of 25) sorted by relevance

/system/extras/simpleperf/
Drecord_file_test.cpp45 attr_id.ids.push_back(attrs_.size()); // Fake id. in AddEventType()
65 0x3000, "mmap_record_example", attr_ids_[0].ids[0]); in TEST_F()
87 ASSERT_EQ(attrs[0].ids, attr_ids_[0].ids); in TEST_F()
115 attr_ids_[0].ids[0], 2); in TEST_F()
117 attr_ids_[0].ids[0], 1); in TEST_F()
119 attr_ids_[0].ids[0], 3); in TEST_F()
157 ASSERT_EQ(attrs[i].ids, attr_ids_[i].ids); in TEST_F()
Drecord_file_reader.cpp102 size_t section_desc_size = sizeof(attr.ids); in ReadAttrSection()
105 memcpy(&attr.ids, &buf[perf_event_attr_size], section_desc_size); in ReadAttrSection()
119 std::vector<uint64_t> ids; in ReadAttrSection() local
120 if (!ReadIdsForAttr(file_attrs_[i], &ids)) { in ReadAttrSection()
123 event_ids_for_file_attrs_.push_back(ids); in ReadAttrSection()
124 for (auto id : ids) { in ReadAttrSection()
155 bool RecordFileReader::ReadIdsForAttr(const FileAttr& attr, std::vector<uint64_t>* ids) { in ReadIdsForAttr() argument
156 size_t id_count = attr.ids.size / sizeof(uint64_t); in ReadIdsForAttr()
157 if (fseek(record_fp_, attr.ids.offset, SEEK_SET) != 0) { in ReadIdsForAttr()
161 ids->resize(id_count); in ReadIdsForAttr()
[all …]
Drecord_file_writer.cpp87 if (!Write(attr_id.ids.data(), attr_id.ids.size() * sizeof(uint64_t))) { in WriteAttrSection()
100 file_attr.ids.offset = id_section_offset; in WriteAttrSection()
101 file_attr.ids.size = attr_id.ids.size() * sizeof(uint64_t); in WriteAttrSection()
102 id_section_offset += file_attr.ids.size; in WriteAttrSection()
Devent_attr.h31 std::vector<uint64_t> ids; member
Drecord_file_format.h99 SectionDesc ids; member
Drecord_file.h111 result[i].ids = event_ids_for_file_attrs_[i]; in AttrSection()
163 bool ReadIdsForAttr(const PerfFileFormat::FileAttr& attr, std::vector<uint64_t>* ids);
Dcmd_dumprecord.cpp166 if (!attr.ids.empty()) { in DumpAttrSection()
168 for (const auto& id : attr.ids) { in DumpAttrSection()
Devent_selection_set.cpp151 attr_id.ids.push_back(fd->Id()); in GetEventAttrWithId()
154 attr_id.ids.push_back(selection.inplace_samplers[0]->Id()); in GetEventAttrWithId()
Dcmd_record.cpp622 if (!DumpKernelAndModuleMmaps(*attr_id.attr, attr_id.ids[0])) { in CreateAndInitRecordFile()
625 if (!DumpThreadCommAndMmaps(*attr_id.attr, attr_id.ids[0])) { in CreateAndInitRecordFile()
Dcmd_kmem.cpp563 attr.event_ids = attr_with_id.ids; in ReadEventAttrsFromRecordFile()
/system/core/adf/libadf/
Dadf.cpp61 std::vector<adf_id_t> ids; in adf_find_nodes() local
70 ids.push_back(id); in adf_find_nodes()
75 return adf_id_vector_to_array(ids, ids_out); in adf_find_nodes()
78 ssize_t adf_devices(adf_id_t **ids) in adf_devices() argument
80 return adf_find_nodes("adf%u", ids); in adf_devices()
238 std::vector<adf_id_t> ids; in adf_interfaces_for_overlay_engine() local
241 ids.push_back(data.allowed_attachments[i].interface); in adf_interfaces_for_overlay_engine()
244 return adf_id_vector_to_array(ids, interfaces); in adf_interfaces_for_overlay_engine()
252 std::vector<adf_id_t> ids; in adf_interfaces_filter() local
265 ids.push_back(in[i]); in adf_interfaces_filter()
[all …]
/system/bt/service/
Dgatt_server_old.h77 bool SetAdvertisement(const std::vector<UUID>& ids,
83 bool SetScanResponse(const std::vector<UUID>& ids,
Dgatt_server_old.cc568 bool Server::SetAdvertisement(const std::vector<UUID>& ids, in SetAdvertisement() argument
594 bool Server::SetScanResponse(const std::vector<UUID>& ids, in SetScanResponse() argument
/system/bt/service/ipc/
Dlinux_ipc_host.cc191 std::vector<UUID> ids; in OnSetAdvertisement() local
193 ids.emplace_back(uuid_token); in OnSetAdvertisement()
204 gatt_servers_[service_uuid]->SetAdvertisement(ids, decoded_advertise_data, in OnSetAdvertisement()
219 std::vector<UUID> ids; in OnSetScanResponse() local
221 ids.emplace_back(uuid_token); in OnSetScanResponse()
232 gatt_servers_[service_uuid]->SetScanResponse(ids, decoded_advertise_data, in OnSetScanResponse()
/system/extras/simpleperf/scripts/
Dpprof_proto_generator.config30 # Use samples only in processes with selected process ids.
32 # Use samples only in threads with selected thread ids.
Dannotate.config30 # Use samples only in processes with selected process ids.
32 # Use samples only in threads with selected thread ids.
/system/extras/perfprofd/quipper/
Dperf_reader.cc939 perf_file_section ids; in ReadAttr() local
940 if (!ReadDataFromBuffer(data, sizeof(ids), "ID section info", offset, &ids)) in ReadAttr()
943 ByteSwap(&ids.offset); in ReadAttr()
944 ByteSwap(&ids.size); in ReadAttr()
947 size_t num_ids = ids.size / sizeof(decltype(attr.ids)::value_type); in ReadAttr()
949 size_t ids_offset = ids.offset; in ReadAttr()
950 if (!ReadUniqueIDs(data, num_ids, &ids_offset, &attr.ids)) in ReadAttr()
1043 size_t* offset, std::vector<u64>* ids) { in ReadUniqueIDs() argument
1044 ids->resize(num_ids); in ReadUniqueIDs()
1046 if (!ReadDataFromBuffer(data, sizeof(ids->at(j)), "ID", offset, in ReadUniqueIDs()
[all …]
Dperf_reader.h26 std::vector<u64> ids; member
184 size_t* offset, std::vector<u64>* ids);
/system/media/camera/docs/
Dmetadata_helpers_test.py83 labeled_enum = Enum(parent=None, values=['A', 'B', 'C'], ids={
95 ids={
Dmetadata_model.py1016 def __init__(self, parent, values, ids={}, deprecateds=[], argument
1019 [ EnumValue(val, self, ids.get(val), val in deprecateds, val in optionals, val in hiddens, \
/system/core/logd/
DREADME.property25 all log ids at initial startup, at
67 to between 64K and 256M for log buffer sizes. Individual log buffer ids
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/
Dheader.h130 struct perf_event_attr *attr, u32 ids, u64 *id,
/system/core/adf/libadf/include/adf/
Dadf.h43 ssize_t adf_devices(adf_id_t **ids);
/system/netd/server/
DCommandListener.cpp1534 std::vector<unsigned> ids; in runCommand() local
1542 ids.push_back(id); in runCommand()
1545 ids.push_back(stringToNetId(argv[nextArg])); in runCommand()
1549 gCtls->netCtrl.setPermissionForUsers(permission, ids); in runCommand()
1552 if (int ret = gCtls->netCtrl.setPermissionForNetworks(permission, ids)) { in runCommand()
/system/core/logcat/tests/
Dlogcat_test.cpp82 int ids = 0; in TEST() local
91 ids |= 1 << id; in TEST()
98 EXPECT_EQ(15, ids); in TEST()