Home
last modified time | relevance | path

Searched refs:groups (Results 1 – 7 of 7) sorted by relevance

/base/security/device_auth/services/data_manager/src/
Ddata_manager.c74 TlvGroupVec groups; member
107 TLV_MEMBER(TlvGroupVec, groups, 0x6002)
116 GroupEntryVec groups; member
190 newInfo.groups = CreateGroupEntryVec(); in GetTrustedInfoByOsAccountId()
195 DestroyGroupEntryVec(&newInfo.groups); in GetTrustedInfoByOsAccountId()
361 FOR_EACH_HC_VECTOR(db->groups.data, index, group) { in LoadGroups()
415 if (!LoadGroups(&dbv1, &info->groups)) { in ReadInfoFromParcel()
420 ClearGroupEntryVec(&info->groups); in ReadInfoFromParcel()
481 info.groups = CreateGroupEntryVec(); in LoadOsAccountDb()
484 DestroyGroupEntryVec(&info.groups); in LoadOsAccountDb()
[all …]
/base/msdp/device_status/utils/common/src/
Dutility.cpp218 gid_t groups[NGROUPS_MAX + 1]; in ShowUserAndGroup() local
219 int32_t ngrps = getgroups(sizeof(groups), groups); in ShowUserAndGroup()
221 if (getgrgid_r(groups[i], &grp, buffer, sizeof(buffer), &pgrp) != 0) { in ShowUserAndGroup()
224 … FI_HILOGD("%{public}20s:%{public}10u%{public}20s", "SUPPLEMENTARY GROUP", groups[i], grp.gr_name); in ShowUserAndGroup()
/base/startup/appspawn/lite/
Dappspawn_process.c115 gid_t groups[GRP_NUM]; in SetUidGid() local
118 groups[0] = appProperty->message.gID; in SetUidGid()
119 groups[1] = DEVMGR_GRP; in SetUidGid()
120 if (setgroups(GRP_NUM, groups)) { in SetUidGid()
/base/startup/init/services/etc/
Ddevice.boot.group.cfg6 "groups": [
/base/powermgr/battery_manager/charger/resources/
Ddevice.charge.group.cfg29 "groups": [
/base/startup/appspawn/util/src/
Dsandbox_utils.cpp903 …nlohmann::json groups = nlohmann::json::parse(appProperty->dataGroupInfoList.data, nullptr, false); in MountAllGroup() local
904 APPSPAWN_CHECK(!groups.is_discarded() && groups.contains(g_groupList_key_dataGroupId) in MountAllGroup()
905 && groups.contains(g_groupList_key_gid) && groups.contains(g_groupList_key_dir), return -1, in MountAllGroup()
908 nlohmann::json& dataGroupIds = groups[g_groupList_key_dataGroupId]; in MountAllGroup()
909 nlohmann::json& gids = groups[g_groupList_key_gid]; in MountAllGroup()
910 nlohmann::json& dirs = groups[g_groupList_key_dir]; in MountAllGroup()
/base/security/device_auth/
DREADME.md53groups and provides unified APIs for creating, deleting, and querying groups. The device group aut…