Home
last modified time | relevance | path

Searched refs:versionInfo (Results 1 - 25 of 27) sorted by relevance

12

/base/update/sys_installer/services/module_update/util/src/
H A Dmodule_file.cpp114 bool ParseHmpVersionInfo(const JsonNode &package, ModulePackageInfo &versionInfo) in ParseHmpVersionInfo() argument
131 versionInfo.hmpName = name.value(); in ParseHmpVersionInfo()
132 versionInfo.version = version.value(); in ParseHmpVersionInfo()
133 versionInfo.hotApply = Utils::String2Int<int>(hotApply.value(), Utils::N_DEC); in ParseHmpVersionInfo()
135 if (versionInfo.type == HMP_APP_TYPE || versionInfo.type == HMP_MIX_TYPE) { in ParseHmpVersionInfo()
141 versionInfo.apiVersion = Utils::String2Int<int>(apiVersion.value(), Utils::N_DEC); in ParseHmpVersionInfo()
142 } else if (versionInfo.type == HMP_SA_TYPE || in ParseHmpVersionInfo()
143 versionInfo.type == HMP_SA_TYPE_OLD || in ParseHmpVersionInfo()
144 versionInfo in ParseHmpVersionInfo()
171 ParseSaList(const JsonNode &package, ModulePackageInfo &versionInfo) ParseSaList() argument
196 ParseBundleList(const JsonNode &package, ModulePackageInfo &versionInfo) ParseBundleList() argument
218 ParseModuleInfo(const string &packInfo, ModulePackageInfo &versionInfo) ParseModuleInfo() argument
397 ModulePackageInfo versionInfo; Open() local
[all...]
/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/
H A Ddas_task_main.c69 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()
183 res = NegotiateVersion(&minVersionPeer, &curVersionPeer, &(task->versionInfo.curVersion)); in NegotiateAndProcessTask()
188 if (!IsVersionEqual(&(task->versionInfo.curVersion), &curVersionPeer)) { in NegotiateAndProcessTask()
192 ProtocolType protocolType = GetPrototolType(&(task->versionInfo in NegotiateAndProcessTask()
[all...]
/base/update/updateservice/foundations/ability/sys_event/include/
H A Dupdate_system_event.h27 #define SYS_EVENT_UPGRADE_INTERVAL(validCheck, versionInfo, type, interval) \
30 "VERSION_INFO", versionInfo, "TYPE", type, "INTERVAL", interval); \
33 #define SYS_EVENT_SYSTEM_UPGRADE_FAULT(validCheck, deviceId, versionInfo, reason, location) \
36 "DEVICE_ID", deviceId, "VERSION_INFO", versionInfo, "FAILED_REASON", reason, \
/base/telephony/telephony_data/opkey_version/src/
H A Dopkey_version_ability.cpp45 std::string versionInfo; in Query() local
46 int32_t ret = DelayedRefSingleton<CoreServiceClient>::GetInstance().GetOpkeyVersion(versionInfo); in Query()
48 DATA_STORAGE_LOGE("get versionInfo failed!"); in Query()
52 std::make_shared<OpkeyVersionResultSetBridge>(versionInfo); in Query()
/base/update/sys_installer/interfaces/innerkits/ipc_client/src/
H A Dmodule_update_proxy.cpp143 std::vector<HmpVersionInfo> versionInfo {}; in GetHmpVersionInfo()
147 return versionInfo; in GetHmpVersionInfo()
153 return versionInfo; in GetHmpVersionInfo()
162 return versionInfo; in GetHmpVersionInfo()
169 versionInfo.push_back(*infoPtr); in GetHmpVersionInfo()
172 return versionInfo; in GetHmpVersionInfo()
H A Dmodule_update_kits_impl.cpp199 std::vector<HmpVersionInfo> versionInfo {}; in GetHmpVersionInfo()
203 return versionInfo; in GetHmpVersionInfo()
205 versionInfo = moduleUpdate->GetHmpVersionInfo(); in GetHmpVersionInfo()
206 return versionInfo; in GetHmpVersionInfo()
/base/security/device_auth/services/key_agree_sdk/src/
H A Dkey_agree_session.c253 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 in ProcessProtocolConfirm()
[all...]
H A Dkey_agree_sdk.c169 spekeSession->versionInfo.versionStatus = VERSION_DECIDED; in KeyAgreeInitSession()
177 spekeSession->versionInfo.versionStatus = INITIAL; in KeyAgreeInitSession()
179 spekeSession->versionInfo.versionStatus = VERSION_CONFIRM; in KeyAgreeInitSession()
247 if (spekeSession->versionInfo.versionStatus != VERSION_DECIDED) { in KeyAgreeGenerateNextMessage()
/base/security/device_auth/services/legacy/authenticators/inc/account_unrelated/
H A Ddas_task_main.h29 VersionInfo versionInfo; member
/base/update/sys_installer/services/module_update/util/include/
H A Dmodule_file.h107 const ModulePackageInfo &versionInfo, in ModuleFile()
110 versionInfo_(versionInfo), in ModuleFile()
106 ModuleFile(const std::string &modulePath, const ModulePackageInfo &versionInfo, const std::optional<ImageStat> &imageStat) ModuleFile() argument
/base/update/sys_installer/frameworks/ipc_server/src/
H A Dmodule_update_stub.cpp122 std::vector<HmpVersionInfo> versionInfo = service->GetHmpVersionInfo(); in GetHmpVersionInfoStub() local
123 reply.WriteInt32(versionInfo.size()); in GetHmpVersionInfoStub()
124 for (auto &info : versionInfo) { in GetHmpVersionInfoStub()
/base/security/device_auth/services/key_agree_sdk/inc/
H A Dkey_agree_session.h84 VersionInfo versionInfo; member
/base/update/sys_installer/test/fuzztest/imoduleupdate_fuzzer/
H A Dimodule_update_fuzzer.cpp53 std::vector<HmpVersionInfo> versionInfo = moduleUpdateKits.GetHmpVersionInfo(); in FuzzModuleUpdateOther() local
/base/update/sys_installer/services/module_update/service/include/
H A Dmodule_update_main.h44 bool GetHmpVersion(const std::string &hmpPath, HmpVersionInfo &versionInfo);
/base/update/sys_installer/services/module_update/service/src/
H A Dmodule_update_main.cpp431 bool ModuleUpdateMain::GetHmpVersion(const std::string &hmpPath, HmpVersionInfo &versionInfo) in GetHmpVersion() argument
472 versionInfo.name = name.value(); in GetHmpVersion()
473 versionInfo.version = version.value(); in GetHmpVersion()
474 versionInfo.compatibleVersion = compatibleVersion.value(); in GetHmpVersion()
475 versionInfo.laneCode = laneCode.value(); in GetHmpVersion()
/base/telephony/core_service/services/telephony_ext_wrapper/include/
H A Dtelephony_ext_wrapper.h103 typedef void (*GET_OPKEY_VERSION)(std::string &versionInfo);
/base/telephony/core_service/test/unittest/core_service_gtest/
H A Dcore_service_common_test.cpp177 std::string versionInfo = ""; in HWTEST_F() local
178 auto result = DelayedSingleton<CoreService>::GetInstance()->GetOpkeyVersion(versionInfo); in HWTEST_F()
/base/telephony/core_service/interfaces/innerkits/include/
H A Dcore_service_client.h902 * @param versionInfo[out], opkey param version info
905 int32_t GetOpkeyVersion(std::string &versionInfo);
H A Dcore_service_proxy.h146 int32_t GetOpkeyVersion(std::string &versionInfo) override;
H A Di_core_service.h160 virtual int32_t GetOpkeyVersion(std::string &versionInfo) = 0;
/base/telephony/cellular_data/test/mock/
H A Dmock_core_service.h162 MOCK_METHOD(int32_t, GetOpkeyVersion, (std::string & versionInfo), (override));
/base/telephony/core_service/frameworks/native/src/
H A Dcore_service_client.cpp1065 int32_t CoreServiceClient::GetOpkeyVersion(std::string &versionInfo) in GetOpkeyVersion() argument
1072 return proxy->GetOpkeyVersion(versionInfo); in GetOpkeyVersion()
/base/telephony/core_service/services/core/include/
H A Dcore_service.h257 int32_t GetOpkeyVersion(std::string &versionInfo) override;
/base/telephony/core_service/test/unittest/esim_gtest/mock/include/
H A Desim_core_service_stub_test.h525 int32_t GetOpkeyVersion(std::string &versionInfo) override
/base/telephony/core_service/services/core/src/
H A Dcore_service.cpp1624 int32_t CoreService::GetOpkeyVersion(std::string &versionInfo) in GetOpkeyVersion() argument
1627 TELEPHONY_EXT_WRAPPER.getOpkeyVersion_(versionInfo); in GetOpkeyVersion()

Completed in 18 milliseconds

12