Home
last modified time | relevance | path

Searched defs:groupId (Results 1 – 25 of 38) sorted by relevance

12

/base/security/device_auth/services/legacy/group_manager/src/group_operation/peer_to_peer_group/
Dpeer_to_peer_group.c135 static int32_t GenerateGroupParams(const CJson *jsonParams, const char *groupId, TrustedGroupEntry … in GenerateGroupParams()
159 static int32_t GenerateDevParams(const CJson *jsonParams, const char *groupId, TrustedDeviceEntry *… in GenerateDevParams()
175 char *groupId = NULL; in CreateGroupInner() local
190 static int32_t GetPeerDevUserTypeFromDb(int32_t osAccountId, const char *groupId, const char *peerA… in GetPeerDevUserTypeFromDb()
208 static int32_t DelPeerDevAndKeyInfo(int32_t osAccountId, const char *groupId, const char *peerAuthI… in DelPeerDevAndKeyInfo()
238 static int32_t DelAllPeerDevAndKeyInfo(int32_t osAccountId, const char *groupId) in DelAllPeerDevAndKeyInfo()
265 static int32_t AddAuthIdAndUserTypeToParams(int32_t osAccountId, const char *groupId, CJson *jsonPa… in AddAuthIdAndUserTypeToParams()
301 static int32_t DelGroupAndSelfKeyInfo(int32_t osAccountId, const char *groupId, CJson *jsonParams) in DelGroupAndSelfKeyInfo()
331 const char *groupId = GetStringFromJson(jsonParams, FIELD_GROUP_ID); in HandleLocalUnbind() local
360 static int32_t CheckPeerDeviceStatus(int32_t osAccountId, const char *groupId, const CJson *jsonPar… in CheckPeerDeviceStatus()
[all …]
/base/security/device_auth/services/legacy/group_manager/src/group_operation/
Dgroup_operation_common.c74 const char *groupId) in GetTrustedDeviceEntryById()
100 TrustedGroupEntry *GetGroupEntryById(int32_t osAccountId, const char *groupId) in GetGroupEntryById()
125 bool IsTrustedDeviceInGroup(int32_t osAccountId, const char *groupId, const char *deviceId, bool is… in IsTrustedDeviceInGroup()
161 bool IsGroupOwner(int32_t osAccountId, const char *groupId, const char *appId) in IsGroupOwner()
182 bool IsGroupExistByGroupId(int32_t osAccountId, const char *groupId) in IsGroupExistByGroupId()
196 int32_t CheckGroupAccessible(int32_t osAccountId, const char *groupId, const char *appId) in CheckGroupAccessible()
217 int32_t CheckGroupEditAllowed(int32_t osAccountId, const char *groupId, const char *appId) in CheckGroupEditAllowed()
288 … GetTrustedDevInfoById(int32_t osAccountId, const char *deviceId, bool isUdid, const char *groupId, in GetTrustedDevInfoById()
305 int32_t GetTrustedDevices(int32_t osAccountId, const char *groupId, DeviceEntryVec *returnDeviceEnt… in GetTrustedDevices()
328 const char *groupId = StringGet(&groupInfo->id); in AddGroupIdToReturn() local
[all …]
Dgroup_operation.c172 static bool IsQueryParamsValid(int groupType, const char *groupId, const char *groupName, const cha… in IsQueryParamsValid()
214 static int32_t GetPkByParams(const char *groupId, const TrustedDeviceEntry *deviceEntry, in GetPkByParams()
256 static int32_t GeneratePkInfo(int32_t osAccountId, const char *queryUdid, const char *groupId, CJso… in GeneratePkInfo()
290 const char *groupId = StringGet(&((*entry)->id)); in AddAllPkInfoToList() local
404 const char *groupId = NULL; in DeleteGroup() local
747 static int32_t CheckAccessToGroup(int32_t osAccountId, const char *appId, const char *groupId) in CheckAccessToGroup()
765 …tic int32_t GetAccessibleGroupInfoById(int32_t osAccountId, const char *appId, const char *groupId, in GetAccessibleGroupInfoById()
836 const char *groupId = GetStringFromJson(queryParamsJson, FIELD_GROUP_ID); in GetAccessibleGroupInfo() local
927 const DeviceQueryParams *devQueryParams, const char *groupId, char **returnDeviceInfo) in GetAccessibleDeviceInfoById()
979 …ic int32_t GetAccessibleTrustedDevices(int32_t osAccountId, const char *appId, const char *groupId, in GetAccessibleTrustedDevices()
[all …]
/base/security/device_auth/services/legacy/group_manager/src/group_operation/identical_account_group/
Didentical_account_group.c30 static int32_t GenerateDevParams(const CJson *jsonParams, const char *groupId, TrustedDeviceEntry *… in GenerateDevParams()
46 static int32_t GenerateGroupParams(const CJson *jsonParams, const char *groupId, TrustedGroupEntry … in GenerateGroupParams()
133 static int32_t DelDeviceById(int32_t osAccountId, const char *groupId, const char *deviceId, bool i… in DelDeviceById()
280 static int32_t DelAcrossAccountGroupAndTokens(int32_t osAccountId, const char *groupId) in DelAcrossAccountGroupAndTokens()
290 static int32_t GetRelatedAcrossAccountGroups(int32_t osAccountId, const char *groupId, GroupEntryVe… in GetRelatedAcrossAccountGroups()
305 static int32_t DelRelatedAcrossAccountGroups(int32_t osAccountId, const char *groupId) in DelRelatedAcrossAccountGroups()
321 static int32_t DelGroupAndTokens(int32_t osAccountId, const char *groupId) in DelGroupAndTokens()
337 static int32_t GenerateTrustedDevParams(const CJson *jsonParams, const char *groupId, TrustedDevice… in GenerateTrustedDevParams()
365 const char *groupId = GetStringFromJson(jsonParams, FIELD_GROUP_ID); in AddDeviceAndToken() local
393 const char *groupId = GetStringFromJson(jsonParams, FIELD_GROUP_ID); in DelPeerDevice() local
[all …]
/base/security/device_auth/services/legacy/group_manager/src/group_operation/across_account_group/
Dacross_account_group.c126 static int32_t GenerateDevParams(const CJson *jsonParams, const char *groupId, TrustedDeviceEntry *… in GenerateDevParams()
142 static int32_t GenerateGroupParams(const CJson *jsonParams, const char *groupId, TrustedGroupEntry … in GenerateGroupParams()
332 static int32_t DelGroupAndTokens(int32_t osAccountId, const char *groupId) in DelGroupAndTokens()
344 const char *groupId = GetStringFromJson(jsonParams, FIELD_GROUP_ID); in CheckChangeParams() local
360 static int32_t DelDeviceById(int32_t osAccountId, const char *groupId, const char *deviceId, bool i… in DelDeviceById()
372 static int32_t GenerateTrustedDevParams(const CJson *jsonParams, const char *groupId, TrustedDevice… in GenerateTrustedDevParams()
400 const char *groupId = GetStringFromJson(jsonParams, FIELD_GROUP_ID); in AddDeviceAndToken() local
428 const char *groupId = GetStringFromJson(jsonParams, FIELD_GROUP_ID); in DelPeerDeviceAndToken() local
462 static int32_t AddGroupAndLocalDev(int32_t osAccountId, CJson *jsonParams, const char *groupId) in AddGroupAndLocalDev()
490 const char *groupId = GetStringFromJson(jsonParams, FIELD_GROUP_ID); in CheckUserIdValid() local
[all …]
/base/security/device_auth/services/session_manager/src/session/v1/compatible_bind_sub_session/
Dcompatible_bind_sub_session_common.c47 static int32_t AddGroupId(const char *groupId, CJson *params) in AddGroupId()
128 static int32_t AddGroupInfoToSessionParams(const char *groupId, const CJson *jsonParams, CJson *par… in AddGroupInfoToSessionParams()
142 static int32_t CheckAuthIdAndUserTypeValid(int32_t osAccountId, int userType, const char *groupId, … in CheckAuthIdAndUserTypeValid()
174 static int32_t AddAuthIdAndUserTypeIfValidOrDefault(int32_t osAccountId, const char *groupId, const… in AddAuthIdAndUserTypeIfValidOrDefault()
239 static int32_t AddDevInfoToSessionParams(int32_t osAccountId, const char *groupId, const CJson *jso… in AddDevInfoToSessionParams()
251 static int32_t GenerateParamsByInput(int32_t osAccountId, const char *groupId, const CJson *jsonPar… in GenerateParamsByInput()
277 static int32_t AddGroupInfoByDatabase(int32_t osAccountId, const char *groupId, CJson *params) in AddGroupInfoByDatabase()
310 static int32_t AddDevInfoByDatabase(int32_t osAccountId, const char *groupId, CJson *params) in AddDevInfoByDatabase()
338 static int32_t GenerateParamsByDatabase(int32_t osAccountId, const char *groupId, CJson *params) in GenerateParamsByDatabase()
350 const char *groupId = GetStringFromJson(jsonParams, FIELD_GROUP_ID); in AddGroupAndDevInfo() local
[all …]
Dcompatible_bind_sub_session.c34 const char *groupId = GetStringFromJson(jsonParams, FIELD_GROUP_ID); in CheckInvitePeer() local
155 const char *groupId = GetStringFromJson(jsonParams, FIELD_GROUP_ID); in GenerateKeyPairIfNeeded() local
174 const char *groupId = GetStringFromJson(jsonParams, FIELD_GROUP_ID); in CheckServerStatusIfNotInvite() local
262 …ic int32_t InformSelfBindSuccess(const char *peerAuthId, const char *peerUdid, const char *groupId, in InformSelfBindSuccess()
287 const char *groupId = GetStringFromJson(params, FIELD_GROUP_ID); in SetGroupId() local
387 static void GenerateDevAuthParams(const char *authId, const char *udid, const char *groupId, in GenerateDevAuthParams()
398 …dTrustDevToDatabase(int32_t osAccountId, const char *authId, const char *udid, const char *groupId, in AddTrustDevToDatabase()
416 static int32_t AddGroupAndLocalDevIfNotExist(const char *groupId, const CompatibleBindSubSession *s… in AddGroupAndLocalDevIfNotExist()
442 const char *groupId, const CompatibleBindSubSession *session) in AddPeerDevToGroup()
455 static int32_t AddGroupAndDev(const char *peerAuthId, const char *peerUdid, const char *groupId, in AddGroupAndDev()
[all …]
/base/security/device_auth/services/legacy/group_auth/src/group_auth_manager/
Dgroup_auth_data_operation.c120 static int32_t GetGroupEntryById(int32_t osAccountId, const char *groupId, TrustedGroupEntry *retur… in GetGroupEntryById()
148 bool GaIsGroupAccessible(int32_t osAccountId, const char *groupId, const char *appId) in GaIsGroupAccessible()
176 bool isUdid, const char *groupId, TrustedDeviceEntry *returnDeviceEntry) in GaGetTrustedDeviceEntryById()
210 const char *groupId) in GaIsDeviceInGroup()
238 int32_t GaGetLocalDeviceInfo(int32_t osAccountId, const char *groupId, TrustedDeviceEntry *localAut… in GaGetLocalDeviceInfo()
/base/security/device_auth/services/identity_manager/src/
Didentity_group.c69 static void GetGroupInfoByGroupId(int32_t osAccountId, const char *groupId, GroupEntryVec *groupEnt… in GetGroupInfoByGroupId()
96 int32_t osAccountId, int32_t groupType, const char *deviceId, const char *groupId, bool isUdid) in IsDeviceInGroup()
164 int32_t osAccountId, const char *groupId, const char *deviceId, bool isUdid, IdentityInfo *info) in GetAccountUnrelatedIdentityInfo()
228 const char *groupId = StringGet(&groupEntry->id); in GetIdentityInfo() local
273 const char *groupId = StringGet(&(groupEntry->id)); in GetIdentityInfos() local
307 const char *groupId = GetStringFromJson(in, FIELD_GROUP_ID); in GetCredInfosByPeerIdentity() local
379 const char *groupId = GetStringFromJson(urlJson, FIELD_GROUP_ID); in CheckAndGetP2pCredInfo() local
453 static int32_t GenerateKeyAliasInIso(const CJson *in, const char *groupId, uint8_t *keyAlias, uint3… in GenerateKeyAliasInIso()
484 const CJson *in, const char *groupId, const Uint8Buff *seed, Uint8Buff *sharedSecret) in AuthGeneratePsk()
496 static int32_t GetSharedSecretForP2pInIso(const CJson *in, const char *groupId, Uint8Buff *sharedSe… in GetSharedSecretForP2pInIso()
[all …]
Dcert_operation.c51 static int32_t GetIdentityInfoByType(int32_t keyType, int32_t trustType, const char *groupId, Ident… in GetIdentityInfoByType()
180 const char *groupId = StringGet(&groupEntry->id); in GetSelfDeviceEntryByPeerCert() local
372 static int32_t GetLocalDeviceType(int32_t osAccountId, const CJson *in, const char *groupId, int32_… in GetLocalDeviceType()
394 static int32_t GenerateAuthTokenForAccessory(int32_t osAccountId, const char *groupId, Uint8Buff *a… in GenerateAuthTokenForAccessory()
437 int32_t osAccountId, const CJson *in, const char *groupId, Uint8Buff *authTokenAlias) in GenerateTokenAliasForController()
476 const char *groupId = GetStringFromJson(urlJson, FIELD_GROUP_ID); in GenerateAuthTokenByDevType() local
497 int32_t osAccountId, const char *groupId, IdentityInfo *info, bool isNeedGeneratePdid) in GetSelfAccountIdentityInfo()
546 int32_t osAccountId, const char *groupId, const char *deviceId, bool isUdid, IdentityInfo *info) in GetAccountRelatedCredInfo()
743 const char *groupId = GetStringFromJson(urlJson, FIELD_GROUP_ID); in GetAccountSymCredInfoByPeerUrl() local
Didentity_common.c99 int32_t GetSelfDeviceEntry(int32_t osAccountId, const char *groupId, TrustedDeviceEntry *deviceEntr… in GetSelfDeviceEntry()
121 … int32_t osAccountId, const CJson *in, const char *groupId, TrustedDeviceEntry *returnDeviceEntry) in GetPeerDeviceEntry()
/base/security/device_auth/services/legacy/group_manager/src/
Dgroup_manager.c81 int32_t CheckAccessToGroupImpl(int32_t osAccountId, const char *appId, const char *groupId) in CheckAccessToGroupImpl()
88 int32_t GetGroupInfoByIdImpl(int32_t osAccountId, const char *appId, const char *groupId, char **re… in GetGroupInfoByIdImpl()
119 …viceInfoByIdImpl(int32_t osAccountId, const char *appId, const char *deviceId, const char *groupId, in GetDeviceInfoByIdImpl()
128 int32_t GetTrustedDevicesImpl(int32_t osAccountId, const char *appId, const char *groupId, in GetTrustedDevicesImpl()
136 bool IsDeviceInGroupImpl(int32_t osAccountId, const char *appId, const char *groupId, const char *d… in IsDeviceInGroupImpl()
/base/security/device_auth/test/unittest/deviceauth/source/
Dgroup_operation_common_test.cpp44 static int32_t GenerateGroupParams(const CJson *jsonParams, const char *groupId, TrustedGroupEntry … in GenerateGroupParams()
52 static int32_t GenerateDevParams(const CJson *jsonParams, const char *groupId, TrustedDeviceEntry *… in GenerateDevParams()
298 const char *groupId = "ABCD"; variable
441 const char *groupId = nullptr; variable
456 const char *groupId = nullptr; variable
/base/security/device_auth/services/session_manager/inc/session/v2/expand_sub_session/expand_process_lib/
Dpub_key_exchange.h26 const char *groupId; member
Dauth_code_import.h26 const char *groupId; member
Dsave_trusted_info.h29 const char *groupId; member
/base/security/device_auth/services/legacy/group_auth/src/group_auth_manager/account_related_group_auth/
Daccount_related_group_auth.c258 …c int32_t FillAccountCredentialInfo(int32_t osAccountId, const char *peerUdid, const char *groupId, in FillAccountCredentialInfo()
298 const char *groupId = StringGet(&entry->id); in FillAccountAuthInfo() local
320 static bool IsDeviceImportedByCloud(int32_t osAccountId, const char *peerUdid, const char *groupId) in IsDeviceImportedByCloud()
412 const char *groupId = StringGet(&groupEntry->id); in AddGroupIdForServer() local
433 const char *groupId = StringGet(&groupEntry->id); in AddSelfDevInfoForServer() local
561 static int32_t PrepareTrustedDeviceInfo(const char *peerUdid, const char *groupId, in PrepareTrustedDeviceInfo()
609 const char *groupId = GetStringFromJson(authParam, FIELD_GROUP_ID); in AddTrustedDeviceForAccount() local
/base/security/device_auth/services/data_manager/inc/
Ddata_manager.h45 HcString groupId; member
59 const char *groupId; member
69 const char *groupId; member
/base/security/device_auth/services/session_manager/src/session/v1/compatible_auth_sub_session/
Dcompatible_auth_sub_session_common.c104 static void GetGroupInfoByGroupId(int32_t osAccountId, const char *groupId, in GetGroupInfoByGroupId()
114 static int32_t AddGeneralParams(const char *groupId, int32_t groupType, const TrustedDeviceEntry *l… in AddGeneralParams()
141 static int32_t ExtractAndAddParams(int32_t osAccountId, const char *groupId, in ExtractAndAddParams()
192 const char *groupId = StringGet(&(groupInfo->id)); in FillAuthParams() local
218 static int32_t GetCandidateAuthInfo(int32_t osAccountId, const char *groupId, in GetCandidateAuthInfo()
522 const char *groupId = GetStringFromJson(param, FIELD_GROUP_ID); in GetAuthParamsVec() local
/base/security/device_auth/services/session_manager/src/session/v2/
Ddev_session_util.c28 const char *groupId = GetStringFromJson(context, FIELD_GROUP_ID); in GetPeerDeviceEntryByContext() local
218 static int32_t SetPeerAuthIdByDb(CJson *context, const char *groupId) in SetPeerAuthIdByDb()
312 const char *groupId = GetStringFromJson(urlJson, FIELD_GROUP_ID); in SetPeerAuthIdToContextIfNeeded() local
519 const char *groupId) in GetDeviceEntryById()
/base/security/device_auth/services/identity_manager/src/mock/
Dcert_operation_mock.c20 int32_t osAccountId, const char *groupId, const char *deviceId, bool isUdid, IdentityInfo *info) in GetAccountRelatedCredInfo()
/base/security/device_auth/services/
Ddevice_auth.c98 static const char *GetUdidByGroup(int32_t osAccountId, const char *groupId, const char *deviceIdHas… in GetUdidByGroup()
140 const char *groupId = StringGet(&(groupEntry->id)); in GetDeviceIdByUdidHash() local
172 const char *groupId = GetStringFromJson(receivedMsg, FIELD_GROUP_ID); in AddGroupInfoToContextByInput() local
223 static int32_t AddGroupInfoToContextByDb(const char *groupId, CJson *context) in AddGroupInfoToContextByDb()
254 static int32_t AddDevInfoToContextByDb(const char *groupId, CJson *context) in AddDevInfoToContextByDb()
300 const char *groupId = GetStringFromJson(context, FIELD_GROUP_ID); in AddClientReqInfoToContext() local
483 const char *groupId = GetStringFromJson(context, FIELD_GROUP_ID); in CheckGroupVisibility() local
635 const char *groupId = GetStringFromJson(receivedMsg, FIELD_GROUP_ID); in AddServerReqInfoToContext() local
/base/security/device_auth/services/legacy/group_auth/src/group_auth_manager/account_unrelated_group_auth/
Daccount_unrelated_group_auth.c83 const char *groupId = GetStringFromJson(authParam, FIELD_SERVICE_TYPE); in AddGroupIdToSelfData() local
335 const char *groupId = StringGet(&entry->id); in FillNonAccountAuthInfo() local
/base/security/device_auth/frameworks/src/
Dipc_sdk.c708 static int32_t IpcGmCheckAccessToGroup(int32_t osAccountId, const char *appId, const char *groupId) in IpcGmCheckAccessToGroup()
854 static int32_t IpcGmGetGroupInfoById(int32_t osAccountId, const char *appId, const char *groupId, c… in IpcGmGetGroupInfoById()
1160 const char *peerUdid, const char *groupId, uintptr_t callCtx) in FormParamsForGettingDeviceInfo()
1188 …etDeviceInfoById(int32_t osAccountId, const char *appId, const char *peerUdid, const char *groupId, in IpcGmGetDeviceInfoById()
1256 const char *groupId, char **outDevInfoVec, uint32_t *deviceNum) in IpcGmGetTrustedDevices()
1308 static bool IpcGmIsDeviceInGroup(int32_t osAccountId, const char *appId, const char *groupId, const… in IpcGmIsDeviceInGroup()
Dipc_service.c507 const char *groupId = NULL; in IpcServiceGmCheckAccessToGroup() local
584 const char *groupId = NULL; in IpcServiceGmGetGroupInfoById() local
758 const char *groupId = NULL; in IpcServiceGmGetDeviceInfoById() local
806 const char *groupId = NULL; in IpcServiceGmGetTrustedDevices() local
851 const char *groupId = NULL; in IpcServiceGmIsDeviceInGroup() local

12