Home
last modified time | relevance | path

Searched refs:versionCode (Results 1 – 25 of 428) sorted by relevance

12345678910>>...18

/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/quick_fix/
H A Dquick_fix_checker.cpp47 if (appQuickFix.versionCode != info.second.versionCode) { in CheckAppQuickFixInfos()
51 … if (appQuickFix.deployingAppqfInfo.versionCode != info.second.deployingAppqfInfo.versionCode) { in CheckAppQuickFixInfos()
180 if (bundleInfo.versionCode != appQuickFix.versionCode) { in CheckCommonWithInstalledBundle()
182 appQuickFix.versionCode, bundleInfo.versionCode); in CheckCommonWithInstalledBundle()
191 if (qfInfo.versionCode <= deployedAppqfInfo.versionCode) { in CheckCommonWithInstalledBundle()
193 qfInfo.versionCode, deployedAppqfInfo.versionCode); in CheckCommonWithInstalledBundle()
H A Dquick_fix_boot_scanner.cpp124 int32_t quickFixVersion = qfInfo.versionCode; in RestoreQuickFix()
150 int32_t versionCode; in ProcessQuickFixDir() local
151 bool ret = StrToInt(fileStr.substr(underlinePos + 1), versionCode); in ProcessQuickFixDir()
157 LOG_D(BMS_TAG_DEFAULT, "versionCode of the quick fix file is %{public}d", versionCode); in ProcessQuickFixDir()
174 std::pair<int32_t, std::string> innerPair { versionCode, fileStr }; in ProcessQuickFixDir()
178 if (bundleIter->second.first < versionCode) { in ProcessQuickFixDir()
180 quickFixInfoMap_[bundleName] = { versionCode, fileStr }; in ProcessQuickFixDir()
/ohos5.0/base/hiviewdfx/hiview/plugins/performance/scene_data_processor/
H A DAppLaunchConverter.h34 point.versionCode = data.versionCode; in ConvertToInteractionResponse()
70 point.versionCode = data.versionCode; in ConvertToAppStartupType()
101 point.versionCode = data.versionCode; in ConvertToAppAttach()
115 point.versionCode = data.versionCode; in ConvertToAppForeground()
183 point.versionCode = data.versionCode; in ConvertToInteractionCompleted()
/ohos5.0/docs/zh-cn/application-dev/faqs/
H A Dfaqs-bundle-management.md15 ## 如何获取应用配置的versionCode和versionName(API 9)
19 …bundleManager.getBundleInfoForSelf()接口获取包信息BundleInfo,然后分别通过BundleInfo.versionCode、BundleInfo.vers…
29 const versionCode = data.versionCode;
31 …hilog.info(0x0000, 'testTag', `successfully. versionCode: ${versionCode}, versionName: ${versionNa…
77 let versionNo = bundleInfo.versionCode;//应用版本号
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/src/bundle/
H A Dbundle_manager_callback_stub.cpp40 uint32_t versionCode = data.ReadUint32(); in OnQueryInstallationFinishedInner() local
43 int32_t result = OnQueryInstallationFinished(resultCode, missionId, versionCode); in OnQueryInstallationFinishedInner()
48 int32_t missionId, int versionCode) in OnQueryInstallationFinished() argument
63 …lt = AAFwk::AbilityManagerClient::GetInstance()->ContinueAbility(deviceId, missionId, versionCode); in OnQueryInstallationFinished()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/aot/
H A Daot_sign_data_cache_mgr.cpp33 void AOTSignDataCacheMgr::AddPendSignData(const AOTArgs &aotArgs, const uint32_t versionCode, in AddPendSignData() argument
41 PendingData pendingData = {versionCode, pendSignData}; in AddPendSignData()
139 auto versionCode = itModule->second.versionCode; in ExecutePendSign() local
140 …taMgr->SetAOTCompileStatus(bundleName, moduleName, AOTCompileStatus::COMPILE_SUCCESS, versionCode); in ExecutePendSign()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/quick_fix/
H A Dapp_quick_fix.cpp39 {APP_QUICK_FIX_VERSION_CODE, appQuickFix.versionCode}, in to_json()
56 APP_QUICK_FIX_VERSION_CODE, appQuickFix.versionCode, in from_json()
82 versionCode = parcel.ReadUint32(); in ReadFromParcel()
103 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(Uint32, parcel, versionCode); in Marshalling()
H A Dappqf_info.cpp39 {APP_QF_INFO_VERSION_CODE, appqfInfo.versionCode}, in to_json()
53 APP_QF_INFO_VERSION_CODE, appqfInfo.versionCode, in from_json()
88 versionCode = parcel.ReadUint32(); in ReadFromParcel()
109 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(Uint32, parcel, versionCode); in Marshalling()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_aot_test/
H A Dbms_data_aot_test.cpp128 hspInfo.versionCode = VERSION_CODE; in CreateHspInfo()
139 EXPECT_EQ(sourceHspInfo.versionCode, targetHspInfo.versionCode); in CheckHspInfo()
445 uint32_t versionCode = 1; variable
450 AOTHandler::GetInstance().AOTInternal(aotArgs, versionCode);
464 uint32_t versionCode = 1; variable
474 bundleInfo.versionCode = versionCode;
480 AOTHandler::GetInstance().AOTInternal(aotArgs, versionCode);
484 versionCode = 2;
486 EXPECT_NE(item->second.GetVersionCode(), versionCode);
1161 int32_t versionCode = 1; variable
[all …]
/ohos5.0/base/hiviewdfx/hiview/plugins/performance/scene_data_processor/gateway/
H A DIAppLaunchSceneDb.h30 int32_t versionCode{0};
61 int32_t versionCode{0};
89 int32_t versionCode{0};
101 int32_t versionCode{0};
158 int32_t versionCode{0};
/ohos5.0/foundation/filemanagement/app_file_service/tests/unittests/backup_sa/module_ipc/
H A Dsvc_restore_deps_manager_test.cpp92 .versionCode = 1000000,
100 .versionCode = 1000000,
129 .versionCode = 1000000,
277 .versionCode = 1000000,
409 .versionCode = 1000000,
417 .versionCode = 1000000,
425 .versionCode = 1000000,
453 .versionCode = 1000000,
/ohos5.0/base/hiviewdfx/hiview/plugins/performance/reporter/event_poster/
H A DEventsPoster.cpp42 info.versionCode = event.versionCode; in ConvertToAppStartInfo()
76 info.versionCode = event.versionCode; in ConvertToScrollJankInfo()
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Devent_report.cpp387 const auto& versionCode = data.baseInfo.versionCode; in ReportEventComplete() local
405 EVENT_KEY_VERSION_CODE, versionCode, in ReportEventComplete()
463 EVENT_KEY_VERSION_CODE, data.baseInfo.versionCode, in ReportEventJankFrame()
494 const auto& versionCode = info.baseInfo.versionCode; in ReportJankFrameApp() local
504 EVENT_KEY_VERSION_CODE, versionCode, in ReportJankFrameApp()
521 const auto& versionCode = info.baseInfo.versionCode; in ReportJankFrameFiltered() local
532 EVENT_KEY_VERSION_CODE, versionCode, in ReportJankFrameFiltered()
547 const auto& versionCode = info.baseInfo.versionCode; in ReportJankFrameUnFiltered() local
560 EVENT_KEY_VERSION_CODE, versionCode, in ReportJankFrameUnFiltered()
/ohos5.0/base/hiviewdfx/hiview/plugins/performance/monitor/converter/
H A DAppLaunchMonitorConverter.h51 checkPointData.versionCode = appEvtData.versionCode; in ConvertAppEvtDataToCheckPointData()
76 reportEvent.versionCode = metrics.versionCode; in ConvertMetricToReportEvent()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/test/moduletest/common/bms/bundle_parser_test/
H A Dbms_bundle_parser_module_test.cpp46 uint32_t versionCode = 1; in CheckBundleParserResult() local
47 EXPECT_EQ(bundleInfo.versionCode, versionCode); in CheckBundleParserResult()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_hsp_test/
H A Dbms_bundle_shared_library_uninstall_test.cpp248 uninstallParam.versionCode = 10001;
252 uninstallParam.versionCode = Constants::ALL_VERSIONCODE;
279 uninstallParam.versionCode = 10002;
286 uninstallParam.versionCode = Constants::ALL_VERSIONCODE;
313 uninstallParam.versionCode = 10001;
320 uninstallParam.versionCode = Constants::ALL_VERSIONCODE;
/ohos5.0/base/hiviewdfx/hiview/plugins/performance/reporter/adapter/
H A DJankAnimatorReporterAdapter.cpp71 data.versionCode = event.versionCode; in ConvertReporterEventToData()
104 info.versionCode = event.versionCode; in ConvertReportEventToEventInfo()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/shared/
H A Dshared_module_info.cpp42 versionCode = parcel.ReadUint32(); in ReadFromParcel()
62 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(Uint32, parcel, versionCode); in Marshalling()
92 {SHARED_MODULE_INFO_VERSION_CODE, sharedModuleInfo.versionCode}, in to_json()
114 sharedModuleInfo.versionCode, JsonType::NUMBER, false, parseResult, in from_json()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/
H A Ddistributed_bundle_info.cpp44 versionCode = parcel.ReadUint32(); in ReadFromParcel()
72 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(Uint32, parcel, versionCode); in Marshalling()
106 jsonObject[JSON_KEY_VERSION_CODE] = versionCode; in ToString()
148 versionCode, in FromJsonString()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/shared/
H A Dinner_shared_bundle_installer.cpp230 if (isModuleExist && dependency.versionCode <= sharedBundle.versionCode) { in CheckDependency()
243 eventInfo.versionCode = newBundleInfo_.GetBaseBundleInfo().versionCode; in SendBundleSystemEvent()
301 installedSharedModule.versionCode > sharedModule.versionCode) { in CheckBundleTypeWithInstalledVersion()
330 uint32_t versionCode = newInfo.GetVersionCode(); in ExtractSharedBundles() local
332 + std::to_string(versionCode); in ExtractSharedBundles()
371 …rviceConstants::PATH_SEPARATOR + HSP_VERSION_PREFIX + std::to_string(innerModuleInfo.versionCode) + in UpdateInnerModuleInfo()
408 …if (newBundleInfo_.GetBaseBundleInfo().versionCode < currentBundle.GetBaseBundleInfo().versionCode in MergeBundleInfos()
436 preInstallBundleInfo.SetVersionCode(newBundleInfo_.GetBaseBundleInfo().versionCode); in SavePreInstallInfo()
/ohos5.0/docs/en/application-dev/faqs/
H A Dfaqs-bundle-management.md19 …nformation, which contains the version code (specified by **BundleInfo.versionCode**) and version …
29 const versionCode = data.versionCode;
31 …hilog.info(0x0000, 'testTag', `successfully. versionCode: ${versionCode}, versionName: ${versionNa…
77 let versionNo = bundleInfo.versionCode; // Application version number.
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/
H A Dbundle_manager_service.cpp295 int32_t versionCode = -1; in InstallThirdBundle() local
296 int8_t ret = BundleParser::ParseBundleParam(path, &bundleName, versionCode); in InstallThirdBundle()
384 int32_t versionCode = -1; in ScanAppDir() local
403 ReloadEntireBundleInfo(appPath.c_str(), ent->d_name, versionCode, scanFlag); in ScanAppDir()
408 bool res = CheckSystemBundleIsValid(appPath.c_str(), &bundleName, versionCode); in ScanAppDir()
419 ReloadEntireBundleInfo(appPath.c_str(), bundleName, versionCode, scanFlag); in ScanAppDir()
425 …agerService::CheckSystemBundleIsValid(const char *appPath, char **bundleName, int32_t &versionCode) in CheckSystemBundleIsValid() argument
435 if (BundleParser::ParseBundleParam(appPath, bundleName, versionCode) != 0) { in CheckSystemBundleIsValid()
445 …erService::ReloadEntireBundleInfo(const char *appPath, const char *bundleName, int32_t versionCode, in ReloadEntireBundleInfo() argument
471 if (versionCode > oldVersionCode) { in ReloadEntireBundleInfo()
/ohos5.0/foundation/bundlemanager/bundle_tool/frameworks/src/bundle_tool_callback/
H A Dbundle_tool_callback_stub.cpp36 uint32_t versionCode = data.ReadUint32(); in OnRemoteRequest() local
39 resultCode, versionCode, missionId); in OnRemoteRequest()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_updater_test/
H A Dbms_bundle_updater_test.cpp79 bool CheckBundleInfo(const uint32_t versionCode, const bool needCheckVersion) const;
252 bool BmsBundleUpdaterTest::CheckBundleInfo(const uint32_t versionCode, const bool needCheckVersion)… in CheckBundleInfo() argument
264 if (info.versionCode != versionCode) { in CheckBundleInfo()
403 EXPECT_EQ(info.versionCode, VERSION_1);
408 EXPECT_EQ(info.versionCode, VERSION_1);
/ohos5.0/base/inputmethod/imf/test/unittest/cpp_test/mock/
H A Dime_info_inquirer.cpp51 …foInquirer::GetImeVersionCode(int32_t userId, const std::string &bundleName, uint32_t &versionCode) in GetImeVersionCode() argument
53 versionCode = 0; in GetImeVersionCode()

12345678910>>...18