/system/core/diagnose_usb/ |
D | diagnose_usb.cpp | 56 std::vector<gid_t> groups(ngroups); in GetUdevProblem() local 57 ngroups = getgroups(groups.size(), groups.data()); in GetUdevProblem() 63 groups.resize(ngroups); in GetUdevProblem() 67 if (std::find(groups.begin(), groups.end(), plugdev_group->gr_gid) != groups.end() || in GetUdevProblem()
|
/system/extras/ext4_utils/ |
D | ext4_utils.cpp | 99 aux_info.groups = in ext4_create_fs_aux_info() 106 DIV_ROUND_UP(aux_info.groups * (size_t)info.bg_desc_size, info.block_size); in ext4_create_fs_aux_info() 114 if (ext4_bg_has_super_block((int)aux_info.groups - 1)) in ext4_create_fs_aux_info() 116 if (aux_info.groups <= 1 && last_group_size < last_header_size) { in ext4_create_fs_aux_info() 120 aux_info.groups--; in ext4_create_fs_aux_info() 145 (struct ext4_super_block**)calloc(aux_info.groups, sizeof(struct ext4_super_block*)); in ext4_create_fs_aux_info() 150 (struct ext2_group_desc*)calloc(aux_info.groups, sizeof(struct ext2_group_desc)); in ext4_create_fs_aux_info() 158 for (i = 0; i < aux_info.groups; i++) { in ext4_free_fs_aux_info() 255 for (size_t i = 0; i < aux_info.groups; i++) { in read_block_group_descriptors() 301 printf(" Block groups: %d\n", aux_info.groups); in read_ext()
|
/system/update_engine/aosp/ |
D | dynamic_partition_utils.cc | 30 std::vector<std::string> groups = builder->ListGroups(); in DeleteGroupsWithSuffix() local 31 for (const auto& group_name : groups) { in DeleteGroupsWithSuffix()
|
D | dynamic_partition_test_utils.h | 108 VectorToStream(os, m.dynamic_partition_metadata().groups()); 183 for (const auto& group : manifest.dynamic_partition_metadata().groups()) { 209 for (const auto& group : manifest_.dynamic_partition_metadata().groups()) { in MatchAndExplain() 273 auto groups = arg->ListGroups(); variable 274 return std::find(groups.begin(), groups.end(), group) != groups.end();
|
/system/extras/runconuid/ |
D | runconuid.cpp | 48 static gid_t* groups = nullptr; variable 71 if (ngroups && setgroups(ngroups, groups) < 0) { in do_child() 134 groups = (gid_t*)calloc(ngroups, sizeof(gid_t)); in lookup_groups() 139 groups[n] = lookup_gid(group); in lookup_groups()
|
/system/tools/aidl/scripts/ |
D | vis_aidl_ver_errors.py | 34 last = m.groups()[0] 39 curr = m.groups()[0]
|
/system/core/fs_mgr/liblp/ |
D | writer.cpp | 59 std::string groups(reinterpret_cast<const char*>(metadata.groups.data()), in SerializeMetadata() 60 metadata.groups.size() * sizeof(LpMetadataPartitionGroup)); in SerializeMetadata() 67 header.groups.offset = header.extents.offset + extents.size(); in SerializeMetadata() 68 header.block_devices.offset = header.groups.offset + groups.size(); in SerializeMetadata() 72 std::string tables = partitions + extents + groups + block_devices; in SerializeMetadata()
|
D | reader.cpp | 222 !ValidateTableBounds(header, header.groups) || in ReadMetadataHeader() 237 if (header.groups.entry_size != sizeof(LpMetadataPartitionGroup)) { in ReadMetadataHeader() 308 if (partition.group_index >= header.groups.num_entries) { in ParseMetadata() 331 cursor = buffer.get() + header.groups.offset; in ParseMetadata() 332 for (size_t i = 0; i < header.groups.num_entries; i++) { in ParseMetadata() 335 cursor += header.groups.entry_size; in ParseMetadata() 337 metadata->groups.push_back(group); in ParseMetadata() 423 for (auto& group : metadata->groups) { in AdjustMetadataForSlot()
|
D | io_test.cpp | 654 ASSERT_EQ(metadata->groups.size(), static_cast<size_t>(2)); in TEST_F() 655 EXPECT_EQ(GetPartitionGroupName(metadata->groups[0]), "default"); in TEST_F() 656 EXPECT_EQ(GetPartitionGroupName(metadata->groups[1]), "example_b"); in TEST_F() 657 EXPECT_EQ(metadata->groups[0].flags, 0); in TEST_F() 658 EXPECT_EQ(metadata->groups[1].flags, 0); in TEST_F() 666 ASSERT_EQ(metadata->groups.size(), static_cast<size_t>(2)); in TEST_F() 667 EXPECT_EQ(GetPartitionGroupName(metadata->groups[0]), "default"); in TEST_F() 668 EXPECT_EQ(GetPartitionGroupName(metadata->groups[1]), "example_a"); in TEST_F() 669 EXPECT_EQ(metadata->groups[0].flags, 0); in TEST_F() 670 EXPECT_EQ(metadata->groups[1].flags, 0); in TEST_F() [all …]
|
D | utility.cpp | 232 for (auto& group : metadata->groups) { in UpdateMetadataForInPlaceSnapshot() 267 &metadata->groups[partition.group_index]); in UpdateMetadataForInPlaceSnapshot() 270 << GetPartitionGroupName(metadata->groups[partition.group_index]) in UpdateMetadataForInPlaceSnapshot() 285 metadata->groups = std::move(new_groups); in UpdateMetadataForInPlaceSnapshot()
|
D | builder.cpp | 267 metadata->groups.clear(); in UpdateMetadataForOtherSuper() 312 header_.groups.entry_size = sizeof(LpMetadataPartitionGroup); in MetadataBuilder() 326 for (const auto& group : metadata.groups) { in Init() 334 std::string group_name = GetPartitionGroupName(metadata.groups[partition.group_index]); in Init() 906 group_indices[group->name()] = metadata->groups.size(); in Export() 907 metadata->groups.push_back(out); in Export() 956 metadata->header.groups.num_entries = static_cast<uint32_t>(metadata->groups.size()); in Export() 1179 std::string group_name = GetPartitionGroupName(metadata.groups[source.group_index]); in ImportPartition()
|
/system/logging/liblog/ |
D | logger_write.cpp | 80 gid_t* groups; in check_log_uid_permissions() local 86 groups = static_cast<gid_t*>(calloc(num_groups, sizeof(gid_t))); in check_log_uid_permissions() 87 if (!groups) { in check_log_uid_permissions() 90 num_groups = getgroups(num_groups, groups); in check_log_uid_permissions() 92 if (groups[num_groups - 1] == AID_LOG || in check_log_uid_permissions() 93 groups[num_groups - 1] == AID_SECURITY_LOG_WRITER) { in check_log_uid_permissions() 98 free(groups); in check_log_uid_permissions()
|
/system/netd/tests/ |
D | tun_interface.cpp | 131 sockaddr_nl groups = {.nl_family = AF_NETLINK, in addAddress() local 133 if (bind(s, reinterpret_cast<sockaddr*>(&groups), sizeof(groups)) == -1) return -errno; in addAddress()
|
/system/connectivity/wificond/net/ |
D | netlink_manager.cpp | 203 vector<NL80211NestedAttr> groups; in OnNewFamily() local 204 if (!multicast_groups.GetListOfNestedAttributes(&groups)) { in OnNewFamily() 207 for (auto& group : groups) { in OnNewFamily() 218 message_types_[family_name].groups[group_name] = group_id; in OnNewFamily() 492 auto groups = message_types_[NL80211_GENL_NAME].groups; in SubscribeToEvents() local 493 if (groups.find(group) == groups.end()) { in SubscribeToEvents() 497 uint32_t group_id = groups[group]; in SubscribeToEvents()
|
/system/security/keystore2/src/ |
D | watchdog.rs | 136 let groups = overdue_records.iter().fold( in log_report() localVariable 144 let mut groups: Vec<Vec<(&Index, &Record)>> = groups.into_values().collect(); in log_report() localVariable 148 groups.sort_by(|v1, v2| v1.last().unwrap().1.started.cmp(&v2.last().unwrap().1.started)); in log_report() 150 for g in groups.iter() { in log_report()
|
/system/core/fs_mgr/liblp/include/liblp/ |
D | metadata_format.h | 219 LpMetadataTableDescriptor groups; member 393 LpMetadataTableDescriptor groups; member
|
/system/netd/server/ |
D | NetlinkManager.cpp | 68 int groups, int format, bool configNflog) { in setupSocket() argument 78 nladdr.nl_groups = groups; in setupSocket()
|
D | NetlinkManager.h | 63 NetlinkHandler* setupSocket(int *sock, int netlinkFamily, int groups,
|
/system/update_engine/payload_generator/ |
D | payload_generation_config_unittest.cc | 70 const auto& group_a = image_config.dynamic_partition_metadata->groups(0); in TEST_F() 77 const auto& group_b = image_config.dynamic_partition_metadata->groups(1); in TEST_F()
|
/system/security/keystore2/ |
D | keystore2.rc | 5 # Keystore shall run as user keystore and groups keystore, readproc, and log.
|
/system/tools/aidl/scripts/redundancy_check/srcs/ |
D | main.rs | 130 let groups: BTreeMap<(String, LibDir), Vec<&AidlInstance>> = in main() localVariable 137 for (group_key, mut instances) in groups { in main()
|
/system/vold/ |
D | EncryptInplace.cpp | 202 LOG(DEBUG) << "ext4 filesystem has " << aux_info.groups << " block groups"; in EncryptInPlaceExt4() 205 for (uint32_t group = 0; group < aux_info.groups; group++) { in EncryptInPlaceExt4() 217 for (uint32_t group = 0; group < aux_info.groups; group++) { in EncryptInPlaceExt4()
|
/system/extras/ext4_utils/include/ext4_utils/ |
D | ext4_utils.h | 96 u32 groups; member
|
/system/core/init/ |
D | first_stage_init.cpp | 258 gid_t groups[] = {AID_READPROC}; in FirstStageMain() local 259 CHECKCALL(setgroups(arraysize(groups), groups)); in FirstStageMain()
|
/system/core/shell_and_utilities/ |
D | README.md | 57 fsync getconf getenforce getfattr getopt grep groups gunzip gzip head 91 fsync getconf getenforce getfattr getopt grep groups gunzip gzip head 125 fsync getconf getenforce getfattr getopt grep groups gunzip gzip head 159 getenforce getfattr **getopt** grep groups gunzip gzip head help hostname 191 getenforce **getfattr** grep groups gunzip gzip head **help** hostname hwclock 222 getenforce groups gunzip gzip head hostname hwclock id ifconfig inotifyd 247 getenforce getprop groups **gunzip** **gzip** head hostname hwclock id ifconfig 271 getenforce getprop groups head hostname hwclock id ifconfig inotifyd 292 env expand expr fallocate false find free getenforce getprop groups
|