Home
last modified time | relevance | path

Searched refs:checkResult (Results 1 - 25 of 30) sorted by relevance

12

/base/update/updateservice/services/firmware/utils/src/
H A Dfirmware_check_analyze_utils.cpp77 BlVersionCheckResult checkResult; in AnalyzeBlVersionCheckResults() local
78 ret += JsonUtils::GetValueAndSetTo(result, "descriptPackageId", checkResult.descriptPackageId); in AnalyzeBlVersionCheckResults()
79 checkResult.blVersionType = 1; in AnalyzeBlVersionCheckResults()
80 checkResult.status = std::to_string(status); in AnalyzeBlVersionCheckResults()
87 checkResult.updatePackages.push_back(package); in AnalyzeBlVersionCheckResults()
92 checkResult.targetBlComponents.push_back(component); in AnalyzeBlVersionCheckResults()
93 checkResult.blVersionInfo = result["blVersionInfo"].dump(); in AnalyzeBlVersionCheckResults()
94 response.blVersionCheckResults.push_back(checkResult); in AnalyzeBlVersionCheckResults()
/base/update/updateservice/test/fuzztest/updateservicechecknewversion_fuzzer/
H A Dupdateservicechecknewversion_fuzzer.cpp31 CheckResult checkResult; in FuzzUpdateServiceCheckNewVersion() local
34 DelayedSingleton<FuzztestHelper>::GetInstance()->BuildUpgradeInfo(), businessError, checkResult) == 0; in FuzzUpdateServiceCheckNewVersion()
/base/update/updateservice/services/firmware/upgrade/data_processor/src/
H A Dfirmware_check_data_processor.cpp235 void FirmwareCheckDataProcessor::BuildCheckResult(CheckResult &checkResult) in BuildCheckResult() argument
245 checkResult.isExistNewVersion = (dbComponentList.size() != 0); in BuildCheckResult()
246 FIRMWARE_LOGI("BuildCheckResult status %{public}s", StringUtils::GetBoolStr(checkResult.isExistNewVersion).c_str()); in BuildCheckResult()
247 if (checkResult.isExistNewVersion) { in BuildCheckResult()
248 BuildVersionDigest(checkResult.newVersionInfo, dbComponentList); in BuildCheckResult()
249 FirmwareUpdateHelper::BuildNewVersionInfo(dbComponentList, checkResult.newVersionInfo.versionComponents); in BuildCheckResult()
H A Dfirmware_check_data_processor_empty.cpp111 void FirmwareCheckDataProcessor::BuildCheckResult(CheckResult &checkResult) in BuildCheckResult() argument
/base/update/updateservice/services/firmware/upgrade/mode/src/
H A Dfirmware_manual_check_mode.cpp111 CheckResult checkResult; in HandleComplete() local
112 checkDataProcessor_.BuildCheckResult(checkResult); in HandleComplete()
113 onCheckComplete_(businessError_, checkResult); in HandleComplete()
/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dpush_callback_stub.cpp83 int32_t checkResult = ERR_ANS_TASK_ERR; in OnRemoteRequest() local
101 checkResult = ConvertPushCheckCodeToErrCode(pushCallBackParam->result); in OnRemoteRequest()
102 ANS_LOGD("Push check result:%{public}d", checkResult); in OnRemoteRequest()
103 if (!reply.WriteInt32(checkResult)) { in OnRemoteRequest()
/base/update/updateservice/frameworks/js/napi/update/include/
H A Dupdate_result.h40 CheckResult *checkResult; member
53 ReleaseValue<CheckResult>(result.checkResult); in Release()
83 AssignValue<CheckResult>(updateResult.result.checkResult, result.checkResult); in operator =()
/base/update/updateservice/services/engine/src/
H A Dupdate_service.cpp235 int32_t UpdateService::CheckNewVersion(const UpgradeInfo &info, BusinessError &businessError, CheckResult &checkResult) in CheckNewVersion() argument
242 return onlineUpdater->CheckNewVersion(info, businessError, checkResult); in CheckNewVersion()
355 void BuildVersionInfoDump(const int fd, const CheckResult &checkResult) in BuildVersionInfoDump() argument
358 dprintf(fd, "isExistNewVersion: %d\n", checkResult.isExistNewVersion); in BuildVersionInfoDump()
359 if (checkResult.newVersionInfo.versionComponents.empty()) { in BuildVersionInfoDump()
362 dprintf(fd, "PackageSize: %zu\n", static_cast<size_t>(checkResult.newVersionInfo.versionComponents[0].size)); in BuildVersionInfoDump()
363 dprintf(fd, "ComponentType: %d\n", checkResult.newVersionInfo.versionComponents[0].componentType); in BuildVersionInfoDump()
364 dprintf(fd, "UpgradeAction: %s\n", checkResult.newVersionInfo.versionComponents[0].upgradeAction.c_str()); in BuildVersionInfoDump()
365 dprintf(fd, "DisplayVersion: %s\n", checkResult.newVersionInfo.versionComponents[0].displayVersion.c_str()); in BuildVersionInfoDump()
366 dprintf(fd, "InnerVersion: %s\n", checkResult in BuildVersionInfoDump()
[all...]
H A Dupdate_service_stub.cpp166 CheckResult checkResult; in CheckNewVersionStub() local
167 int res = service->CheckNewVersion(upgradeInfo, businessError, checkResult); in CheckNewVersionStub()
170 MessageParcelHelper::WriteCheckResult(reply, checkResult); in CheckNewVersionStub()
H A Dupdate_service_impl_firmware.cpp40 CheckResult &checkResult) in CheckNewVersion()
51 checkResult = result; in CheckNewVersion()
39 CheckNewVersion(const UpgradeInfo &info, BusinessError &businessError, CheckResult &checkResult) CheckNewVersion() argument
/base/update/updateservice/interfaces/inner_api/feature/update/model/message_parcel/include/
H A Dmessage_parcel_helper.h53 static int32_t ReadCheckResult(MessageParcel &reply, CheckResult &checkResult);
54 static int32_t WriteCheckResult(MessageParcel &data, const CheckResult &checkResult);
/base/update/updateservice/services/firmware/upgrade/data_processor/include/
H A Dfirmware_check_data_processor.h37 void BuildCheckResult(CheckResult &checkResult);
/base/update/updateservice/services/firmware/upgrade/mode/include/
H A Dfirmware_iexecute_mode.h30 using OnCheckComplete = std::function<void(BusinessError &businessError, CheckResult &checkResult)>;
/base/update/updateservice/interfaces/inner_api/feature/update/model/message_parcel/src/
H A Dmessage_parcel_helper.cpp193 int32_t MessageParcelHelper::ReadCheckResult(MessageParcel &reply, CheckResult &checkResult) in ReadCheckResult() argument
195 checkResult.isExistNewVersion = reply.ReadBool(); in ReadCheckResult()
196 ReadNewVersionInfoEx(reply, checkResult.newVersionInfo); in ReadCheckResult()
200 int32_t MessageParcelHelper::WriteCheckResult(MessageParcel &data, const CheckResult &checkResult) in WriteCheckResult() argument
202 data.WriteBool(checkResult.isExistNewVersion); in WriteCheckResult()
203 WriteNewVersionInfoEx(data, checkResult.newVersionInfo); in WriteCheckResult()
/base/update/updateservice/interfaces/inner_api/feature/update/api/online_updater/
H A Diservice_online_updater.h44 CheckResult &checkResult) = 0;
/base/security/access_token/services/privacymanager/src/database/
H A Dpermission_used_record_db.cpp574 int32_t checkResult = ExecuteSql(checkSql); in InsertLockScreenStatusColumn() local
575 ACCESSTOKEN_LOG_INFO(LABEL, "Check result:%{public}d", checkResult); in InsertLockScreenStatusColumn()
576 if (checkResult != -1) { in InsertLockScreenStatusColumn()
599 int32_t checkResult = ExecuteSql(checkSql); in InsertPermissionUsedTypeColumn() local
600 ACCESSTOKEN_LOG_INFO(LABEL, "Check result:%{public}d", checkResult); in InsertPermissionUsedTypeColumn()
601 if (checkResult != -1) { in InsertPermissionUsedTypeColumn()
/base/update/updateservice/services/engine/include/
H A Dupdate_service_impl_firmware.h36 int32_t CheckNewVersion(const UpgradeInfo &info, BusinessError &businessError, CheckResult &checkResult) final;
H A Dupdate_service.h43 int32_t CheckNewVersion(const UpgradeInfo &info, BusinessError &businessError, CheckResult &checkResult) override;
/base/update/updateservice/interfaces/inner_api/engine/include/
H A Dupdate_service_kits_impl.h41 int32_t CheckNewVersion(const UpgradeInfo &info, BusinessError &businessError, CheckResult &checkResult) final;
H A Dupdate_service_proxy.h32 int32_t CheckNewVersion(const UpgradeInfo &info, BusinessError &businessError, CheckResult &checkResult) override;
/base/update/updateservice/interfaces/inner_api/include/
H A Dupdate_service_kits.h58 CheckResult &checkResult) = 0;
/base/update/updateservice/interfaces/inner_api/engine/src/
H A Dupdate_service_kits_impl.cpp68 CheckResult &checkResult) in CheckNewVersion()
74 int32_t ret = updateService->CheckNewVersion(info, businessError, checkResult); in CheckNewVersion()
67 CheckNewVersion(const UpgradeInfo &info, BusinessError &businessError, CheckResult &checkResult) CheckNewVersion() argument
/base/update/updateservice/frameworks/js/napi/update/common/src/
H A Dclient_helper.cpp299 PARAM_CHECK(result.result.checkResult != nullptr, return CAST_INT(ClientStatus::CLIENT_SUCCESS), in BuildCheckResult()
307 CheckResult *checkResult = result.result.checkResult; in BuildCheckResult() local
308 NapiCommonUtils::SetBool(env, obj, "isExistNewVersion", checkResult->isExistNewVersion); in BuildCheckResult()
310 if (checkResult->isExistNewVersion) { in BuildCheckResult()
313 BuildVersionDigestInfo(env, newVersionInfo, checkResult->newVersionInfo.versionDigestInfo); in BuildCheckResult()
314 BuildVersionComponents(env, newVersionInfo, checkResult->newVersionInfo.versionComponents); in BuildCheckResult()
/base/update/updateservice/services/firmware/upgrade/flow/src/
H A Dfirmware_manager.cpp192 std::make_shared<FirmwareManualCheckMode>([=](BusinessError &businessError, CheckResult &checkResult) { in DoCheck()
194 onCheckComplete(businessError, checkResult); in DoCheck()
/base/security/certificate_framework/frameworks/adapter/v1.0/src/
H A Dx509_cert_chain_openssl.c318 static CfResult CheckOthersInTrustAnchor(const HcfX509TrustAnchor *anchor, X509 *rootCert, bool *checkResult) in CheckOthersInTrustAnchor() argument
320 *checkResult = false; in CheckOthersInTrustAnchor()
360 *checkResult = compareSubjectFlag; in CheckOthersInTrustAnchor()
362 *checkResult = true; in CheckOthersInTrustAnchor()
409 bool checkResult = false; in GetTrustAnchor() local
410 CfResult res = CheckOthersInTrustAnchor(trustAnchors, rootCert, &checkResult); in GetTrustAnchor()
416 if (checkResult) { in GetTrustAnchor()

Completed in 15 milliseconds

12