Searched refs:groupVisibility (Results 1 – 7 of 7) sorted by relevance
/base/security/device_auth/services/group_manager/src/group_operation/ |
D | group_operation_common.c | 386 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/ |
D | bind_session_server.c | 247 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()
|
D | bind_session_common.c | 414 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/ |
D | data_manager.h | 65 int32_t groupVisibility; member
|
/base/security/device_auth/services/group_manager/inc/ |
D | group_operation_common.h | 34 bool IsGroupVisibilityValid(int groupVisibility);
|
/base/security/device_auth/services/data_manager/src/ |
D | data_manager.c | 684 …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/ |
D | auth_session_common.c | 177 queryParams.groupVisibility = GROUP_VISIBILITY_PUBLIC; in GetCandidateGroupInfo()
|