Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Dcmd_dumprecord.cpp147 printf(" ids[file_section]: offset %" PRId64 ", size %" PRId64 "\n", attr->ids.offset, in DumpAttrSection()
148 attr->ids.size); in DumpAttrSection()
149 std::vector<uint64_t> ids = record_file_reader_->IdsForAttr(attr); in DumpAttrSection() local
150 if (ids.size() > 0) { in DumpAttrSection()
152 for (auto& id : ids) { in DumpAttrSection()
Drecord_file.cpp76 std::vector<uint64_t> ids; in WriteAttrSection() local
78 ids.push_back(event_fd->Id()); in WriteAttrSection()
84 if (!Write(ids.data(), ids.size() * sizeof(uint64_t))) { in WriteAttrSection()
91 attr.ids.offset = id_section_offset; in WriteAttrSection()
92 attr.ids.size = ids.size() * sizeof(uint64_t); in WriteAttrSection()
392 size_t id_count = attr->ids.size / sizeof(uint64_t); in IdsForAttr()
393 const uint64_t* id = reinterpret_cast<const uint64_t*>(mmap_addr_ + attr->ids.offset); in IdsForAttr()
Drecord_file_test.cpp77 std::vector<uint64_t> ids = reader->IdsForAttr(attrs[0]); in TEST_F() local
78 ASSERT_EQ(1u, ids.size()); in TEST_F()
Drecord_file_format.h80 SectionDesc ids; member
/system/extras/perfprofd/quipper/
Dperf_reader.cc892 perf_file_section ids; in ReadAttr() local
893 if (!ReadDataFromBuffer(data, sizeof(ids), "ID section info", offset, &ids)) in ReadAttr()
896 ByteSwap(&ids.offset); in ReadAttr()
897 ByteSwap(&ids.size); in ReadAttr()
900 size_t num_ids = ids.size / sizeof(decltype(attr.ids)::value_type); in ReadAttr()
902 size_t ids_offset = ids.offset; in ReadAttr()
903 if (!ReadUniqueIDs(data, num_ids, &ids_offset, &attr.ids)) in ReadAttr()
996 size_t* offset, std::vector<u64>* ids) { in ReadUniqueIDs() argument
997 ids->resize(num_ids); in ReadUniqueIDs()
999 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.py994 def __init__(self, parent, values, ids={}, deprecateds=[], optionals=[], hiddens=[], notes={}): argument
996 [ EnumValue(val, self, ids.get(val), val in deprecateds, val in optionals, val in hiddens, \
/system/core/adf/libadf/
Dadf.c34 static ssize_t adf_find_nodes(const char *pattern, adf_id_t **ids) in adf_find_nodes() argument
78 *ids = ids_ret; in adf_find_nodes()
82 ssize_t adf_devices(adf_id_t **ids) in adf_devices() argument
84 return adf_find_nodes("adf%u", ids); in adf_devices()
/system/core/logcat/tests/
Dlogcat_test.cpp54 int ids = 0; in TEST() local
63 ids |= 1 << id; in TEST()
70 EXPECT_EQ(15, ids); in TEST()
/system/core/logd/
DREADME.property16 log ids at initial startup, at runtime
/system/core/adf/libadf/include/adf/
Dadf.h43 ssize_t adf_devices(adf_id_t **ids);
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/
Dheader.h130 struct perf_event_attr *attr, u32 ids, u64 *id,
/system/netd/server/
DCommandListener.cpp1735 std::vector<unsigned> ids; in runCommand() local
1743 ids.push_back(id); in runCommand()
1746 ids.push_back(stringToNetId(argv[nextArg])); in runCommand()
1750 sNetCtrl->setPermissionForUsers(permission, ids); in runCommand()
1753 if (int ret = sNetCtrl->setPermissionForNetworks(permission, ids)) { in runCommand()