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      "2in1",
12      "wearable"
13    ],
14    "deliveryWithInstall": true,
15    "installationFree": false,
16    "pages": "$profile:test_pages",
17    "abilities": [
18      {
19        "name": "TestAbility",
20        "srcEntry": "./ets/testability/TestAbility.ets",
21        "description": "$string:TestAbility_desc",
22        "icon": "$media:icon",
23        "label": "$string:TestAbility_label",
24        "exported": true,
25        "startWindowIcon": "$media:icon",
26        "startWindowBackground": "$color:start_window_background",
27        "skills": [
28          {
29            "actions": [
30              "action.system.home"
31            ],
32            "entities": [
33              "entity.system.home"
34            ]
35          }
36        ]
37      }
38    ],
39    "requestPermissions":[
40      {
41        "name": "ohos.permission.USE_BLUETOOTH",
42        "reason": "",
43        "usedScene": {
44          "ability": [
45            "ohos.acts.communication.bluetooth.bluetoothhost.MainAbility"
46          ],
47          "when": "inuse"
48        }
49      },
50      {
51        "name": "ohos.permission.MANAGE_BLUETOOTH",
52        "reason": "",
53        "usedScene": {
54          "ability": [
55            "ohos.acts.communication.bluetooth.bluetoothhost.MainAbility"
56          ],
57          "when": "inuse"
58        }
59    },
60    {
61        "name": "ohos.permission.APPROXIMATELY_LOCATION",
62        "reason": "",
63        "usedScene": {
64            "ability": [
65                "ohos.acts.communication.bluetooth.bluetoothhost.MainAbility"
66            ],
67            "when": "inuse"
68        }
69    },
70    {
71        "name": "ohos.permission.DISCOVER_BLUETOOTH",
72        "reason": "",
73        "usedScene": {
74            "ability": [
75                "ohos.acts.communication.bluetooth.bluetoothhost.MainAbility"
76            ],
77            "when": "inuse"
78        }
79    },
80    {
81        "name": "ohos.permission.LOCATION",
82        "reason": "",
83        "usedScene": {
84            "ability": [
85                "ohos.acts.communication.bluetooth.bluetoothhost.MainAbility"
86            ],
87            "when": "inuse"
88        }
89    }
90    ],
91    "testRunner": {
92      "name": "OpenHarmonyTestRunner",
93      "srcPath": "TestRunner"
94    }
95  }
96}
97