Home
last modified time | relevance | path

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

/base/security/device_auth/services/group_manager/src/group_operation/
Dgroup_operation_common.c386 int groupVisibility = groupInfo->visibility; in AddGroupVisibilityToReturn() local
387 if (AddIntToJson(json, FIELD_GROUP_VISIBILITY, groupVisibility) != HC_SUCCESS) { in AddGroupVisibilityToReturn()
591 bool IsGroupVisibilityValid(int groupVisibility) in IsGroupVisibilityValid() argument
594 if ((groupVisibility == GROUP_VISIBILITY_PUBLIC) || in IsGroupVisibilityValid()
595 ((groupVisibility == GROUP_VISIBILITY_PRIVATE))) { in IsGroupVisibilityValid()
614 int32_t groupVisibility = GROUP_VISIBILITY_PUBLIC; in CheckGroupVisibilityIfExist() local
615 (void)GetIntFromJson(jsonParams, FIELD_GROUP_VISIBILITY, &groupVisibility); in CheckGroupVisibilityIfExist()
616 if (!IsGroupVisibilityValid(groupVisibility)) { in CheckGroupVisibilityIfExist()
617 LOGE("The input groupVisibility is invalid! [GroupVisibility]: %d", groupVisibility); in CheckGroupVisibilityIfExist()
675 int32_t groupVisibility = GROUP_VISIBILITY_PUBLIC; in AddGroupVisibilityOrDefault() local
[all …]
/base/security/device_auth/services/group_manager/src/session/bind_session/
Dbind_session_server.c247 int32_t groupVisibility = GROUP_VISIBILITY_PUBLIC; in AddGroupVisibilityIfExistAndValid() local
248 if (GetIntFromJson(returnData, FIELD_GROUP_VISIBILITY, &groupVisibility) == HC_SUCCESS) { in AddGroupVisibilityIfExistAndValid()
249 if (!IsGroupVisibilityValid(groupVisibility)) { in AddGroupVisibilityIfExistAndValid()
253 if (AddIntToJson(jsonParams, FIELD_GROUP_VISIBILITY, groupVisibility) != HC_SUCCESS) { in AddGroupVisibilityIfExistAndValid()
Dbind_session_common.c414 int32_t groupVisibility = GROUP_VISIBILITY_PUBLIC; in AddGroupVisibilityIfValidOrDefault() local
415 (void)GetIntFromJson(jsonParams, FIELD_GROUP_VISIBILITY, &groupVisibility); in AddGroupVisibilityIfValidOrDefault()
416 if (!IsGroupVisibilityValid(groupVisibility)) { in AddGroupVisibilityIfValidOrDefault()
420 if (AddIntToJson(params, FIELD_GROUP_VISIBILITY, groupVisibility) != HC_SUCCESS) { in AddGroupVisibilityIfValidOrDefault()
815 int32_t groupVisibility = GROUP_VISIBILITY_PUBLIC; in SetGroupVisibility() local
816 (void)GetIntFromJson(params, FIELD_GROUP_VISIBILITY, &groupVisibility); in SetGroupVisibility()
817 groupParams->visibility = groupVisibility; in SetGroupVisibility()
/base/security/device_auth/services/data_manager/inc/
Ddata_manager.h65 int32_t groupVisibility; member
/base/security/device_auth/services/group_manager/inc/
Dgroup_operation_common.h34 bool IsGroupVisibilityValid(int groupVisibility);
/base/security/device_auth/services/data_manager/src/
Ddata_manager.c684 …if ((params->groupVisibility != ALL_GROUP_VISIBILITY) && (params->groupVisibility != entry->visibi… in CompareQueryGroupParams()
794 .groupVisibility = ALL_GROUP_VISIBILITY in InitQueryGroupParams()
/base/security/device_auth/services/group_auth/src/session/auth_session/
Dauth_session_common.c177 queryParams.groupVisibility = GROUP_VISIBILITY_PUBLIC; in GetCandidateGroupInfo()