/system/extras/simpleperf/ |
D | record_file_test.cpp | 45 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()
|
D | record_file_reader.cpp | 102 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 …]
|
D | record_file_writer.cpp | 87 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()
|
D | event_attr.h | 31 std::vector<uint64_t> ids; member
|
D | record_file_format.h | 99 SectionDesc ids; member
|
D | record_file.h | 111 result[i].ids = event_ids_for_file_attrs_[i]; in AttrSection() 163 bool ReadIdsForAttr(const PerfFileFormat::FileAttr& attr, std::vector<uint64_t>* ids);
|
D | cmd_dumprecord.cpp | 166 if (!attr.ids.empty()) { in DumpAttrSection() 168 for (const auto& id : attr.ids) { in DumpAttrSection()
|
D | event_selection_set.cpp | 151 attr_id.ids.push_back(fd->Id()); in GetEventAttrWithId() 154 attr_id.ids.push_back(selection.inplace_samplers[0]->Id()); in GetEventAttrWithId()
|
D | cmd_record.cpp | 622 if (!DumpKernelAndModuleMmaps(*attr_id.attr, attr_id.ids[0])) { in CreateAndInitRecordFile() 625 if (!DumpThreadCommAndMmaps(*attr_id.attr, attr_id.ids[0])) { in CreateAndInitRecordFile()
|
D | cmd_kmem.cpp | 563 attr.event_ids = attr_with_id.ids; in ReadEventAttrsFromRecordFile()
|
/system/core/adf/libadf/ |
D | adf.cpp | 61 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/ |
D | gatt_server_old.h | 77 bool SetAdvertisement(const std::vector<UUID>& ids, 83 bool SetScanResponse(const std::vector<UUID>& ids,
|
D | gatt_server_old.cc | 568 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/ |
D | linux_ipc_host.cc | 191 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/ |
D | pprof_proto_generator.config | 30 # Use samples only in processes with selected process ids. 32 # Use samples only in threads with selected thread ids.
|
D | annotate.config | 30 # Use samples only in processes with selected process ids. 32 # Use samples only in threads with selected thread ids.
|
/system/extras/perfprofd/quipper/ |
D | perf_reader.cc | 939 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 …]
|
D | perf_reader.h | 26 std::vector<u64> ids; member 184 size_t* offset, std::vector<u64>* ids);
|
/system/media/camera/docs/ |
D | metadata_helpers_test.py | 83 labeled_enum = Enum(parent=None, values=['A', 'B', 'C'], ids={ 95 ids={
|
D | metadata_model.py | 1016 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/ |
D | README.property | 25 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/ |
D | header.h | 130 struct perf_event_attr *attr, u32 ids, u64 *id,
|
/system/core/adf/libadf/include/adf/ |
D | adf.h | 43 ssize_t adf_devices(adf_id_t **ids);
|
/system/netd/server/ |
D | CommandListener.cpp | 1534 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/ |
D | logcat_test.cpp | 82 int ids = 0; in TEST() local 91 ids |= 1 << id; in TEST() 98 EXPECT_EQ(15, ids); in TEST()
|