Home
last modified time | relevance | path

Searched refs:appIdLen (Results 1 - 7 of 7) sorted by relevance

/base/security/asset/services/os_dependency/src/
H A Dbms_wrapper.cpp59 if (memcpy_s(processInfo->hapInfo.appId, processInfo->hapInfo.appIdLen, bundleInfo.appId.c_str(), in GetHapProcessInfo()
62 bundleInfo.appId.size(), processInfo->hapInfo.appIdLen); in GetHapProcessInfo()
65 processInfo->hapInfo.appIdLen = bundleInfo.appId.size(); in GetHapProcessInfo()
/base/security/asset/services/os_dependency/inc/
H A Dbms_wrapper.h32 uint32_t appIdLen; member
/base/security/device_auth/services/legacy/group_manager/src/callback_manager/
H A Dcallback_manager.c62 uint32_t appIdLen = HcStrlen(appId) + 1; in AddCallbackIfNotExist() local
63 char *copyAppId = (char *)HcMalloc(appIdLen, 0); in AddCallbackIfNotExist()
68 if (strcpy_s(copyAppId, appIdLen, appId) != EOK) { in AddCallbackIfNotExist()
/base/security/device_auth/services/legacy/group_manager/src/broadcast_manager/
H A Dbroadcast_manager.c182 uint32_t appIdLen = HcStrlen(appId) + 1; in AddListenerIfNotExist() local
183 char *copyAppId = (char *)HcMalloc(appIdLen, 0); in AddListenerIfNotExist()
188 if (strcpy_s(copyAppId, appIdLen, appId) != HC_SUCCESS) { in AddListenerIfNotExist()
/base/security/device_auth/services/session_manager/src/session/v2/expand_sub_session/expand_process_lib/
H A Dauth_code_import.c148 uint32_t appIdLen = HcStrlen(appId); in CalServiceId() local
150 serviceIdPlain.length = appIdLen + groupIdLen; in CalServiceId()
156 if (memcpy_s(serviceIdPlain.val, serviceIdPlain.length, appId, appIdLen) != EOK) { in CalServiceId()
161 if (memcpy_s(serviceIdPlain.val + appIdLen, serviceIdPlain.length - appIdLen, groupId, groupIdLen) != EOK) { in CalServiceId()
H A Dpub_key_exchange.c148 uint32_t appIdLen = HcStrlen(appId); in CalServiceId() local
150 serviceIdPlain.length = appIdLen + groupIdLen; in CalServiceId()
156 if (memcpy_s(serviceIdPlain.val, serviceIdPlain.length, appId, appIdLen) != EOK) { in CalServiceId()
161 if (memcpy_s(serviceIdPlain.val + appIdLen, serviceIdPlain.length - appIdLen, groupId, groupIdLen) != EOK) { in CalServiceId()
/base/security/device_auth/services/session_manager/src/session/v1/compatible_bind_sub_session/
H A Dcompatible_bind_sub_session.c92 uint32_t appIdLen = HcStrlen(appId); in GetDuplicateAppId() local
93 *returnAppId = (char *)HcMalloc(appIdLen + 1, 0); in GetDuplicateAppId()
98 if (memcpy_s(*returnAppId, appIdLen + 1, appId, appIdLen) != EOK) { in GetDuplicateAppId()

Completed in 6 milliseconds