Home
last modified time | relevance | path

Searched refs:IDENTICAL_ACCOUNT_GROUP (Results 1 - 20 of 20) sorted by relevance

/base/security/device_auth/services/legacy/group_auth/src/group_auth_manager/group_auth_common/
H A Dgroup_auth_data_operation.c241 groupType = IDENTICAL_ACCOUNT_GROUP; in AuthFormToGroupType()
261 case IDENTICAL_ACCOUNT_GROUP: in GroupTypeToAuthForm()
/base/security/device_auth/services/legacy/group_auth/src/group_auth_manager/account_related_group_auth/
H A Daccount_related_group_auth.c171 ((type == IDENTICAL_ACCOUNT_GROUP) ? StringGet(&(groupEntry->userId)) : StringGet(&(groupEntry->sharedUserId))); in IsPeerInAccountRelatedGroup()
188 queryParams.groupType = IDENTICAL_ACCOUNT_GROUP; in IsPeerInIdenticalGroup()
202 if (IsPeerInAccountRelatedGroup(*ptr, peerUserId, IDENTICAL_ACCOUNT_GROUP)) { in IsPeerInIdenticalGroup()
262 GaGetAccountGroup(osAccountId, IDENTICAL_ACCOUNT_GROUP, peerUserId, queryParams, vec); in GetAccountCandidateGroup()
389 if (queryParams.groupType == IDENTICAL_ACCOUNT_GROUP) { in QueryAuthGroupForServer()
506 if (queryParams.groupType == IDENTICAL_ACCOUNT_GROUP) { in QueryGroupForAccountPlugin()
/base/security/device_auth/services/legacy/group_manager/src/group_operation/identical_account_group/
H A Didentical_account_group.c54 if (((result = AddGroupTypeToParams(IDENTICAL_ACCOUNT_GROUP, groupParams)) != HC_SUCCESS) || in GenerateGroupParams()
127 ((result = CheckGroupNumLimit(osAccountId, IDENTICAL_ACCOUNT_GROUP, appId)) != HC_SUCCESS)) { in CheckCreateParams()
445 ((result = AssertGroupTypeMatch(groupType, IDENTICAL_ACCOUNT_GROUP)) != HC_SUCCESS) || in CheckChangeParams()
498 params.groupType = IDENTICAL_ACCOUNT_GROUP; in CheckUserIdValid()
739 .base.type = IDENTICAL_ACCOUNT_GROUP,
/base/security/device_auth/interfaces/inner_api/
H A Ddevice_auth.h105 IDENTICAL_ACCOUNT_GROUP = 1, enumerator
/base/security/device_auth/services/legacy/group_manager/src/group_operation/
H A Dgroup_operation.c42 ((groupType == IDENTICAL_ACCOUNT_GROUP) && (IsIdenticalAccountGroupSupported())) || in IsGroupTypeSupported()
384 } else if (groupType == IDENTICAL_ACCOUNT_GROUP) { in GetGroupInstance()
669 if (groupType == IDENTICAL_ACCOUNT_GROUP) { in AddMultiMembersToGroupInner()
721 if (groupType == IDENTICAL_ACCOUNT_GROUP) { in DelMultiMembersFromGroupInner()
/base/security/device_auth/test/fuzztest/group_manage/groupoperationcommon_fuzzer/
H A Dgroupoperationcommon_fuzzer.cpp403 (void)AssertGroupTypeMatch(PEER_TO_PEER_GROUP, IDENTICAL_ACCOUNT_GROUP); in GroupOperationTest60()
/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/frameworks/os_account_adapter/
H A Dos_account_adapter_test.cpp224 AddIntToJson(json, FIELD_GROUP_TYPE, IDENTICAL_ACCOUNT_GROUP); in CreateDemoIdenticalAccountGroup()
/base/security/device_auth/test/fuzztest/devauthfunc_fuzzer/
H A Ddevauthfunc_fuzzer.cpp336 AddIntToJson(json, FIELD_GROUP_TYPE, IDENTICAL_ACCOUNT_GROUP); in CreateDemoIdenticalAccountGroup()
367 AddIntToJson(json, FIELD_GROUP_TYPE, IDENTICAL_ACCOUNT_GROUP); in CreateDemoSymIdenticalAccountGroup()
/base/security/device_auth/services/session_manager/src/session/v2/
H A Ddev_session_v2.c672 queryParams.groupType = IDENTICAL_ACCOUNT_GROUP; in GetSelfUserId()
1152 if (entry->type == IDENTICAL_ACCOUNT_GROUP) { in AddGroupInfoToContext()
1202 queryParams.groupType = IDENTICAL_ACCOUNT_GROUP; in IsPeerSameUserId()
1251 queryParams.groupType = IDENTICAL_ACCOUNT_GROUP; in AddIdenticalAccountAuthInfoToContext()
/base/security/device_auth/test/fuzztest/creds_manager/credsmanager_fuzzer/
H A Dcredsmanager_fuzzer.cpp371 AddIntToJson(json, FIELD_GROUP_TYPE, IDENTICAL_ACCOUNT_GROUP); in CreateDemoIdenticalAccountGroup()
397 AddIntToJson(json, FIELD_GROUP_TYPE, IDENTICAL_ACCOUNT_GROUP); in CreateClientSymIdenticalAccountGroup()
420 AddIntToJson(json, FIELD_GROUP_TYPE, IDENTICAL_ACCOUNT_GROUP); in CreateServerSymIdenticalAccountGroup()
758 AddIntToJson(addMultiParam, FIELD_GROUP_TYPE, IDENTICAL_ACCOUNT_GROUP); in CredsManagerTest15()
/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/creds_manager/
H A Dcreds_manager_test.cpp372 AddIntToJson(json, FIELD_GROUP_TYPE, IDENTICAL_ACCOUNT_GROUP); in CreateDemoIdenticalAccountGroup()
400 AddIntToJson(json, FIELD_GROUP_TYPE, IDENTICAL_ACCOUNT_GROUP); in CreateClientSymIdenticalAccountGroup()
428 AddIntToJson(json, FIELD_GROUP_TYPE, IDENTICAL_ACCOUNT_GROUP); in CreateServerSymIdenticalAccountGroup()
805 AddIntToJson(addMultiParam, FIELD_GROUP_TYPE, IDENTICAL_ACCOUNT_GROUP); in HWTEST_F()
/base/security/device_auth/test/unittest/deviceauth/source/
H A Ddeviceauth_standard_auth_test.cpp334 AddIntToJson(json, FIELD_GROUP_TYPE, IDENTICAL_ACCOUNT_GROUP); in CreateDemoIdenticalAccountGroup()
360 AddIntToJson(json, FIELD_GROUP_TYPE, IDENTICAL_ACCOUNT_GROUP); in CreateDemoSymClientIdenticalAccountGroup()
388 AddIntToJson(json, FIELD_GROUP_TYPE, IDENTICAL_ACCOUNT_GROUP); in CreateDemoSymServerIdenticalAccountGroup()
H A Dgroup_operation_common_test.cpp489 int32_t ret = AssertGroupTypeMatch(PEER_TO_PEER_GROUP, IDENTICAL_ACCOUNT_GROUP); in HWTEST_F()
H A Ddeviceauth_func_test.cpp1018 AddIntToJson(json, FIELD_GROUP_TYPE, IDENTICAL_ACCOUNT_GROUP); in CreateClientIdenticalAccountGroup()
1051 AddIntToJson(json, FIELD_GROUP_TYPE, IDENTICAL_ACCOUNT_GROUP); in CreateServerIdenticalAccountGroup()
H A Ddeviceauth_interface_test.cpp997 (void)AddIntToJson(jsonParams, FIELD_GROUP_TYPE, IDENTICAL_ACCOUNT_GROUP); in HWTEST_F()
H A Ddeviceauth_standard_test.cpp261 AddIntToJson(json, FIELD_GROUP_TYPE, IDENTICAL_ACCOUNT_GROUP); in CreateDemoIdenticalAccountGroup()
/base/security/device_auth/services/legacy/group_manager/src/group_operation/across_account_group/
H A Dacross_account_group.c191 params.groupType = IDENTICAL_ACCOUNT_GROUP; in AssertIdenticalGroupExist()
/base/security/device_auth/services/identity_manager/src/
H A Dcert_operation.c133 queryParams.groupType = IDENTICAL_ACCOUNT_GROUP; in GetSelfUserId()
/base/security/device_auth/services/legacy/group_manager/src/group_operation/group_operation_common/
H A Dgroup_operation_common.c398 return ((groupType == IDENTICAL_ACCOUNT_GROUP) || (groupType == ACROSS_ACCOUNT_AUTHORIZE_GROUP)); in IsAccountRelatedGroup()
/base/security/device_auth/services/data_manager/src/
H A Ddata_manager.c953 if ((groupInfo->type != ACROSS_ACCOUNT_AUTHORIZE_GROUP) && (groupInfo->type != IDENTICAL_ACCOUNT_GROUP)) { in AddUserIdToReturnIfAccountGroup()

Completed in 37 milliseconds