Searched refs:returnEntry (Results 1 – 4 of 4) sorted by relevance
/base/security/device_auth/services/group_auth/src/group_auth_manager/ |
D | group_auth_data_operation.c | 27 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/ |
D | data_manager.c | 219 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/ |
D | data_manager.h | 89 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/ |
D | group_operation_common.c | 93 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()
|