Home
last modified time | relevance | path

Searched refs:StringSetPointer (Results 1 – 18 of 18) sorted by relevance

/base/security/device_auth/test/unittest/deviceauth/unit_test/source/
Daccount_related_group_auth_dir_test.cpp373 (void)StringSetPointer(&entry->userId, "selfUserId"); // For unit test.
402 (void)StringSetPointer(&entry->userId, "selfUserId"); // For unit test.
405 (void)StringSetPointer(&entry->id, "groupId"); // For unit test.
434 (void)StringSetPointer(&entry->userId, "selfUserId"); // For unit test.
437 (void)StringSetPointer(&entry->id, "groupId"); // For unit test.
440 (void)StringSetPointer(&localAuthInfo->udid, "selfDeviceId"); // For unit test.
468 (void)StringSetPointer(&entry->userId, "selfUserId");
470 (void)StringSetPointer(&entry->id, "groupId");
473 (void)StringSetPointer(&localAuthInfo->udid, "selfDeviceId");
475 (void)StringSetPointer(&localAuthInfo->udid, "selfDevId");
Dcommon_lib_test.cpp284 HcBool ret = StringSetPointer(&srcStr, TEST_STR);
302 ret = StringSetPointer(nullptr, TEST_STR);
304 ret = StringSetPointer(&selfStr, TEST_STR);
/base/security/device_auth/services/session_manager/src/session/v2/expand_sub_session/expand_process_lib/
Dsave_trusted_info.c244 if (!StringSetPointer(&groupParams->name, params->groupName)) { in GenerateGroupParams()
248 if (!StringSetPointer(&groupParams->id, params->groupId)) { in GenerateGroupParams()
253 if (!StringSetPointer(&ownerName, params->appId)) { in GenerateGroupParams()
271 if (!StringSetPointer(&devParams->groupId, params->groupId)) { in GeneratePeerDevParams()
275 if (!StringSetPointer(&devParams->udid, params->udidPeer)) { in GeneratePeerDevParams()
279 if (!StringSetPointer(&devParams->authId, params->authIdPeer)) { in GeneratePeerDevParams()
283 if (params->userIdPeer != NULL && !StringSetPointer(&devParams->userId, params->userIdPeer)) { in GeneratePeerDevParams()
287 if (!StringSetPointer(&devParams->serviceType, params->groupId)) { in GeneratePeerDevParams()
299 if (!StringSetPointer(&devParams->udid, params->udidSelf)) { in GenerateSelfDevParams()
303 if (!StringSetPointer(&devParams->authId, params->authIdSelf)) { in GenerateSelfDevParams()
[all …]
/base/security/device_auth/common_lib/interfaces/
Dhc_string.h72 HcBool StringSetPointer(HcString *self, const char *str);
/base/security/crypto_framework/common/inc/
Dhcf_string.h45 bool StringSetPointer(HcString *self, const char *str);
/base/security/device_auth/services/group_manager/src/group_operation/
Dgroup_operation_common.c623 if (!StringSetPointer(&groupParams->name, groupName)) { in AddGroupNameToParams()
632 if (!StringSetPointer(&groupParams->id, groupId)) { in AddGroupIdToParams()
642 if (!StringSetPointer(&ownerName, owner)) { in AddGroupOwnerToParams()
685 if (!StringSetPointer(&groupParams->userId, userId)) { in AddUserIdToGroupParams()
701 if (!StringSetPointer(&groupParams->sharedUserId, sharedUserId)) { in AddSharedUserIdToGroupParams()
718 if (!StringSetPointer(&devParams->udid, udid)) { in AddSelfUdidToParams()
732 if (!StringSetPointer(&devParams->udid, udid)) { in AddUdidToParams()
752 if (!StringSetPointer(&devParams->authId, authId)) { in AddAuthIdToParamsOrDefault()
766 if (!StringSetPointer(&devParams->authId, authId)) { in AddAuthIdToParams()
800 if (!StringSetPointer(&devParams->serviceType, groupId)) { in AddServiceTypeToParams()
[all …]
/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/session_manager/session/v2/expand_sub_session/expand_process_lib/
Dsave_trusted_info_test.cpp94 if (!StringSetPointer(&groupParams->name, params->groupName)) { in GenerateGroupParams()
97 if (!StringSetPointer(&groupParams->id, params->groupId)) { in GenerateGroupParams()
101 if (!StringSetPointer(&ownerName, params->appId)) { in GenerateGroupParams()
117 if (!StringSetPointer(&devParams->udid, params->udidSelf)) { in GenerateSelfDevParams()
120 if (!StringSetPointer(&devParams->authId, params->authIdSelf)) { in GenerateSelfDevParams()
123 if (!StringSetPointer(&devParams->groupId, params->groupId)) { in GenerateSelfDevParams()
126 if (!StringSetPointer(&devParams->serviceType, params->groupId)) { in GenerateSelfDevParams()
/base/security/device_auth/common_lib/impl/src/
Dhc_string.c107 HcBool StringSetPointer(HcString *self, const char *str) in StringSetPointer() function
/base/security/device_auth/deps_adapter/os_adapter/impl/src/liteos/mini/
Dhc_file.c119 if (!StringSetPointer(&subFileName, "hcgroup.dat")) { in HcFileGetSubFileName()
Dhc_file_posix.c208 if (!StringSetPointer(&subFileName, entry->d_name)) { in HcFileGetSubFileName()
/base/security/device_auth/services/group_auth/src/group_auth_manager/account_related_group_auth/
Daccount_related_group_auth.c575 if (!StringSetPointer(&(devEntry->userId), peerUserId) || in PrepareTrustedDeviceInfo()
576 !StringSetPointer(&(devEntry->udid), peerUdid) || in PrepareTrustedDeviceInfo()
577 !StringSetPointer(&(devEntry->authId), peerAuthId) || in PrepareTrustedDeviceInfo()
578 !StringSetPointer(&(devEntry->groupId), groupId) || in PrepareTrustedDeviceInfo()
579 !StringSetPointer(&(devEntry->serviceType), groupId)) { in PrepareTrustedDeviceInfo()
/base/security/device_auth/services/session_manager/src/session/v1/compatible_bind_sub_session/
Dcompatible_bind_sub_session.c288 if (!StringSetPointer(&groupParams->id, groupId)) { in SetGroupId()
302 if (!StringSetPointer(&groupParams->name, groupName)) { in SetGroupName()
312 if (!StringSetPointer(&ownerName, ownerAppId)) { in SetGroupOwner()
388 StringSetPointer(&(devAuthParams->authId), authId); in GenerateDevAuthParams()
389 StringSetPointer(&(devAuthParams->udid), udid); in GenerateDevAuthParams()
390 StringSetPointer(&(devAuthParams->groupId), groupId); in GenerateDevAuthParams()
391 StringSetPointer(&(devAuthParams->serviceType), groupId); in GenerateDevAuthParams()
/base/security/crypto_framework/common/src/
Dhcf_string.c51 bool StringSetPointer(HcString *self, const char *str) in StringSetPointer() function
Dparams_parser.c131 if (!StringSetPointer(&str, paramsStr)) { in ParseAndSetParameter()
/base/security/device_auth/deps_adapter/os_adapter/impl/src/linux/
Dhc_thread.c122 if (StringSetPointer(&thread->name, threadName) != HC_TRUE) { in InitThread()
Dhc_file.c199 if (!StringSetPointer(&subFileName, entry->d_name)) { in HcFileGetSubFileName()
/base/security/device_auth/deps_adapter/os_adapter/impl/src/liteos/
Dhc_thread.c124 if (StringSetPointer(&thread->name, threadName) != HC_TRUE) { in InitThread()
/base/security/crypto_framework/test/unittest/src/
Dcrypto_common_cov_test.cpp404 bool ret = StringSetPointer(nullptr, nullptr);