Home
last modified time | relevance | path

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

12

/base/security/device_auth/services/group_manager/src/
Dgroup_manager.c22 int32_t CreateGroupImpl(int32_t osAccountId, int64_t requestId, const char *appId, const char *crea… in CreateGroupImpl()
28 int32_t DeleteGroupImpl(int32_t osAccountId, int64_t requestId, const char *appId, const char *disb… in DeleteGroupImpl()
34 int32_t AddMemberToGroupImpl(int32_t osAccountId, int64_t requestId, const char *appId, const char … in AddMemberToGroupImpl()
40 int32_t DeleteMemberFromGroupImpl(int32_t osAccountId, int64_t requestId, const char *appId, const … in DeleteMemberFromGroupImpl()
46 int32_t AddMultiMembersToGroupImpl(int32_t osAccountId, const char *appId, const char *addParams) in AddMultiMembersToGroupImpl()
52 int32_t DelMultiMembersFromGroupImpl(int32_t osAccountId, const char *appId, const char *deletePara… in DelMultiMembersFromGroupImpl()
73 int32_t CheckAccessToGroupImpl(int32_t osAccountId, const char *appId, const char *groupId) in CheckAccessToGroupImpl()
79 int32_t GetGroupInfoByIdImpl(int32_t osAccountId, const char *appId, const char *groupId, char **re… in GetGroupInfoByIdImpl()
85 int32_t GetGroupInfoImpl(int32_t osAccountId, const char *appId, const char *queryParams, in GetGroupInfoImpl()
92 int32_t GetJoinedGroupsImpl(int32_t osAccountId, const char *appId, int groupType, in GetJoinedGroupsImpl()
[all …]
/base/security/device_auth/services/group_manager/src/group_operation/identical_account_group/
Didentical_account_group.c113 static int32_t CheckCreateParams(int32_t osAccountId, const CJson *jsonParams) in CheckCreateParams()
132 static int32_t DelDeviceById(int32_t osAccountId, const char *groupId, const char *deviceId, bool i… in DelDeviceById()
144 static int32_t ImportSelfToken(int32_t osAccountId, CJson *jsonParams) in ImportSelfToken()
178 static int32_t DelSelfToken(int32_t osAccountId, CJson *jsonParams) in DelSelfToken()
228 static int32_t DelDeviceToken(int32_t osAccountId, const TrustedDeviceEntry *entry, bool isLocalDev) in DelDeviceToken()
246 static void DelAllTokens(int32_t osAccountId, const DeviceEntryVec *vec) in DelAllTokens()
266 static void DelAllPeerTokens(int32_t osAccountId, const DeviceEntryVec *vec) in DelAllPeerTokens()
282 static int32_t DelAcrossAccountGroupAndTokens(int32_t osAccountId, const char *groupId) in DelAcrossAccountGroupAndTokens()
292 static int32_t GetRelatedAcrossAccountGroups(int32_t osAccountId, const char *groupId, GroupEntryVe… in GetRelatedAcrossAccountGroups()
307 static int32_t DelRelatedAcrossAccountGroups(int32_t osAccountId, const char *groupId) in DelRelatedAcrossAccountGroups()
[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/group_manager/src/group_operation/peer_to_peer_group/
Dpeer_to_peer_group.c29 static bool IsSameNameGroupExist(int32_t osAccountId, const char *ownerName, const char *groupName) in IsSameNameGroupExist()
52 static int32_t CheckGroupName(int32_t osAccountId, const char *appId, const CJson *jsonParams) in CheckGroupName()
116 static int32_t CheckCreateParams(int32_t osAccountId, const CJson *jsonParams) in CheckCreateParams()
172 static int32_t CreateGroupInner(int32_t osAccountId, const CJson *jsonParams, char **returnGroupId) in CreateGroupInner()
189 static int32_t GetPeerDevUserTypeFromDb(int32_t osAccountId, const char *groupId, const char *peerA… in GetPeerDevUserTypeFromDb()
207 static int32_t DelPeerDevAndKeyInfo(int32_t osAccountId, const char *groupId, const char *peerAuthI… in DelPeerDevAndKeyInfo()
237 static int32_t DelAllPeerDevAndKeyInfo(int32_t osAccountId, const char *groupId) in DelAllPeerDevAndKeyInfo()
267 static int32_t AddAuthIdAndUserTypeToParams(int32_t osAccountId, const char *groupId, CJson *jsonPa… in AddAuthIdAndUserTypeToParams()
303 static int32_t DelGroupAndSelfKeyInfo(int32_t osAccountId, const char *groupId, CJson *jsonParams) in DelGroupAndSelfKeyInfo()
339 int32_t osAccountId; in HandleLocalUnbind() local
[all …]
/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.c31 int32_t osAccountId; member
89 static bool GetTokenPath(int32_t osAccountId, char *tokenPath, uint32_t pathBufferLen) in GetTokenPath()
188 static int32_t OpenTokenFile(int32_t osAccountId, FileHandle *file, int32_t mode) in OpenTokenFile()
205 static int32_t ReadTokensFromFile(int32_t osAccountId, AccountTokenVec *vec) in ReadTokensFromFile()
250 static int32_t WriteTokensJsonToFile(int32_t osAccountId, CJson *tokensJson) in WriteTokensJsonToFile()
300 static int32_t SaveTokensToFile(int32_t osAccountId, const AccountTokenVec *vec) in SaveTokensToFile()
542 static OsAccountTokenInfo *GetTokenInfoByOsAccountId(int32_t osAccountId) in GetTokenInfoByOsAccountId()
592 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/group_manager/src/group_operation/
Dgroup_operation.c50 static void RemoveNoPermissionGroup(int32_t osAccountId, GroupEntryVec *groupEntryVec, const char *… in RemoveNoPermissionGroup()
196 static int32_t QueryRelatedGroupsForGetPk(int32_t osAccountId, const char *udid, GroupEntryVec *ret… in QueryRelatedGroupsForGetPk()
278 static int32_t GeneratePkInfo(int32_t osAccountId, const char *queryUdid, const char *groupId, CJso… in GeneratePkInfo()
302 static void AddAllPkInfoToList(int32_t osAccountId, const char *queryUdid, const GroupEntryVec *gro… in AddAllPkInfoToList()
356 static int32_t GeneratePkInfoList(int32_t osAccountId, const CJson *params, CJson *pkInfoList) in GeneratePkInfoList()
418 static int32_t CreateGroup(int32_t osAccountId, CJson *jsonParams, char **returnJsonStr) in CreateGroup()
437 static int32_t DeleteGroup(int32_t osAccountId, CJson *jsonParams, char **returnJsonStr) in DeleteGroup()
462 static int32_t AddMemberToPeerToPeerGroup(int32_t osAccountId, int64_t requestId, CJson *jsonParams, in AddMemberToPeerToPeerGroup()
481 static int32_t DeleteMemberFromPeerToPeerGroup(int32_t osAccountId, int64_t requestId, CJson *jsonP… in DeleteMemberFromPeerToPeerGroup()
618 static int32_t RequestCreateGroup(int32_t osAccountId, int64_t requestId, const char *appId, const … in RequestCreateGroup()
[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()
102 TrustedGroupEntry *GetGroupEntryById(int32_t osAccountId, const char *groupId) in GetGroupEntryById()
129 bool IsTrustedDeviceInGroup(int32_t osAccountId, const char *groupId, const char *deviceId, bool is… in IsTrustedDeviceInGroup()
143 int32_t CheckGroupNumLimit(int32_t osAccountId, int32_t groupType, const char *appId) in CheckGroupNumLimit()
165 bool IsGroupOwner(int32_t osAccountId, const char *groupId, const char *appId) in IsGroupOwner()
191 bool IsGroupExistByGroupId(int32_t osAccountId, const char *groupId) in IsGroupExistByGroupId()
205 int32_t CheckGroupAccessible(int32_t osAccountId, const char *groupId, const char *appId) in CheckGroupAccessible()
226 int32_t CheckGroupEditAllowed(int32_t osAccountId, const char *groupId, const char *appId) in CheckGroupEditAllowed()
245 int32_t GetGroupInfo(int32_t osAccountId, int groupType, const char *groupId, const char *groupName, in GetGroupInfo()
[all …]
/base/security/device_auth/services/group_auth/src/group_auth_manager/
Dgroup_auth_data_operation.c121 static int32_t GetGroupEntryById(int32_t osAccountId, const char *groupId, TrustedGroupEntry *retur… in GetGroupEntryById()
151 bool GaIsGroupAccessible(int32_t osAccountId, const char *groupId, const char *appId) in GaIsGroupAccessible()
178 int32_t GaGetTrustedDeviceEntryById(int32_t osAccountId, const char *deviceId, in GaGetTrustedDeviceEntryById()
214 bool GaIsDeviceInGroup(int32_t groupType, int32_t osAccountId, const char *peerUdid, const char *pe… in GaIsDeviceInGroup()
243 int32_t GaGetLocalDeviceInfo(int32_t osAccountId, const char *groupId, TrustedDeviceEntry *localAut… in GaGetLocalDeviceInfo()
/base/security/device_auth/services/group_auth/src/group_auth_manager/account_related_group_auth/
Daccount_related_group_auth.c107 static bool IsPeerInIdenticalGroup(int32_t osAccountId, const char *peerUserId) in IsPeerInIdenticalGroup()
137 static void GaGetAccountGroup(int32_t osAccountId, GroupType type, const char *peerUserId, in GaGetAccountGroup()
166 static void GetAccountCandidateGroup(int32_t osAccountId, const CJson *param, in GetAccountCandidateGroup()
188 static int32_t FillAccountCredentialInfo(int32_t osAccountId, const char *peerUdid, const char *gro… in FillAccountCredentialInfo()
220 static int32_t FillAccountAuthInfo(int32_t osAccountId, const TrustedGroupEntry *entry, in FillAccountAuthInfo()
251 static bool IsDeviceImportedByCloud(int32_t osAccountId, const char *peerUdid, const char *groupId) in IsDeviceImportedByCloud()
272 static int32_t DeleteExistedDeviceInfoInDb(int32_t osAccountId, const CJson *authParam) in DeleteExistedDeviceInfoInDb()
324 int32_t osAccountId = ANY_OS_ACCOUNT; in OnAccountError() local
379 static int32_t QueryAuthGroupForServer(int32_t osAccountId, GroupEntryVec *accountVec, CJson *data) in QueryAuthGroupForServer()
443 static int32_t AddSelfDevInfoForServer(int32_t osAccountId, const TrustedGroupEntry *groupEntry, CJ… in AddSelfDevInfoForServer()
[all …]
/base/security/device_auth/frameworks/src/
Dipc_sdk.c282 static int32_t IpcGmCreateGroup(int32_t osAccountId, int64_t requestId, const char *appid, const ch… in IpcGmCreateGroup()
343 static int32_t IpcGmDelGroup(int32_t osAccountId, int64_t requestId, const char *appId, const char … in IpcGmDelGroup()
404 static int32_t IpcGmAddMemberToGroup(int32_t osAccountId, int64_t requestId, const char *appId, con… in IpcGmAddMemberToGroup()
464 static int32_t IpcGmDelMemberFromGroup(int32_t osAccountId, int64_t requestId, const char *appId, c… in IpcGmDelMemberFromGroup()
524 static int32_t IpcGmAddMultiMembersToGroup(int32_t osAccountId, const char *appId, const char *addP… in IpcGmAddMultiMembersToGroup()
576 static int32_t IpcGmDelMultiMembersFromGroup(int32_t osAccountId, const char *appId, const char *de… in IpcGmDelMultiMembersFromGroup()
735 static int32_t IpcGmCheckAccessToGroup(int32_t osAccountId, const char *appId, const char *groupId) in IpcGmCheckAccessToGroup()
812 static int32_t IpcGmGetPkInfoList(int32_t osAccountId, const char *appId, const char *queryParams, in IpcGmGetPkInfoList()
896 static int32_t IpcGmGetGroupInfoById(int32_t osAccountId, const char *appId, const char *groupId, c… in IpcGmGetGroupInfoById()
980 static int32_t IpcGmGetGroupInfo(int32_t osAccountId, const char *appId, const char *queryParams, in IpcGmGetGroupInfo()
[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/frameworks/src/os_account_adapter/
Dos_account_adapter.cpp37 int osAccountId = activatedOsAccountIds[0]; in DevAuthGetRealOsAccountLocalId() local
/base/security/device_auth/services/frameworks/src/hiview_adapter/
Ddev_auth_hievent.c27 void ReportHiEventCoreFuncInvoke(int32_t eventId, int32_t osAccountId, CJson *params, int32_t resul… in ReportHiEventCoreFuncInvoke()
/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
/base/security/device_auth/services/authenticators/src/account_related/
Daccount_module.c130 static int32_t ProcessAsyTokens(int32_t osAccountId, int32_t opCode, CJson *in, CJson *out) in ProcessAsyTokens()
162 static int32_t ProcessSymTokens(int32_t osAccountId, int32_t opCode, CJson *in, CJson *out) in ProcessSymTokens()
217 int32_t ProcessAccountCredentials(int32_t osAccountId, int32_t opCode, CJson *in, CJson *out) in ProcessAccountCredentials()
/base/security/device_auth/services/data_manager/src/
Ddata_manager.c113 int32_t osAccountId; member
176 static OsAccountTrustedInfo *GetTrustedInfoByOsAccountId(int32_t osAccountId) in GetTrustedInfoByOsAccountId()
199 static bool GetOsAccountInfoPath(int32_t osAccountId, char *infoPath, uint32_t pathBufferLen) in GetOsAccountInfoPath()
430 static bool ReadParcelFromFile(int32_t osAccountId, HcParcel *parcel) in ReadParcelFromFile()
470 static void LoadOsAccountDb(int32_t osAccountId) in LoadOsAccountDb()
503 int32_t osAccountId; in LoadDeviceAuthDb() local
910 int32_t AddGroup(int32_t osAccountId, const TrustedGroupEntry *groupEntry) in AddGroup()
951 int32_t AddTrustedDevice(int32_t osAccountId, const TrustedDeviceEntry *deviceEntry) in AddTrustedDevice()
993 int32_t DelGroup(int32_t osAccountId, const QueryGroupParams *params) in DelGroup()
1027 int32_t DelTrustedDevice(int32_t osAccountId, const QueryDeviceParams *params) in DelTrustedDevice()
[all …]
/base/security/device_auth/test/fuzztest/group_manage/deletegroup_fuzzer/
Ddeletegroup_fuzzer.cpp31 const int32_t *osAccountId = reinterpret_cast<const int32_t *>(data); in FuzzDoDeleteGroup() local
/base/security/device_auth/test/fuzztest/group_manage/addmember_fuzzer/
Daddmember_fuzzer.cpp31 const int32_t *osAccountId = reinterpret_cast<const int32_t *>(data); in FuzzDoAddMemberToGroup() local
/base/security/device_auth/test/fuzztest/group_manage/getdeviceinfobyid_fuzzer/
Dgetdeviceinfobyid_fuzzer.cpp31 const int32_t *osAccountId = reinterpret_cast<const int32_t *>(data); in FuzzDoGetDeviceInfoById() local
/base/security/device_auth/test/fuzztest/group_manage/deletemember_fuzzer/
Ddeletemember_fuzzer.cpp31 const int32_t *osAccountId = reinterpret_cast<const int32_t *>(data); in FuzzDoDeleteMember() local
/base/security/device_auth/test/fuzztest/group_manage/getgroupinfobyid_fuzzer/
Dgetgroupinfobyid_fuzzer.cpp31 const int32_t *osAccountId = reinterpret_cast<const int32_t *>(data); in FuzzDoGetGroupInfoById() local
/base/security/device_auth/test/fuzztest/group_manage/creategroup_fuzzer/
Dcreategroup_fuzzer.cpp31 const int32_t *osAccountId = reinterpret_cast<const int32_t *>(data); in FuzzDoCreateGroup() local
/base/security/device_auth/services/group_manager/inc/
Dbase_group_manager_task.h26 int32_t osAccountId; member
40 int32_t osAccountId; member

12