Searched refs:groups (Results 1 - 18 of 18) sorted by relevance

/system/extras/ext4_utils/
H A Dext4_utils.c73 the sparse_super feature, only block groups 0, 1, and powers of 3, 5,
74 and 7 have backup superblocks. Otherwise, all block groups have backup
114 aux_info.groups = DIV_ROUND_UP(aux_info.len_blocks - aux_info.first_data_block,
121 DIV_ROUND_UP(aux_info.groups * sizeof(struct ext2_group_desc),
128 if (ext4_bg_has_super_block((int)aux_info.groups - 1))
131 if (aux_info.groups <= 1 && last_group_size < last_header_size) {
135 aux_info.groups--;
161 aux_info.backup_sb = calloc(aux_info.groups, sizeof(char *));
176 for (i=0; i<aux_info.groups; i++) {
298 printf(" Block groups
[all...]
/system/extras/runconuid/
H A Drunconuid.cpp25 -G List of groups by name or numeric value
48 static gid_t* groups = nullptr; variable
71 if (ngroups && setgroups(ngroups, groups) < 0) {
72 perror_exit("Setting supplementary groups failed.");
122 // Count the number of groups
134 groups = (gid_t*)calloc(ngroups, sizeof(gid_t));
139 groups[n] = lookup_gid(group);
/system/netd/server/
H A DNetlinkManager.h63 NetlinkHandler* setupSocket(int *sock, int netlinkFamily, int groups,
H A DNetlinkManager.cpp68 int groups, int format, bool configNflog) {
78 nladdr.nl_groups = groups;
67 setupSocket(int *sock, int netlinkFamily, int groups, int format, bool configNflog) argument
/system/core/adb/daemon/
H A Dmain.cpp101 // Add extra groups:
112 gid_t groups[] = {AID_ADB, AID_LOG, AID_INPUT, AID_INET, local
115 minijail_set_supplementary_gids(jail.get(), arraysize(groups), groups);
/system/tools/hidl/docs/src/lexer/
H A DILexer.kt63 val n1 = matchResult.groups[1]?.value
64 val n2 = matchResult.groups[2]?.value
H A DHidlLexer.kt61 val matches = matchToDocEnd.find(line)?.groups
/system/connectivity/wificond/net/
H A Dnetlink_manager.cpp193 // Exract multicast groups.
196 vector<NL80211NestedAttr> groups; local
197 if (!multicast_groups.GetListOfNestedAttributes(&groups)) {
200 for (auto& group : groups) {
211 message_types_[family_name].groups[group_name] = group_id;
468 auto groups = message_types_[NL80211_GENL_NAME].groups; local
469 if (groups.find(group) == groups.end()) {
473 uint32_t group_id = groups[grou
[all...]
H A Dnetlink_manager.h44 // Multicast groups supported by the family. The string and mapping to
46 std::map<std::string, uint32_t> groups; member in struct:android::wificond::MessageType
/system/core/logd/
H A Dmain.cpp145 gid_t groups[] = { AID_READPROC }; local
147 if (setgroups(arraysize(groups), groups) == -1) {
148 android::prdebug("failed to set AID_READPROC groups");
245 gid_t groups[] = { local
249 if (setgroups(arraysize(groups), groups) == -1) {
251 "logd.daemon: failed to set AID_SYSTEM AID_PACKAGE_INFO groups");
/system/tools/hidl/docs/src/parser/elements/
H A DAnnotationParser.kt63 ?.groups?.get(1)
/system/core/liblog/
H A Dlogger_write.c67 gid_t* groups; local
73 groups = calloc(num_groups, sizeof(gid_t));
74 if (!groups) {
77 num_groups = getgroups(num_groups, groups);
79 if (groups[num_groups - 1] == AID_LOG) {
84 free(groups);
/system/extras/ext4_utils/include/ext4_utils/
H A Dext4_utils.h117 u32 groups; member in struct:fs_aux_info
/system/core/init/
H A Dinit.cpp584 gid_t groups[] = { AID_READPROC }; local
585 setgroups(arraysize(groups), groups); local
/system/bt/tools/mcap_tool/
H A Dmcap_tool.cc85 static gid_t groups[] = {AID_NET_BT, AID_INET, AID_NET_BT_ADMIN, variable
205 setgroups(sizeof(groups) / sizeof(groups[0]), groups); local
/system/vold/
H A DEncryptInplace.cpp197 for (i = 0; i < aux_info.groups; ++i) {
318 for (i = 0; i < aux_info.groups; ++i) {
334 LOG(ERROR) << "Error encrypting groups";
/system/vold/bench/
H A Dbenchgen.py119 time, call, args, ret = line.groups()
/system/core/liblog/tests/
H A Dliblog_test.cpp2011 gid_t groups[num_groups]; local
2012 num_groups = getgroups(num_groups, groups);
2014 if (groups[num_groups - 1] == AID_LOG) {

Completed in 346 milliseconds