Home
last modified time | relevance | path

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

/system/timezone/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/zonetree/
DTreeNodeTest.java37 private List<String> ids = new ArrayList<>(); field in TreeNodeTest.TestTreeVisitor
41 ids.add(node.getId()); in visit()
45 ids.clear(); in reset()
67 assertEquals(testVisitor.ids, asList("id")); in testTreeNode_single()
104 testVisitor.ids); in testTreeNode_many()
115 assertEquals(asList("1", "1.2", "1.2.1", "1.2.2", "1.2.3"), testVisitor.ids); in testTreeNode_many()
122 testVisitor.ids); in testTreeNode_many()
/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()
122 ASSERT_EQ(attrs[i].ids, attr_ids_[i].ids); in TEST_F()
Drecord_file_reader.cpp142 size_t section_desc_size = sizeof(attr.ids); in ReadAttrSection()
145 memcpy(&attr.ids, &buf[perf_event_attr_size], section_desc_size); in ReadAttrSection()
159 std::vector<uint64_t> ids; in ReadAttrSection() local
160 if (!ReadIdsForAttr(file_attrs_[i], &ids)) { in ReadAttrSection()
163 event_ids_for_file_attrs_.push_back(ids); in ReadAttrSection()
164 for (auto id : ids) { in ReadAttrSection()
195 bool RecordFileReader::ReadIdsForAttr(const FileAttr& attr, std::vector<uint64_t>* ids) { in ReadIdsForAttr() argument
196 size_t id_count = attr.ids.size / sizeof(uint64_t); in ReadIdsForAttr()
197 if (fseek(record_fp_, attr.ids.offset, SEEK_SET) != 0) { in ReadIdsForAttr()
201 ids->resize(id_count); in ReadIdsForAttr()
[all …]
Drecord_file_writer.cpp90 if (!Write(attr_id.ids.data(), attr_id.ids.size() * sizeof(uint64_t))) { in WriteAttrSection()
103 file_attr.ids.offset = id_section_offset; in WriteAttrSection()
104 file_attr.ids.size = attr_id.ids.size() * sizeof(uint64_t); in WriteAttrSection()
105 id_section_offset += file_attr.ids.size; in WriteAttrSection()
Devent_attr.h31 std::vector<uint64_t> ids; member
Drecord_file_format.h122 SectionDesc ids; member
Drecord_file.h116 result[i].ids = event_ids_for_file_attrs_[i]; in AttrSection()
168 bool ReadIdsForAttr(const PerfFileFormat::FileAttr& attr, std::vector<uint64_t>* ids);
Dcmd_dumprecord.cpp153 if (!attr.ids.empty()) { in DumpAttrSection()
155 for (const auto& id : attr.ids) { in DumpAttrSection()
Dcmd_record.cpp1097 kernel_mmap.len, 0, kernel_mmap.filepath, dumping_attr_id_.ids[0]); in DumpKernelMaps()
1103 module_mmap.len, 0, module_mmap.filepath, dumping_attr_id_.ids[0]); in DumpKernelMaps()
1147 uint64_t event_id = dumping_attr_id_.ids[0]; in DumpProcessMaps()
1302 info.file_path, attr_id.ids[0], timestamp); in ProcessJITDebugInfo()
Devent_selection_set.cpp285 attr_id.ids.push_back(fd->Id()); in GetEventAttrWithId()
288 attr_id.ids.push_back(selection.inplace_samplers[0]->Id()); in GetEventAttrWithId()
Dcmd_kmem.cpp562 attr.event_ids = attr_with_id.ids; in ReadEventAttrsFromRecordFile()
/system/core/deprecated-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()
241 std::vector<adf_id_t> ids; in adf_interfaces_for_overlay_engine() local
245 ids.push_back(data.allowed_attachments[i].interface); in adf_interfaces_for_overlay_engine()
248 return adf_id_vector_to_array(ids, interfaces); in adf_interfaces_for_overlay_engine()
256 std::vector<adf_id_t> ids; in adf_interfaces_filter() local
269 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.cc565 bool Server::SetAdvertisement(const std::vector<Uuid>& ids, in SetAdvertisement() argument
591 bool Server::SetScanResponse(const std::vector<Uuid>& ids, in SetScanResponse() argument
/system/bt/service/ipc/
Dlinux_ipc_host.cc192 std::vector<Uuid> ids; in OnSetAdvertisement() local
194 ids.emplace_back(Uuid::FromString(uuid_token)); in OnSetAdvertisement()
205 gatt_servers_[service_uuid]->SetAdvertisement(ids, decoded_advertise_data, in OnSetAdvertisement()
220 std::vector<Uuid> ids; in OnSetScanResponse() local
222 ids.emplace_back(Uuid::FromString(uuid_token)); in OnSetScanResponse()
233 gatt_servers_[service_uuid]->SetScanResponse(ids, decoded_advertise_data, in OnSetScanResponse()
/system/timezone/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/
DZoneTabFileTest.java117 private void addIds(Map<String, List<String>> map, String iso, String... ids) { in addIds() argument
118 map.put(iso, Arrays.asList(ids)); in addIds()
/system/media/camera/docs/
Dmetadata_helpers_test.py83 labeled_enum = Enum(parent=None, values=['A', 'B', 'C'], ids={
95 ids={
Dmetadata_model.py1070 def __init__(self, parent, values, ids={}, deprecateds=[], argument
1075 [ EnumValue(val, self, ids.get(val), val in deprecateds, val in optionals, val in hiddens, \
/system/apex/proto/
Dsession_state.proto40 // Child session ids
/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/core/deprecated-adf/libadf/include/adf/
Dadf.h43 ssize_t adf_devices(adf_id_t **ids);
/system/netd/server/
DNdcDispatcher.cpp1149 std::vector<int32_t> ids; in runCommand() local
1157 ids.push_back(id); in runCommand()
1160 ids.push_back(stringToNetId(argv[nextArg])); in runCommand()
1164 mNetd->networkSetPermissionForUser(permission, ids); in runCommand()
1167 for (auto netId : ids) { in runCommand()
/system/core/logcat/tests/
Dlogcat_test.cpp94 int ids = 0; in TEST() local
103 ids |= 1 << id; in TEST()
110 EXPECT_EQ(ids, 15); in TEST()