Home
last modified time | relevance | path

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

/base/security/device_auth/services/group_auth/src/group_auth_manager/
Dgroup_auth_data_operation.c27 static bool GaDeepCopyDeviceEntry(const TrustedDeviceEntry *entry, TrustedDeviceEntry *returnEntry) in GaDeepCopyDeviceEntry() argument
29 returnEntry->groupEntry = NULL; in GaDeepCopyDeviceEntry()
30 if (!StringSet(&returnEntry->groupId, entry->groupId)) { in GaDeepCopyDeviceEntry()
34 if (!StringSet(&returnEntry->udid, entry->udid)) { in GaDeepCopyDeviceEntry()
38 if (!StringSet(&returnEntry->authId, entry->authId)) { in GaDeepCopyDeviceEntry()
42 if (!StringSet(&returnEntry->serviceType, entry->serviceType)) { in GaDeepCopyDeviceEntry()
46 if (!StringSet(&returnEntry->userId, entry->userId)) { in GaDeepCopyDeviceEntry()
50 returnEntry->credential = entry->credential; in GaDeepCopyDeviceEntry()
51 returnEntry->devType = entry->devType; in GaDeepCopyDeviceEntry()
52 returnEntry->lastTm = entry->lastTm; in GaDeepCopyDeviceEntry()
[all …]
/base/security/device_auth/services/data_manager/src/
Ddata_manager.c219 bool GenerateGroupEntryFromEntry(const TrustedGroupEntry *entry, TrustedGroupEntry *returnEntry) in GenerateGroupEntryFromEntry() argument
226 if (!StringSet(&returnEntry->name, entry->name)) { in GenerateGroupEntryFromEntry()
230 if (!StringSet(&returnEntry->id, entry->id)) { in GenerateGroupEntryFromEntry()
234 if (!StringSet(&returnEntry->userId, entry->userId)) { in GenerateGroupEntryFromEntry()
238 if (!StringSet(&returnEntry->sharedUserId, entry->sharedUserId)) { in GenerateGroupEntryFromEntry()
242 returnEntry->type = entry->type; in GenerateGroupEntryFromEntry()
243 returnEntry->visibility = entry->visibility; in GenerateGroupEntryFromEntry()
244 returnEntry->expireTime = entry->expireTime; in GenerateGroupEntryFromEntry()
251 if (returnEntry->managers.pushBack(&returnEntry->managers, &ownerName) == NULL) { in GenerateGroupEntryFromEntry()
259 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/group_manager/src/group_operation/
Dgroup_operation_common.c93 TrustedDeviceEntry *returnEntry = DeepCopyDeviceEntry(*deviceEntry); in GetTrustedDeviceEntryById() local
95 return returnEntry; in GetTrustedDeviceEntryById()
120 TrustedGroupEntry *returnEntry = DeepCopyGroupEntry(*entry); in GetGroupEntryById() local
122 return returnEntry; in GetGroupEntryById()