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_desc", 21 "mainElement": "EntryAbility", 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": "EntryAbility", 33 "srcEntry": "./ets/entryability/EntryAbility.ts", 34 "description": "$string:EntryAbility_desc", 35 "icon": "$media:icon", 36 "label": "$string:EntryAbility_label", 37 "startWindowIcon": "$media:startIcon", 38 "startWindowBackground": "$color:start_window_background", 39 "exported": true, 40 "skills": [ 41 { 42 "entities": [ 43 "entity.aacommandimplicitstarttest.home" 44 ], 45 "actions": [ 46 "action.aacommandimplicitstarttest.home" 47 ] 48 }, 49 { 50 "entities": [ 51 "entity.aacommandimplicitstarttest.home" 52 ], 53 "actions": [ 54 "action.aacommandimplicitstarttest.home" 55 ], 56 "uris": [ 57 { 58 "host": "uri.aacommandimplicitstarttest.com", 59 "scheme": "https", 60 "type": "uri-type" 61 } 62 ] 63 } 64 ] 65 }, 66 { 67 "name": "TestAbility", 68 "srcEntry": "./ets/testability/TestAbility.ets", 69 "description": "$string:TestAbility_desc", 70 "icon": "$media:icon", 71 "label": "$string:TestAbility_label", 72 "exported": true, 73 "startWindowIcon": "$media:icon", 74 "startWindowBackground": "$color:start_window_background", 75 "skills": [ 76 { 77 "actions": [ 78 "action.system.home" 79 ], 80 "entities": [ 81 "entity.system.home" 82 ] 83 } 84 ] 85 }, 86 { 87 "name": "UnexportedAbility", 88 "srcEntry": "./ets/unexportedability/UnexportedAbility.ts", 89 "description": "$string:UnexportedAbility_desc", 90 "icon": "$media:icon", 91 "label": "$string:UnexportedAbility_label", 92 "startWindowIcon": "$media:startIcon", 93 "startWindowBackground": "$color:start_window_background", 94 "exported": false, 95 "skills": [ 96 { 97 "entities": [ 98 "entity.system.unexportedability" 99 ], 100 "actions": [ 101 "action.system.unexportedability" 102 ] 103 } 104 ] 105 } 106 ], 107 "requestPermissions": [] 108 } 109}