Home
last modified time | relevance | path

Searched refs:PEER_TO_PEER_GROUP (Results 1 – 25 of 31) sorted by relevance

12

/base/security/device_auth/test/fuzztest/device_auth_service/devauthservgetjoinedgroups_fuzzer/
Ddevauthservgetjoinedgroups_fuzzer.cpp83 AddIntToJson(createJson, FIELD_GROUP_TYPE, PEER_TO_PEER_GROUP); in FuzzDoGetJoinedGroups()
92 … gmInstance->getJoinedGroups(0, appId.c_str(), PEER_TO_PEER_GROUP, &returnGroupVec, &groupNum); in FuzzDoGetJoinedGroups()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservaddmultimemberstogroup_fuzzer/
Ddevauthservaddmultimemberstogroup_fuzzer.cpp72 AddIntToJson(json, FIELD_GROUP_TYPE, PEER_TO_PEER_GROUP); in GenerateAddMultiMemberParamsJson()
90 AddIntToJson(createJson, FIELD_GROUP_TYPE, PEER_TO_PEER_GROUP); in FuzzDoAddMultiMembersToGroup()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservaddmembertogroup_fuzzer/
Ddevauthservaddmembertogroup_fuzzer.cpp73 AddIntToJson(json, FIELD_GROUP_TYPE, PEER_TO_PEER_GROUP); in GenerateAddMemberParamsJson()
92 AddIntToJson(createJson, FIELD_GROUP_TYPE, PEER_TO_PEER_GROUP); in FuzzDoAddMemberToGroup()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservgetgroupinfo_fuzzer/
Ddevauthservgetgroupinfo_fuzzer.cpp74 AddIntToJson(json, FIELD_GROUP_TYPE, PEER_TO_PEER_GROUP); in GenerateReqJson()
91 AddIntToJson(createJson, FIELD_GROUP_TYPE, PEER_TO_PEER_GROUP); in FuzzDoGetGroupInfo()
/base/security/device_auth/services/group_manager/src/group_operation/peer_to_peer_group/
Dpeer_to_peer_group.c129 ((result = CheckGroupNumLimit(osAccountId, PEER_TO_PEER_GROUP, appId)) != HC_SUCCESS)) { in CheckCreateParams()
148 if (((result = AddGroupTypeToParams(PEER_TO_PEER_GROUP, groupParams)) != HC_SUCCESS) || in GenerateGroupParams()
402 int32_t groupType = PEER_TO_PEER_GROUP; in CheckDeletePeerStatus()
406 ((result = AssertGroupTypeMatch(groupType, PEER_TO_PEER_GROUP)) != HC_SUCCESS) || in CheckDeletePeerStatus()
489 .base.type = PEER_TO_PEER_GROUP,
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservcreategroup_fuzzer/
Ddevauthservcreategroup_fuzzer.cpp83 AddIntToJson(createJson, FIELD_GROUP_TYPE, PEER_TO_PEER_GROUP); in FuzzDoCreateGroup()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservisdeviceingroup_fuzzer/
Ddevauthservisdeviceingroup_fuzzer.cpp83 AddIntToJson(createJson, FIELD_GROUP_TYPE, PEER_TO_PEER_GROUP); in FuzzDoIsDeviceInGroup()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservcheckaccesstogroup_fuzzer/
Ddevauthservcheckaccesstogroup_fuzzer.cpp83 AddIntToJson(createJson, FIELD_GROUP_TYPE, PEER_TO_PEER_GROUP); in FuzzDoCheckAccessToGroup()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservgettrusteddevices_fuzzer/
Ddevauthservgettrusteddevices_fuzzer.cpp83 AddIntToJson(createJson, FIELD_GROUP_TYPE, PEER_TO_PEER_GROUP); in FuzzDoGetTrustedDevices()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservdeletegroup_fuzzer/
Ddevauthservdeletegroup_fuzzer.cpp83 AddIntToJson(createJson, FIELD_GROUP_TYPE, PEER_TO_PEER_GROUP); in FuzzDoDeleteGroup()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservgetgroupinfobyid_fuzzer/
Ddevauthservgetgroupinfobyid_fuzzer.cpp83 AddIntToJson(createJson, FIELD_GROUP_TYPE, PEER_TO_PEER_GROUP); in FuzzDoGetGroupInfoById()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservgetrelatedgroups_fuzzer/
Ddevauthservgetrelatedgroups_fuzzer.cpp83 AddIntToJson(createJson, FIELD_GROUP_TYPE, PEER_TO_PEER_GROUP); in FuzzDoGetRelatedGroups()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservgetdeviceinfobyid_fuzzer/
Ddevauthservgetdeviceinfobyid_fuzzer.cpp83 AddIntToJson(createJson, FIELD_GROUP_TYPE, PEER_TO_PEER_GROUP); in FuzzDoGetDeviceInfoById()
/base/security/device_auth/services/group_auth/src/group_auth_manager/
Dgroup_auth_data_operation.c265 groupType = PEER_TO_PEER_GROUP; in AuthFormToGroupType()
285 case PEER_TO_PEER_GROUP: in GroupTypeToAuthForm()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservdeletememberfromgroup_fuzzer/
Ddevauthservdeletememberfromgroup_fuzzer.cpp91 AddIntToJson(createJson, FIELD_GROUP_TYPE, PEER_TO_PEER_GROUP); in FuzzDoDeleteMemberFromGroup()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservdeletemultimembersfromgroup_fuzzer/
Ddevauthservdeletemultimembersfromgroup_fuzzer.cpp91 AddIntToJson(createJson, FIELD_GROUP_TYPE, PEER_TO_PEER_GROUP); in FuzzDoDeleteMultiMembersFromGroup()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservauthdevice_fuzzer/
Ddevauthservauthdevice_fuzzer.cpp93 AddIntToJson(createJson, FIELD_GROUP_TYPE, PEER_TO_PEER_GROUP); in FuzzDoAuthDevice()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservgetpkinfolist_fuzzer/
Ddevauthservgetpkinfolist_fuzzer.cpp91 AddIntToJson(createJson, FIELD_GROUP_TYPE, PEER_TO_PEER_GROUP); in FuzzDoGetPkInfoList()
/base/security/device_auth/services/session_manager/src/session/v1/compatible_bind_sub_session/
Dcompatible_bind_sub_session.c48 int32_t groupType = PEER_TO_PEER_GROUP; in CheckInvitePeer()
52 ((result = AssertGroupTypeMatch(groupType, PEER_TO_PEER_GROUP)) != HC_SUCCESS) || in CheckInvitePeer()
62 int32_t groupType = PEER_TO_PEER_GROUP; in CheckJoinPeer()
67 return AssertGroupTypeMatch(groupType, PEER_TO_PEER_GROUP); in CheckJoinPeer()
327 groupParams->type = PEER_TO_PEER_GROUP; in SetGroupType()
Dcompatible_bind_sub_session_common.c71 int32_t groupType = PEER_TO_PEER_GROUP; in AddGroupTypeIfValid()
76 if (groupType != PEER_TO_PEER_GROUP) { in AddGroupTypeIfValid()
460 if (AddIntToJson(data, FIELD_GROUP_TYPE, PEER_TO_PEER_GROUP) != HC_SUCCESS) { in AddGroupInfoToSendData()
/base/security/device_auth/services/session_manager/src/session/v2/expand_sub_session/expand_process_lib/
Dsave_trusted_info.c25 #define PEER_TO_PEER_GROUP 256 macro
141 if ((entry->type != PEER_TO_PEER_GROUP) && in ClientSendTrustedInfoProcEvent()
264 groupParams->type = PEER_TO_PEER_GROUP; in GenerateGroupParams()
456 if ((entry->type != PEER_TO_PEER_GROUP) && in ServerSendTrustedInfoProcEvent()
/base/security/device_auth/interfaces/inner_api/
Ddevice_auth.h91 PEER_TO_PEER_GROUP = 256, enumerator
/base/security/device_auth/services/group_manager/src/group_operation/
Dgroup_operation.c41 if (((groupType == PEER_TO_PEER_GROUP) && (IsPeerToPeerGroupSupported())) || in IsGroupTypeSupported()
377 if (groupType == PEER_TO_PEER_GROUP) { in GetGroupInstance()
389 int32_t groupType = PEER_TO_PEER_GROUP; in CreateGroup()
407 int32_t groupType = PEER_TO_PEER_GROUP; in DeleteGroup()
/base/security/device_auth/test/unittest/deviceauth/source/
Dgroup_operation_common_test.cpp159 …int32_t ret = GetGroupInfo(DEFAULT_OS_ACCOUNT, PEER_TO_PEER_GROUP, g_normalStr, g_normalStr, g_nor…
480 int32_t ret = AssertGroupTypeMatch(PEER_TO_PEER_GROUP, IDENTICAL_ACCOUNT_GROUP);
Ddevice_auth_ipc_test.cpp921 …int32_t ret = gm->getJoinedGroups(DEFAULT_OS_ACCOUNT, nullptr, PEER_TO_PEER_GROUP, &returnData, &r…
930 …int32_t ret = gm->getJoinedGroups(DEFAULT_OS_ACCOUNT, TEST_APP_ID, PEER_TO_PEER_GROUP, nullptr, &r…
939 …int32_t ret = gm->getJoinedGroups(DEFAULT_OS_ACCOUNT, nullptr, PEER_TO_PEER_GROUP, &returnData, nu…
949 …int32_t ret = gm->getJoinedGroups(DEFAULT_OS_ACCOUNT, TEST_APP_ID, PEER_TO_PEER_GROUP, &returnData…
962 …int32_t ret = gm->getJoinedGroups(DEFAULT_OS_ACCOUNT, TEST_APP_ID2, PEER_TO_PEER_GROUP, &returnDat…

12