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        "description": "$string:TestAbility_label",
20        "mainElement": "TestAbility",
21        "deviceTypes": [
22            "wearable",
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        "requestPermissions": [
53            {
54                "name": "ohos.permission.GRANT_SENSITIVE_PERMISSIONS",
55                "reason": "$string:TestAbility_desc"
56            },
57            {
58                "name": "ohos.permission.REVOKE_SENSITIVE_PERMISSIONS",
59                "reason": "$string:TestAbility_desc"
60            },
61            {
62                "name": "ohos.permission.CAMERA",
63                "reason": "$string:TestAbility_desc"
64            },
65            {
66                "name": "ohos.permission.MICROPHONE",
67                "reason": "$string:TestAbility_desc"
68            },
69            {
70                "name": "ohos.permission.MEDIA_LOCATION",
71                "reason": "$string:TestAbility_desc"
72            },
73            {
74                "name": "ohos.permission.READ_MEDIA",
75                "reason": "$string:TestAbility_desc"
76            },
77            {
78                "name": "ohos.permission.WRITE_MEDIA",
79                "reason": "$string:TestAbility_desc"
80            },
81            {
82                "name": "ohos.permission.START_ABILIIES_FROM_BACKGROUND",
83                "reason": "$string:TestAbility_desc"
84            },
85            {
86                "name": "ohos.permission.START_INVISIBLE_ABILITY",
87                "reason": "$string:TestAbility_desc"
88            },
89            {
90                "name": "ohos.permission.ABILITY_BACKGROUND_COMMUNICATION",
91                "reason": "$string:TestAbility_desc"
92            }
93        ]
94    }
95}