/ohos5.0/docs/zh-cn/application-dev/faqs/ |
H A D | faqs-bundle-management.md | 15 ## 如何获取应用配置的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 D | AppLaunchConverter.h | 35 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 D | bundle_info_test.cpp | 35 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 D | bundle_info_utils.cpp | 53 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 D | dp_utils.cpp | 79 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 D | application_info_test.cpp | 36 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 D | app_quick_fix.cpp | 40 {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 D | appqf_info.cpp | 40 {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 D | IAppLaunchSceneDb.h | 31 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 D | fold_event_cacher.cpp | 74 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 D | svc_restore_deps_manager_test.cpp | 94 .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 D | EventsPoster.cpp | 43 info.versionName = event.versionName; in ConvertToAppStartInfo() 77 info.versionName = event.versionName; in ConvertToScrollJankInfo()
|
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | event_report.cpp | 388 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 D | StateManager.ets | 324 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 D | AppLaunchMonitorConverter.h | 52 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 D | UpgradeInterface.ets | 173 * @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 D | fms_form_js_info_base_test.cpp | 89 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 D | faqs-bundle-management.md | 19 …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 D | zip_helper.cpp | 107 info.versionName.c_str()); in GetDfxBundleInfo() 110 bundleInfo.versionName = info.versionName; in GetDfxBundleInfo()
|
/ohos5.0/base/hiviewdfx/hiview/plugins/performance/reporter/adapter/ |
H A D | JankAnimatorReporterAdapter.cpp | 72 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 D | shared_module_info.cpp | 43 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 D | ability_info_test.cpp | 51 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 D | distributed_bundle_info.cpp | 49 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 D | extension_ability_info_test.cpp | 45 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 D | patch_profile.cpp | 48 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()
|