Home
last modified time | relevance | path

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

12

/system/timezone/input_tools/android/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/timezone/debug_tools/host/main/java/
DZoneSplitter.java154 String[] ids = new String[entryCount]; in extractZicFiles() local
178 ids[i] = new String(idBytes, 0, len, StandardCharsets.US_ASCII); in extractZicFiles()
180 if (ids[i].compareTo(ids[i - 1]) <= 0) { in extractZicFiles()
183 + ", index=" + i + ", ids[i]=" + ids[i] in extractZicFiles()
184 + ", ids[i - 1]=" + ids[i - 1]); in extractZicFiles()
189 String id = ids[i]; in extractZicFiles()
/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.cpp144 size_t section_desc_size = sizeof(attr.ids); in ReadAttrSection()
147 memcpy(&attr.ids, &buf[perf_event_attr_size], section_desc_size); in ReadAttrSection()
161 std::vector<uint64_t> ids; in ReadAttrSection() local
162 if (!ReadIdsForAttr(file_attrs_[i], &ids)) { in ReadAttrSection()
165 event_ids_for_file_attrs_.push_back(ids); in ReadAttrSection()
166 for (auto id : ids) { in ReadAttrSection()
197 bool RecordFileReader::ReadIdsForAttr(const FileAttr& attr, std::vector<uint64_t>* ids) { in ReadIdsForAttr() argument
198 size_t id_count = attr.ids.size / sizeof(uint64_t); in ReadIdsForAttr()
199 if (fseek(record_fp_, attr.ids.offset, SEEK_SET) != 0) { in ReadIdsForAttr()
203 ids->resize(id_count); in ReadIdsForAttr()
[all …]
Devent_attr.h31 std::vector<uint64_t> ids; member
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()
Drecord_file_format.h123 SectionDesc ids; member
Drecord_file.h118 result[i].ids = event_ids_for_file_attrs_[i]; in AttrSection()
174 bool ReadIdsForAttr(const PerfFileFormat::FileAttr& attr, std::vector<uint64_t>* ids);
Dcmd_dumprecord.cpp263 if (!attr.ids.empty()) { in DumpAttrSection()
265 for (const auto& id : attr.ids) { in DumpAttrSection()
Dcmd_record.cpp1182 kernel_mmap.len, 0, kernel_mmap.filepath, dumping_attr_id_.ids[0]); in DumpKernelMaps()
1188 module_mmap.len, 0, module_mmap.filepath, dumping_attr_id_.ids[0]); in DumpKernelMaps()
1240 uint64_t event_id = dumping_attr_id_.ids[0]; in DumpProcessMaps()
1409 info.file_path, attr_id.ids[0], timestamp); in ProcessJITDebugInfo()
1419 map.pgoff, map.prot, map.name, attr_id.ids[0], timestamp); in ProcessJITDebugInfo()
/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.cc566 bool Server::SetAdvertisement(const std::vector<Uuid>& ids, in SetAdvertisement() argument
592 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::FromString(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::FromString(uuid_token)); in OnSetScanResponse()
232 gatt_servers_[service_uuid]->SetScanResponse(ids, decoded_advertise_data, in OnSetScanResponse()
/system/security/identity/
DWritableCredential.cpp208 vector<int32_t> ids; in personalize() local
210 eParcel.accessControlProfileIds.end(), std::back_inserter(ids)); in personalize()
212 status = halBinder_->beginAddEntry(ids, ensParcel.namespaceName, eParcel.name, in personalize()
229 eData.accessControlProfileIds = std::move(ids); in personalize()
/system/timezone/input_tools/android/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/
DZoneTabFileTest.java116 private void addIds(Map<String, List<String>> map, String iso, String... ids) { in addIds() argument
117 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={
/system/incremental_delivery/libdataloader/
DManagedDataLoader.cpp88 static const JniIds ids(env); in jniIds() local
89 return ids; in jniIds()
DDataLoaderConnector.cpp205 static const JniIds ids(env); in jniIds() local
206 return ids; in jniIds()
/system/apex/proto/
Dsession_state.proto40 // Child session ids
/system/core/logd/
DREADME.property28 all log ids at initial startup, at
66 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/sepolicy/private/
Dgpuservice.te48 # Needed for reading tracepoint ids in order to attach bpf programs.
/system/timezone/apex/tests/src/java/android/tzdata/mts/
DTimeZoneRulesTest.java71 String[] ids = new String[] { "Africa/Bujumbura", "Indian/Cocos", "Pacific/Wake", "UTC" }; in minimalTransitionZones() local
72 for (String id : ids) { in minimalTransitionZones()
/system/netd/server/
DNdcDispatcher.cpp1143 std::vector<int32_t> ids; in runCommand() local
1151 ids.push_back(id); in runCommand()
1154 ids.push_back(stringToNetId(argv[nextArg])); in runCommand()
1158 mNetd->networkSetPermissionForUser(permission, ids); in runCommand()
1161 for (auto netId : ids) { in runCommand()

12