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{ 17 "module": { 18 "name": "entry_test", 19 "type": "feature", 20 "description": "$string:module_test_desc", 21 "mainElement": "TestAbility", 22 "deviceTypes": [ 23 "default", 24 "tablet", 25 "2in1" 26 ], 27 "deliveryWithInstall": true, 28 "installationFree": false, 29 "pages": "$profile:test_pages", 30 "abilities": [ 31 { 32 "name": "TestAbility", 33 "srcEntry": "./ets/testability/TestAbility.ets", 34 "description": "$string:TestAbility_desc", 35 "icon": "$media:icon", 36 "label": "$string:TestAbility_label", 37 "exported": true, 38 "startWindowIcon": "$media:icon", 39 "startWindowBackground": "$color:start_window_background", 40 "skills": [ 41 { 42 "actions": [ 43 "action.system.home" 44 ], 45 "entities": [ 46 "entity.system.home" 47 ] 48 } 49 ] 50 }, 51 { 52 "name": "FirstAbility", 53 "srcEntry": "./ets/FirstAbility/FirstAbility.ets", 54 "description": "$string:TestAbility_desc", 55 "icon": "$media:icon", 56 "label": "$string:TestAbility_label", 57 "exported": true, 58 "startWindowIcon": "$media:icon", 59 "startWindowBackground": "$color:start_window_background", 60 "skills": [ 61 { 62 "actions": [ 63 "action.system.home" 64 ], 65 "entities": [ 66 "entity.system.home" 67 ] 68 } 69 ] 70 }, 71 { 72 "name": "SecondAbility", 73 "srcEntry": "./ets/SecondAbility/SecondAbility.ets", 74 "description": "$string:TestAbility_desc", 75 "icon": "$media:icon", 76 "label": "$string:TestAbility_label", 77 "exported": true, 78 "startWindowIcon": "$media:icon", 79 "startWindowBackground": "$color:start_window_background", 80 "skills": [ 81 { 82 "actions": [ 83 "action.system.home" 84 ], 85 "entities": [ 86 "entity.system.home" 87 ] 88 } 89 ] 90 }, 91 { 92 "name": "ThirdAbility", 93 "srcEntry": "./ets/ThirdAbility/ThirdAbility.ets", 94 "description": "$string:TestAbility_desc", 95 "icon": "$media:icon", 96 "label": "$string:TestAbility_label", 97 "exported": true, 98 "startWindowIcon": "$media:icon", 99 "startWindowBackground": "$color:start_window_background", 100 "skills": [ 101 { 102 "actions": [ 103 "action.system.home" 104 ], 105 "entities": [ 106 "entity.system.home" 107 ] 108 } 109 ] 110 }, 111 { 112 "name": "FourthAbility", 113 "srcEntry": "./ets/FourthAbility/FourthAbility.ets", 114 "description": "$string:TestAbility_desc", 115 "icon": "$media:icon", 116 "label": "$string:TestAbility_label", 117 "exported": true, 118 "startWindowIcon": "$media:icon", 119 "startWindowBackground": "$color:start_window_background", 120 "skills": [ 121 { 122 "actions": [ 123 "action.system.home" 124 ], 125 "entities": [ 126 "entity.system.home" 127 ] 128 } 129 ] 130 }, 131 { 132 "name": "FifthAbility", 133 "srcEntry": "./ets/FifthAbility/FifthAbility.ets", 134 "description": "$string:TestAbility_desc", 135 "icon": "$media:icon", 136 "label": "$string:TestAbility_label", 137 "exported": true, 138 "startWindowIcon": "$media:icon", 139 "startWindowBackground": "$color:start_window_background", 140 "skills": [ 141 { 142 "actions": [ 143 "action.system.home" 144 ], 145 "entities": [ 146 "entity.system.home" 147 ] 148 } 149 ] 150 } 151 ], 152 "requestPermissions": [ 153 { 154 "name": "ohos.permission.START_ABILITIES_FROM_BACKGROUND" 155 } 156 ] 157 } 158}