From 6f2f416909d768fa129867a654ddd24693fca310 Mon Sep 17 00:00:00 2001 From: xinking129 Date: Fri, 21 Apr 2023 18:23:52 +0800 Subject: [PATCH] delete apprecovery Signed-off-by: xinking129 --- ability/ability_runtime/BUILD.gn | 1 - .../AppScope/app.json | 19 - .../resources/base/element/string.json | 8 - .../resources/base/media/app_icon.png | Bin 6790 -> 0 bytes .../ActsAppRecoveryTestCaller/BUILD.gn | 43 - .../ActsAppRecoveryTestCaller/Test.json | 28 - .../ets/TestRunner/OpenHarmonyTestRunner.ts | 85 -- .../entry/src/main/ets/test/Ability.test.ets | 813 ------------------ .../entry/src/main/ets/test/List.test.ets | 19 - .../src/main/ets/testability/TestAbility.ets | 73 -- .../src/main/ets/testability/pages/Index.ets | 49 -- .../entry/src/main/module.json | 45 - .../main/resources/base/element/color.json | 8 - .../main/resources/base/element/string.json | 16 - .../src/main/resources/base/media/icon.png | Bin 6790 -> 0 bytes .../resources/base/profile/test_pages.json | 5 - .../signature/openharmony_sx.p7b | Bin 3455 -> 0 bytes .../AppRecoveryRely/AppScope/app.json | 19 - .../resources/base/element/string.json | 8 - .../resources/base/media/app_icon.png | Bin 6790 -> 0 bytes .../apprecovery/AppRecoveryRely/BUILD.gn | 43 - .../entry/src/main/ets/app/MyAbilityStage.ets | 24 - .../src/main/ets/entryability/EntryAbility.ts | 125 --- .../entry/src/main/ets/pages/Index.ets | 31 - .../entry/src/main/module.json | 39 - .../main/resources/base/element/color.json | 8 - .../main/resources/base/element/string.json | 16 - .../src/main/resources/base/media/icon.png | Bin 6790 -> 0 bytes .../resources/base/profile/main_pages.json | 5 - .../main/resources/en_US/element/string.json | 16 - .../main/resources/zh_CN/element/string.json | 16 - .../signature/openharmony_sx.p7b | Bin 3444 -> 0 bytes .../AppRecoverysRely/AppScope/app.json | 19 - .../resources/base/element/string.json | 8 - .../resources/base/media/app_icon.png | Bin 6790 -> 0 bytes .../apprecovery/AppRecoverysRely/BUILD.gn | 42 - .../entry/src/main/ets/app/MyAbilityStage.ets | 24 - .../src/main/ets/entryability/EntryAbility.ts | 127 --- .../ets/entryabilitysec/EntryAbilitySec.ts | 122 --- .../entry/src/main/ets/pages/Index.ets | 31 - .../entry/src/main/ets/pages/Index_sec.ets | 31 - .../entry/src/main/module.json | 50 -- .../main/resources/base/element/color.json | 8 - .../main/resources/base/element/string.json | 24 - .../src/main/resources/base/media/icon.png | Bin 6790 -> 0 bytes .../resources/base/profile/main_pages.json | 6 - .../main/resources/en_US/element/string.json | 24 - .../main/resources/zh_CN/element/string.json | 24 - .../signature/openharmony_sx.p7b | Bin 3446 -> 0 bytes ability/ability_runtime/apprecovery/BUILD.gn | 25 - 50 files changed, 2127 deletions(-) delete mode 100644 ability/ability_runtime/apprecovery/ActsAppRecoveryTestCaller/AppScope/app.json delete mode 100644 ability/ability_runtime/apprecovery/ActsAppRecoveryTestCaller/AppScope/resources/base/element/string.json delete mode 100644 ability/ability_runtime/apprecovery/ActsAppRecoveryTestCaller/AppScope/resources/base/media/app_icon.png delete mode 100644 ability/ability_runtime/apprecovery/ActsAppRecoveryTestCaller/BUILD.gn delete mode 100644 ability/ability_runtime/apprecovery/ActsAppRecoveryTestCaller/Test.json delete mode 100644 ability/ability_runtime/apprecovery/ActsAppRecoveryTestCaller/entry/src/main/ets/TestRunner/OpenHarmonyTestRunner.ts delete mode 100644 ability/ability_runtime/apprecovery/ActsAppRecoveryTestCaller/entry/src/main/ets/test/Ability.test.ets delete mode 100644 ability/ability_runtime/apprecovery/ActsAppRecoveryTestCaller/entry/src/main/ets/test/List.test.ets delete mode 100644 ability/ability_runtime/apprecovery/ActsAppRecoveryTestCaller/entry/src/main/ets/testability/TestAbility.ets delete mode 100644 ability/ability_runtime/apprecovery/ActsAppRecoveryTestCaller/entry/src/main/ets/testability/pages/Index.ets delete mode 100644 ability/ability_runtime/apprecovery/ActsAppRecoveryTestCaller/entry/src/main/module.json delete mode 100644 ability/ability_runtime/apprecovery/ActsAppRecoveryTestCaller/entry/src/main/resources/base/element/color.json delete mode 100644 ability/ability_runtime/apprecovery/ActsAppRecoveryTestCaller/entry/src/main/resources/base/element/string.json delete mode 100644 ability/ability_runtime/apprecovery/ActsAppRecoveryTestCaller/entry/src/main/resources/base/media/icon.png delete mode 100644 ability/ability_runtime/apprecovery/ActsAppRecoveryTestCaller/entry/src/main/resources/base/profile/test_pages.json delete mode 100644 ability/ability_runtime/apprecovery/ActsAppRecoveryTestCaller/signature/openharmony_sx.p7b delete mode 100644 ability/ability_runtime/apprecovery/AppRecoveryRely/AppScope/app.json delete mode 100644 ability/ability_runtime/apprecovery/AppRecoveryRely/AppScope/resources/base/element/string.json delete mode 100644 ability/ability_runtime/apprecovery/AppRecoveryRely/AppScope/resources/base/media/app_icon.png delete mode 100644 ability/ability_runtime/apprecovery/AppRecoveryRely/BUILD.gn delete mode 100644 ability/ability_runtime/apprecovery/AppRecoveryRely/entry/src/main/ets/app/MyAbilityStage.ets delete mode 100644 ability/ability_runtime/apprecovery/AppRecoveryRely/entry/src/main/ets/entryability/EntryAbility.ts delete mode 100644 ability/ability_runtime/apprecovery/AppRecoveryRely/entry/src/main/ets/pages/Index.ets delete mode 100644 ability/ability_runtime/apprecovery/AppRecoveryRely/entry/src/main/module.json delete mode 100644 ability/ability_runtime/apprecovery/AppRecoveryRely/entry/src/main/resources/base/element/color.json delete mode 100644 ability/ability_runtime/apprecovery/AppRecoveryRely/entry/src/main/resources/base/element/string.json delete mode 100644 ability/ability_runtime/apprecovery/AppRecoveryRely/entry/src/main/resources/base/media/icon.png delete mode 100644 ability/ability_runtime/apprecovery/AppRecoveryRely/entry/src/main/resources/base/profile/main_pages.json delete mode 100644 ability/ability_runtime/apprecovery/AppRecoveryRely/entry/src/main/resources/en_US/element/string.json delete mode 100644 ability/ability_runtime/apprecovery/AppRecoveryRely/entry/src/main/resources/zh_CN/element/string.json delete mode 100644 ability/ability_runtime/apprecovery/AppRecoveryRely/signature/openharmony_sx.p7b delete mode 100644 ability/ability_runtime/apprecovery/AppRecoverysRely/AppScope/app.json delete mode 100644 ability/ability_runtime/apprecovery/AppRecoverysRely/AppScope/resources/base/element/string.json delete mode 100644 ability/ability_runtime/apprecovery/AppRecoverysRely/AppScope/resources/base/media/app_icon.png delete mode 100644 ability/ability_runtime/apprecovery/AppRecoverysRely/BUILD.gn delete mode 100644 ability/ability_runtime/apprecovery/AppRecoverysRely/entry/src/main/ets/app/MyAbilityStage.ets delete mode 100644 ability/ability_runtime/apprecovery/AppRecoverysRely/entry/src/main/ets/entryability/EntryAbility.ts delete mode 100644 ability/ability_runtime/apprecovery/AppRecoverysRely/entry/src/main/ets/entryabilitysec/EntryAbilitySec.ts delete mode 100644 ability/ability_runtime/apprecovery/AppRecoverysRely/entry/src/main/ets/pages/Index.ets delete mode 100644 ability/ability_runtime/apprecovery/AppRecoverysRely/entry/src/main/ets/pages/Index_sec.ets delete mode 100644 ability/ability_runtime/apprecovery/AppRecoverysRely/entry/src/main/module.json delete mode 100644 ability/ability_runtime/apprecovery/AppRecoverysRely/entry/src/main/resources/base/element/color.json delete mode 100644 ability/ability_runtime/apprecovery/AppRecoverysRely/entry/src/main/resources/base/element/string.json delete mode 100644 ability/ability_runtime/apprecovery/AppRecoverysRely/entry/src/main/resources/base/media/icon.png delete mode 100644 ability/ability_runtime/apprecovery/AppRecoverysRely/entry/src/main/resources/base/profile/main_pages.json delete mode 100644 ability/ability_runtime/apprecovery/AppRecoverysRely/entry/src/main/resources/en_US/element/string.json delete mode 100644 ability/ability_runtime/apprecovery/AppRecoverysRely/entry/src/main/resources/zh_CN/element/string.json delete mode 100644 ability/ability_runtime/apprecovery/AppRecoverysRely/signature/openharmony_sx.p7b delete mode 100644 ability/ability_runtime/apprecovery/BUILD.gn diff --git a/ability/ability_runtime/BUILD.gn b/ability/ability_runtime/BUILD.gn index 3342f6212..6436220d2 100644 --- a/ability/ability_runtime/BUILD.gn +++ b/ability/ability_runtime/BUILD.gn @@ -44,7 +44,6 @@ group("ability_runtime") { "amsgetabilityprocessinfo:amsgetabilityprocessinfo", "apicover:apicover", "apitest:ActsApiTest", - "apprecovery:apprecovery", "context:context", "fa:fa", "faapicover:faapicover", diff --git a/ability/ability_runtime/apprecovery/ActsAppRecoveryTestCaller/AppScope/app.json b/ability/ability_runtime/apprecovery/ActsAppRecoveryTestCaller/AppScope/app.json deleted file mode 100644 index 1955d14f2..000000000 --- a/ability/ability_runtime/apprecovery/ActsAppRecoveryTestCaller/AppScope/app.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "app": { - "bundleName": "com.example.actsapprecoverytestcaller", - "vendor": "example", - "versionCode": 1000000, - "versionName": "1.0.0", - "icon": "$media:app_icon", - "label": "$string:app_name", - "distributedNotificationEnabled": true, - "keepAlive" : true, - "singleUser": true, - "minAPIVersion": 10, - "targetAPIVersion": 10, - "car": { - "apiCompatibleVersion": 10, - "singleUser": false - } - } -} diff --git a/ability/ability_runtime/apprecovery/ActsAppRecoveryTestCaller/AppScope/resources/base/element/string.json b/ability/ability_runtime/apprecovery/ActsAppRecoveryTestCaller/AppScope/resources/base/element/string.json deleted file mode 100644 index 085dcba96..000000000 --- a/ability/ability_runtime/apprecovery/ActsAppRecoveryTestCaller/AppScope/resources/base/element/string.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "ActsAppRecoveryTestCaller" - } - ] -} diff --git a/ability/ability_runtime/apprecovery/ActsAppRecoveryTestCaller/AppScope/resources/base/media/app_icon.png b/ability/ability_runtime/apprecovery/ActsAppRecoveryTestCaller/AppScope/resources/base/media/app_icon.png deleted file mode 100644 index ce307a8827bd75456441ceb57d530e4c8d45d36c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6790 zcmX|G1ymHk)?T_}Vd;>R?p|tHQo6fg38|$UVM!6BLrPFWk?s;$LOP{GmJpBl$qoSA!PUg~PA65-S00{{S`XKG6NkG0RgjEntPrmV+?0|00mu7;+5 zrdpa{2QLqPJ4Y{j7=Mrl{BaxrkdY69+c~(w{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Ahi_E_mfUth(sM4^hJq7B zQsGWqdZUm9S%F`$nQ*_#NcuD`&)Ek%_s{&^78{9Hm ztri&rYLOxgFdG>O@+XHy z9#;|&vBCPXH5Mon^I`jSuR$&~ZWtyB67ujzFSj!51>#C}C17~TffQ{c-!QFQkTQ%! zIR^b1`zHx|*1GU?tbBx23weFLz5H?y_Q%N&t$}k?w+``2A=aotj0;2v$~AL z{scF-cL{wsdrmPvf#a9OHyYLcwQD4Kcm)`LLwMh4WT~p29f7M!iafJSU`IV}QY5Wa z(n44-9oA}?J{a+ah*@31WTs#&J#o1`H98#6IQf;Wv0N_!);f&9g7o-k(lW5rWnDUR zQBFIRG+X=6NnsI@mxnwm;tf5;_Uxg?jZ8m-m0}&6+DA!qam(p$mN5R})yA_7m$q@| zFEd|dpS595rxQr-n#GjI5i-AhnUE>Cr;jpCqSrD~EwK_DqI^7%3#p5)%T_od!t3SOmH9MyXeeGO2(UQL;ax|x?Ncixmeo1=$ z{-);Au{*tfzOG?KQ~K|ak8-HQ?`Pekhe2WM(8s{xv-p>Zmu_6{G!-oE$7$mY`MOJorI=+mMx?H;`pr!;fVYz?5~yXBACruWB`Ph zZM}90_<^OBxIhyZ9BW$`>6JvO;%VFpqVr8|7t3~AmxYak6?`Pp#c;**_SYmi`&z23 z`p6_~ePvH)C6x-G9$hgL=eVALq`-AiamN>!3~Lxw&{H(b{B(7xSRm6<3<{%{yXiH# zos5Rv1L+8fUKJLo%P>4I&$}y { - hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); - hilog.info(0x0000, 'testTag', 'executeShellCommand : err : %{public}s', JSON.stringify(err) ?? ''); - hilog.info(0x0000, 'testTag', 'executeShellCommand : data : %{public}s', d.stdResult ?? ''); - hilog.info(0x0000, 'testTag', 'executeShellCommand : data : %{public}s', d.exitCode ?? ''); - }) - hilog.info(0x0000, 'testTag', '%{public}s', 'OpenHarmonyTestRunner onRun end'); - } -} \ No newline at end of file diff --git a/ability/ability_runtime/apprecovery/ActsAppRecoveryTestCaller/entry/src/main/ets/test/Ability.test.ets b/ability/ability_runtime/apprecovery/ActsAppRecoveryTestCaller/entry/src/main/ets/test/Ability.test.ets deleted file mode 100644 index 0b14a14ac..000000000 --- a/ability/ability_runtime/apprecovery/ActsAppRecoveryTestCaller/entry/src/main/ets/test/Ability.test.ets +++ /dev/null @@ -1,813 +0,0 @@ -/* - * Copyright (c) 2023 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import hilog from '@ohos.hilog'; -import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium' -import commonEvent from '@ohos.commonEvent' -import abilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry'; -import missionManager from '@ohos.application.missionManager'; -import wantConstant from '@ohos.app.ability.wantConstant' - -const CASE_TIME_OUT=5000; -var ACTS_AppRecovery = { - events: ["ACTS_AppRecovery_First", "ACTS_AppRecovery_Second"] -}; - -export default function abilityTest() { - describe('ActsAbilityTest', function () { - - /* - * @tc.number: Acts_AppRecovery_0100 - * @tc.name: Fault recovery of multi-Ability application - * @tc.desc: When the application settings restart recovery status is valid, the pre-failure state of Ability - * application will not be restored after normal exit and restart. - */ - it('Acts_AppRecovery_0100',0, async function (done) { - let subscriber; - let flag = false; - console.info("Acts_AppRecovery_0100====> start") - commonEvent.createSubscriber(ACTS_AppRecovery).then(async (data) => { - console.debug("Acts_AppRecovery_0100====> Create Subscribe"); - subscriber = data; - commonEvent.subscribe(subscriber, subscribeCallBack); - globalThis.abilityContext.startAbility( - { - bundleName: "com.example.apprecoveryrely", - abilityName: "EntryAbility", - action: "Acts_AppRecovery_0100_once" - },(err)=>{ - console.debug("Acts_AppRecovery_0100====> startAbility err:"+JSON.stringify(err)); - expect(err.code).assertEqual(0); - }) - }) - - function subscribeCallBack(err, data) { - console.debug("Acts_AppRecovery_0100====> subscribeCallBack data:" + JSON.stringify(data)); - if(data.event == "ACTS_AppRecovery_First") { - expect(data.parameters.message[wantConstant.Params.ABILITY_RECOVERY_RESTART]).assertEqual(undefined); - setTimeout(() => { - commonEvent.subscribe(subscriber, subscribeCallBackSecond); - globalThis.abilityContext.startAbility( - { - bundleName: "com.example.apprecoveryrely", - abilityName: "EntryAbility", - action: "Acts_AppRecovery_0100_twice" - }, - (err) => { - console.debug("Acts_AppRecovery_0100====> second startAbility err:" + JSON.stringify(err)); - expect(err.code).assertEqual(0); - } - ); - }, 800); - } - } - - function subscribeCallBackSecond(err, data) { - console.debug("Acts_AppRecovery_0100====> second subscribeCallBack data:" + JSON.stringify(data)); - if(data.event == "ACTS_AppRecovery_Second") { - flag=true; - expect(data.parameters.message[wantConstant.Params.ABILITY_RECOVERY_RESTART]).assertEqual(undefined); - commonEvent.unsubscribe(subscriber, unSubscribeCallback); - } - } - - function unSubscribeCallback() { - setTimeout(() => { - console.debug("Acts_AppRecovery_0100====> unSubscribeCallback"); - done(); - }, 800); - } - - setTimeout(()=>{ - if(flag==false){ - expect().assertFail(); - commonEvent.unsubscribe(subscriber, unSubscribeCallback); - } - },CASE_TIME_OUT) - }) - - /* - * @tc.number: Acts_AppRecovery_0200 - * @tc.name: Fault recovery of multi-Ability application - * @tc.desc: When the application settings restart recovery status is valid, the pre-failure state of Ability - * application will not be restored after normal exit and restart. - */ - it('Acts_AppRecovery_0200',0, async function (done) { - let subscriber; - let flag = false; - let countFirst = 0; - let countSecond = 0; - console.info("Acts_AppRecovery_0200====> start") - commonEvent.createSubscriber(ACTS_AppRecovery).then(async (data) => { - console.debug("Acts_AppRecovery_0200====> Create Subscribe"); - subscriber = data; - commonEvent.subscribe(subscriber, subscribeCallBack); - globalThis.abilityContext.startAbility( - { - bundleName: "com.example.apprecoverysrely", - abilityName: "EntryAbility", - action: "Acts_AppRecovery_0200_once" - },(err)=>{ - console.debug("Acts_AppRecovery_0200====> startAbility err:"+JSON.stringify(err)); - expect(err.code).assertEqual(0); - }) - }) - - function subscribeCallBack(err, data) { - console.debug("Acts_AppRecovery_0200====> subscribeCallBack data:" + JSON.stringify(data)); - if(data.event == "ACTS_AppRecovery_First") { - countFirst++; - expect(data.parameters.message[wantConstant.Params.ABILITY_RECOVERY_RESTART]).assertEqual(undefined); - if (countFirst < 2) { - return; - } - setTimeout(() => { - commonEvent.subscribe(subscriber, subscribeCallBackSecond); - globalThis.abilityContext.startAbility( - { - bundleName: "com.example.apprecoverysrely", - abilityName: "EntryAbility", - action: "Acts_AppRecovery_0200_twice" - }, - (err) => { - console.debug("Acts_AppRecovery_0200====> second startAbility err:" + JSON.stringify(err)); - expect(err.code).assertEqual(0); - } - ); - }, 800); - } - } - - function subscribeCallBackSecond(err, data) { - console.debug("Acts_AppRecovery_0200====> second subscribeCallBack data:" + JSON.stringify(data)); - if(data.event == "ACTS_AppRecovery_Second") { - countSecond++; - flag=true; - expect(data.parameters.message[wantConstant.Params.ABILITY_RECOVERY_RESTART]).assertEqual(undefined); - if (countSecond == 2) { - commonEvent.unsubscribe(subscriber, unSubscribeCallback); - } - } - } - - function unSubscribeCallback() { - setTimeout(() => { - console.debug("Acts_AppRecovery_0200====> unSubscribeCallback"); - done(); - }, 800); - } - - setTimeout(()=>{ - if(flag==false){ - expect().assertFail(); - commonEvent.unsubscribe(subscriber, unSubscribeCallback); - } - },CASE_TIME_OUT) - }) - - /* - * @tc.number: Acts_AppRecovery_0300 - * @tc.name: Fault recovery of multi-Ability application - * @tc.desc: When the application setting restart recovery status is valid, exit the application by clearing the - * task list and do not restore the pre-failure state of the Ability application after the application - * restart. - */ - it('Acts_AppRecovery_0300',0, async function (done) { - let subscriber; - let flag = false; - console.info("Acts_AppRecovery_0300====> start") - commonEvent.createSubscriber(ACTS_AppRecovery).then(async (data) => { - console.debug("Acts_AppRecovery_0300====> Create Subscribe"); - subscriber = data; - commonEvent.subscribe(subscriber, subscribeCallBack); - globalThis.abilityContext.startAbility( - { - bundleName: "com.example.apprecoveryrely", - abilityName: "EntryAbility", - action: "Acts_AppRecovery_0300_once" - },(err)=>{ - console.debug("Acts_AppRecovery_0300====> startAbility err:"+JSON.stringify(err)); - expect(err.code).assertEqual(0); - }) - }) - function subscribeCallBack(err, data) { - console.debug("Acts_AppRecovery_0300====> subscribeCallBack data:" + JSON.stringify(data)); - if(data.event == "ACTS_AppRecovery_First") { - expect(data.parameters.message[wantConstant.Params.ABILITY_RECOVERY_RESTART]).assertEqual(undefined); - missionManager.getMissionInfos('', 1024, (err, missionInfos)=>{ - console.debug('Acts_AppRecovery_0300====> missionInfos: ' + JSON.stringify(missionInfos)); - console.debug('Acts_AppRecovery_0300====> missionInfos.length: ' + JSON.stringify(missionInfos.length)); - for (var i = 0; i < missionInfos.length; i++) { - if ((missionInfos[i].want.bundleName == "com.example.apprecoveryrely") - && (missionInfos[i].want.abilityName == "EntryAbility")) { - missionManager.clearMission(missionInfos[i].missionId, (err)=>{ - console.debug('Acts_AppRecovery_0300====> clearMission err: ' + JSON.stringify(err)); - }) - } - } - setTimeout(()=>{ - commonEvent.subscribe(subscriber, subscribeCallBackSecond); - globalThis.abilityContext.startAbility( - { - bundleName: "com.example.apprecoveryrely", - abilityName: "EntryAbility", - action: "Acts_AppRecovery_0300_twice" - }, (err) => { - console.debug("Acts_AppRecovery_0300====> second startAbility err:" + JSON.stringify(err)); - expect(err.code).assertEqual(0); - }) - }, 800) - }); - } - } - function subscribeCallBackSecond(err, data) { - console.debug("Acts_AppRecovery_0300====> second subscribeCallBack data:" + JSON.stringify(data)); - if(data.event == "ACTS_AppRecovery_Second") { - flag=true; - expect(data.parameters.message[wantConstant.Params.ABILITY_RECOVERY_RESTART]).assertEqual(undefined); - commonEvent.unsubscribe(subscriber, unSubscribeCallback); - } - } - function unSubscribeCallback() { - setTimeout(() => { - console.debug("Acts_AppRecovery_0300====> unSubscribeCallback"); - done(); - }, 800); - } - setTimeout(()=>{ - if(flag==false){ - expect().assertFail(); - commonEvent.unsubscribe(subscriber, unSubscribeCallback); - } - },CASE_TIME_OUT) - }) - - /* - * @tc.number: Acts_AppRecovery_0400 - * @tc.name: Fault recovery of multi-Ability application - * @tc.desc: When the application setting restart recovery status is valid, exit the application by clearing the - * task list and do not restore the pre-failure state of the Ability application after the application - * restart. - */ - it('Acts_AppRecovery_0400',0, async function (done) { - let subscriber; - let flag = false; - let countFirst = 0; - let countSecond = 0; - console.info("Acts_AppRecovery_0400====> start") - commonEvent.createSubscriber(ACTS_AppRecovery).then(async (data) => { - console.debug("Acts_AppRecovery_0400====> Create Subscribe"); - subscriber = data; - commonEvent.subscribe(subscriber, subscribeCallBack); - globalThis.abilityContext.startAbility( - { - bundleName: "com.example.apprecoverysrely", - abilityName: "EntryAbility", - action: "Acts_AppRecovery_0400_once" - },(err)=>{ - console.debug("Acts_AppRecovery_0400====> startAbility err:"+JSON.stringify(err)); - expect(err.code).assertEqual(0); - }) - }) - function subscribeCallBack(err, data) { - console.debug("Acts_AppRecovery_0400====> subscribeCallBack data:" + JSON.stringify(data)); - if(data.event == "ACTS_AppRecovery_First") { - countFirst++; - expect(data.parameters.message[wantConstant.Params.ABILITY_RECOVERY_RESTART]).assertEqual(undefined); - if (countFirst < 2) { - return; - } - missionManager.getMissionInfos('', 1024, (err, missionInfos)=>{ - console.debug('Acts_AppRecovery_0400====> missionInfos: ' + JSON.stringify(missionInfos)); - console.debug('Acts_AppRecovery_0400====> missionInfos.length: ' + JSON.stringify(missionInfos.length)); - for (var i = 0; i < missionInfos.length; i++) { - if ((missionInfos[i].want.bundleName == "com.example.apprecoverysrely") - && ((missionInfos[i].want.abilityName == "EntryAbility") || - (missionInfos[i].want.abilityName == "EntryAbilitySec"))){ - missionManager.clearMission(missionInfos[i].missionId, (err)=>{ - console.debug('Acts_AppRecovery_0400====> clearMission err: ' + JSON.stringify(err)); - }) - } - } - setTimeout(()=>{ - commonEvent.subscribe(subscriber, subscribeCallBackSecond); - globalThis.abilityContext.startAbility( - { - bundleName: "com.example.apprecoverysrely", - abilityName: "EntryAbility", - action: "Acts_AppRecovery_0400_twice" - }, (err) => { - console.debug("Acts_AppRecovery_0400====> second startAbility err:" + JSON.stringify(err)); - expect(err.code).assertEqual(0); - }) - },800) - }); - } - } - function subscribeCallBackSecond(err, data) { - console.debug("Acts_AppRecovery_0400====> second subscribeCallBack data:" + JSON.stringify(data)); - if(data.event == "ACTS_AppRecovery_Second") { - countSecond++; - flag=true; - expect(data.parameters.message[wantConstant.Params.ABILITY_RECOVERY_RESTART]).assertEqual(undefined); - if (countSecond < 2) { - return; - } - commonEvent.unsubscribe(subscriber, unSubscribeCallback); - } - } - function unSubscribeCallback() { - setTimeout(() => { - console.debug("Acts_AppRecovery_0400====> unSubscribeCallback"); - done(); - }, 800); - } - setTimeout(()=>{ - if(flag==false){ - expect().assertFail(); - commonEvent.unsubscribe(subscriber, unSubscribeCallback); - } - },CASE_TIME_OUT) - }) - - /* - * @tc.number: Acts_AppRecovery_0700 - * @tc.name: Fault recovery of multi-Ability application - * @tc.desc: If the restart recovery status is not set, the Ability application pre-failure state will not be - * restored after the application exits abnormally and restarts. - */ - it('Acts_AppRecovery_0700',0, async function (done) { - let subscriber; - let flag = false; - console.info("Acts_AppRecovery_0700====> start") - commonEvent.createSubscriber(ACTS_AppRecovery).then(async (data) => { - console.debug("Acts_AppRecovery_0700====> Create Subscribe"); - subscriber = data; - commonEvent.subscribe(subscriber, subscribeCallBack); - globalThis.abilityContext.startAbility( - { - bundleName: "com.example.apprecoveryrely", - abilityName: "EntryAbility", - action: "Acts_AppRecovery_0700_once" - },(err)=>{ - console.debug("Acts_AppRecovery_0700====> startAbility err:"+JSON.stringify(err)); - expect(err.code).assertEqual(0); - }) - }) - - function subscribeCallBack(err, data) { - console.debug("Acts_AppRecovery_0700====> subscribeCallBack data:" + JSON.stringify(data)); - if(data.event == "ACTS_AppRecovery_First") { - expect(data.parameters.message[wantConstant.Params.ABILITY_RECOVERY_RESTART]).assertEqual(undefined); - setTimeout(()=>{ - commonEvent.subscribe(subscriber, subscribeCallBackSecond); - globalThis.abilityContext.startAbility( - { - bundleName: "com.example.apprecoveryrely", - abilityName: "EntryAbility", - action: "Acts_AppRecovery_0700_twice" - }, (err) => { - console.debug("Acts_AppRecovery_0700====> second startAbility err:" + JSON.stringify(err)); - expect(err.code).assertEqual(0); - }) - },800) - } - } - - function subscribeCallBackSecond(err, data) { - console.debug("Acts_AppRecovery_0700====> second subscribeCallBack data:" + JSON.stringify(data)); - if(data.event == "ACTS_AppRecovery_Second") { - flag=true; - expect(data.parameters.message[wantConstant.Params.ABILITY_RECOVERY_RESTART]).assertEqual(undefined); - commonEvent.unsubscribe(subscriber, unSubscribeCallback); - } - } - - function unSubscribeCallback() { - setTimeout(() => { - console.debug("Acts_AppRecovery_0700====> unSubscribeCallback"); - done(); - }, 800); - } - - setTimeout(()=>{ - if(flag==false){ - expect().assertFail(); - commonEvent.unsubscribe(subscriber, unSubscribeCallback); - } - },CASE_TIME_OUT) - }) - - /* - * @tc.number: Acts_AppRecovery_0800 - * @tc.name: Fault recovery of multi-Ability application - * @tc.desc: If the restart recovery status is not set, the Ability application pre-failure state will not be - * restored after the application exits abnormally and restarts. - */ - it('Acts_AppRecovery_0800',0, async function (done) { - let subscriber; - let flag = false; - let countFirst = 0; - let countSecond = 0; - console.info("Acts_AppRecovery_0800====> start") - commonEvent.createSubscriber(ACTS_AppRecovery).then(async (data) => { - console.debug("Acts_AppRecovery_0800====> Create Subscribe"); - subscriber = data; - commonEvent.subscribe(subscriber, subscribeCallBack); - globalThis.abilityContext.startAbility( - { - bundleName: "com.example.apprecoverysrely", - abilityName: "EntryAbility", - action: "Acts_AppRecovery_0800_once" - },(err)=>{ - console.debug("Acts_AppRecovery_0800====> startAbility err:"+JSON.stringify(err)); - expect(err.code).assertEqual(0); - }) - }) - - function subscribeCallBack(err, data) { - console.debug("Acts_AppRecovery_0800====> subscribeCallBack data:" + JSON.stringify(data)); - if(data.event == "ACTS_AppRecovery_First") { - countFirst++; - expect(data.parameters.message[wantConstant.Params.ABILITY_RECOVERY_RESTART]).assertEqual(undefined); - if (countFirst < 2) { - return; - } - setTimeout(() => { - commonEvent.subscribe(subscriber, subscribeCallBackSecond); - globalThis.abilityContext.startAbility( - { - bundleName: "com.example.apprecoverysrely", - abilityName: "EntryAbility", - action: "Acts_AppRecovery_0800_twice" - }, - (err) => { - console.debug("Acts_AppRecovery_0800====> second startAbility err:" + JSON.stringify(err)); - expect(err.code).assertEqual(0); - } - ); - }, 800); - } - } - - function subscribeCallBackSecond(err, data) { - console.debug("Acts_AppRecovery_0800====> second subscribeCallBack data:" + JSON.stringify(data)); - if(data.event == "ACTS_AppRecovery_Second") { - countSecond++; - flag=true; - expect(data.parameters.message[wantConstant.Params.ABILITY_RECOVERY_RESTART]).assertEqual(undefined); - if (countSecond < 2) { - return; - } - commonEvent.unsubscribe(subscriber, unSubscribeCallback); - } - } - - function unSubscribeCallback() { - setTimeout(() => { - console.debug("Acts_AppRecovery_0800====> unSubscribeCallback"); - done(); - }, 800); - } - - setTimeout(()=>{ - if(flag==false){ - expect().assertFail(); - commonEvent.unsubscribe(subscriber, unSubscribeCallback); - } - },CASE_TIME_OUT) - }) - - /* - * @tc.number: Acts_AppRecovery_0900 - * @tc.name: Fault recovery of multi-Ability application - * @tc.desc: When the application settings restart recovery status is valid, the application exits abnormally - * and restarts to restore the pre-failure state of Ability application. - */ - it('Acts_AppRecovery_0900',0, async function (done) { - let subscriber; - let flag = false; - console.info("Acts_AppRecovery_0900====> start") - commonEvent.createSubscriber(ACTS_AppRecovery).then(async (data) => { - console.debug("Acts_AppRecovery_0900====> Create Subscribe"); - subscriber = data; - commonEvent.subscribe(subscriber, subscribeCallBack); - globalThis.abilityContext.startAbility( - { - bundleName: "com.example.apprecoveryrely", - abilityName: "EntryAbility", - action: "Acts_AppRecovery_0900_once" - },(err)=>{ - console.debug("Acts_AppRecovery_0900====> startAbility err:"+JSON.stringify(err)); - expect(err.code).assertEqual(0); - }) - }) - - function subscribeCallBack(err, data) { - console.debug("Acts_AppRecovery_0900====> subscribeCallBack data:" + JSON.stringify(data)); - if(data.event == "ACTS_AppRecovery_First") { - expect(data.parameters.message[wantConstant.Params.ABILITY_RECOVERY_RESTART]).assertEqual(undefined); - let abilityDelegator = abilityDelegatorRegistry.getAbilityDelegator(); - let pkillCmd = "pkill -f com.example.apprecoveryrely"; - console.debug("Acts_AppRecovery_0900====> shell command call " + pkillCmd); - abilityDelegator.executeShellCommand(pkillCmd, 1, (err, data) => { - console.debug("Acts_AppRecovery_0900====> shell command callback " + JSON.stringify(err) + " " + JSON.stringify(data)); - setTimeout(() => { - commonEvent.subscribe(subscriber, subscribeCallBackSecond); - globalThis.abilityContext.startAbility( - { - bundleName: "com.example.apprecoveryrely", - abilityName: "EntryAbility", - action: "Acts_AppRecovery_0900_twice" - }, - (err) => { - console.debug("Acts_AppRecovery_0900====> second startAbility err:" + JSON.stringify(err)); - expect(err.code).assertEqual(0); - } - ); - }, 800); - }); - } - } - - function subscribeCallBackSecond(err, data) { - console.debug("Acts_AppRecovery_0900====> second subscribeCallBack data:" + JSON.stringify(data)); - if(data.event == "ACTS_AppRecovery_Second") { - flag=true; - expect(data.parameters.message[wantConstant.Params.ABILITY_RECOVERY_RESTART]).assertEqual(undefined); - commonEvent.unsubscribe(subscriber, unSubscribeCallback); - } - } - - function unSubscribeCallback() { - setTimeout(() => { - console.debug("Acts_AppRecovery_0900====> unSubscribeCallback"); - done(); - }, 800); - } - - setTimeout(()=>{ - if(flag==false){ - expect().assertFail(); - commonEvent.unsubscribe(subscriber, unSubscribeCallback); - } - },CASE_TIME_OUT) - }) - - /* - * @tc.number: Acts_AppRecovery_1000 - * @tc.name: Fault recovery of multi-Ability application - * @tc.desc: When the application settings restart recovery status is valid, the application exits abnormally - * and restarts to restore the pre-failure state of Ability application. - */ - it('Acts_AppRecovery_1000',0, async function (done) { - let subscriber; - let flag = false; - let countFirst = 0; - let countSecond = 0; - console.info("Acts_AppRecovery_1000====> start") - commonEvent.createSubscriber(ACTS_AppRecovery).then(async (data) => { - console.debug("Acts_AppRecovery_1000====> Create Subscribe"); - subscriber = data; - commonEvent.subscribe(subscriber, subscribeCallBack); - globalThis.abilityContext.startAbility( - { - bundleName: "com.example.apprecoverysrely", - abilityName: "EntryAbility", - action: "Acts_AppRecovery_1000_once" - },(err)=>{ - console.debug("Acts_AppRecovery_1000====> startAbility err:"+JSON.stringify(err)); - expect(err.code).assertEqual(0); - }) - }) - - function subscribeCallBack(err, data) { - console.debug("Acts_AppRecovery_1000====> subscribeCallBack data:" + JSON.stringify(data)); - if(data.event == "ACTS_AppRecovery_First") { - countFirst++; - expect(data.parameters.message[wantConstant.Params.ABILITY_RECOVERY_RESTART]).assertEqual(undefined); - if (countFirst < 2) { - return; - } - let abilityDelegator = abilityDelegatorRegistry.getAbilityDelegator(); - let pkillCmd = "pkill -f com.example.apprecoverysrely"; - abilityDelegator.executeShellCommand(pkillCmd, 1, (err, data) => { - setTimeout(() => { - commonEvent.subscribe(subscriber, subscribeCallBackSecond); - globalThis.abilityContext.startAbility( - { - bundleName: "com.example.apprecoverysrely", - abilityName: "EntryAbility", - action: "Acts_AppRecovery_1000_twice" - }, - (err) => { - console.debug("Acts_AppRecovery_1000====> second startAbility err:" + JSON.stringify(err)); - expect(err.code).assertEqual(0); - } - ); - }, 800); - }); - } - } - - function subscribeCallBackSecond(err, data) { - console.debug("Acts_AppRecovery_1000====> second subscribeCallBack data:" + JSON.stringify(data)); - if(data.event == "ACTS_AppRecovery_Second") { - countSecond++; - flag=true; - expect(data.parameters.message[wantConstant.Params.ABILITY_RECOVERY_RESTART]).assertEqual(undefined); - if (countSecond < 2) { - return; - } - commonEvent.unsubscribe(subscriber, unSubscribeCallback); - } - } - - function unSubscribeCallback() { - setTimeout(() => { - console.debug("Acts_AppRecovery_1000====> unSubscribeCallback"); - done(); - }, 800); - } - - setTimeout(()=>{ - if(flag==false){ - expect().assertFail(); - commonEvent.unsubscribe(subscriber, unSubscribeCallback); - } - },CASE_TIME_OUT) - }) - - /* - * @tc.number: Acts_AppRecovery_1100 - * @tc.name: Fault recovery of multi-Ability application - * @tc.desc: When setting restart recovery status is valid, exit the application by clearing the task list and - * do not restore the pre-failure state of the Ability application after the application restart. - */ - it('Acts_AppRecovery_1100',0, async function (done) { - let subscriber; - let flag = false; - console.info("Acts_AppRecovery_1100====> start") - commonEvent.createSubscriber(ACTS_AppRecovery).then(async (data) => { - console.debug("Acts_AppRecovery_1100====> Create Subscribe"); - subscriber = data; - commonEvent.subscribe(subscriber, subscribeCallBack); - globalThis.abilityContext.startAbility( - { - bundleName: "com.example.apprecoveryrely", - abilityName: "EntryAbility", - action: "Acts_AppRecovery_1100_once" - },(err)=>{ - console.debug("Acts_AppRecovery_1100====> startAbility err:"+JSON.stringify(err)); - expect(err.code).assertEqual(0); - }) - }) - - function subscribeCallBack(err, data) { - console.debug("Acts_AppRecovery_1100====> subscribeCallBack data:" + JSON.stringify(data)); - if(data.event == "ACTS_AppRecovery_First") { - expect(data.parameters.message[wantConstant.Params.ABILITY_RECOVERY_RESTART]).assertEqual(undefined); - let abilityDelegator = abilityDelegatorRegistry.getAbilityDelegator(); - let pkillCmd = "pkill -f com.example.apprecoveryrely"; - abilityDelegator.executeShellCommand(pkillCmd, 1, (err, data) => { - setTimeout(() => { - commonEvent.subscribe(subscriber, subscribeCallBackSecond); - globalThis.abilityContext.startAbility( - { - bundleName: "com.example.apprecoveryrely", - abilityName: "EntryAbility", - action: "Acts_AppRecovery_1100_twice" - }, - (err) => { - console.debug("Acts_AppRecovery_1100====> second startAbility err:" + JSON.stringify(err)); - expect(err.code).assertEqual(0); - } - ); - }, 800); - }); - } - } - - function subscribeCallBackSecond(err, data) { - console.debug("Acts_AppRecovery_1100====> second subscribeCallBack data:" + JSON.stringify(data)); - if(data.event == "ACTS_AppRecovery_Second") { - flag=true; - let message = data.parameters.message; - expect(data.parameters.message[wantConstant.Params.ABILITY_RECOVERY_RESTART] != undefined).assertTrue(); - expect(data.parameters.message[wantConstant.Params.ABILITY_RECOVERY_RESTART]).assertTrue(); - commonEvent.unsubscribe(subscriber, unSubscribeCallback); - } - } - - function unSubscribeCallback() { - setTimeout(() => { - console.debug("Acts_AppRecovery_1100====> unSubscribeCallback"); - done(); - }, 800); - } - - setTimeout(()=>{ - if(flag==false){ - expect().assertFail(); - commonEvent.unsubscribe(subscriber, unSubscribeCallback); - } - },CASE_TIME_OUT) - }) - - /* - * @tc.number: Acts_AppRecovery_1200 - * @tc.name: Fault recovery of multi-Ability application - * @tc.desc: When setting restart recovery status is valid, exit the application by clearing the task list and - * do not restore the pre-failure state of the Ability application after the application restart. - */ - it('Acts_AppRecovery_1200',0, async function (done) { - let subscriber; - let flag = false; - let countFirst = 0; - let countSecond = 0; - console.info("Acts_AppRecovery_1200====> start") - commonEvent.createSubscriber(ACTS_AppRecovery).then(async (data) => { - console.debug("Acts_AppRecovery_1200====> Create Subscribe"); - subscriber = data; - commonEvent.subscribe(subscriber, subscribeCallBack); - globalThis.abilityContext.startAbility( - { - bundleName: "com.example.apprecoverysrely", - abilityName: "EntryAbility", - action: "Acts_AppRecovery_1200_once" - },(err)=>{ - console.debug("Acts_AppRecovery_1200====> startAbility err:"+JSON.stringify(err)); - expect(err.code).assertEqual(0); - }) - }) - - function subscribeCallBack(err, data) { - console.debug("Acts_AppRecovery_1200====> subscribeCallBack data:" + JSON.stringify(data)); - if(data.event == "ACTS_AppRecovery_First") { - countFirst++; - expect(data.parameters.message[wantConstant.Params.ABILITY_RECOVERY_RESTART]).assertEqual(undefined); - if (countFirst < 2) { - return; - } - let abilityDelegator = abilityDelegatorRegistry.getAbilityDelegator(); - let pkillCmd = "pkill -f com.example.apprecoverysrely"; - abilityDelegator.executeShellCommand(pkillCmd, 1, (err, data) => { - setTimeout(() => { - commonEvent.subscribe(subscriber, subscribeCallBackSecond); - globalThis.abilityContext.startAbility( - { - bundleName: "com.example.apprecoverysrely", - abilityName: "EntryAbility", - action: "Acts_AppRecovery_1200_twice" - }, - (err) => { - console.debug("Acts_AppRecovery_1200====> second startAbility err:" + JSON.stringify(err)); - expect(err.code).assertEqual(0); - } - ); - }, 800); - }); - } - } - - function subscribeCallBackSecond(err, data) { - console.debug("Acts_AppRecovery_1200====> second subscribeCallBack data:" + JSON.stringify(data)); - if(data.event == "ACTS_AppRecovery_Second") { - countSecond++; - flag=true; - expect(data.parameters.message[wantConstant.Params.ABILITY_RECOVERY_RESTART] != undefined).assertTrue(); - expect(data.parameters.message[wantConstant.Params.ABILITY_RECOVERY_RESTART]).assertTrue(); - if (countSecond < 2) { - return; - } - commonEvent.unsubscribe(subscriber, unSubscribeCallback); - } - } - - function unSubscribeCallback() { - setTimeout(() => { - console.debug("Acts_AppRecovery_1200====> unSubscribeCallback"); - done(); - }, 800); - } - - setTimeout(()=>{ - if(flag==false){ - expect().assertFail(); - commonEvent.unsubscribe(subscriber, unSubscribeCallback); - } - },CASE_TIME_OUT) - }) - }) -} \ No newline at end of file diff --git a/ability/ability_runtime/apprecovery/ActsAppRecoveryTestCaller/entry/src/main/ets/test/List.test.ets b/ability/ability_runtime/apprecovery/ActsAppRecoveryTestCaller/entry/src/main/ets/test/List.test.ets deleted file mode 100644 index cb2e22661..000000000 --- a/ability/ability_runtime/apprecovery/ActsAppRecoveryTestCaller/entry/src/main/ets/test/List.test.ets +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Copyright (c) 2023 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import abilityTest from './Ability.test' - -export default function testsuite() { - abilityTest() -} \ No newline at end of file diff --git a/ability/ability_runtime/apprecovery/ActsAppRecoveryTestCaller/entry/src/main/ets/testability/TestAbility.ets b/ability/ability_runtime/apprecovery/ActsAppRecoveryTestCaller/entry/src/main/ets/testability/TestAbility.ets deleted file mode 100644 index dcaeccba2..000000000 --- a/ability/ability_runtime/apprecovery/ActsAppRecoveryTestCaller/entry/src/main/ets/testability/TestAbility.ets +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright (c) 2023 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import hilog from '@ohos.hilog' -// import Ability from '@ohos.application.Ability' -import Ability from '@ohos.app.ability.UIAbility' -import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry' -import { Hypium } from '@ohos/hypium' -import testsuite from '../test/List.test' -import Window from '@ohos.window' - -export default class TestAbility extends Ability { - onCreate(want, launchParam) { - globalThis.abilityContext = this.context; - hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); - hilog.info(0x0000, 'testTag', '%{public}s', 'TestAbility onCreate'); - hilog.info(0x0000, 'testTag', '%{public}s', 'want param:' + JSON.stringify(want) ?? ''); - hilog.info(0x0000, 'testTag', '%{public}s', 'launchParam:'+ JSON.stringify(launchParam) ?? ''); - var abilityDelegator: any - abilityDelegator = AbilityDelegatorRegistry.getAbilityDelegator() - var abilityDelegatorArguments: any - abilityDelegatorArguments = AbilityDelegatorRegistry.getArguments() - hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); - hilog.info(0x0000, 'testTag', '%{public}s', 'start run testcase!!!'); - Hypium.hypiumTest(abilityDelegator, abilityDelegatorArguments, testsuite) - } - - onDestroy() { - hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); - hilog.info(0x0000, 'testTag', '%{public}s', 'TestAbility onDestroy'); - } - - onWindowStageCreate(windowStage: Window.WindowStage) { - hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); - hilog.info(0x0000, 'testTag', '%{public}s', 'TestAbility onWindowStageCreate'); - windowStage.loadContent('testability/pages/Index', (err, data) => { - if (err.code) { - hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.ERROR); - hilog.error(0x0000, 'testTag', 'Failed to load the content. Cause: %{public}s', JSON.stringify(err) ?? ''); - return; - } - hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); - hilog.info(0x0000, 'testTag', 'Succeeded in loading the content. Data: %{public}s', - JSON.stringify(data) ?? ''); - }); - } - - onWindowStageDestroy() { - hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); - hilog.info(0x0000, 'testTag', '%{public}s', 'TestAbility onWindowStageDestroy'); - } - - onForeground() { - hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); - hilog.info(0x0000, 'testTag', '%{public}s', 'TestAbility onForeground'); - } - - onBackground() { - hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); - hilog.info(0x0000, 'testTag', '%{public}s', 'TestAbility onBackground'); - } -} \ No newline at end of file diff --git a/ability/ability_runtime/apprecovery/ActsAppRecoveryTestCaller/entry/src/main/ets/testability/pages/Index.ets b/ability/ability_runtime/apprecovery/ActsAppRecoveryTestCaller/entry/src/main/ets/testability/pages/Index.ets deleted file mode 100644 index 431674fc5..000000000 --- a/ability/ability_runtime/apprecovery/ActsAppRecoveryTestCaller/entry/src/main/ets/testability/pages/Index.ets +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright (c) 2023 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import hilog from '@ohos.hilog'; - -@Entry -@Component -struct Index { - aboutToAppear() { - hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); - hilog.info(0x0000, 'testTag', '%{public}s', 'TestAbility index aboutToAppear'); - } - @State message: string = 'Hello World' - build() { - Row() { - Column() { - Text(this.message) - .fontSize(50) - .fontWeight(FontWeight.Bold) - Button() { - Text('next page') - .fontSize(20) - .fontWeight(FontWeight.Bold) - }.type(ButtonType.Capsule) - .margin({ - top: 20 - }) - .backgroundColor('#0D9FFB') - .width('35%') - .height('5%') - .onClick(()=>{ - }) - } - .width('100%') - } - .height('100%') - } - } \ No newline at end of file diff --git a/ability/ability_runtime/apprecovery/ActsAppRecoveryTestCaller/entry/src/main/module.json b/ability/ability_runtime/apprecovery/ActsAppRecoveryTestCaller/entry/src/main/module.json deleted file mode 100644 index 272957d36..000000000 --- a/ability/ability_runtime/apprecovery/ActsAppRecoveryTestCaller/entry/src/main/module.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "module": { - "name": "entry_test", - "type": "feature", - "description": "$string:module_test_desc", - "mainElement": "TestAbility", - "deviceTypes": [ - "default", - "tablet" - ], - "deliveryWithInstall": true, - "installationFree": false, - "pages": "$profile:test_pages", - "abilities": [ - { - "name": "TestAbility", - "srcEntrance": "./ets/testability/TestAbility.ets", - "description": "$string:TestAbility_desc", - "icon": "$media:icon", - "label": "$string:TestAbility_label", - "visible": true, - "startWindowIcon": "$media:icon", - "startWindowBackground": "$color:start_window_background", - "skills": [ - { - "actions": [ - "action.system.home" - ], - "entities": [ - "entity.system.home" - ] - } - ] - } - ], - "requestPermissions": [ - { - "name": "ohos.permission.START_ABILITIES_FROM_BACKGROUND" - }, - { - "name": "ohos.permission.MANAGE_MISSIONS" - } - ] - } -} diff --git a/ability/ability_runtime/apprecovery/ActsAppRecoveryTestCaller/entry/src/main/resources/base/element/color.json b/ability/ability_runtime/apprecovery/ActsAppRecoveryTestCaller/entry/src/main/resources/base/element/color.json deleted file mode 100644 index 3c712962d..000000000 --- a/ability/ability_runtime/apprecovery/ActsAppRecoveryTestCaller/entry/src/main/resources/base/element/color.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "color": [ - { - "name": "start_window_background", - "value": "#FFFFFF" - } - ] -} \ No newline at end of file diff --git a/ability/ability_runtime/apprecovery/ActsAppRecoveryTestCaller/entry/src/main/resources/base/element/string.json b/ability/ability_runtime/apprecovery/ActsAppRecoveryTestCaller/entry/src/main/resources/base/element/string.json deleted file mode 100644 index 65d8fa5a7..000000000 --- a/ability/ability_runtime/apprecovery/ActsAppRecoveryTestCaller/entry/src/main/resources/base/element/string.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "string": [ - { - "name": "module_test_desc", - "value": "test ability description" - }, - { - "name": "TestAbility_desc", - "value": "the test ability" - }, - { - "name": "TestAbility_label", - "value": "test label" - } - ] -} \ No newline at end of file diff --git a/ability/ability_runtime/apprecovery/ActsAppRecoveryTestCaller/entry/src/main/resources/base/media/icon.png b/ability/ability_runtime/apprecovery/ActsAppRecoveryTestCaller/entry/src/main/resources/base/media/icon.png deleted file mode 100644 index ce307a8827bd75456441ceb57d530e4c8d45d36c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6790 zcmX|G1ymHk)?T_}Vd;>R?p|tHQo6fg38|$UVM!6BLrPFWk?s;$LOP{GmJpBl$qoSA!PUg~PA65-S00{{S`XKG6NkG0RgjEntPrmV+?0|00mu7;+5 zrdpa{2QLqPJ4Y{j7=Mrl{BaxrkdY69+c~(w{Fv-v&aR%aEI&JYSeRTLWm!zbv;?)_ ziZB;fwGbbeL5Q}YLx`J$lp~A09KK8t_z}PZ=4ZzgdeKtgoc+o5Ev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ah*@31WTs#&J#o1`H98#6IQf;Wv0N_!);f&9g7o-k(lW5rWnDUR zQBFIRG+X=6NnsI@mxnwm;tf5;_Uxg?jZ8m-m0}&6+DA!qam(p$mN5R})yA_7m$q@| zFEd|dpS595rxQr-n#GjI5i-AhnUE>Cr;jpCqSrD~EwK_DqI^7%3#p5)%T_od!t3SOmH9MyXeeGO2(UQL;ax|x?Ncixmeo1=$ z{-);Au{*tfzOG?KQ~K|ak8-HQ?`Pekhe2WM(8s{xv-p>Zmu_6{G!-oE$7$mY`MOJorI=+mMx?H;`pr!;fVYz?5~yXBACruWB`Ph zZM}90_<^OBxIhyZ9BW$`>6JvO;%VFpqVr8|7t3~AmxYak6?`Pp#c;**_SYmi`&z23 z`p6_~ePvH)C6x-G9$hgL=eVALq`-AiamN>!3~Lxw&{H(b{B(7xSRm6<3<{%{yXiH# zos5Rv1L+8fUKJLo%P>4I&$}y want:" + JSON.stringify(want)); - console.log(strAction + "Rely====> launchParam:" + JSON.stringify(launchParam)); - commonEventData.parameters.message = want.parameters; - } - - onDestroy() { - hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); - hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onDestroy'); - } - - onWindowStageCreate(windowStage: Window.WindowStage) { - // Main window is created, set main page for this ability - hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); - hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onWindowStageCreate'); - - windowStage.loadContent('pages/Index', (err, data) => { - if (err.code) { - hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.ERROR); - hilog.error(0x0000, 'testTag', 'Failed to load the content. Cause: %{public}s', JSON.stringify(err) ?? ''); - return; - } - hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); - hilog.info(0x0000, 'testTag', 'Succeeded in loading the content. Data: %{public}s', JSON.stringify(data) ?? ''); - }); - - } - - onWindowStageDestroy() { - // Main window is destroyed, release UI related resources - hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); - hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onWindowStageDestroy'); - } - - onForeground() { - // Ability has brought to foreground - hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); - hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onForeground'); - - if (strAction == "Acts_AppRecovery_0100_once" || strAction == "Acts_AppRecovery_0300_once" || - strAction == "Acts_AppRecovery_0700_once" || strAction == "Acts_AppRecovery_0900_once" || - strAction == "Acts_AppRecovery_1100_once") { - if (strAction == "Acts_AppRecovery_0100_once" || strAction == "Acts_AppRecovery_0300_once" || - strAction == "Acts_AppRecovery_1100_once") { - appRecovery.saveAppState(this.context); - console.log(strAction + "Rely====> saveAppState"); - } else { - console.log(strAction + "Rely====> not saveAppState"); - } - setTimeout(() => { - commonEvent.publish("ACTS_AppRecovery_First",commonEventData,(err)=>{ - console.log(strAction + "Rely====> publish err:" + JSON.stringify(err)); - if (strAction == "Acts_AppRecovery_0100_once" || - strAction == "Acts_AppRecovery_0700_once") { - setTimeout(()=>{ - globalThis.context.terminateSelf().then(() => { - console.info(strAction + "Rely====> terminateSelf end"); - }).catch((err) => { - console.info(strAction + "Rely====> terminateSelf err:" + JSON.stringify(err)); - }); - }, 50) - } - }) - }, 200); - } - - if (strAction == "Acts_AppRecovery_0100_twice" || strAction == "Acts_AppRecovery_0300_twice" || - strAction == "Acts_AppRecovery_0700_twice" || strAction == "Acts_AppRecovery_0900_twice" || - strAction == "Acts_AppRecovery_1100_twice") { - commonEvent.publish("ACTS_AppRecovery_Second", commonEventData, (err) => { - console.log(strAction + "Rely====> second publish err:" + JSON.stringify(err)); - setTimeout(()=>{ - globalThis.context.terminateSelf().then(() => { - console.info(strAction + "Rely====> terminateSelf end"); - }).catch((err) => { - console.info(strAction + "Rely====> terminateSelf err:" + JSON.stringify(err)); - }); - }, 50) - }) - } - } - - onBackground() { - // Ability has back to background - hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); - hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onBackground'); - } - - onSaveState(reason, wantParam: {[key:string]: any}) { - console.log(strAction + "RelyonSaveStage====> wantParam:" + JSON.stringify(wantParam)); - return AbilityConstant.OnSaveResult.RECOVERY_AGREE; - } -} diff --git a/ability/ability_runtime/apprecovery/AppRecoveryRely/entry/src/main/ets/pages/Index.ets b/ability/ability_runtime/apprecovery/AppRecoveryRely/entry/src/main/ets/pages/Index.ets deleted file mode 100644 index ad7ec009d..000000000 --- a/ability/ability_runtime/apprecovery/AppRecoveryRely/entry/src/main/ets/pages/Index.ets +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (c) 2023 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct Index { - @State message: string = 'Hello World' - - build() { - Row() { - Column() { - Text(this.message) - .fontSize(50) - .fontWeight(FontWeight.Bold) - } - .width('100%') - } - .height('100%') - } -} \ No newline at end of file diff --git a/ability/ability_runtime/apprecovery/AppRecoveryRely/entry/src/main/module.json b/ability/ability_runtime/apprecovery/AppRecoveryRely/entry/src/main/module.json deleted file mode 100644 index 2e51e31ef..000000000 --- a/ability/ability_runtime/apprecovery/AppRecoveryRely/entry/src/main/module.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "module": { - "name": "entry", - "type": "entry", - "description": "$string:module_desc", - "mainElement": "EntryAbility", - "deviceTypes": [ - "default", - "tablet" - ], - "deliveryWithInstall": true, - "installationFree": false, - "srcEntrance": "./ets/app/MyAbilityStage.ets", - "pages": "$profile:main_pages", - "abilities": [ - { - "name": "EntryAbility", - "srcEntrance": "./ets/entryability/EntryAbility.ts", - "description": "$string:EntryAbility_desc", - "icon": "$media:icon", - "label": "$string:EntryAbility_label", - "startWindowIcon": "$media:icon", - "startWindowBackground": "$color:start_window_background", - "visible": true, - "recoverable": true, - "skills": [ - { - "entities": [ - "entity.system.home" - ], - "actions": [ - "action.system.home" - ] - } - ] - } - ] - } -} \ No newline at end of file diff --git a/ability/ability_runtime/apprecovery/AppRecoveryRely/entry/src/main/resources/base/element/color.json b/ability/ability_runtime/apprecovery/AppRecoveryRely/entry/src/main/resources/base/element/color.json deleted file mode 100644 index d66f9a7d4..000000000 --- a/ability/ability_runtime/apprecovery/AppRecoveryRely/entry/src/main/resources/base/element/color.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "color": [ - { - "name": "start_window_background", - "value": "#FFFFFF" - } - ] -} \ No newline at end of file diff --git a/ability/ability_runtime/apprecovery/AppRecoveryRely/entry/src/main/resources/base/element/string.json b/ability/ability_runtime/apprecovery/AppRecoveryRely/entry/src/main/resources/base/element/string.json deleted file mode 100644 index 9e99b66dc..000000000 --- a/ability/ability_runtime/apprecovery/AppRecoveryRely/entry/src/main/resources/base/element/string.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "string": [ - { - "name": "module_desc", - "value": "module description" - }, - { - "name": "EntryAbility_desc", - "value": "description" - }, - { - "name": "EntryAbility_label", - "value": "AppRecoveryRely" - } - ] -} \ No newline at end of file diff --git a/ability/ability_runtime/apprecovery/AppRecoveryRely/entry/src/main/resources/base/media/icon.png b/ability/ability_runtime/apprecovery/AppRecoveryRely/entry/src/main/resources/base/media/icon.png deleted file mode 100644 index ce307a8827bd75456441ceb57d530e4c8d45d36c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6790 zcmX|G1ymHk)?T_}Vd;>R?p|tHQo6fg38|$UVM!6BLrPFWk?s;$LOP{GmJpBl$qoSA!PUg~PA65-S00{{S`XKG6NkG0RgjEntPrmV+?0|00mu7;+5 zrdpa{2QLqPJ4Y{j7=Mrl{BaxrkdY69+c~(w{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6_~ePvH)C6x-G9$hgL=eVALq`-AiamN>!3~Lxw&{H(b{B(7xSRm6<3<{%{yXiH# zos5Rv1L+8fUKJLo%P>4I&$}y want:" + JSON.stringify(want)); - console.log(strAction + "Rely1====> launchParam:" + JSON.stringify(launchParam)); - commonEventData.parameters.message = want.parameters; - } - - onDestroy() { - hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); - hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onDestroy'); - } - - onWindowStageCreate(windowStage: Window.WindowStage) { - // Main window is created, set main page for this ability - hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); - hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onWindowStageCreate'); - - windowStage.loadContent('pages/Index', (err, data) => { - if (err.code) { - hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.ERROR); - hilog.error(0x0000, 'testTag', 'Failed to load the content. Cause: %{public}s', JSON.stringify(err) ?? ''); - return; - } - hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); - hilog.info(0x0000, 'testTag', 'Succeeded in loading the content. Data: %{public}s', JSON.stringify(data) ?? ''); - }); - } - - onWindowStageDestroy() { - // Main window is destroyed, release UI related resources - hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); - hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onWindowStageDestroy'); - } - - onForeground() { - // Ability has brought to foreground - hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); - hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onForeground'); - if (strAction == "Acts_AppRecovery_0200_once" || strAction == "Acts_AppRecovery_0400_once" || - strAction == "Acts_AppRecovery_0800_once" || - strAction == "Acts_AppRecovery_1000_once" || strAction == "Acts_AppRecovery_1200_once") { - if (strAction == "Acts_AppRecovery_0200_once" || - strAction == "Acts_AppRecovery_0400_once" || - strAction == "Acts_AppRecovery_1200_once") { - appRecovery.saveAppState(this.context); - console.log(strAction + "Rely1====> saveAppState"); - } else { - console.log(strAction + "Rely1====> not saveAppState"); - } - setTimeout(() => { - commonEvent.publish("ACTS_AppRecovery_First",commonEventData,(err)=>{ - console.log(strAction + "Rely1====> publish err:" + JSON.stringify(err)); - }) - }, 200); - } - if (strAction == "Acts_AppRecovery_0200_twice" || strAction == "Acts_AppRecovery_0400_twice" || - strAction == "Acts_AppRecovery_0800_twice" || - strAction == "Acts_AppRecovery_1000_twice" || strAction == "Acts_AppRecovery_1200_twice") { - setTimeout(() => { - commonEvent.publish("ACTS_AppRecovery_Second", commonEventData, (err) => { - console.log(strAction + "Rely1====> second publish err:" + JSON.stringify(err)); - }) - }, 200); - } - this.context.startAbility({ - bundleName: "com.example.apprecoverysrely", - abilityName: "EntryAbilitySec", - action: strAction - },(err) => { - console.debug(strAction + "Rely1====> startAbility err:"+JSON.stringify(err)); - if (strAction == "Acts_AppRecovery_0200_once" || strAction == "Acts_AppRecovery_0200_twice" || - strAction == "Acts_AppRecovery_0400_twice" || - strAction == "Acts_AppRecovery_0800_once" || strAction == "Acts_AppRecovery_0800_twice" || - strAction == "Acts_AppRecovery_1000_twice" || strAction == "Acts_AppRecovery_1200_twice") { - setTimeout(()=>{ - globalThis.contextFirst.terminateSelf().then(() => { - console.info(strAction + "Rely1====> terminateSelf end"); - }).catch((err) => { - console.info(strAction + "Rely1====> terminateSelf err:" + JSON.stringify(err)); - }); - }, 200) - } - }); - } - - onBackground() { - // Ability has back to background - hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); - hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onBackground'); - } - - onSaveState(reason, wantParam: {[key:string]: any}) { - console.log(strAction + "Rely1onSaveStage====> wantParam:" + JSON.stringify(wantParam)); - return AbilityConstant.OnSaveResult.RECOVERY_AGREE; - } -} diff --git a/ability/ability_runtime/apprecovery/AppRecoverysRely/entry/src/main/ets/entryabilitysec/EntryAbilitySec.ts b/ability/ability_runtime/apprecovery/AppRecoverysRely/entry/src/main/ets/entryabilitysec/EntryAbilitySec.ts deleted file mode 100644 index 7cdc54356..000000000 --- a/ability/ability_runtime/apprecovery/AppRecoverysRely/entry/src/main/ets/entryabilitysec/EntryAbilitySec.ts +++ /dev/null @@ -1,122 +0,0 @@ -/* - * Copyright (c) 2023 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import hilog from '@ohos.hilog' -import Ability from '@ohos.app.ability.UIAbility' -import Window from '@ohos.window' -import commonEvent from '@ohos.commonEvent' -import appRecovery from '@ohos.app.ability.appRecovery' -import AbilityConstant from '@ohos.app.ability.AbilityConstant' -let message; -let commonEventData={ - parameters:{ - message:message, - } -} - -let strAction = ""; - -export default class EntryAbilitySec extends Ability { - onCreate(want, launchParam) { - globalThis.contextSecond = this.context; - strAction = want.action; - console.log(strAction + "Rely2====> want:" + JSON.stringify(want)); - console.log(strAction + "Rely2====> launchParam:" + JSON.stringify(launchParam)); - commonEventData.parameters.message = want.parameters; - } - - onDestroy() { - hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); - hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onDestroy'); - } - - onWindowStageCreate(windowStage: Window.WindowStage) { - // Main window is created, set main page for this ability - hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); - hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onWindowStageCreate'); - - windowStage.loadContent('pages/Index_sec', (err, data) => { - if (err.code) { - hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.ERROR); - hilog.error(0x0000, 'testTag', 'Failed to load the content. Cause: %{public}s', JSON.stringify(err) ?? ''); - return; - } - hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); - hilog.info(0x0000, 'testTag', 'Succeeded in loading the content. Data: %{public}s', JSON.stringify(data) ?? ''); - }); - } - - onWindowStageDestroy() { - // Main window is destroyed, release UI related resources - hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); - hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onWindowStageDestroy'); - } - - onForeground() { - // Ability has brought to foreground - hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); - hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onForeground'); - - if (strAction == "Acts_AppRecovery_0200_once" || strAction == "Acts_AppRecovery_0400_once" || - strAction == "Acts_AppRecovery_0800_once" || - strAction == "Acts_AppRecovery_1000_once" || strAction == "Acts_AppRecovery_1200_once") { - if (strAction == "Acts_AppRecovery_0200_once" || - strAction == "Acts_AppRecovery_0400_once" || - strAction == "Acts_AppRecovery_1200_once") { - appRecovery.saveAppState(this.context); - console.log(strAction + "Rely2====> saveAppState"); - } else { - console.log(strAction + "Rely2====> not saveAppState"); - } - setTimeout(() => { - commonEvent.publish("ACTS_AppRecovery_First",commonEventData,(err)=>{ - console.log(strAction + "Rely2====> publish err:" + JSON.stringify(err)); - }) - }, 200); - } - if (strAction == "Acts_AppRecovery_0200_twice" || strAction == "Acts_AppRecovery_0400_twice" || - strAction == "Acts_AppRecovery_0800_twice" || - strAction == "Acts_AppRecovery_1000_twice" || strAction == "Acts_AppRecovery_1200_twice") { - setTimeout(() => { - commonEvent.publish("ACTS_AppRecovery_Second", commonEventData, (err) => { - console.log(strAction + "Rely2====> second publish err:" + JSON.stringify(err)); - }) - }, 200); - } - - if (strAction == "Acts_AppRecovery_0200_once" || strAction == "Acts_AppRecovery_0200_twice" || - strAction == "Acts_AppRecovery_0400_twice" || - strAction == "Acts_AppRecovery_0800_once" || strAction == "Acts_AppRecovery_0800_twice" || - strAction == "Acts_AppRecovery_1000_twice" || strAction == "Acts_AppRecovery_1200_twice") { - setTimeout(()=>{ - globalThis.contextSecond.terminateSelf().then(() => { - console.info(strAction + "Rely2====> terminateSelf end"); - }).catch((err) => { - console.info(strAction + "Rely2====> terminateSelf err:" + JSON.stringify(err)); - }); - }, 300) - } - } - - onBackground() { - // Ability has back to background - hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); - hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onBackground'); - } - - onSaveState(reason, wantParam: {[key:string]: any}) { - console.log(strAction + "Rely2onSaveStage====> wantParam:" + JSON.stringify(wantParam)); - return AbilityConstant.OnSaveResult.RECOVERY_AGREE; - } -} diff --git a/ability/ability_runtime/apprecovery/AppRecoverysRely/entry/src/main/ets/pages/Index.ets b/ability/ability_runtime/apprecovery/AppRecoverysRely/entry/src/main/ets/pages/Index.ets deleted file mode 100644 index 0caca712d..000000000 --- a/ability/ability_runtime/apprecovery/AppRecoverysRely/entry/src/main/ets/pages/Index.ets +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (c) 2023 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct Index { - @State message: string = 'Rely1 Abilitys' - - build() { - Row() { - Column() { - Text(this.message) - .fontSize(50) - .fontWeight(FontWeight.Bold) - } - .width('100%') - } - .height('100%') - } -} \ No newline at end of file diff --git a/ability/ability_runtime/apprecovery/AppRecoverysRely/entry/src/main/ets/pages/Index_sec.ets b/ability/ability_runtime/apprecovery/AppRecoverysRely/entry/src/main/ets/pages/Index_sec.ets deleted file mode 100644 index 3f9bb44fa..000000000 --- a/ability/ability_runtime/apprecovery/AppRecoverysRely/entry/src/main/ets/pages/Index_sec.ets +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (c) 2023 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@Entry -@Component -struct IndexSec { - @State message: string = 'Rely2 Abilitys' - - build() { - Row() { - Column() { - Text(this.message) - .fontSize(50) - .fontWeight(FontWeight.Bold) - } - .width('100%') - } - .height('100%') - } -} \ No newline at end of file diff --git a/ability/ability_runtime/apprecovery/AppRecoverysRely/entry/src/main/module.json b/ability/ability_runtime/apprecovery/AppRecoverysRely/entry/src/main/module.json deleted file mode 100644 index 2184774f7..000000000 --- a/ability/ability_runtime/apprecovery/AppRecoverysRely/entry/src/main/module.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "module": { - "name": "entry", - "type": "entry", - "description": "$string:module_desc", - "mainElement": "EntryAbility", - "deviceTypes": [ - "default", - "tablet" - ], - "srcEntrance": "./ets/app/MyAbilityStage.ets", - "deliveryWithInstall": true, - "installationFree": false, - "pages": "$profile:main_pages", - "abilities": [ - { - "name": "EntryAbility", - "srcEntrance": "./ets/entryability/EntryAbility.ts", - "description": "$string:EntryAbility_desc", - "icon": "$media:icon", - "label": "$string:EntryAbility_label", - "startWindowIcon": "$media:icon", - "startWindowBackground": "$color:start_window_background", - "visible": true, - "recoverable": true, - "skills": [ - { - "entities": [ - "entity.system.home" - ], - "actions": [ - "action.system.home" - ] - } - ] - }, - { - "name": "EntryAbilitySec", - "srcEntrance": "./ets/entryabilitysec/EntryAbilitySec.ts", - "description": "$string:EntryAbilitySec_desc", - "icon": "$media:icon", - "label": "$string:EntryAbilitySec_label", - "startWindowIcon": "$media:icon", - "startWindowBackground": "$color:start_window_background", - "recoverable": true, - "visible": true - } - ] - } -} \ No newline at end of file diff --git a/ability/ability_runtime/apprecovery/AppRecoverysRely/entry/src/main/resources/base/element/color.json b/ability/ability_runtime/apprecovery/AppRecoverysRely/entry/src/main/resources/base/element/color.json deleted file mode 100644 index d66f9a7d4..000000000 --- a/ability/ability_runtime/apprecovery/AppRecoverysRely/entry/src/main/resources/base/element/color.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "color": [ - { - "name": "start_window_background", - "value": "#FFFFFF" - } - ] -} \ No newline at end of file diff --git a/ability/ability_runtime/apprecovery/AppRecoverysRely/entry/src/main/resources/base/element/string.json b/ability/ability_runtime/apprecovery/AppRecoverysRely/entry/src/main/resources/base/element/string.json deleted file mode 100644 index 423c98403..000000000 --- a/ability/ability_runtime/apprecovery/AppRecoverysRely/entry/src/main/resources/base/element/string.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "string": [ - { - "name": "module_desc", - "value": "module description" - }, - { - "name": "EntryAbility_desc", - "value": "description" - }, - { - "name": "EntryAbility_label", - "value": "label" - }, - { - "name": "EntryAbilitySec_desc", - "value": "description" - }, - { - "name": "EntryAbilitySec_label", - "value": "label" - } - ] -} \ No newline at end of file diff --git a/ability/ability_runtime/apprecovery/AppRecoverysRely/entry/src/main/resources/base/media/icon.png b/ability/ability_runtime/apprecovery/AppRecoverysRely/entry/src/main/resources/base/media/icon.png deleted file mode 100644 index ce307a8827bd75456441ceb57d530e4c8d45d36c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6790 zcmX|G1ymHk)?T_}Vd;>R?p|tHQo6fg38|$UVM!6BLrPFWk?s;$LOP{GmJpBl$qoSA!PUg~PA65-S00{{S`XKG6NkG0RgjEntPrmV+?0|00mu7;+5 zrdpa{2QLqPJ4Y{j7=Mrl{BaxrkdY69+c~(w{Fv-v&aR%aEI&JYSeRTLWm!zbv;?)_ ziZB;fwGbbeL5Q}YLx`J$lp~A09KK8t_z}PZ=4ZzgdeKtgoc+o5EvN9A1K1_<>M?MBqb#!ASf&# zEX?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