• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "module": {
3    "name": "entry_test",
4    "type": "feature",
5    "description": "$string:module_test_desc",
6    "mainElement": "TestAbility",
7    "deviceTypes": [
8      "default",
9      "tablet",
10      "2in1",
11      "wearable"
12    ],
13    "deliveryWithInstall": true,
14    "installationFree": false,
15    "pages": "$profile:test_pages",
16    "abilities": [
17      {
18        "name": "TestAbility",
19        "srcEntry": "./ets/testability/TestAbility.ets",
20        "description": "$string:TestAbility_desc",
21        "icon": "$media:icon",
22        "label": "$string:TestAbility_label",
23        "exported": true,
24        "startWindowIcon": "$media:icon",
25        "startWindowBackground": "$color:start_window_background",
26        "skills": [
27          {
28            "actions": [
29              "action.system.home"
30            ],
31            "entities": [
32              "entity.system.home"
33            ]
34          }
35        ]
36      },
37      {
38        "name": "WantAbility",
39        "srcEntry": "./ets/wantability/WantAbility.ets",
40        "description": "$string:TestAbility_desc",
41        "icon": "$media:icon",
42        "label": "$string:TestAbility_label",
43        "exported": true,
44        "startWindowIcon": "$media:icon",
45        "startWindowBackground": "$color:start_window_background",
46        "skills": [
47          {
48            "actions": [
49              "action.system.home"
50            ],
51            "entities": [
52              "entity.system.home"
53            ]
54          }
55        ]
56      },
57      {
58        "name": "WantFifthAbility",
59        "srcEntry": "./ets/wantfifthability/WantFifthAbility.ets",
60        "description": "$string:TestAbility_desc",
61        "icon": "$media:icon",
62        "label": "$string:TestAbility_label",
63        "exported": true,
64        "startWindowIcon": "$media:icon",
65        "startWindowBackground": "$color:start_window_background",
66        "skills": [
67          {
68            "actions": [
69              "action.system.home"
70            ],
71            "entities": [
72              "entity.system.home"
73            ]
74          }
75        ]
76      },
77      {
78        "name": "WantSixthAbility",
79        "srcEntry": "./ets/wantsixthability/WantSixthAbility.ets",
80        "description": "$string:TestAbility_desc",
81        "icon": "$media:icon",
82        "label": "$string:TestAbility_label",
83        "exported": true,
84        "startWindowIcon": "$media:icon",
85        "startWindowBackground": "$color:start_window_background",
86        "skills": [
87          {
88            "actions": [
89              "action.system.home"
90            ],
91            "entities": [
92              "entity.system.home"
93            ]
94          }
95        ]
96      },
97      {
98        "name": "WantThirdAbility",
99        "srcEntry": "./ets/wantthirdability/WantThirdAbility.ets",
100        "description": "$string:TestAbility_desc",
101        "icon": "$media:icon",
102        "label": "$string:TestAbility_label",
103        "exported": true,
104        "startWindowIcon": "$media:icon",
105        "startWindowBackground": "$color:start_window_background",
106        "skills": [
107          {
108            "actions": [
109              "action.system.home"
110            ],
111            "entities": [
112              "entity.system.home"
113            ]
114          }
115        ]
116      },
117      {
118        "name": "WantFourthAbility",
119        "srcEntry": "./ets/wantfourthability/WantFourthAbility.ets",
120        "description": "$string:TestAbility_desc",
121        "icon": "$media:icon",
122        "label": "$string:TestAbility_label",
123        "exported": true,
124        "startWindowIcon": "$media:icon",
125        "startWindowBackground": "$color:start_window_background",
126        "skills": [
127          {
128            "actions": [
129              "action.system.home"
130            ],
131            "entities": [
132              "entity.system.home"
133            ]
134          }
135        ]
136      },
137      {
138        "name": "WantSixteenAbility",
139        "srcEntry": "./ets/wantsixteenability/WantSixteenAbility.ets",
140        "description": "$string:TestAbility_desc",
141        "icon": "$media:icon",
142        "label": "$string:TestAbility_label",
143        "exported": true,
144        "startWindowIcon": "$media:icon",
145        "startWindowBackground": "$color:start_window_background",
146        "skills": [
147          {
148            "actions": [
149              "action.system.home"
150            ],
151            "entities": [
152              "entity.system.home"
153            ]
154          }
155        ]
156      },
157      {
158        "name": "WantFirstAbility",
159        "srcEntry": "./ets/wantfirstability/WantFirstAbility.ets",
160        "description": "$string:TestAbility_desc",
161        "icon": "$media:icon",
162        "label": "$string:TestAbility_label",
163        "exported": true,
164        "startWindowIcon": "$media:icon",
165        "startWindowBackground": "$color:start_window_background",
166        "skills": [
167          {
168            "actions": [
169              "action.system.home"
170            ],
171            "entities": [
172              "entity.system.home"
173            ]
174          }
175        ]
176      },
177      {
178        "name": "WantNinthAbility",
179        "srcEntry": "./ets/wantninthability/WantNinthAbility.ets",
180        "description": "$string:TestAbility_desc",
181        "icon": "$media:icon",
182        "label": "$string:TestAbility_label",
183        "exported": true,
184        "startWindowIcon": "$media:icon",
185        "startWindowBackground": "$color:start_window_background",
186        "skills": [
187          {
188            "actions": [
189              "action.system.home"
190            ],
191            "entities": [
192              "entity.system.home"
193            ]
194          }
195        ]
196      },
197      {
198        "name": "WantSecondAbility",
199        "srcEntry": "./ets/wantsecondability/WantSecondAbility.ets",
200        "description": "$string:TestAbility_desc",
201        "icon": "$media:icon",
202        "label": "$string:TestAbility_label",
203        "exported": true,
204        "startWindowIcon": "$media:icon",
205        "startWindowBackground": "$color:start_window_background",
206        "skills": [
207          {
208            "actions": [
209              "action.system.home"
210            ],
211            "entities": [
212              "entity.system.home"
213            ]
214          }
215        ]
216      }
217    ],
218    "requestPermissions": [
219      {
220        "name": "ohos.permission.START_ABILITIES_FROM_BACKGROUND"
221      }
222    ]
223  }
224}