Home
last modified time | relevance | path

Searched refs:versionName (Results 1 – 25 of 269) sorted by relevance

1234567891011

/ohos5.0/docs/zh-cn/application-dev/faqs/
H A Dfaqs-bundle-management.md15 ## 如何获取应用配置的versionCode和versionName(API 9)
19 ….getBundleInfoForSelf()接口获取包信息BundleInfo,然后分别通过BundleInfo.versionCode、BundleInfo.versionName获取所需信息。
30 const versionName = data.versionName;
31 …o(0x0000, 'testTag', `successfully. versionCode: ${versionCode}, versionName: ${versionName}`);
76 let versionName = bundleInfo.versionName;//应用版本名
/ohos5.0/base/hiviewdfx/hiview/plugins/performance/scene_data_processor/
H A DAppLaunchConverter.h35 point.versionName = data.versionName; in ConvertToInteractionResponse()
71 point.versionName = data.versionName; in ConvertToAppStartupType()
102 point.versionName = data.versionName; in ConvertToAppAttach()
116 point.versionName = data.versionName; in ConvertToAppForeground()
184 point.versionName = data.versionName; in ConvertToInteractionCompleted()
/ohos5.0/foundation/bundlemanager/bundle_framework/test/benchmarktest/bundle_info_test/
H A Dbundle_info_test.cpp35 info.versionName = "1.0"; in BenchmarkTestForReadFromParcel()
46 info.applicationInfo.versionName = "1.0"; in BenchmarkTestForReadFromParcel()
74 info.versionName = "1.0"; in BenchmarkTestForMarshalling()
85 info.applicationInfo.versionName = "1.0"; in BenchmarkTestForMarshalling()
112 info.versionName = "1.0"; in BenchmarkTestForUnmarshalling()
123 info.applicationInfo.versionName = "1.0"; in BenchmarkTestForUnmarshalling()
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/frameworks/bundle_lite/src/
H A Dbundle_info_utils.cpp53 SetBundleInfoVersionName(des, src.versionName); in CopyBundleInfo()
94 des->versionName = src.versionName; in CopyBundleInfoNoReplication()
164 bool BundleInfoUtils::SetBundleInfoVersionName(BundleInfo *bundleInfo, const char *versionName) in SetBundleInfoVersionName() argument
166 if (bundleInfo == nullptr || versionName == nullptr) { in SetBundleInfoVersionName()
170 AdapterFree(bundleInfo->versionName); in SetBundleInfoVersionName()
171 bundleInfo->versionName = Utils::Strdup(versionName); in SetBundleInfoVersionName()
172 return bundleInfo->versionName != nullptr; in SetBundleInfoVersionName()
/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/src/utils/
H A Ddp_utils.cpp79 std::string versionName = bundleInfo.versionName; in GetClientBundle() local
80 if (versionName.empty()) { in GetClientBundle()
84 …DP_INFO_LOG("bundle name is %{public}s versionName:%{public}s", bundleName.c_str(), versionName.c_… in GetClientBundle()
/ohos5.0/foundation/bundlemanager/bundle_framework/test/benchmarktest/application_info_test/
H A Dapplication_info_test.cpp36 info.versionName = "1.0"; in BenchmarkTestForReadFromParcel()
65 info.versionName = "1.0"; in BenchmarkTestForReadMetaDataFromParcel()
94 info.versionName = "1.0"; in BenchmarkTestForMarshalling()
122 info.versionName = "1.0"; in BenchmarkTestForUnmarshalling()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/quick_fix/
H A Dapp_quick_fix.cpp40 {APP_QUICK_FIX_VERSION_NAME, appQuickFix.versionName}, in to_json()
61 APP_QUICK_FIX_VERSION_NAME, appQuickFix.versionName, in from_json()
83 versionName = Str16ToStr8(parcel.ReadString16()); in ReadFromParcel()
104 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(String16, parcel, Str8ToStr16(versionName)); in Marshalling()
H A Dappqf_info.cpp40 {APP_QF_INFO_VERSION_NAME, appqfInfo.versionName}, in to_json()
58 APP_QF_INFO_VERSION_NAME, appqfInfo.versionName, in from_json()
89 versionName = Str16ToStr8(parcel.ReadString16()); in ReadFromParcel()
110 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(String16, parcel, Str8ToStr16(versionName)); in Marshalling()
/ohos5.0/base/hiviewdfx/hiview/plugins/performance/scene_data_processor/gateway/
H A DIAppLaunchSceneDb.h31 std::string versionName{""};
62 std::string versionName{""};
90 std::string versionName{""};
102 std::string versionName{""};
159 std::string versionName{""};
/ohos5.0/base/hiviewdfx/hiview/plugins/usage_event_report/cache/
H A Dfold_event_cacher.cpp74 return info.versionName; in GetAppVersion()
141 appEventRecord.versionName = GetAppVersion(appData.bundleName); in TimeOut()
184 appEventRecord.versionName = event->GetEventValue(AppEventSpace::KEY_OF_VERSION_NAME); in ProcessForegroundEvent()
193 foregroundApps_[appEventRecord.bundleName] = appEventRecord.versionName; in ProcessForegroundEvent()
204 appEventRecord.versionName = event->GetEventValue(AppEventSpace::KEY_OF_VERSION_NAME); in ProcessBackgroundEvent()
234 appEventRecord.versionName = it->second; in ProcessSceenStatusChangedEvent()
260 newRecord.versionName = appEventRecord.versionName; in ProcessCountDurationEvent()
/ohos5.0/foundation/filemanagement/app_file_service/tests/unittests/backup_sa/module_ipc/
H A Dsvc_restore_deps_manager_test.cpp94 .versionName = "1.0.0",
102 .versionName = "1.0.0",
130 .versionName = "1.0.0",
278 .versionName = "1.0.0",
410 .versionName = "1.0.0",
418 .versionName = "1.0.0",
426 .versionName = "1.0.0",
454 .versionName = "1.0.0",
/ohos5.0/base/hiviewdfx/hiview/plugins/performance/reporter/event_poster/
H A DEventsPoster.cpp43 info.versionName = event.versionName; in ConvertToAppStartInfo()
77 info.versionName = event.versionName; in ConvertToScrollJankInfo()
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Devent_report.cpp388 const auto& versionName = data.baseInfo.versionName; in ReportEventComplete() local
406 EVENT_KEY_VERSION_NAME, versionName, in ReportEventComplete()
464 EVENT_KEY_VERSION_NAME, data.baseInfo.versionName, in ReportEventJankFrame()
495 const auto& versionName = info.baseInfo.versionName; in ReportJankFrameApp() local
505 EVENT_KEY_VERSION_NAME, versionName, in ReportJankFrameApp()
522 const auto& versionName = info.baseInfo.versionName; in ReportJankFrameFiltered() local
533 EVENT_KEY_VERSION_NAME, versionName, in ReportJankFrameFiltered()
548 const auto& versionName = info.baseInfo.versionName; in ReportJankFrameUnFiltered() local
561 EVENT_KEY_VERSION_NAME, versionName, in ReportJankFrameUnFiltered()
/ohos5.0/base/update/update_app/feature/ota/src/main/ets/manager/
H A DStateManager.ets324 let versionName = await VersionUtils.obtainNewVersionName(globalThis.cachedNewVersionInfo);
325 …await UpgradeAdapter.getInstance().getNotifyInstance()?.showDownloading(versionName, this.percent,…
478 let versionName = await VersionUtils.obtainNewVersionName(globalThis.cachedNewVersionInfo);
479 …await UpgradeAdapter.getInstance().getNotifyInstance()?.showInstalling(versionName, this.percent, …
536 let versionName = globalThis.lastVersionName;
537 LogUtils.log('StateManager', 'InstallFailed versionName is ' + versionName);
538 … await UpgradeAdapter.getInstance().getNotifyInstance()?.showUpgradeFailed(versionName, context);
587 let versionName = globalThis.lastVersionName;
588 LogUtils.info('StateManager', 'UpgradeSuccess versionName is ' + versionName);
589 … await UpgradeAdapter.getInstance().getNotifyInstance()?.showUpgradeSuccess(versionName, context);
/ohos5.0/base/hiviewdfx/hiview/plugins/performance/monitor/converter/
H A DAppLaunchMonitorConverter.h52 checkPointData.versionName = appEvtData.versionName; in ConvertAppEvtDataToCheckPointData()
77 reportEvent.versionName = metrics.versionName; in ConvertMetricToReportEvent()
/ohos5.0/base/update/update_app/common/src/main/ets/manager/
H A DUpgradeInterface.ets173 * @param versionName 版本号
176 showUpgradeFailed(versionName: string, context: common.Context): Promise<void>;
181 * @param versionName 版本号
184 showUpgradeSuccess(versionName: string, context: common.Context): Promise<void>;
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_js_info_base_test/
H A Dfms_form_js_info_base_test.cpp89 std::string versionName = "versionName"; variable
90 parcel.WriteString16(Str8ToStr16(versionName));
137 std::string versionName = "versionName"; variable
138 parcel.WriteString16(Str8ToStr16(versionName));
180 std::string versionName = "versionName"; variable
181 parcel.WriteString16(Str8ToStr16(versionName));
226 std::string versionName = "versionName"; variable
227 parcel.WriteString16(Str8ToStr16(versionName));
/ohos5.0/docs/en/application-dev/faqs/
H A Dfaqs-bundle-management.md19 …ecified by **BundleInfo.versionCode**) and version name (specified by **BundleInfo.versionName**) .
30 const versionName = data.versionName;
31 …o(0x0000, 'testTag', `successfully. versionCode: ${versionCode}, versionName: ${versionName}`);
76 let versionName = bundleInfo.versionName; // Application version name.
/ohos5.0/base/hiviewdfx/hiview/plugins/faultlogger/service/sanitizer_collector/
H A Dzip_helper.cpp107 info.versionName.c_str()); in GetDfxBundleInfo()
110 bundleInfo.versionName = info.versionName; in GetDfxBundleInfo()
/ohos5.0/base/hiviewdfx/hiview/plugins/performance/reporter/adapter/
H A DJankAnimatorReporterAdapter.cpp72 data.versionName = event.versionName; in ConvertReporterEventToData()
105 info.versionName = event.versionName; in ConvertReportEventToEventInfo()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/shared/
H A Dshared_module_info.cpp43 versionName = Str16ToStr8(parcel.ReadString16()); in ReadFromParcel()
63 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(String16, parcel, Str8ToStr16(versionName)); in Marshalling()
93 {SHARED_MODULE_INFO_VERSION_NAME, sharedModuleInfo.versionName}, in to_json()
118 sharedModuleInfo.versionName, JsonType::STRING, false, parseResult, in from_json()
/ohos5.0/foundation/bundlemanager/bundle_framework/test/benchmarktest/ability_info_test/
H A Dability_info_test.cpp51 info.versionName = "1.0"; in BenchmarkTestForReadFromParcel()
89 info.versionName = "1.0"; in BenchmarkTestForMarshalling()
126 info.versionName = "1.0"; in BenchmarkTestForUnmarshalling()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/
H A Ddistributed_bundle_info.cpp49 versionName = Str16ToStr8(parcel.ReadString16()); in ReadFromParcel()
77 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(String16, parcel, Str8ToStr16(versionName)); in Marshalling()
107 jsonObject[JSON_KEY_VERSION_NAME] = versionName; in ToString()
164 versionName, in FromJsonString()
/ohos5.0/foundation/bundlemanager/bundle_framework/test/benchmarktest/extension_ability_info_test/
H A Dextension_ability_info_test.cpp45 info.applicationInfo.versionName = "1.0"; in BenchmarkTestForReadFromParcel()
83 info.applicationInfo.versionName = "1.0"; in BenchmarkTestForMarshalling()
120 info.applicationInfo.versionName = "1.0"; in BenchmarkTestForUnmarshalling()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/quick_fix/
H A Dpatch_profile.cpp48 std::string versionName; member
87 app.versionName, in from_json()
204 appQuickFix.versionName = patchJson.app.versionName; in ToPatchInfo()
206 appQuickFix.deployingAppqfInfo.versionName = patchJson.app.patchVersionName; in ToPatchInfo()

1234567891011