Home
last modified time | relevance | path

Searched defs:osAccountId (Results 1 – 25 of 68) sorted by relevance

123

/base/security/device_auth/services/group_manager/src/
Dgroup_manager.c24 int32_t CreateGroupImpl(int32_t osAccountId, int64_t requestId, const char *appId, const char *crea… in CreateGroupImpl()
32 int32_t DeleteGroupImpl(int32_t osAccountId, int64_t requestId, const char *appId, const char *disb… in DeleteGroupImpl()
40 int32_t DeleteMemberFromGroupImpl(int32_t osAccountId, int64_t requestId, const char *appId, const … in DeleteMemberFromGroupImpl()
48 int32_t AddMultiMembersToGroupImpl(int32_t osAccountId, const char *appId, const char *addParams) in AddMultiMembersToGroupImpl()
55 int32_t DelMultiMembersFromGroupImpl(int32_t osAccountId, const char *appId, const char *deletePara… in DelMultiMembersFromGroupImpl()
81 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()
95 int32_t GetGroupInfoImpl(int32_t osAccountId, const char *appId, const char *queryParams, in GetGroupInfoImpl()
103 int32_t GetJoinedGroupsImpl(int32_t osAccountId, const char *appId, int groupType, in GetJoinedGroupsImpl()
111 int32_t GetRelatedGroupsImpl(int32_t osAccountId, const char *appId, const char *peerDeviceId, in GetRelatedGroupsImpl()
[all …]
/base/security/device_auth/services/group_manager/src/group_operation/identical_account_group/
Didentical_account_group.c114 static int32_t CheckCreateParams(int32_t osAccountId, const CJson *jsonParams) in CheckCreateParams()
133 static int32_t DelDeviceById(int32_t osAccountId, const char *groupId, const char *deviceId, bool i… in DelDeviceById()
145 static int32_t ImportSelfToken(int32_t osAccountId, CJson *jsonParams) in ImportSelfToken()
179 static int32_t DelSelfToken(int32_t osAccountId, CJson *jsonParams) in DelSelfToken()
229 static int32_t DelDeviceToken(int32_t osAccountId, const TrustedDeviceEntry *entry, bool isLocalDev) in DelDeviceToken()
247 static void DelAllTokens(int32_t osAccountId, const DeviceEntryVec *vec) in DelAllTokens()
264 static void DelAllPeerTokens(int32_t osAccountId, const DeviceEntryVec *vec) in DelAllPeerTokens()
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()
[all …]
/base/security/device_auth/services/group_manager/src/group_operation/peer_to_peer_group/
Dpeer_to_peer_group.c30 static bool IsSameNameGroupExist(int32_t osAccountId, const char *ownerName, const char *groupName) in IsSameNameGroupExist()
53 static int32_t CheckGroupName(int32_t osAccountId, const char *appId, const CJson *jsonParams) in CheckGroupName()
117 static int32_t CheckCreateParams(int32_t osAccountId, const CJson *jsonParams) in CheckCreateParams()
173 static int32_t CreateGroupInner(int32_t osAccountId, const CJson *jsonParams, char **returnGroupId) in CreateGroupInner()
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()
336 int32_t osAccountId; in HandleLocalUnbind() local
[all …]
/base/security/device_auth/services/group_manager/src/group_operation/across_account_group/
Dacross_account_group.c89 static int32_t AddCredTypeToParamsFromIdenticalGroup(int32_t osAccountId, CJson *jsonParams) in AddCredTypeToParamsFromIdenticalGroup()
186 static int32_t AssertIdenticalGroupExist(int32_t osAccountId, const CJson *jsonParams) in AssertIdenticalGroupExist()
240 static int32_t CheckCreateParams(int32_t osAccountId, const CJson *jsonParams) in CheckCreateParams()
299 static int32_t DelPeerDeviceToken(int32_t osAccountId, const TrustedDeviceEntry *entry) in DelPeerDeviceToken()
316 static void DelAllPeerTokens(int32_t osAccountId, const DeviceEntryVec *vec) in DelAllPeerTokens()
332 static int32_t DelGroupAndTokens(int32_t osAccountId, const char *groupId) in DelGroupAndTokens()
342 static int32_t CheckChangeParams(int32_t osAccountId, const char *appId, CJson *jsonParams) in CheckChangeParams()
360 static int32_t DelDeviceById(int32_t osAccountId, const char *groupId, const char *deviceId, bool i… in DelDeviceById()
398 static int32_t AddDeviceAndToken(int32_t osAccountId, const CJson *jsonParams, CJson *deviceInfo) in AddDeviceAndToken()
426 static int32_t DelPeerDeviceAndToken(int32_t osAccountId, CJson *jsonParams, CJson *deviceInfo) in DelPeerDeviceAndToken()
[all …]
/base/security/device_auth/services/privacy_enhancement/src/
Dpseudonym_manager.c43 int32_t osAccountId; member
181 static bool GetPseudonymPath(int32_t osAccountId, char *Path, uint32_t pathBufferLen) in GetPseudonymPath()
201 static int32_t OpenPseudonymFile(int32_t osAccountId, FileHandle *file, int32_t mode) in OpenPseudonymFile()
218 static int32_t LoadPseudonymDataFromFile(int32_t osAccountId, PseudonymInfoVec *vec) in LoadPseudonymDataFromFile()
278 static OsAccountPseudonymInfo *GetPseudonymInfoByOsAccountId(int32_t osAccountId) in GetPseudonymInfoByOsAccountId()
320 static int32_t WritePseudonymJsonToFile(int32_t osAccountId, CJson *Json) in WritePseudonymJsonToFile()
344 static int32_t SavePseudonymInfoToFile(int32_t osAccountId, const PseudonymInfoVec *vec) in SavePseudonymInfoToFile()
380 static int32_t SaveOsAccountPseudonymDb(int32_t osAccountId) in SaveOsAccountPseudonymDb()
412 static int32_t DeletePseudonymInner(int32_t osAccountId, const char *dataTodelete, PseudonymInfoVec… in DeletePseudonymInner()
451 static void LoadOsAccountPseudonymDb(int32_t osAccountId) in LoadOsAccountPseudonymDb()
[all …]
/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()
31 int32_t GetAccountAsymSharedSecret(int32_t osAccountId, const CertInfo *peerCertInfo, Uint8Buff *sh… in GetAccountAsymSharedSecret()
47 int32_t GetAccountAsymCredInfo(int32_t osAccountId, const CertInfo *certInfo, IdentityInfo **return… in GetAccountAsymCredInfo()
/base/security/device_auth/services/authenticators/src/account_related/creds_manager/
Dsym_token_manager.c32 int32_t osAccountId; member
53 static bool GetTokensFilePath(int32_t osAccountId, char *tokenPath, uint32_t pathBufferLen) in GetTokensFilePath()
140 static int32_t OpenTokenFile(int32_t osAccountId, FileHandle *file, int32_t mode) in OpenTokenFile()
157 static int32_t ReadTokensFromFile(int32_t osAccountId, SymTokenVec *vec) in ReadTokensFromFile()
202 static int32_t WriteTokensJsonToFile(int32_t osAccountId, CJson *tokensJson) in WriteTokensJsonToFile()
239 static int32_t SaveTokensToFile(int32_t osAccountId, const SymTokenVec *vec) in SaveTokensToFile()
288 static OsSymTokensInfo *GetTokensInfoByOsAccountId(int32_t osAccountId) in GetTokensInfoByOsAccountId()
309 static int32_t SaveOsSymTokensDb(int32_t osAccountId) in SaveOsSymTokensDb()
337 static int32_t AddSymTokenToVec(int32_t osAccountId, SymToken *token) in AddSymTokenToVec()
448 static int32_t AddToken(int32_t osAccountId, int32_t opCode, CJson *in) in AddToken()
[all …]
Dasy_token_manager.c34 int32_t osAccountId; member
92 static bool GetTokenPath(int32_t osAccountId, char *tokenPath, uint32_t pathBufferLen) in GetTokenPath()
191 static int32_t OpenTokenFile(int32_t osAccountId, FileHandle *file, int32_t mode) in OpenTokenFile()
208 static int32_t ReadTokensFromFile(int32_t osAccountId, AccountTokenVec *vec) in ReadTokensFromFile()
253 static int32_t WriteTokensJsonToFile(int32_t osAccountId, CJson *tokensJson) in WriteTokensJsonToFile()
303 static int32_t SaveTokensToFile(int32_t osAccountId, const AccountTokenVec *vec) in SaveTokensToFile()
545 static OsAccountTokenInfo *GetTokenInfoByOsAccountId(int32_t osAccountId) in GetTokenInfoByOsAccountId()
595 static int32_t SaveOsAccountTokenDb(int32_t osAccountId) in SaveOsAccountTokenDb()
674 static AccountToken *GetAccountToken(int32_t osAccountId, const char *userId, const char *deviceId) in GetAccountToken()
693 static int32_t DeleteTokenInner(int32_t osAccountId, const char *userId, const char *deviceId, in DeleteTokenInner()
[all …]
/base/security/device_auth/services/creds_manager/src/account_related/
Daccount_related_creds_manager.c34 static TrustedGroupEntry *GetSelfGroupEntryByPeerCert(int32_t osAccountId, const CertInfo *certInfo) in GetSelfGroupEntryByPeerCert()
80 static int32_t GetSelfDeviceEntryByPeerCert(int32_t osAccountId, const CertInfo *certInfo, in GetSelfDeviceEntryByPeerCert()
218 static int32_t GetCertInfo(int32_t osAccountId, const char *userId, const char *authId, CertInfo *c… in GetCertInfo()
241 static int32_t GetAccountAsymIdentityInfo(int32_t osAccountId, const char *userId, const char *auth… in GetAccountAsymIdentityInfo()
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 static int32_t GenerateTokenAliasForController(int32_t osAccountId, const CJson *in, const char *gr… in GenerateTokenAliasForController()
374 int32_t osAccountId = INVALID_OS_ACCOUNT; in GenerateAuthTokenByDevType() local
399 static int32_t GetSelfAccountIdentityInfo(int32_t osAccountId, const char *groupId, IdentityInfo *i… in GetSelfAccountIdentityInfo()
424 static bool isNeedGeneratePdidByPeerCert(int32_t osAccountId, const CertInfo *certInfo) in isNeedGeneratePdidByPeerCert()
[all …]
/base/security/device_auth/services/group_manager/src/group_operation/
Dgroup_operation.c50 static void RemoveNoPermissionGroup(int32_t osAccountId, GroupEntryVec *groupEntryVec, const char *… in RemoveNoPermissionGroup()
182 static int32_t QueryRelatedGroupsForGetPk(int32_t osAccountId, const char *udid, GroupEntryVec *ret… in QueryRelatedGroupsForGetPk()
257 static int32_t GeneratePkInfo(int32_t osAccountId, const char *queryUdid, const char *groupId, CJso… in GeneratePkInfo()
281 static void AddAllPkInfoToList(int32_t osAccountId, const char *queryUdid, const GroupEntryVec *gro… in AddAllPkInfoToList()
325 static int32_t GeneratePkInfoList(int32_t osAccountId, const CJson *params, CJson *pkInfoList) in GeneratePkInfoList()
387 static int32_t CreateGroup(int32_t osAccountId, CJson *jsonParams, char **returnJsonStr) in CreateGroup()
402 static int32_t DeleteGroup(int32_t osAccountId, CJson *jsonParams, char **returnJsonStr) in DeleteGroup()
419 static int32_t DeleteMemberFromPeerToPeerGroup(int32_t osAccountId, int64_t requestId, CJson *jsonP… in DeleteMemberFromPeerToPeerGroup()
471 static int32_t RequestCreateGroup(int32_t osAccountId, int64_t requestId, const char *appId, const … in RequestCreateGroup()
498 static int32_t RequestDeleteGroup(int32_t osAccountId, int64_t requestId, const char *appId, const … in RequestDeleteGroup()
[all …]
Dgroup_operation_common.c52 static int32_t GetGroupNumByOwner(int32_t osAccountId, const char *ownerName) in GetGroupNumByOwner()
73 TrustedDeviceEntry *GetTrustedDeviceEntryById(int32_t osAccountId, const char *deviceId, bool isUdi… 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()
139 int32_t CheckGroupNumLimit(int32_t osAccountId, int32_t groupType, const char *appId) in CheckGroupNumLimit()
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()
236 int32_t GetGroupInfo(int32_t osAccountId, int groupType, const char *groupId, const char *groupName, in GetGroupInfo()
[all …]
/base/security/device_auth/services/cred_manager/src/account_related/
Daccount_related_cred_plugin.c23 static int32_t ProcessAsyTokens(int32_t osAccountId, int32_t cmdId, CJson *in, CJson *out) in ProcessAsyTokens()
55 static int32_t ProcessSymTokens(int32_t osAccountId, int32_t cmdId, CJson *in, CJson *out) in ProcessSymTokens()
81 static int32_t ProcessAccountCredentials(int32_t osAccountId, int32_t cmdId, CJson *in, CJson *out) in ProcessAccountCredentials()
/base/security/device_auth/frameworks/src/
Dipc_sdk.c270 static int32_t EncodeCreateGroupParams(uintptr_t callCtx, int32_t osAccountId, int64_t requestId, in EncodeCreateGroupParams()
298 static int32_t IpcGmCreateGroup(int32_t osAccountId, int64_t requestId, const char *appId, const ch… in IpcGmCreateGroup()
335 static int32_t EncodeDeleteGroupParams(uintptr_t callCtx, int32_t osAccountId, int64_t requestId, in EncodeDeleteGroupParams()
362 static int32_t IpcGmDeleteGroup(int32_t osAccountId, int64_t requestId, const char *appId, const ch… in IpcGmDeleteGroup()
399 static int32_t EncodeAddMemberParams(uintptr_t callCtx, int32_t osAccountId, int64_t requestId, in EncodeAddMemberParams()
426 static int32_t IpcGmAddMemberToGroup(int32_t osAccountId, int64_t requestId, const char *appId, con… in IpcGmAddMemberToGroup()
463 static int32_t EncodeDeleteMemberParams(uintptr_t callCtx, int32_t osAccountId, int64_t requestId, in EncodeDeleteMemberParams()
490 static int32_t IpcGmDelMemberFromGroup(int32_t osAccountId, int64_t requestId, const char *appId, c… in IpcGmDelMemberFromGroup()
527 static int32_t IpcGmAddMultiMembersToGroup(int32_t osAccountId, const char *appId, const char *addP… in IpcGmAddMultiMembersToGroup()
575 static int32_t IpcGmDelMultiMembersFromGroup(int32_t osAccountId, const char *appId, const char *de… in IpcGmDelMultiMembersFromGroup()
[all …]
Dipc_service.c203 int32_t osAccountId; in IpcServiceGmCreateGroup() local
247 int32_t osAccountId; in IpcServiceGmDelGroup() local
292 int32_t osAccountId; in IpcServiceGmAddMemberToGroup() local
335 int32_t osAccountId; in IpcServiceGmDelMemberFromGroup() local
379 int32_t osAccountId; in IpcServiceGmAddMultiMembersToGroup() local
411 int32_t osAccountId; in IpcServiceGmDelMultiMembersFromGroup() local
504 int32_t osAccountId; in IpcServiceGmCheckAccessToGroup() local
537 int32_t osAccountId; in IpcServiceGmGetPkInfoList() local
582 int32_t osAccountId; in IpcServiceGmGetGroupInfoById() local
624 int32_t osAccountId; in IpcServiceGmGetGroupInfo() local
[all …]
/base/security/device_auth/services/creds_manager/src/
Dcreds_manager.c32 static int32_t GetAccountRelatedCandidateGroups(int32_t osAccountId, const CJson *in, bool isDevice… in GetAccountRelatedCandidateGroups()
47 static int32_t GetAccountUnrelatedCandidateGroups(int32_t osAccountId, bool isDeviceLevel, GroupEnt… in GetAccountUnrelatedCandidateGroups()
83 static int32_t GetAccountUnrelatedIdentityInfo(int32_t osAccountId, const char *groupId, in GetAccountUnrelatedIdentityInfo()
107 static int32_t GetIdentityInfo(int32_t osAccountId, const TrustedGroupEntry *groupEntry, in GetIdentityInfo()
131 static bool IsDeviceInGroup(int32_t osAccountId, int32_t groupType, const char *deviceId, const cha… in IsDeviceInGroup()
141 static void AddNoPseudonymIdentityInfo(int32_t osAccountId, const TrustedGroupEntry *groupEntry, co… in AddNoPseudonymIdentityInfo()
152 static int32_t GetIdentityInfos(int32_t osAccountId, const CJson *in, const GroupEntryVec *groupEnt… in GetIdentityInfos()
215 int32_t osAccountId = INVALID_OS_ACCOUNT; in CheckAndGetP2pCredInfo() local
311 int32_t osAccountId = INVALID_OS_ACCOUNT; in GenerateKeyAliasInIso() local
432 static int32_t GetSelfAuthIdAndUserType(int32_t osAccountId, const char *groupId, Uint8Buff *authId… in GetSelfAuthIdAndUserType()
[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()
175 int32_t GaGetTrustedDeviceEntryById(int32_t osAccountId, const char *deviceId, in GaGetTrustedDeviceEntryById()
209 bool GaIsDeviceInGroup(int32_t groupType, int32_t osAccountId, const char *peerUdid, const char *pe… in GaIsDeviceInGroup()
238 int32_t GaGetLocalDeviceInfo(int32_t osAccountId, const char *groupId, TrustedDeviceEntry *localAut… in GaGetLocalDeviceInfo()
/base/security/device_auth/services/
Ddevice_auth.c94 static const char *GetUdidByGroup(int32_t osAccountId, const char *groupId, const char *deviceIdHas… in GetUdidByGroup()
118 static const char *GetDeviceIdByUdidHash(int32_t osAccountId, const char *deviceIdHash) in GetDeviceIdByUdidHash()
150 static const char *GetPeerUdidFromJson(int32_t osAccountId, const CJson *in) in GetPeerUdidFromJson()
221 int32_t osAccountId; in AddGroupInfoToContextByDb() local
252 int32_t osAccountId; in AddDevInfoToContextByDb() local
294 static int32_t AddClientReqInfoToContext(int32_t osAccountId, int64_t requestId, const char *appId,… in AddClientReqInfoToContext()
349 static int32_t BuildClientBindContext(int32_t osAccountId, int64_t requestId, const char *appId, in BuildClientBindContext()
461 static int32_t StartClientBindSession(int32_t osAccountId, int64_t requestId, const char *appId, in StartClientBindSession()
491 static int32_t AddMemberToGroup(int32_t osAccountId, int64_t requestId, const char *appId, const ch… in AddMemberToGroup()
526 int32_t osAccountId = ANY_OS_ACCOUNT; in AddServerReqInfoToContext() local
[all …]
/base/security/device_auth/services/group_auth/src/group_auth_manager/account_related_group_auth/
Daccount_related_group_auth.c170 static bool IsPeerInIdenticalGroup(int32_t osAccountId, const char *peerUserId) in IsPeerInIdenticalGroup()
200 static void GaGetAccountGroup(int32_t osAccountId, GroupType type, const char *peerUserId, in GaGetAccountGroup()
229 static void GetAccountCandidateGroup(int32_t osAccountId, const CJson *param, in GetAccountCandidateGroup()
251 static int32_t FillAccountCredentialInfo(int32_t osAccountId, const char *peerUdid, const char *gro… in FillAccountCredentialInfo()
283 static int32_t FillAccountAuthInfo(int32_t osAccountId, const TrustedGroupEntry *entry, in FillAccountAuthInfo()
314 static bool IsDeviceImportedByCloud(int32_t osAccountId, const char *peerUdid, const char *groupId) in IsDeviceImportedByCloud()
354 static int32_t QueryAuthGroupForServer(int32_t osAccountId, GroupEntryVec *accountVec, CJson *data) in QueryAuthGroupForServer()
418 static int32_t AddSelfDevInfoForServer(int32_t osAccountId, const TrustedGroupEntry *groupEntry, CJ… in AddSelfDevInfoForServer()
465 int32_t osAccountId = INVALID_OS_ACCOUNT; in AddSelfAccountInfoForServer() local
588 int32_t osAccountId = ANY_OS_ACCOUNT; in AddTrustedDeviceForAccount() local
/base/security/device_auth/services/frameworks/src/os_account_adapter/
Dos_account_adapter.cpp38 int osAccountId = activatedOsAccountIds[0]; in DevAuthGetRealOsAccountLocalId() local
/base/security/device_auth/services/session_manager/src/session/v1/compatible_bind_sub_session/
Dcompatible_bind_sub_session_common.c131 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()
336 static int32_t AddGroupAndDevInfo(int32_t osAccountId, int isClient, const CJson *jsonParams, in AddGroupAndDevInfo()
573 int32_t GenerateBaseBindParams(int32_t osAccountId, int isClient, const CJson *jsonParams, in GenerateBaseBindParams()
/base/security/device_auth/services/session_manager/src/session/v2/
Ddev_session_util.c26 static TrustedDeviceEntry *GetPeerDeviceEntryByContext(int32_t osAccountId, const CJson *context) in GetPeerDeviceEntryByContext()
50 int32_t osAccountId; in GetPdidByContext() local
129 static int32_t GetRealPkInfoJson(int32_t osAccountId, CJson *pkInfoJson, CJson **realPkInfoJson) in GetRealPkInfoJson()
220 int32_t osAccountId; in SetPeerAuthIdByDb() local
390 int32_t osAccountId; in CheckPeerPkInfoForPdid() local
428 int32_t GetRealPkInfoStr(int32_t osAccountId, const CJson *credInfo, char **returnPkInfoStr, bool *… in GetRealPkInfoStr()
512 TrustedDeviceEntry *GetDeviceEntryById(int32_t osAccountId, const char *deviceId, bool isUdid, in GetDeviceEntryById()
/base/security/device_auth/services/group_manager/inc/
Dbase_group_manager_task.h26 int32_t osAccountId; member
34 int32_t osAccountId; member
/base/security/device_auth/services/session_manager/src/session/v1/compatible_auth_sub_session/
Dcompatible_auth_sub_session_common.c30 static void GetAccountRelatedCandidateGroups(int32_t osAccountId, const CJson *param, bool isDevice… in GetAccountRelatedCandidateGroups()
48 static void GetAccountUnrelatedCandidateGroups(int32_t osAccountId, bool isDeviceLevel, bool isClie… in GetAccountUnrelatedCandidateGroups()
65 static void GetCandidateGroups(int32_t osAccountId, const CJson *param, GroupEntryVec *vec) in GetCandidateGroups()
81 static void GetGroupInfoByGroupId(int32_t osAccountId, const char *groupId, in GetGroupInfoByGroupId()
118 static int32_t ExtractAndAddParams(int32_t osAccountId, const char *groupId, in ExtractAndAddParams()
152 static int32_t FillAuthParams(int32_t osAccountId, const CJson *param, in FillAuthParams()
195 static int32_t GetCandidateAuthInfo(int32_t osAccountId, const char *groupId, in GetCandidateAuthInfo()
490 int32_t GetAuthParamsVec(int32_t osAccountId, const CJson *param, ParamsVecForAuth *authParamsVec) in GetAuthParamsVec()
/base/security/device_auth/test/fuzztest/group_manage/checkaccess_fuzzer/
Dcheckaccess_fuzzer.cpp31 const int32_t *osAccountId = reinterpret_cast<const int32_t *>(data); in FuzzDoCheckAccessToGroup() local
/base/security/device_auth/test/fuzztest/group_manage/isdeviceingroup_fuzzer/
Disdeviceingroup_fuzzer.cpp31 const int32_t *osAccountId = reinterpret_cast<const int32_t *>(data); in FuzzDoIsDeviceInGroup() local

123