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.GET_WIFI_INFO", 40 "reason" : "use ohos.permission.GET_WIFI_INFO" 41 }, 42 { 43 "name" : "ohos.permission.SET_WIFI_INFO", 44 "reason" : "use ohos.permission.SET_WIFI_INFO" 45 }, 46 { 47 "name" : "ohos.permission.MANAGE_WIFI_CONNECTION", 48 "reason" : "use ohos.permission.MANAGE_WIFI_CONNECTION" 49 }, 50 { 51 "name": "ohos.permission.LOCATION", 52 "reason": "need use ohos.permission.LOCATION", 53 "usedScene": { 54 "ability": [ 55 "ohos.acts.location.geolocation.function.MainAbility" 56 ], 57 "when": "inuse" 58 } 59 } 60 61 62 ], 63 "testRunner": { 64 "name": "OpenHarmonyTestRunner", 65 "srcPath": "TestRunner" 66 } 67 } 68} 69