/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/extras/simpleperf/ |
D | event_selection_set.cpp | 266 for (const auto& group : groups_) { in BuildAndCheckEventSelection() local 267 for (const auto& sel : group) { in BuildAndCheckEventSelection() 283 EventSelectionGroup group; in AddEventGroup() local 302 group.push_back(std::move(selection)); in AddEventGroup() 304 groups_.push_back(std::move(group)); in AddEventGroup() 339 for (const auto& group : groups_) { in GetEvents() local 340 for (const auto& selection : group) { in GetEvents() 349 for (const auto& group : groups_) { in GetTracepointEvents() local 350 for (const auto& selection : group) { in GetTracepointEvents() 360 for (const auto& group : groups_) { in ExcludeKernel() local [all …]
|
/system/core/libprocessgroup/ |
D | sched_policy.cpp | 168 static int get_sched_policy_from_group(const std::string& group, SchedPolicy* policy) { in get_sched_policy_from_group() argument 169 if (group.empty()) { in get_sched_policy_from_group() 171 } else if (group == "foreground") { in get_sched_policy_from_group() 173 } else if (group == "system-background") { in get_sched_policy_from_group() 175 } else if (group == "background") { in get_sched_policy_from_group() 177 } else if (group == "top-app") { in get_sched_policy_from_group() 179 } else if (group == "restricted") { in get_sched_policy_from_group() 193 std::string group; in get_sched_policy() local 195 if ((getCGroupSubsys(tid, "schedtune", group) < 0) && in get_sched_policy() 196 (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/tools/xsdc/tests/resources/group/ |
D | Android.bp | 8 srcs: ["group.xsd"], 9 package_name: "group", 15 srcs: ["group.xsd"], 16 package_name: "group",
|
D | group.xsd | 3 <xs:group name="address2" ref="address1"> 7 </xs:group> 10 <xs:group ref="address2"/>
|
/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/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/sepolicy/tests/ |
D | mini_parser.py | 41 self.apiLevel = m.group(1) 94 self.types.add(m.group(1)) 99 self.expandtypeattributes[m.group(1)] = m.group(2) 104 self.typeattributes.add(m.group(1)) 109 ta = m.group(1) 112 tas = m.group(2).split() 125 self.pubtypes.add(pub.group(1))
|
/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/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/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() 227 for (const auto& group : dynamic_partition_metadata->groups()) { in ValidateDynamicPartitionMetadata() local 229 for (const auto& partition_name : group.partition_names()) { in ValidateDynamicPartitionMetadata() 238 << " which is in " << group.name() << "_partition_list"; in ValidateDynamicPartitionMetadata() 244 if (sum_size > group.size()) { in ValidateDynamicPartitionMetadata() 245 LOG(ERROR) << "Sum of sizes in " << group.name() << "_partition_list is " in ValidateDynamicPartitionMetadata() 246 << sum_size << ", which is greater than " << group.name() in ValidateDynamicPartitionMetadata() [all …]
|
/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/apex/tools/ |
D | update_allowed_list.sh | 14 --unchanged-group-format='' \ 15 --changed-group-format='%<' \
|
/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/extras/pagecache/ |
D | pagecache.py | 235 device_number = int(m.group(2)) << 8 | int(m.group(3)) 238 inode = int(m.group(4), 16) 239 if app_name != None and not (app_name in m.group(0)): 241 if m.group(1) == 'mm_filemap_add_to_page_cache': 242 pagecache_stats.add_page(device_number, inode, m.group(4)) 243 elif m.group(1) == 'mm_filemap_delete_from_page_cache': 244 pagecache_stats.remove_page(device_number, inode, m.group(4)) 252 … inode2filename[(int(result.group(1)), int(result.group(2)))] = (result.group(4), result.group(3))
|
/system/tools/xsdc/tests/resources/attr_group_simple/ |
D | Android.bp | 9 package_name: "attr.group.simple", 16 package_name: "attr.group.simple",
|