/system/extras/simpleperf/ |
D | event_selection_set.cpp | 268 for (const auto& group : groups_) { in BuildAndCheckEventSelection() local 269 for (const auto& sel : group.selections) { in BuildAndCheckEventSelection() 292 EventSelectionGroup group; in AddEventGroup() local 311 group.selections.emplace_back(std::move(selection)); in AddEventGroup() 314 SetSampleRateForGroup(group, sample_rate_.value()); in AddEventGroup() 317 group.cpus = cpus_.value(); in AddEventGroup() 319 groups_.emplace_back(std::move(group)); in AddEventGroup() 351 for (const auto& group : groups_) { in GetEvents() local 352 for (const auto& selection : group.selections) { in GetEvents() 361 for (const auto& group : groups_) { in GetTracepointEvents() local [all …]
|
/system/vold/ |
D | EncryptInplace.cpp | 64 bool ReadExt4BlockBitmap(uint32_t group, uint8_t* buf); 65 uint64_t FirstBlockInGroup(uint32_t group); 66 uint32_t NumBlocksInGroup(uint32_t group); 67 uint32_t NumBaseMetaBlocksInGroup(uint64_t group); 171 bool InPlaceEncrypter::ReadExt4BlockBitmap(uint32_t group, uint8_t* buf) { in ReadExt4BlockBitmap() argument 172 uint64_t offset = (uint64_t)aux_info.bg_desc[group].bg_block_bitmap * info.block_size; in ReadExt4BlockBitmap() 174 PLOG(ERROR) << "Failed to read block bitmap for block group " << group; in ReadExt4BlockBitmap() 180 uint64_t InPlaceEncrypter::FirstBlockInGroup(uint32_t group) { in FirstBlockInGroup() argument 181 return aux_info.first_data_block + (group * (uint64_t)info.blocks_per_group); in FirstBlockInGroup() 184 uint32_t InPlaceEncrypter::NumBlocksInGroup(uint32_t group) { in NumBlocksInGroup() argument [all …]
|
/system/chre/platform/shared/pw_trace/include/chre/target_platform/ |
D | tracing.h | 111 #define CHRE_TRACE_INSTANT_DATA_GROUP(label, group, dataFmtString, firstData, \ argument 115 PW_TRACE_INSTANT_DATA(label, group, \ 120 #define CHRE_TRACE_INSTANT_DATA_TRACE_ID(label, group, trace_id, \ argument 124 PW_TRACE_INSTANT_DATA(label, group, trace_id, \ 171 #define CHRE_TRACE_START_DATA_GROUP(label, group, dataFmtString, firstData, \ argument 175 PW_TRACE_START_DATA(label, group, \ 180 #define CHRE_TRACE_START_DATA_TRACE_ID(label, group, trace_id, dataFmtString, \ argument 184 PW_TRACE_START_DATA(label, group, trace_id, \ 231 #define CHRE_TRACE_END_DATA_GROUP(label, group, dataFmtString, firstData, ...) \ argument 234 PW_TRACE_END_DATA(label, group, PW_MAP_PREFIX dataFmtString PW_MAP_SUFFIX, \ [all …]
|
/system/core/libprocessgroup/ |
D | sched_policy.cpp | 169 static int get_sched_policy_from_group(const std::string& group, SchedPolicy* policy) { in get_sched_policy_from_group() argument 170 if (group.empty()) { in get_sched_policy_from_group() 172 } else if (group == "foreground") { in get_sched_policy_from_group() 174 } else if (group == "system-background") { in get_sched_policy_from_group() 176 } else if (group == "background") { in get_sched_policy_from_group() 178 } else if (group == "top-app") { in get_sched_policy_from_group() 180 } else if (group == "restricted") { in get_sched_policy_from_group() 194 std::string group; in get_sched_policy() local 196 if ((getCGroupSubsys(tid, "schedtune", group) < 0) && in get_sched_policy() 197 (getCGroupSubsys(tid, "cpu", group) < 0)) { in get_sched_policy() [all …]
|
/system/extras/runconuid/ |
D | runconuid.cpp | 105 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/update_engine/aosp/ |
D | dynamic_partition_test_utils.h | 123 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() 183 for (const auto& group : manifest.dynamic_partition_metadata().groups()) { variable 184 EXPECT_TRUE(builder->AddGroup(group.name(), group.size())); 185 for (const auto& partition_name : group.partition_names()) { 188 builder->AddPartition(partition_name, group.name(), partition_attr)); 209 for (const auto& group : manifest_.dynamic_partition_metadata().groups()) { in MatchAndExplain() local 210 for (const auto& partition_name : group.partition_names()) { in MatchAndExplain() [all …]
|
/system/tools/xsdc/src/main/java/com/android/xsdc/tag/ |
D | XsdGeneralExtension.java | 27 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()
|
D | XsdGeneralRestriction.java | 27 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()
|
D | XsdComplexType.java | 28 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()
|
/system/tools/xsdc/tests/resources/group/ |
D | Android.bp | 8 srcs: ["group.xsd"], 10 package_name: "group", 16 srcs: ["group.xsd"], 18 package_name: "group",
|
D | group.xsd | 3 <xs:group name="address2" ref="address1"> 7 </xs:group> 10 <xs:group ref="address2"/>
|
/system/extras/boottime_tools/io_analysis/ |
D | check_io_trace_all.py | 137 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 …]
|
D | check_file_read.py | 260 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 …]
|
D | check_io_trace.py | 74 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/ |
D | nist_curve_key_exchange.cpp | 73 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()
|
/system/security/keystore2/src/crypto/ |
D | crypto.cpp | 228 EC_GROUP* group = EC_GROUP_new_by_curve_name(NID_secp521r1); in ECKEYGenerateKey() local 229 EC_KEY_set_group(key, group); in ECKEYGenerateKey() 232 EC_GROUP_free(group); in ECKEYGenerateKey() 254 EC_GROUP* group = EC_GROUP_new_by_curve_name(NID_secp521r1); in ECKEYParsePrivateKey() local 255 auto result = EC_KEY_parse_private_key(&cbs, group); in ECKEYParsePrivateKey() 256 EC_GROUP_free(group); in ECKEYParsePrivateKey() 265 EC_GROUP* group = EC_GROUP_new_by_curve_name(NID_secp521r1); in ECPOINTPoint2Oct() local 267 auto result = EC_POINT_point2oct(group, point, form, buf, len, nullptr); in ECPOINTPoint2Oct() 268 EC_GROUP_free(group); in ECPOINTPoint2Oct() 273 EC_GROUP* group = EC_GROUP_new_by_curve_name(NID_secp521r1); in ECPOINTOct2Point() local [all …]
|
/system/sepolicy/tests/ |
D | mini_parser.py | 41 self.apiLevel = m.group(1) 100 self.types.add(m.group(1)) 105 self.expandtypeattributes[m.group(1)] = m.group(2) 110 self.typeattributes.add(m.group(1)) 115 ta = m.group(1) 118 tas = m.group(2).split() 131 self.pubtypes.add(pub.group(1))
|
/system/extras/boottime_tools/bootanalyze/ |
D | bugreport_anayze.py | 174 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/tools/xsdc/tests/resources/group/api/ |
D | current.txt | 2 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/keymaster/tests/ |
D | nist_curve_key_exchange_test.cpp | 98 EC_GROUP* group = ec_get_group(curve); in TEST() local 99 EC_POINT* point_at_infinity = EC_POINT_new(group); in TEST() 100 EC_POINT_set_to_infinity(group, point_at_infinity); in TEST() 101 EXPECT_EQ(1, EC_POINT_is_on_curve(group, point_at_infinity, nullptr)); in TEST() 103 ec_get_group_size(group, &field_len_in_bits); in TEST() 107 public_key_len = EC_POINT_point2oct(group, point_at_infinity, POINT_CONVERSION_UNCOMPRESSED, in TEST()
|
/system/tools/xsdc/tests/resources/attr_group_simple/api/ |
D | current.txt | 2 package attr.group.simple { 20 …method public static attr.group.simple.Student read(java.io.InputStream) throws javax.xml.datatype… 28 …method public static void write(attr.group.simple.XmlWriter, attr.group.simple.Student) throws jav…
|
/system/core/fs_mgr/libsnapshot/ |
D | test_helpers.cpp | 175 for (const auto& group : manifest.dynamic_partition_metadata().groups()) { in FillFakeMetadata() local 176 if (!builder->AddGroup(group.name() + suffix, group.size())) { in FillFakeMetadata() 178 << "Cannot add group " << group.name() << " with size " << group.size(); in FillFakeMetadata() 180 for (const auto& partition_name : group.partition_names()) { in FillFakeMetadata() 181 auto p = builder->AddPartition(partition_name + suffix, group.name() + suffix, in FillFakeMetadata() 185 << " to group " << group.name() << suffix; in FillFakeMetadata()
|
/system/core/fs_mgr/liblp/ |
D | builder.cpp | 326 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() 557 for (const auto& group : groups_) { in FindGroup() local 558 if (group->name() == group_name) { in FindGroup() 559 return group.get(); in FindGroup() 565 uint64_t MetadataBuilder::TotalSizeOfGroup(PartitionGroup* group) const { in TotalSizeOfGroup() 568 if (partition->group_name() != group->name()) { in TotalSizeOfGroup() 650 PartitionGroup* group = FindGroup(partition->group_name()); in ValidatePartitionSizeChange() local 651 CHECK(group); in ValidatePartitionSizeChange() [all …]
|
/system/update_engine/payload_generator/ |
D | payload_generation_config.cc | 169 DynamicPartitionGroup* group = metadata->add_groups(); in LoadDynamicPartitionMetadata() local 170 group->set_name(group_name); in LoadDynamicPartitionMetadata() 184 group->set_size(max_size); in LoadDynamicPartitionMetadata() 190 group->add_partition_names()->assign(partition_name); in LoadDynamicPartitionMetadata() 253 for (const auto& group : dynamic_partition_metadata->groups()) { in ValidateDynamicPartitionMetadata() local 255 for (const auto& partition_name : group.partition_names()) { in ValidateDynamicPartitionMetadata() 264 << " which is in " << group.name() << "_partition_list"; in ValidateDynamicPartitionMetadata() 270 if (sum_size > group.size()) { in ValidateDynamicPartitionMetadata() 271 LOG(ERROR) << "Sum of sizes in " << group.name() << "_partition_list is " in ValidateDynamicPartitionMetadata() 272 << sum_size << ", which is greater than " << group.name() in ValidateDynamicPartitionMetadata() [all …]
|
/system/apex/tools/ |
D | update_allowed_list.sh | 14 --unchanged-group-format='' \ 15 --changed-group-format='%<' \
|