Home
last modified time | relevance | path

Searched refs:groupOwner (Results 1 - 4 of 4) sorted by relevance

/base/security/device_auth/services/legacy/group_manager/src/group_operation/group_operation_common/
H A Dgroup_operation_common.c119 const char *groupOwner = StringGet(&entryManager); in CheckAndRemoveUpgradeGroupEntry() local
120 if (groupId == NULL || groupOwner == NULL) { in CheckAndRemoveUpgradeGroupEntry()
121 LOGW("groupId or groupOwner is null, not need to remove!"); in CheckAndRemoveUpgradeGroupEntry()
129 if (AddStringToJson(upgradeJson, FIELD_APP_ID, groupOwner) != HC_SUCCESS) { in CheckAndRemoveUpgradeGroupEntry()
131 LOGE("Failed to add groupOwner."); in CheckAndRemoveUpgradeGroupEntry()
251 const char *groupOwner = StringGet(&entryManager); in IsGroupOwner() local
252 if (groupOwner == NULL) { in IsGroupOwner()
253 LOGE("The groupOwner is NULL!"); in IsGroupOwner()
257 if ((strcmp(groupOwner, appId) == 0) || in IsGroupOwner()
258 CheckUpgradeIdentity(entry->upgradeFlag, appId, groupOwner) in IsGroupOwner()
[all...]
/base/security/device_auth/services/session_manager/src/session/v1/compatible_bind_sub_session/
H A Dcompatible_bind_sub_session_common.c73 const char *groupOwner = GetStringFromJson(jsonParams, FIELD_GROUP_OWNER); in AddGroupOwnerIfExist() local
74 if ((groupOwner != NULL) && (AddStringToJson(params, FIELD_GROUP_OWNER, groupOwner) != HC_SUCCESS)) { in AddGroupOwnerIfExist()
75 LOGE("Failed to add groupOwner to params!"); in AddGroupOwnerIfExist()
/base/security/device_auth/services/legacy/group_manager/src/group_operation/
H A Dgroup_operation.c177 static bool IsQueryParamsValid(int groupType, const char *groupId, const char *groupName, const char *groupOwner) in IsQueryParamsValid() argument
179 if ((groupType == ALL_GROUP) && (groupId == NULL) && (groupName == NULL) && (groupOwner == NULL)) { in IsQueryParamsValid()
911 const char *groupOwner = GetStringFromJson(queryParamsJson, FIELD_GROUP_OWNER); in GetAccessibleGroupInfo() local
912 if (!IsQueryParamsValid(groupType, groupId, groupName, groupOwner)) { in GetAccessibleGroupInfo()
921 params.ownerName = groupOwner; in GetAccessibleGroupInfo()
/base/security/device_auth/services/data_manager/src/
H A Ddata_manager.c256 LOGE("[DB]: Failed to copy groupOwner!"); in GenerateGroupEntryFromEntry()
261 LOGE("[DB]: Failed to push groupOwner to managers!"); in GenerateGroupEntryFromEntry()
919 const char *groupOwner = StringGet(&entryManager); in AddGroupOwnerToReturn() local
920 if (groupOwner == NULL) { in AddGroupOwnerToReturn()
921 LOGE("Failed to get groupOwner from groupInfo!"); in AddGroupOwnerToReturn()
924 if (AddStringToJson(json, FIELD_GROUP_OWNER, groupOwner) != HC_SUCCESS) { in AddGroupOwnerToReturn()
925 LOGE("Failed to add groupOwner to json!"); in AddGroupOwnerToReturn()

Completed in 8 milliseconds