Home
last modified time | relevance | path

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

123456789

/system/extras/simpleperf/
Devent_selection_set.cpp233 for (const auto& group : groups_) { in BuildAndCheckEventSelection() local
234 for (const auto& sel : group) { in BuildAndCheckEventSelection()
251 EventSelectionGroup group; in AddEventGroup() local
270 group.push_back(std::move(selection)); in AddEventGroup()
272 groups_.push_back(std::move(group)); in AddEventGroup()
282 for (const auto& group : groups_) { in GetEvents() local
283 for (const auto& selection : group) { in GetEvents()
292 for (const auto& group : groups_) { in GetTracepointEvents() local
293 for (const auto& selection : group) { in GetTracepointEvents()
304 for (const auto& group : groups_) { in ExcludeKernel() local
[all …]
/system/extras/runconuid/
Drunconuid.cpp105 struct group* gr; in lookup_gid()
120 char* group; in lookup_groups() local
123 for (group = c; *group; group++) { in lookup_groups()
124 if (*group == ',') { in lookup_groups()
126 *group = '\0'; in lookup_groups()
135 group = c; in lookup_groups()
139 groups[n] = lookup_gid(group); in lookup_groups()
140 group += strlen(group) + 1; in lookup_groups()
/system/core/libprocessgroup/
Dsched_policy.cpp172 std::string group; in get_sched_policy() local
174 if ((getCGroupSubsys(tid, "schedtune", group) < 0) && in get_sched_policy()
175 (getCGroupSubsys(tid, "cpu", group) < 0)) in get_sched_policy()
178 if (group.empty() && cpusets_enabled()) { in get_sched_policy()
179 if (getCGroupSubsys(tid, "cpuset", group) < 0) return -1; in get_sched_policy()
183 if (group.empty()) { in get_sched_policy()
185 } else if (group == "foreground") { in get_sched_policy()
187 } else if (group == "system-background") { in get_sched_policy()
189 } else if (group == "background") { in get_sched_policy()
191 } else if (group == "top-app") { in get_sched_policy()
[all …]
/system/tools/xsdc/src/com/android/xsdc/tag/
DXsdGeneralRestriction.java27 final private XsdGroup group; field in XsdGeneralRestriction
31 List<XsdElement> elements, XsdGroup group) { in XsdGeneralRestriction() argument
37 this.group = group; in XsdGeneralRestriction()
57 return group; in getGroup()
DXsdGeneralExtension.java27 final private XsdGroup group; field in XsdGeneralExtension
31 List<XsdElement> elements, XsdGroup group) { in XsdGeneralExtension() argument
37 this.group = group; in XsdGeneralExtension()
57 return group; in getGroup()
DXsdComplexType.java28 final private XsdGroup group; field in XsdComplexType
32 List<XsdElement> elements, XsdGroup group) { in XsdComplexType() argument
41 this.group = group; in XsdComplexType()
61 return group; in getGroup()
DXsdComplexContent.java24 List<XsdAttributeGroup> attributeGroups, List<XsdElement> elements, XsdGroup group) { in XsdComplexContent() argument
25 super(name, base, attributes, attributeGroups, elements, group); in XsdComplexContent()
/system/tools/xsdc/tests/resources/group/
Dgroup.xsd2 <xs:group name="address1">
7 </xs:group>
8 <xs:group name="address2" ref="address1">
12 </xs:group>
15 <xs:group ref="address2"/>
DAndroid.bp4 srcs: ["group.xsd"],
5 package_name: "group",
/system/update_engine/
Ddynamic_partition_test_utils.h123 const std::string& group, in AddGroup() argument
126 g->set_name(group); in AddGroup()
132 DynamicPartitionGroup* group, in AddPartition() argument
135 group->add_partition_names(partition); in AddPartition()
181 for (const auto& group : manifest.dynamic_partition_metadata().groups()) { variable
182 EXPECT_TRUE(builder->AddGroup(group.name(), group.size()));
183 for (const auto& partition_name : group.partition_names()) {
186 builder->AddPartition(partition_name, group.name(), partition_attr));
207 for (const auto& group : manifest_.dynamic_partition_metadata().groups()) { in MatchAndExplain() local
208 for (const auto& partition_name : group.partition_names()) { in MatchAndExplain()
[all …]
/system/extras/boottime_tools/io_analysis/
Dcheck_io_trace_all.py137 pid = match.group(1)
138 start_time = float(match.group(2))*1000 #ms
139 major = int(match.group(3))
140 minor = int(match.group(4))
142 operation = match.group(5)
143 block_num = int(match.group(6))
144 size = int(match.group(7))
145 process = match.group(8) + "-" + pid
327 current_pid = int(match.group(1))
328 cpu_core = int(match.group(2))
[all …]
Dcheck_file_read.py260 pid = int(match.group(1))
261 time = match.group(2)
262 process_name = match.group(3)
263 file_name = match.group(4)
264 flag = match.group(5)
265 inode = int(match.group(6))
285 process_name = match.group(1)
286 pid = int(match.group(2))
287 time = float(match.group(3))
288 dev = match.group(4)
[all …]
Dcheck_io_trace.py74 start_time = int(float(match.group(1))*1000000) #us
75 major = int(match.group(2))
76 minor = int(match.group(3))
77 operation = match.group(4)
78 block_num = int(match.group(5))
79 size = int(match.group(6))
80 process = match.group(7)
131 cmd = match.group(1)
/system/keymaster/km_openssl/
Dnist_curve_key_exchange.cpp73 const EC_GROUP* group = EC_KEY_get0_group(private_key_.get()); in ExtractPublicKey() local
75 keymaster_error_t error = ec_get_group_size(group, &field_len_bits); in ExtractPublicKey()
82 if (EC_POINT_point2oct(group, EC_KEY_get0_public_key(private_key_.get()), in ExtractPublicKey()
100 const EC_GROUP* group = EC_KEY_get0_group(private_key_.get()); in CalculateSharedKey() local
101 UniquePtr<EC_POINT, EC_POINT_Delete> point(EC_POINT_new(group)); in CalculateSharedKey()
104 group, point.get(), peer_public_value, peer_public_value_len, in CalculateSharedKey()
106 !EC_POINT_is_on_curve(group, point.get(), nullptr /* ctx */)) { in CalculateSharedKey()
Dopenssl_utils.cpp26 keymaster_error_t ec_get_group_size(const EC_GROUP* group, size_t* key_size_bits) { in ec_get_group_size() argument
27 switch (EC_GROUP_get_curve_name(group)) { in ec_get_group_size()
127 const EC_GROUP* group = EC_KEY_get0_group(ec_key); in ec_group_size_bits() local
130 if (!EC_GROUP_get_order(group, order.get(), bn_ctx.get())) { in ec_group_size_bits()
/system/sepolicy/tests/
Dmini_parser.py29 self.apiLevel = m.group(1)
82 self.types.add(m.group(1))
87 self.expandtypeattributes[m.group(1)] = m.group(2)
92 self.typeattributes.add(m.group(1))
97 ta = m.group(1)
100 tas = m.group(2).split()
113 self.pubtypes.add(pub.group(1))
/system/update_engine/payload_generator/
Dpayload_generation_config.cc151 DynamicPartitionGroup* group = metadata->add_groups(); in LoadDynamicPartitionMetadata() local
152 group->set_name(group_name); in LoadDynamicPartitionMetadata()
166 group->set_size(max_size); in LoadDynamicPartitionMetadata()
172 group->add_partition_names()->assign(partition_name); in LoadDynamicPartitionMetadata()
191 for (const auto& group : dynamic_partition_metadata->groups()) { in ValidateDynamicPartitionMetadata() local
193 for (const auto& partition_name : group.partition_names()) { in ValidateDynamicPartitionMetadata()
202 << " which is in " << group.name() << "_partition_list"; in ValidateDynamicPartitionMetadata()
208 if (sum_size > group.size()) { in ValidateDynamicPartitionMetadata()
209 LOG(ERROR) << "Sum of sizes in " << group.name() << "_partition_list is " in ValidateDynamicPartitionMetadata()
210 << sum_size << ", which is greater than " << group.name() in ValidateDynamicPartitionMetadata()
[all …]
/system/extras/boottime_tools/bootanalyze/
Dbugreport_anayze.py174 return int(float(m.group(1)) * 1000)
180 mm = int(m.group(1))
181 dd = int(m.group(2))
182 hh = int(m.group(3))
183 min = int(m.group(4))
184 usecs = int(float(m.group(5)) * 1000000)
251 name = m.group('name')
252 time = float(m.group('time'))
301 if m.group(1).startswith(RO_BOOTTIME_PROP):
302 name = m.group(1)[len(RO_BOOTTIME_PROP):]
[all …]
/system/apex/apexd/
Dapexd.rc5 group system
12 group system
19 group system
/system/tools/xsdc/tests/resources/group/api/
Dcurrent.txt2 package group {
16 …method public static group.Student read(java.io.InputStream) throws javax.xml.datatype.DatatypeCon…
24 method public static void write(group.XmlWriter, group.Student) throws java.io.IOException;
/system/apex/tools/
Dupdate_allowed_list.sh14 --unchanged-group-format='' \
15 --changed-group-format='%<' \
/system/tools/xsdc/tests/resources/attr_group_simple/api/
Dcurrent.txt2 package attr.group.simple {
18 …method public static attr.group.simple.Student read(java.io.InputStream) throws javax.xml.datatype…
26 …method public static void write(attr.group.simple.XmlWriter, attr.group.simple.Student) throws jav…
/system/core/fs_mgr/libsnapshot/
Dtest_helpers.cpp145 for (const auto& group : manifest.dynamic_partition_metadata().groups()) { in FillFakeMetadata() local
146 if (!builder->AddGroup(group.name() + suffix, group.size())) { in FillFakeMetadata()
148 << "Cannot add group " << group.name() << " with size " << group.size(); in FillFakeMetadata()
150 for (const auto& partition_name : group.partition_names()) { in FillFakeMetadata()
151 auto p = builder->AddPartition(partition_name + suffix, group.name() + suffix, in FillFakeMetadata()
155 << " to group " << group.name() << suffix; in FillFakeMetadata()
/system/keymaster/tests/
Dnist_curve_key_exchange_test.cpp100 EC_GROUP* group = ec_get_group(curve); in TEST() local
101 EC_POINT* point_at_infinity = EC_POINT_new(group); in TEST()
102 EC_POINT_set_to_infinity(group, point_at_infinity); in TEST()
103 EXPECT_EQ(1, EC_POINT_is_on_curve(group, point_at_infinity, nullptr)); in TEST()
105 ec_get_group_size(group, &field_len_in_bits); in TEST()
109 public_key_len = EC_POINT_point2oct(group, point_at_infinity, POINT_CONVERSION_UNCOMPRESSED, in TEST()
/system/core/fs_mgr/liblp/
Dbuilder.cpp326 for (const auto& group : metadata.groups) { in Init() local
327 std::string group_name = GetPartitionGroupName(group); in Init()
328 if (!AddGroup(group_name, group.maximum_size)) { in Init()
562 for (const auto& group : groups_) { in FindGroup() local
563 if (group->name() == group_name) { in FindGroup()
564 return group.get(); in FindGroup()
570 uint64_t MetadataBuilder::TotalSizeOfGroup(PartitionGroup* group) const { in TotalSizeOfGroup()
573 if (partition->group_name() != group->name()) { in TotalSizeOfGroup()
655 PartitionGroup* group = FindGroup(partition->group_name()); in ValidatePartitionSizeChange() local
656 CHECK(group); in ValidatePartitionSizeChange()
[all …]

123456789