• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "module": {
3    "name": "entry",
4    "type": "feature",
5    "description": "$string:module_test_desc",
6    "mainElement": "TestAbility",
7    "deviceTypes": [
8      "phone",
9      "tablet",
10      "default"
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.MANAGE_BLUETOOTH",
40          "reason": "",
41          "usedScene": {
42              "ability": [
43                  "ohos.acts.communication.bluetooth.bluetoothhost.MainAbility"
44              ],
45              "when": "inuse"
46          }
47      },
48      {
49          "name": "ohos.permission.ACCESS_BLUETOOTH",
50          "reason": "",
51          "usedScene": {
52              "ability": [
53                  "ohos.acts.communication.bluetooth.bluetoothhost.MainAbility"
54              ],
55              "when": "inuse"
56          }
57      }
58    ],
59    "testRunner": {
60      "name": "OpenHarmonyTestRunner",
61      "srcPath": "TestRunner"
62    }
63  }
64}
65