Home
last modified time | relevance | path

Searched refs:bundleVersion (Results 1 – 25 of 40) sorted by relevance

12

/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/MediaLibraryExt/entry/src/main/ets/MediaBackupExtensionAbility/
H A DMediaBackupExtensionAbility.ts158 async onRestore(bundleVersion : BundleVersion) : Promise<void> {
159 console.log(TAG, `onRestore ok ${JSON.stringify(bundleVersion)}`);
162 let sceneCode: number = this.getSceneCode(bundleVersion);
167 async onRestoreEx(bundleVersion: BundleVersion, bundleInfo: string): Promise<string> {
168 …console.log(TAG, `onRestoreEx ok ${JSON.stringify(bundleVersion)}, ${JSON.stringify(bundleInfo)}`);
171 let sceneCode: number = this.getSceneCode(bundleVersion);
399 private getSceneCode(bundleVersion: BundleVersion): number {
400 if (bundleVersion.name.startsWith(UPGRADE_NAME)) {
403 if (bundleVersion.name === DUAL_FRAME_CLONE_NAME && bundleVersion.code === 0) {
406 if (bundleVersion.name === OTHERS_PHONE_FRAME_CLONE_NAME && bundleVersion.code === 0) {
[all …]
/ohos5.0/docs/zh-cn/application-dev/reference/apis-core-file-kit/
H A Djs-apis-application-backupExtensionAbility.md133 onRestore(bundleVersion: BundleVersion): void;
143 | bundleVersion | [BundleVersion](#bundleversion) | 是 | 恢复时应用数据所在的版本信息。 |
151 async onRestore(bundleVersion : BundleVersion) {
152 console.log(`onRestore ok ${JSON.stringify(bundleVersion)}`);
159 onRestoreEx(bundleVersion: BundleVersion, restoreInfo: string): string | Promise&lt;string&gt;
172 | bundleVersion | [BundleVersion](#bundleversion) | 是 | 恢复时应用数据所在的版本信息。 |
191 async onRestoreEx(bundleVersion : BundleVersion, restoreInfo: string): Promise<string> {
192 console.log(`onRestoreEx ok ${JSON.stringify(bundleVersion)}`);
219 onRestoreEx(bundleVersion : BundleVersion, restoreInfo: string): string {
220 console.log(`onRestoreEx ok ${JSON.stringify(bundleVersion)}`);
/ohos5.0/base/hiviewdfx/hiview/test/unittest/unified_collection/client/
H A Dtrace_collector_client_test.cpp159 appCaller.bundleVersion = "2.0.1";
187 appCaller.bundleVersion = "2.0.1";
221 appCaller1.bundleVersion = "2.0.1";
237 appCaller2.bundleVersion = "2.0.1";
271 appCaller1.bundleVersion = "2.0.1";
305 appCaller1.bundleVersion = "2.0.1";
321 appCaller2.bundleVersion = "2.0.1";
355 appCaller1.bundleVersion = "2.0.1";
377 appCaller3.bundleVersion = "2.0.1";
410 appCaller1.bundleVersion = "2.0.1";
[all …]
/ohos5.0/foundation/multimedia/ringtone_library/frameworks/ringtone_extension_hap/RingtoneLibraryExt/entry/src/main/ets/RingtoneBackupExtAbility/
H A DRingtoneBackupExtAbility.ts50 async onRestoreEx(bundleVersion: BundleVersion, restoreInfo: string): Promise<string> {
51 console.log(TAG, `onRestoreEx ok ${JSON.stringify(bundleVersion)}`);
58 if (bundleVersion.name.startsWith(UPGRADE_NAME)) {
60 } else if (bundleVersion.name === DUAL_FRAME_CLONE_NAME && bundleVersion.code === 0) {
/ohos5.0/docs/en/application-dev/reference/apis-core-file-kit/
H A Djs-apis-application-backupExtensionAbility.md135 onRestore(bundleVersion: BundleVersion): void;
145 | bundleVersion | [BundleVersion](#bundleversion) | Yes | Version information of the application d…
153 async onRestore(bundleVersion : BundleVersion) {
154 console.log(`onRestore ok ${JSON.stringify(bundleVersion)}`);
161 onRestoreEx(bundleVersion: BundleVersion, restoreInfo: string): string | Promise&lt;string&gt;
176 | bundleVersion | [BundleVersion](#bundleversion) | Yes | Version information of the application d…
195 async onRestoreEx(bundleVersion : BundleVersion, restoreInfo: string): Promise<string> {
196 console.log(`onRestoreEx ok ${JSON.stringify(bundleVersion)}`);
223 onRestoreEx(bundleVersion : BundleVersion, restoreInfo: string): string {
224 console.log(`onRestoreEx ok ${JSON.stringify(bundleVersion)}`);
/ohos5.0/docs/zh-cn/application-dev/file-management/
H A Dapp-file-backup-extension.md88 async onRestore (bundleVersion : BundleVersion) {
89 hilog.info(0x0000, TAG, `onRestore ok ${JSON.stringify(bundleVersion)}`);
118 async onRestoreEx(bundleVersion : BundleVersion, restoreInfo: string): Promise<string> {
119 console.log(`onRestoreEx ok ${JSON.stringify(bundleVersion)}`);
/ohos5.0/base/hiviewdfx/hiview/plugins/performance/event_publisher/
H A DEventObserverConverter.h32 info.bundleVersion = data.versionName; in ConvertToAppStartInfo()
44 info.bundleVersion = data.versionName; in ConvertToScrollJankEvtInfo()
/ohos5.0/base/hiviewdfx/hicollie/frameworks/native/
H A Dwatchdog.cpp61 void Watchdog::SetBundleInfo(const std::string& bundleName, const std::string& bundleVersion) in SetBundleInfo() argument
63 return WatchdogInner::GetInstance().SetBundleInfo(bundleName, bundleVersion); in SetBundleInfo()
/ohos5.0/docs/zh-cn/application-dev/dfx/
H A Dhiappevent-watcher-address-sanitizer-events-ndk.md85 auto bundleVersion = params["bundle_version"].asString();
94 …(LogType::LOG_APP, "HiAppEvent eventInfo.params.bundle_version=%{public}s", bundleVersion.c_str());
145 auto bundleVersion = eventInfo["bundle_version"].asString();
153 …(LogType::LOG_APP, "HiAppEvent eventInfo.params.bundle_version=%{public}s", bundleVersion.c_str());
H A Dhiappevent-watcher-crash-events-ndk.md91 auto bundleVersion = params["bundle_version"].asString();
103 …(LogType::LOG_APP, "HiAppEvent eventInfo.params.bundle_version=%{public}s", bundleVersion.c_str());
158 auto bundleVersion = eventInfo["bundle_version"].asString();
170 …(LogType::LOG_APP, "HiAppEvent eventInfo.params.bundle_version=%{public}s", bundleVersion.c_str());
H A Dhiappevent-watcher-resourceleak-events-ndk.md87 auto bundleVersion = params["bundle_version"].asString();
96 …(LogType::LOG_APP, "HiAppEvent eventInfo.params.bundle_version=%{public}s", bundleVersion.c_str());
145 auto bundleVersion = eventInfo["bundle_version"].asString();
154 …(LogType::LOG_APP, "HiAppEvent eventInfo.params.bundle_version=%{public}s", bundleVersion.c_str());
H A Dhiappevent-watcher-freeze-events-ndk.md86 auto bundleVersion = params["bundle_version"].asString();
104 …(LogType::LOG_APP, "HiAppEvent eventInfo.params.bundle_version=%{public}s", bundleVersion.c_str());
165 auto bundleVersion = eventInfo["bundle_version"].asString();
183 …(LogType::LOG_APP, "HiAppEvent eventInfo.params.bundle_version=%{public}s", bundleVersion.c_str());
H A Dhiappevent-watcher-mainthreadjank-events-ndk.md89 auto bundleVersion = params["bundle_version"].asString();
100 bundleVersion.c_str());
/ohos5.0/base/update/sys_installer/services/module_update/util/src/
H A Dmodule_ipc_helper.cpp53 info.bundleVersion = Str16ToStr8(reply.ReadString16()); in ReadBundleInfo()
59 data.WriteString16(Str8ToStr16(info.bundleVersion)); in WriteBundleInfo()
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/appkit/dfr/
H A Dwatchdog.cpp93 void Watchdog::SetBundleInfo(const std::string& bundleName, const std::string& bundleVersion) in SetBundleInfo() argument
95 OHOS::HiviewDFX::Watchdog::GetInstance().SetBundleInfo(bundleName, bundleVersion); in SetBundleInfo()
/ohos5.0/docs/en/application-dev/file-management/
H A Dapp-file-backup-extension.md86 async onRestore (bundleVersion : BundleVersion) {
87 hilog.info(0x0000, TAG, `onRestore ok ${JSON.stringify(bundleVersion)}`);
116 async onRestoreEx(bundleVersion : BundleVersion, restoreInfo: string): Promise<string> {
117 console.log(`onRestoreEx ok ${JSON.stringify(bundleVersion)}`);
/ohos5.0/foundation/ability/ability_runtime/interfaces/kits/native/appkit/dfr/
H A Dwatchdog.h91 void SetBundleInfo(const std::string& bundleName, const std::string& bundleVersion);
/ohos5.0/base/hiviewdfx/hicollie/interfaces/native/innerkits/include/xcollie/
H A Dwatchdog.h98 void SetBundleInfo(const std::string& bundleName, const std::string& bundleVersion);
/ohos5.0/base/hiviewdfx/hiview/interfaces/inner_api/unified_collection/client/
H A Dtrace_collector.h34 std::string bundleVersion; // app bundle version member
/ohos5.0/docs/en/application-dev/dfx/
H A Dhiappevent-watcher-address-sanitizer-events-ndk.md85 auto bundleVersion = params["bundle_version"].asString();
94 …(LogType::LOG_APP, "HiAppEvent eventInfo.params.bundle_version=%{public}s", bundleVersion.c_str());
145 auto bundleVersion = eventInfo["bundle_version"].asString();
153 …(LogType::LOG_APP, "HiAppEvent eventInfo.params.bundle_version=%{public}s", bundleVersion.c_str());
H A Dhiappevent-watcher-resourceleak-events-ndk.md87 auto bundleVersion = params["bundle_version"].asString();
96 …(LogType::LOG_APP, "HiAppEvent eventInfo.params.bundle_version=%{public}s", bundleVersion.c_str());
145 auto bundleVersion = eventInfo["bundle_version"].asString();
154 …(LogType::LOG_APP, "HiAppEvent eventInfo.params.bundle_version=%{public}s", bundleVersion.c_str());
H A Dhiappevent-watcher-crash-events-ndk.md91 auto bundleVersion = params["bundle_version"].asString();
103 …(LogType::LOG_APP, "HiAppEvent eventInfo.params.bundle_version=%{public}s", bundleVersion.c_str());
158 auto bundleVersion = eventInfo["bundle_version"].asString();
170 …(LogType::LOG_APP, "HiAppEvent eventInfo.params.bundle_version=%{public}s", bundleVersion.c_str());
H A Dhiappevent-watcher-freeze-events-ndk.md86 auto bundleVersion = params["bundle_version"].asString();
104 …(LogType::LOG_APP, "HiAppEvent eventInfo.params.bundle_version=%{public}s", bundleVersion.c_str());
165 auto bundleVersion = eventInfo["bundle_version"].asString();
183 …(LogType::LOG_APP, "HiAppEvent eventInfo.params.bundle_version=%{public}s", bundleVersion.c_str());
/ohos5.0/base/hiviewdfx/hiview/plugins/faultlogger/service/
H A Dfreeze_json_generator.cpp169 …JsonParams::Builder& FreezeJsonParams::Builder::InitBundleVersion(const std::string& bundleVersion) in InitBundleVersion() argument
171 bundleVersion_ = bundleVersion; in InitBundleVersion()
/ohos5.0/base/hiviewdfx/hiview/base/event_publish/include/
H A Dapp_event_handler.h29 std::string bundleVersion; member

12