/system/extras/ext4_utils/ |
D | ext4_utils.cpp | 116 aux_info.groups = DIV_ROUND_UP(aux_info.len_blocks - aux_info.first_data_block, in ext4_create_fs_aux_info() 123 DIV_ROUND_UP(aux_info.groups * sizeof(struct ext2_group_desc), in ext4_create_fs_aux_info() 131 if (ext4_bg_has_super_block((int)aux_info.groups - 1)) in ext4_create_fs_aux_info() 134 if (aux_info.groups <= 1 && last_group_size < last_header_size) { in ext4_create_fs_aux_info() 138 aux_info.groups--; in ext4_create_fs_aux_info() 164 aux_info.backup_sb = (struct ext4_super_block **)calloc(aux_info.groups, sizeof(char *)); in ext4_create_fs_aux_info() 179 for (i=0; i<aux_info.groups; i++) { in ext4_free_fs_aux_info() 301 printf(" Block groups: %d\n", aux_info.groups); in read_ext()
|
/system/update_engine/ |
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()); 181 for (const auto& group : manifest.dynamic_partition_metadata().groups()) { 207 for (const auto& group : manifest_.dynamic_partition_metadata().groups()) { in MatchAndExplain() 271 auto groups = arg->ListGroups(); variable 272 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/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 | 650 ASSERT_EQ(metadata->groups.size(), static_cast<size_t>(2)); in TEST_F() 651 EXPECT_EQ(GetPartitionGroupName(metadata->groups[0]), "default"); in TEST_F() 652 EXPECT_EQ(GetPartitionGroupName(metadata->groups[1]), "example_b"); in TEST_F() 653 EXPECT_EQ(metadata->groups[0].flags, 0); in TEST_F() 654 EXPECT_EQ(metadata->groups[1].flags, 0); in TEST_F() 662 ASSERT_EQ(metadata->groups.size(), static_cast<size_t>(2)); in TEST_F() 663 EXPECT_EQ(GetPartitionGroupName(metadata->groups[0]), "default"); in TEST_F() 664 EXPECT_EQ(GetPartitionGroupName(metadata->groups[1]), "example_a"); in TEST_F() 665 EXPECT_EQ(metadata->groups[0].flags, 0); in TEST_F() 666 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() 911 group_indices[group->name()] = metadata->groups.size(); in Export() 912 metadata->groups.push_back(out); in Export() 961 metadata->header.groups.num_entries = static_cast<uint32_t>(metadata->groups.size()); in Export() 1184 std::string group_name = GetPartitionGroupName(metadata.groups[source.group_index]); in ImportPartition()
|
/system/connectivity/wificond/net/ |
D | netlink_manager.cpp | 197 vector<NL80211NestedAttr> groups; in OnNewFamily() local 198 if (!multicast_groups.GetListOfNestedAttributes(&groups)) { in OnNewFamily() 201 for (auto& group : groups) { in OnNewFamily() 212 message_types_[family_name].groups[group_name] = group_id; in OnNewFamily() 469 auto groups = message_types_[NL80211_GENL_NAME].groups; in SubscribeToEvents() local 470 if (groups.find(group) == groups.end()) { in SubscribeToEvents() 474 uint32_t group_id = groups[group]; in SubscribeToEvents()
|
/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/core/fs_mgr/libsnapshot/corpus/ |
D | launch_device.txt | 32 groups { 88 groups {
|
/system/core/liblog/ |
D | logger_write.cpp | 72 gid_t* groups; in check_log_uid_permissions() local 78 groups = static_cast<gid_t*>(calloc(num_groups, sizeof(gid_t))); in check_log_uid_permissions() 79 if (!groups) { in check_log_uid_permissions() 82 num_groups = getgroups(num_groups, groups); in check_log_uid_permissions() 84 if (groups[num_groups - 1] == AID_LOG) { in check_log_uid_permissions() 89 free(groups); in check_log_uid_permissions()
|
/system/core/fs_mgr/liblp/include/liblp/ |
D | metadata_format.h | 219 LpMetadataTableDescriptor groups; member 393 LpMetadataTableDescriptor groups; member
|
/system/core/adb/daemon/ |
D | main.cpp | 111 gid_t groups[] = {AID_ADB, AID_LOG, AID_INPUT, AID_INET, in drop_privileges() local 114 minijail_set_supplementary_gids(jail.get(), arraysize(groups), groups); in drop_privileges()
|
/system/netd/server/ |
D | NetlinkManager.h | 63 NetlinkHandler* setupSocket(int *sock, int netlinkFamily, int groups,
|
D | NetlinkManager.cpp | 68 int groups, int format, bool configNflog) { in setupSocket() argument 78 nladdr.nl_groups = groups; in setupSocket()
|
/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/core/init/ |
D | first_stage_init.cpp | 203 gid_t groups[] = {AID_READPROC}; in FirstStageMain() local 204 CHECKCALL(setgroups(arraysize(groups), groups)); in FirstStageMain()
|
/system/extras/partition_tools/ |
D | lpmake.cc | 142 std::vector<std::string> groups; in main() local 180 groups.push_back(optarg); in main() 323 for (const auto& group_info : groups) { in main()
|
/system/extras/ext4_utils/include/ext4_utils/ |
D | ext4_utils.h | 111 u32 groups; member
|
/system/sepolicy/prebuilts/api/28.0/public/ |
D | wpantund.te | 20 # create sockets to set interfaces up and down, add multicast groups, etc.
|
/system/sepolicy/prebuilts/api/29.0/public/ |
D | wpantund.te | 20 # create sockets to set interfaces up and down, add multicast groups, etc.
|
/system/sepolicy/prebuilts/api/30.0/public/ |
D | wpantund.te | 20 # create sockets to set interfaces up and down, add multicast groups, etc.
|
/system/sepolicy/public/ |
D | wpantund.te | 20 # create sockets to set interfaces up and down, add multicast groups, etc.
|