Home
last modified time | relevance | path

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

12

/base/security/device_auth/services/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/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 DelPeerDeviceAndToken() local
[all …]
/base/security/device_auth/services/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.c173 static bool IsQueryParamsValid(int groupType, const char *groupId, const char *groupName, const cha… in IsQueryParamsValid()
215 static int32_t GetPkByParams(const char *groupId, const TrustedDeviceEntry *deviceEntry, in GetPkByParams()
257 static int32_t GeneratePkInfo(int32_t osAccountId, const char *queryUdid, const char *groupId, CJso… in GeneratePkInfo()
291 const char *groupId = StringGet(&((*entry)->id)); in AddAllPkInfoToList() local
405 const char *groupId = NULL; in DeleteGroup() local
697 static int32_t CheckAccessToGroup(int32_t osAccountId, const char *appId, const char *groupId) in CheckAccessToGroup()
711 …tic int32_t GetAccessibleGroupInfoById(int32_t osAccountId, const char *appId, const char *groupId, in GetAccessibleGroupInfoById()
774 const char *groupId = GetStringFromJson(queryParamsJson, FIELD_GROUP_ID); in GetAccessibleGroupInfo() local
847 const DeviceQueryParams *devQueryParams, const char *groupId, char **returnDeviceInfo) in GetAccessibleDeviceInfoById()
895 …ic int32_t GetAccessibleTrustedDevices(int32_t osAccountId, const char *appId, const char *groupId, in GetAccessibleTrustedDevices()
[all …]
/base/security/device_auth/services/session_manager/src/session/v1/compatible_bind_sub_session/
Dcompatible_bind_sub_session_common.c36 static int32_t AddGroupId(const char *groupId, CJson *params) in AddGroupId()
117 static int32_t AddGroupInfoToSessionParams(const char *groupId, const CJson *jsonParams, CJson *par… in AddGroupInfoToSessionParams()
131 static int32_t CheckAuthIdAndUserTypeValid(int32_t osAccountId, int userType, const char *groupId, … in CheckAuthIdAndUserTypeValid()
163 static int32_t AddAuthIdAndUserTypeIfValidOrDefault(int32_t osAccountId, const char *groupId, const… in AddAuthIdAndUserTypeIfValidOrDefault()
228 static int32_t AddDevInfoToSessionParams(int32_t osAccountId, const char *groupId, const CJson *jso… in AddDevInfoToSessionParams()
240 static int32_t GenerateParamsByInput(int32_t osAccountId, const char *groupId, const CJson *jsonPar… in GenerateParamsByInput()
266 static int32_t AddGroupInfoByDatabase(int32_t osAccountId, const char *groupId, CJson *params) in AddGroupInfoByDatabase()
299 static int32_t AddDevInfoByDatabase(int32_t osAccountId, const char *groupId, CJson *params) in AddDevInfoByDatabase()
327 static int32_t GenerateParamsByDatabase(int32_t osAccountId, const char *groupId, CJson *params) in GenerateParamsByDatabase()
339 const char *groupId = GetStringFromJson(jsonParams, FIELD_GROUP_ID); in AddGroupAndDevInfo() local
[all …]
Dcompatible_bind_sub_session.c32 const char *groupId = GetStringFromJson(jsonParams, FIELD_GROUP_ID); in CheckInvitePeer() local
153 const char *groupId = GetStringFromJson(jsonParams, FIELD_GROUP_ID); in GenerateKeyPairIfNeeded() local
172 const char *groupId = GetStringFromJson(jsonParams, FIELD_GROUP_ID); in CheckServerStatusIfNotInvite() local
260 static int32_t InformSelfBindSuccess(const char *peerAuthId, const char *groupId, in InformSelfBindSuccess()
283 const char *groupId = GetStringFromJson(params, FIELD_GROUP_ID); in SetGroupId() local
383 static void GenerateDevAuthParams(const char *authId, const char *udid, const char *groupId, in GenerateDevAuthParams()
394 …dTrustDevToDatabase(int32_t osAccountId, const char *authId, const char *udid, const char *groupId, in AddTrustDevToDatabase()
412 static int32_t AddGroupAndLocalDevIfNotExist(const char *groupId, const CompatibleBindSubSession *s… in AddGroupAndLocalDevIfNotExist()
438 const char *groupId, const CompatibleBindSubSession *session) in AddPeerDevToGroup()
451 static int32_t AddGroupAndDev(const char *peerAuthId, const char *peerUdid, const char *groupId, in AddGroupAndDev()
[all …]
/base/security/device_auth/services/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/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/creds_manager/src/
Dcreds_manager.c83 static int32_t GetAccountUnrelatedIdentityInfo(int32_t osAccountId, const char *groupId, in GetAccountUnrelatedIdentityInfo()
116 const char *groupId = StringGet(&groupEntry->id); in GetIdentityInfo() local
131 … IsDeviceInGroup(int32_t osAccountId, int32_t groupType, const char *deviceId, const char *groupId, in IsDeviceInGroup()
170 const char *groupId = StringGet(&(groupEntry->id)); in GetIdentityInfos() local
220 const char *groupId = GetStringFromJson(urlJson, FIELD_GROUP_ID); in CheckAndGetP2pCredInfo() local
308 static int32_t GenerateKeyAliasInIso(const CJson *in, const char *groupId, uint8_t *keyAlias, in GenerateKeyAliasInIso()
339 static int32_t AuthGeneratePsk(const CJson *in, const char *groupId, const Uint8Buff *seed, in AuthGeneratePsk()
401 static int32_t GetSharedSecretForP2pInIso(const CJson *in, const char *groupId, Uint8Buff *sharedSe… in GetSharedSecretForP2pInIso()
432 static int32_t GetSelfAuthIdAndUserType(int32_t osAccountId, const char *groupId, Uint8Buff *authId… in GetSelfAuthIdAndUserType()
467 static int32_t ComputeAndSavePsk(int32_t osAccountId, const char *groupId, const TrustedDeviceEntry… in ComputeAndSavePsk()
[all …]
Dcreds_operation_utils.c145 int32_t GetSelfDeviceEntry(int32_t osAccountId, const char *groupId, TrustedDeviceEntry *deviceEntr… in GetSelfDeviceEntry()
166 int32_t GetPeerDeviceEntry(int32_t osAccountId, const CJson *in, const char *groupId, in GetPeerDeviceEntry()
178 int32_t GetIdentityInfoByType(int32_t keyType, int32_t trustType, const char *groupId, IdentityInfo… in GetIdentityInfoByType()
/base/security/device_auth/services/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/services/creds_manager/src/account_related/
Daccount_related_creds_manager.c88 const char *groupId = StringGet(&groupEntry->id); in GetSelfDeviceEntryByPeerCert() local
274 static int32_t GetLocalDeviceType(int32_t osAccountId, const CJson *in, const char *groupId, in GetLocalDeviceType()
297 static int32_t GenerateAuthTokenForAccessory(int32_t osAccountId, const char *groupId, Uint8Buff *a… in GenerateAuthTokenForAccessory()
339 … int32_t GenerateTokenAliasForController(int32_t osAccountId, const CJson *in, const char *groupId, in GenerateTokenAliasForController()
379 const char *groupId = GetStringFromJson(urlJson, FIELD_GROUP_ID); in GenerateAuthTokenByDevType() local
399 static int32_t GetSelfAccountIdentityInfo(int32_t osAccountId, const char *groupId, IdentityInfo *i… in GetSelfAccountIdentityInfo()
448 int32_t GetAccountRelatedCredInfo(int32_t osAccountId, const char *groupId, const char *deviceId, in GetAccountRelatedCredInfo()
646 const char *groupId = GetStringFromJson(urlJson, FIELD_GROUP_ID); in GetAccountSymCredInfoByPeerUrl() local
/base/security/device_auth/test/unittest/deviceauth/source/
Dgroup_operation_common_test.cpp43 static int32_t GenerateGroupParams(const CJson *jsonParams, const char *groupId, TrustedGroupEntry … in GenerateGroupParams()
51 static int32_t GenerateDevParams(const CJson *jsonParams, const char *groupId, TrustedDeviceEntry *… in GenerateDevParams()
297 const char *groupId = "ABCD"; variable
440 const char *groupId = nullptr; variable
455 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/group_auth/src/group_auth_manager/account_related_group_auth/
Daccount_related_group_auth.c251 …c int32_t FillAccountCredentialInfo(int32_t osAccountId, const char *peerUdid, const char *groupId, in FillAccountCredentialInfo()
292 const char *groupId = StringGet(&entry->id); in FillAccountAuthInfo() local
314 static bool IsDeviceImportedByCloud(int32_t osAccountId, const char *peerUdid, const char *groupId) in IsDeviceImportedByCloud()
406 const char *groupId = StringGet(&groupEntry->id); in AddGroupIdForServer() local
427 const char *groupId = StringGet(&groupEntry->id); in AddSelfDevInfoForServer() local
550 static int32_t PrepareTrustedDeviceInfo(const char *peerUdid, const char *groupId, in PrepareTrustedDeviceInfo()
598 const char *groupId = GetStringFromJson(authParam, FIELD_GROUP_ID); in AddTrustedDeviceForAccount() local
/base/security/device_auth/services/session_manager/src/session/v1/compatible_auth_sub_session/
Dcompatible_auth_sub_session_common.c81 static void GetGroupInfoByGroupId(int32_t osAccountId, const char *groupId, in GetGroupInfoByGroupId()
91 static int32_t AddGeneralParams(const char *groupId, int32_t groupType, const TrustedDeviceEntry *l… in AddGeneralParams()
118 static int32_t ExtractAndAddParams(int32_t osAccountId, const char *groupId, in ExtractAndAddParams()
169 const char *groupId = StringGet(&(groupInfo->id)); in FillAuthParams() local
195 static int32_t GetCandidateAuthInfo(int32_t osAccountId, const char *groupId, in GetCandidateAuthInfo()
492 const char *groupId = GetStringFromJson(param, FIELD_GROUP_ID); in GetAuthParamsVec() 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/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()
306 const char *groupId = GetStringFromJson(urlJson, FIELD_GROUP_ID); in SetPeerAuthIdToContextIfNeeded() local
513 const char *groupId) in GetDeviceEntryById()
/base/security/device_auth/services/creds_manager/src/account_related_mock/
Daccount_related_creds_manager_mock.c20 int32_t GetAccountRelatedCredInfo(int32_t osAccountId, const char *groupId, const char *deviceId, in GetAccountRelatedCredInfo()
/base/security/device_auth/services/
Ddevice_auth.c94 static const char *GetUdidByGroup(int32_t osAccountId, const char *groupId, const char *deviceIdHas… in GetUdidByGroup()
136 const char *groupId = StringGet(&(groupEntry->id)); in GetDeviceIdByUdidHash() local
168 const char *groupId = GetStringFromJson(receivedMsg, FIELD_GROUP_ID); in AddGroupInfoToContextByInput() local
219 static int32_t AddGroupInfoToContextByDb(const char *groupId, CJson *context) in AddGroupInfoToContextByDb()
250 static int32_t AddDevInfoToContextByDb(const char *groupId, CJson *context) in AddDevInfoToContextByDb()
296 const char *groupId = GetStringFromJson(context, FIELD_GROUP_ID); in AddClientReqInfoToContext() local
513 const char *groupId = GetStringFromJson(receivedMsg, FIELD_GROUP_ID); in AddServerReqInfoToContext() local
/base/security/device_auth/services/group_auth/src/group_auth_manager/account_unrelated_group_auth/
Daccount_unrelated_group_auth.c76 const char *groupId = GetStringFromJson(authParam, FIELD_SERVICE_TYPE); in AddGroupIdToSelfData() local
326 const char *groupId = StringGet(&entry->id); in FillNonAccountAuthInfo() local
/base/security/device_auth/frameworks/src/
Dipc_service.c506 const char *groupId = NULL; in IpcServiceGmCheckAccessToGroup() local
584 const char *groupId = NULL; in IpcServiceGmGetGroupInfoById() local
760 const char *groupId = NULL; in IpcServiceGmGetDeviceInfoById() local
808 const char *groupId = NULL; in IpcServiceGmGetTrustedDevices() local
855 const char *groupId = NULL; in IpcServiceGmIsDeviceInGroup() local
Dipc_sdk.c718 static int32_t IpcGmCheckAccessToGroup(int32_t osAccountId, const char *appId, const char *groupId) in IpcGmCheckAccessToGroup()
863 static int32_t IpcGmGetGroupInfoById(int32_t osAccountId, const char *appId, const char *groupId, c… in IpcGmGetGroupInfoById()
1169 const char *peerUdid, const char *groupId, uintptr_t callCtx) in FormParamsForGettingDeviceInfo()
1196 …etDeviceInfoById(int32_t osAccountId, const char *appId, const char *peerUdid, const char *groupId, in IpcGmGetDeviceInfoById()
1264 const char *groupId, char **outDevInfoVec, uint32_t *deviceNum) in IpcGmGetTrustedDevices()
1316 static bool IpcGmIsDeviceInGroup(int32_t osAccountId, const char *appId, const char *groupId, const… in IpcGmIsDeviceInGroup()

12