Searched refs:versionInfo (Results 1 – 8 of 8) sorted by relevance
/base/security/device_auth/services/authenticators/src/account_unrelated/ |
D | das_task_main.c | 69 static void InitVersionInfo(VersionInfo *versionInfo) in InitVersionInfo() argument 71 GetMinVersion(&(versionInfo->minVersion)); in InitVersionInfo() 72 GetMaxVersion(&(versionInfo->curVersion)); in InitVersionInfo() 73 versionInfo->versionStatus = INITIAL; in InitVersionInfo() 76 static int AddVersionToOut(const VersionInfo *versionInfo, CJson *out) in AddVersionToOut() argument 83 return AddVersionToJson(payload, &(versionInfo->minVersion), &(versionInfo->curVersion)); in AddVersionToOut() 179 res = NegotiateVersion(&minVersionPeer, &curVersionPeer, &(task->versionInfo.curVersion)); in NegotiateAndProcessTask() 184 if (!IsVersionEqual(&(task->versionInfo.curVersion), &curVersionPeer)) { in NegotiateAndProcessTask() 188 …ProtocolType protocolType = GetPrototolType(&(task->versionInfo.curVersion), task->versionInfo.opC… in NegotiateAndProcessTask() 209 subTask->curVersion = task->versionInfo.curVersion; in NegotiateAndProcessTask() [all …]
|
/base/update/updateservice/interfaces/inner_api/include/ |
D | update_system_event.h | 28 #define SYS_EVENT_UPGRADE_INTERVAL(validCheck, versionInfo, type, interval) \ argument 31 "VERSION_INFO", versionInfo, "TYPE", type, "INTERVAL", interval); \ 34 #define SYS_EVENT_SYSTEM_UPGRADE_FAULT(validCheck, deviceId, versionInfo, reason, location) \ argument 37 "DEVICE_ID", deviceId, "VERSION_INFO", versionInfo, "FAILED_REASON", reason, \
|
/base/update/sys_installer/services/module_update/util/src/ |
D | module_file.cpp | 131 …arseModuleInfo(const string &moduleInfo, string &saName, int32_t &saId, ModuleVersion &versionInfo) in ParseModuleInfo() argument 160 versionInfo.apiVersion = static_cast<uint32_t>(std::stoi(versionVec.at(API_VERSION_INDEX))); in ParseModuleInfo() 161 versionInfo.versionCode = static_cast<uint32_t>(std::stoi(versionVec.at(VERSION_CODE_INDEX))); in ParseModuleInfo() 162 versionInfo.patchVersion = static_cast<uint32_t>(std::stoi(versionVec.at(PATCH_VERSION_INDEX))); in ParseModuleInfo() 165 static_cast<string>(versionInfo); in ParseModuleInfo() 190 ModuleVersion versionInfo; in Open() local 191 if (!ParseModuleInfo(moduleInfo, saName, saId, versionInfo)) { in Open() 217 return std::make_unique<ModuleFile>(path, saName, saId, versionInfo, modulePubkey, imageStat); in Open()
|
/base/security/device_auth/services/key_agree_sdk/src/ |
D | key_agree_session.c | 253 void InitVersionInfo(VersionInfo *versionInfo) in InitVersionInfo() argument 256 GetMaxVersion(algInProtocol, &(versionInfo->curVersion)); in InitVersionInfo() 257 versionInfo->versionStatus = INITIAL; in InitVersionInfo() 513 res = AddVersionToJson(outJson, &(spekeSession->versionInfo.curVersion)); in PackageMsgForPakeResponse() 580 res = NegotiateVersion(&curVersionPeer, &(spekeSession->versionInfo.curVersion)); in CheckPeerProtocolVersion() 789 int32_t res = AddVersionToJson(outJsonMessage, &(spekeSession->versionInfo.curVersion)); in ProcessProtocolInitial() 821 spekeSession->versionInfo.versionStatus = VERSION_CONFIRM; in ProcessProtocolInitial() 853 res = NegotiateVersion(&curVersionPeer, &(spekeSession->versionInfo.curVersion)); in ProcessProtocolConfirm() 858 … KeyAgreeProtocol protocolType = GetKegAgreeProtocolType(&(spekeSession->versionInfo.curVersion)); in ProcessProtocolConfirm() 873 spekeSession->versionInfo.versionStatus = VERSION_DECIDED; in ProcessProtocolConfirm() [all …]
|
D | key_agree_sdk.c | 168 spekeSession->versionInfo.versionStatus = VERSION_DECIDED; in KeyAgreeInitSession() 176 spekeSession->versionInfo.versionStatus = INITIAL; in KeyAgreeInitSession() 178 spekeSession->versionInfo.versionStatus = VERSION_CONFIRM; in KeyAgreeInitSession() 246 if (spekeSession->versionInfo.versionStatus != VERSION_DECIDED) { in KeyAgreeGenerateNextMessage()
|
/base/update/sys_installer/services/module_update/util/include/ |
D | module_file.h | 57 const ModuleVersion &versionInfo, in ModuleFile() argument 63 versionInfo_(versionInfo), in ModuleFile()
|
/base/security/device_auth/services/authenticators/inc/account_unrelated/ |
D | das_task_main.h | 28 VersionInfo versionInfo; member
|
/base/security/device_auth/services/key_agree_sdk/inc/ |
D | key_agree_session.h | 84 VersionInfo versionInfo; member
|