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    ],
12    "deliveryWithInstall": true,
13    "installationFree": false,
14    "pages": "$profile:test_pages",
15    "abilities": [
16      {
17        "name": "TestAbility",
18        "srcEntry": "./ets/testability/TestAbility.ets",
19        "description": "$string:TestAbility_desc",
20        "icon": "$media:icon",
21        "label": "$string:TestAbility_label",
22        "exported": true,
23        "startWindowIcon": "$media:icon",
24        "startWindowBackground": "$color:start_window_background",
25        "skills": [
26          {
27            "actions": [
28              "action.system.home"
29            ],
30            "entities": [
31              "entity.system.home"
32            ]
33          }
34        ]
35      }
36    ],
37    "requestPermissions": [
38      {
39        "name": "ohos.permission.CAMERA",
40        "usedScene": {
41          "abilities": [
42            "TestAbility"
43          ],
44          "when": "inuse"
45        }
46      },
47      {
48        "name": "ohos.permission.MICROPHONE",
49        "usedScene": {
50          "abilities": [
51            "TestAbility"
52          ],
53          "when": "inuse"
54        }
55      },
56      {
57        "name": "ohos.permission.READ_MEDIA",
58        "usedScene": {
59          "abilities": [
60            "TestAbility"
61          ],
62          "when": "inuse"
63        }
64      },
65      {
66        "name": "ohos.permission.WRITE_MEDIA",
67        "usedScene": {
68          "abilities": [
69            "TestAbility"
70          ],
71          "when": "inuse"
72        }
73      },
74      {
75        "name": "ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS"
76      },
77      {
78        "name": "ohos.permission.CLEAN_BACKGROUND_PROCESSES"
79      },
80      {
81        "name": "ohos.permission.GET_SENSITIVE_PERMISSIONS"
82      },
83      {
84        "name": "ohos.permission.GRANT_SENSITIVE_PERMISSIONS"
85      }
86    ]
87  }
88}
89