1/* 2 * Copyright (C) 2024 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15{ 16 "module": { 17 "name": "entry_test", 18 "type": "feature", 19 "srcEntry": "./ets/Application/AbilityStage.ts", 20 "description": "$string:module_test_desc", 21 "mainElement": "TestAbility", 22 "deviceTypes": [], 23 "deliveryWithInstall": true, 24 "installationFree": false, 25 "pages": "$profile:test_pages", 26 "abilities": [ 27 { 28 "name": "TestAbility", 29 "srcEntry": "./ets/testability/TestAbility.ets", 30 "description": "$string:TestAbility_desc", 31 "icon": "$media:icon", 32 "label": "$string:TestAbility_label", 33 "exported": true, 34 "startWindowIcon": "$media:icon", 35 "startWindowBackground": "$color:start_window_background", 36 "skills": [ 37 { 38 "actions": [ 39 "action.system.home" 40 ], 41 "entities": [ 42 "entity.system.home" 43 ] 44 } 45 ] 46 }, 47 { 48 "name": "com.example.apicoverhaptest.MainAbility", 49 "srcEntry": "./ets/MainAbility/MainAbility.ts", 50 "description": "$string:phone_entry_main", 51 "icon": "$media:icon", 52 "label": "$string:entry_label", 53 "startWindowIcon": "$media:icon", 54 "startWindowBackground": "$color:white", 55 "visible": true, 56 "orientation": "portrait", 57 "skills": [ 58 { 59 "entities": [ 60 "entity.system.home" 61 ], 62 "actions": [ 63 "action.system.home" 64 ] 65 } 66 ] 67 }, 68 { 69 "name": "SecondAbility", 70 "srcEntry": "./ets/SecondAbility/SecondAbility.ts", 71 "description": "$string:phone_entry_main", 72 "icon": "$media:icon", 73 "label": "$string:entry_label", 74 "startWindowIcon": "$media:icon", 75 "startWindowBackground": "$color:white", 76 "visible": true, 77 "launchType": "singleton" 78 }, 79 { 80 "name": "ThirdAbility", 81 "srcEntry": "./ets/ThirdAbility/SecondAbility.ts", 82 "description": "$string:phone_entry_main", 83 "icon": "$media:icon", 84 "label": "$string:entry_label", 85 "startWindowIcon": "$media:icon", 86 "startWindowBackground": "$color:white", 87 "visible": true, 88 "launchType": "specified" 89 }, 90 { 91 "name": "CreateFormAbility", 92 "srcEntry": "./ets/CreateFormAbility/CreateFormAbility.ts", 93 "description": "$string:phone_entry_main", 94 "icon": "$media:icon", 95 "label": "$string:entry_label", 96 "startWindowIcon": "$media:icon", 97 "startWindowBackground": "$color:white", 98 "visible": true, 99 "launchType": "singleton" 100 }, 101 { 102 "name": "FormHostAbility", 103 "srcEntry": "./ets/FormHostAbility/FormHostAbility.ts", 104 "description": "$string:phone_entry_main", 105 "icon": "$media:icon", 106 "label": "$string:entry_label", 107 "startWindowIcon": "$media:icon", 108 "startWindowBackground": "$color:white", 109 "visible": true, 110 "launchType": "singleton" 111 }, 112 { 113 "name": "WindowStageOneAbility", 114 "srcEntry": "./ets/WindowStageAbility/WindowStageOneAbility.ets", 115 "description": "$string:MainAbility_desc", 116 "icon": "$media:icon", 117 "label": "$string:entry_label", 118 "exported": true, 119 "startWindowIcon": "$media:icon", 120 "startWindowBackground": "$color:white" 121 }, 122 { 123 "name": "WindowStageTwoAbility", 124 "srcEntry": "./ets/WindowStageAbility/WindowStageTwoAbility.ets", 125 "description": "$string:MainAbility_desc", 126 "icon": "$media:icon", 127 "label": "$string:entry_label", 128 "exported": true, 129 "startWindowIcon": "$media:icon", 130 "startWindowBackground": "$color:white", 131 "launchType": "singleton" 132 }, 133 { 134 "name": "WindowStageThreeAbility", 135 "srcEntry": "./ets/WindowStageAbility/WindowStageThreeAbility.ets", 136 "description": "$string:MainAbility_desc", 137 "icon": "$media:icon", 138 "label": "$string:entry_label", 139 "exported": true, 140 "startWindowIcon": "$media:icon", 141 "startWindowBackground": "$color:white" 142 } 143 ], 144 "requestPermissions": [ 145 { 146 "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" 147 }, 148 { 149 "name": "ohos.permission.REQUIRE_FORM" 150 }, 151 { 152 "name": "ohos.permission.UPDATE_CONFIGURATION" 153 }, 154 { 155 "name": "ohos.permission.GET_RUNNING_INFO" 156 }, 157 { 158 "name": "ohos.permission.START_ABILITIES_FROM_BACKGROUND" 159 } 160 ] 161 } 162} 163