Home
last modified time | relevance | path

Searched refs:returnEntry (Results 1 – 8 of 8) sorted by relevance

/base/security/device_auth/services/group_auth/src/group_auth_manager/
Dgroup_auth_data_operation.c26 static bool GaDeepCopyDeviceEntry(const TrustedDeviceEntry *entry, TrustedDeviceEntry *returnEntry) in GaDeepCopyDeviceEntry() argument
28 returnEntry->groupEntry = NULL; in GaDeepCopyDeviceEntry()
29 if (!StringSet(&returnEntry->groupId, entry->groupId)) { in GaDeepCopyDeviceEntry()
33 if (!StringSet(&returnEntry->udid, entry->udid)) { in GaDeepCopyDeviceEntry()
37 if (!StringSet(&returnEntry->authId, entry->authId)) { in GaDeepCopyDeviceEntry()
41 if (!StringSet(&returnEntry->serviceType, entry->serviceType)) { in GaDeepCopyDeviceEntry()
45 if (!StringSet(&returnEntry->userId, entry->userId)) { in GaDeepCopyDeviceEntry()
49 returnEntry->credential = entry->credential; in GaDeepCopyDeviceEntry()
50 returnEntry->devType = entry->devType; in GaDeepCopyDeviceEntry()
51 returnEntry->lastTm = entry->lastTm; in GaDeepCopyDeviceEntry()
[all …]
/base/security/device_auth/services/data_manager/src/
Ddata_manager.c221 bool GenerateGroupEntryFromEntry(const TrustedGroupEntry *entry, TrustedGroupEntry *returnEntry) in GenerateGroupEntryFromEntry() argument
228 if (!StringSet(&returnEntry->name, entry->name)) { in GenerateGroupEntryFromEntry()
232 if (!StringSet(&returnEntry->id, entry->id)) { in GenerateGroupEntryFromEntry()
236 if (!StringSet(&returnEntry->userId, entry->userId)) { in GenerateGroupEntryFromEntry()
240 if (!StringSet(&returnEntry->sharedUserId, entry->sharedUserId)) { in GenerateGroupEntryFromEntry()
244 returnEntry->type = entry->type; in GenerateGroupEntryFromEntry()
245 returnEntry->visibility = entry->visibility; in GenerateGroupEntryFromEntry()
246 returnEntry->expireTime = entry->expireTime; in GenerateGroupEntryFromEntry()
253 if (returnEntry->managers.pushBack(&returnEntry->managers, &ownerName) == NULL) { in GenerateGroupEntryFromEntry()
261 bool GenerateDeviceEntryFromEntry(const TrustedDeviceEntry *entry, TrustedDeviceEntry *returnEntry) in GenerateDeviceEntryFromEntry() argument
[all …]
/base/security/device_auth/services/data_manager/inc/
Ddata_manager.h89 bool GenerateGroupEntryFromEntry(const TrustedGroupEntry *entry, TrustedGroupEntry *returnEntry);
90 bool GenerateDeviceEntryFromEntry(const TrustedDeviceEntry *entry, TrustedDeviceEntry *returnEntry);
/base/security/device_auth/services/session_manager/src/session/v2/expand_sub_session/expand_process_lib/
Dsave_trusted_info.c110 TrustedGroupEntry *returnEntry = DeepCopyGroupEntry(*entry); in GetGroupEntryById() local
112 return returnEntry; in GetGroupEntryById()
408 TrustedDeviceEntry *returnEntry = DeepCopyDeviceEntry(*deviceEntry); in GetTrustedDeviceEntryById() local
410 return returnEntry; in GetTrustedDeviceEntryById()
/base/security/device_auth/services/session_manager/src/session/v2/
Ddev_session_util.c531 TrustedDeviceEntry *returnEntry = DeepCopyDeviceEntry(*deviceEntry); in GetDeviceEntryById() local
533 return returnEntry; in GetDeviceEntryById()
Ddev_session_v2.c920 TrustedGroupEntry *returnEntry = DeepCopyGroupEntry(*entry); in GetGroupEntryById() local
922 return returnEntry; in GetGroupEntryById()
/base/security/device_auth/services/group_manager/src/group_operation/
Dgroup_operation_common.c92 TrustedDeviceEntry *returnEntry = DeepCopyDeviceEntry(*deviceEntry); in GetTrustedDeviceEntryById() local
94 return returnEntry; in GetTrustedDeviceEntryById()
117 TrustedGroupEntry *returnEntry = DeepCopyGroupEntry(*entry); in GetGroupEntryById() local
119 return returnEntry; in GetGroupEntryById()
/base/security/device_auth/services/creds_manager/src/account_related/
Daccount_related_creds_manager.c75 TrustedGroupEntry *returnEntry = DeepCopyGroupEntry(groupEntryVec.get(&groupEntryVec, 0)); in GetSelfGroupEntryByPeerCert() local
77 return returnEntry; in GetSelfGroupEntryByPeerCert()