/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/MediaLibraryExt/entry/src/main/ets/MediaBackupExtensionAbility/ |
H A D | MediaBackupExtensionAbility.ts | 158 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 D | js-apis-application-backupExtensionAbility.md | 133 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<string> 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 D | trace_collector_client_test.cpp | 159 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 D | RingtoneBackupExtAbility.ts | 50 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 D | js-apis-application-backupExtensionAbility.md | 135 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<string> 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 D | app-file-backup-extension.md | 88 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 D | EventObserverConverter.h | 32 info.bundleVersion = data.versionName; in ConvertToAppStartInfo() 44 info.bundleVersion = data.versionName; in ConvertToScrollJankEvtInfo()
|
/ohos5.0/base/hiviewdfx/hicollie/frameworks/native/ |
H A D | watchdog.cpp | 61 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 D | hiappevent-watcher-address-sanitizer-events-ndk.md | 85 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 D | hiappevent-watcher-crash-events-ndk.md | 91 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 D | hiappevent-watcher-resourceleak-events-ndk.md | 87 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 D | hiappevent-watcher-freeze-events-ndk.md | 86 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 D | hiappevent-watcher-mainthreadjank-events-ndk.md | 89 auto bundleVersion = params["bundle_version"].asString(); 100 bundleVersion.c_str());
|
/ohos5.0/base/update/sys_installer/services/module_update/util/src/ |
H A D | module_ipc_helper.cpp | 53 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 D | watchdog.cpp | 93 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 D | app-file-backup-extension.md | 86 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 D | watchdog.h | 91 void SetBundleInfo(const std::string& bundleName, const std::string& bundleVersion);
|
/ohos5.0/base/hiviewdfx/hicollie/interfaces/native/innerkits/include/xcollie/ |
H A D | watchdog.h | 98 void SetBundleInfo(const std::string& bundleName, const std::string& bundleVersion);
|
/ohos5.0/base/hiviewdfx/hiview/interfaces/inner_api/unified_collection/client/ |
H A D | trace_collector.h | 34 std::string bundleVersion; // app bundle version member
|
/ohos5.0/docs/en/application-dev/dfx/ |
H A D | hiappevent-watcher-address-sanitizer-events-ndk.md | 85 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 D | hiappevent-watcher-resourceleak-events-ndk.md | 87 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 D | hiappevent-watcher-crash-events-ndk.md | 91 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 D | hiappevent-watcher-freeze-events-ndk.md | 86 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 D | freeze_json_generator.cpp | 169 …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 D | app_event_handler.h | 29 std::string bundleVersion; member
|