提交 090859db 编写于 作者: T txl

新增2in1设备类型-build-communication

Signed-off-by: Ntxl <tangxianglei@huawei.com>
上级 d7635faf
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
"name": ".entry", "name": ".entry",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
...@@ -7,20 +7,21 @@ ...@@ -7,20 +7,21 @@
"mainElement": "ohos.acts.atomic.service.test.MainAbility", "mainElement": "ohos.acts.atomic.service.test.MainAbility",
"deviceTypes": [ "deviceTypes": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"dependencies":[ "dependencies": [
{ {
"moduleName":"feature" "moduleName": "feature"
} }
], ],
"atomicService":{ "atomicService": {
"preloads":[ "preloads": [
{ {
"moduleName":"feature" "moduleName": "feature"
}, },
{ {
"moduleName":"shared" "moduleName": "shared"
} }
] ]
}, },
...@@ -43,7 +44,7 @@ ...@@ -43,7 +44,7 @@
"actions": [ "actions": [
"action.system.home" "action.system.home"
], ],
"entities":[ "entities": [
"entity.system.home" "entity.system.home"
] ]
} }
...@@ -375,7 +376,9 @@ ...@@ -375,7 +376,9 @@
"name": "ohos.permission.GET_BUNDLE_INFO", "name": "ohos.permission.GET_BUNDLE_INFO",
"reason": "$string:permission_reason", "reason": "$string:permission_reason",
"usedScene": { "usedScene": {
"abilities": ["MainAbility"], "abilities": [
"MainAbility"
],
"when": "always" "when": "always"
} }
}, },
...@@ -383,7 +386,9 @@ ...@@ -383,7 +386,9 @@
"name": "ohos.permission.READ_CALENDAR", "name": "ohos.permission.READ_CALENDAR",
"reason": "$string:permission_reason", "reason": "$string:permission_reason",
"usedScene": { "usedScene": {
"abilities": ["MainAbility"], "abilities": [
"MainAbility"
],
"when": "inuse" "when": "inuse"
} }
} }
......
...@@ -7,7 +7,8 @@ ...@@ -7,7 +7,8 @@
"mainElement": "ohos.acts.atomic.service.test.MainAbility", "mainElement": "ohos.acts.atomic.service.test.MainAbility",
"deviceTypes": [ "deviceTypes": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"deliveryWithInstall": true, "deliveryWithInstall": true,
"installationFree": true, "installationFree": true,
...@@ -28,7 +29,7 @@ ...@@ -28,7 +29,7 @@
"actions": [ "actions": [
"action.system.home" "action.system.home"
], ],
"entities":[ "entities": [
"entity.system.home" "entity.system.home"
] ]
} }
......
...@@ -7,7 +7,8 @@ ...@@ -7,7 +7,8 @@
"mainElement": "ohos.acts.atomic.service.test.MainAbility", "mainElement": "ohos.acts.atomic.service.test.MainAbility",
"deviceTypes": [ "deviceTypes": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"deliveryWithInstall": true, "deliveryWithInstall": true,
"installationFree": true, "installationFree": true,
......
...@@ -20,7 +20,8 @@ ...@@ -20,7 +20,8 @@
"srcPath": "", "srcPath": "",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
"name": ".entry", "name": ".entry",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
"name": ".entry", "name": ".entry",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
"name": ".entry", "name": ".entry",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
"name": ".entry", "name": ".entry",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
"name": ".entry", "name": ".entry",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
...@@ -20,7 +20,8 @@ ...@@ -20,7 +20,8 @@
"mainAbility": "com.open.harmony.packagemag.MainAbility", "mainAbility": "com.open.harmony.packagemag.MainAbility",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"reqPermissions": [ "reqPermissions": [
{ {
...@@ -137,6 +138,6 @@ ...@@ -137,6 +138,6 @@
} }
} }
], ],
"description":"$string:entry_description" "description": "$string:entry_description"
} }
} }
\ No newline at end of file
...@@ -7,7 +7,8 @@ ...@@ -7,7 +7,8 @@
"mainElement": "ohos.acts.bundle.overlay.test.MainAbility", "mainElement": "ohos.acts.bundle.overlay.test.MainAbility",
"deviceTypes": [ "deviceTypes": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"deliveryWithInstall": true, "deliveryWithInstall": true,
"installationFree": false, "installationFree": false,
...@@ -28,7 +29,7 @@ ...@@ -28,7 +29,7 @@
"actions": [ "actions": [
"action.system.home" "action.system.home"
], ],
"entities":[ "entities": [
"entity.system.home" "entity.system.home"
] ]
} }
...@@ -360,7 +361,9 @@ ...@@ -360,7 +361,9 @@
"name": "ohos.permission.GET_BUNDLE_INFO", "name": "ohos.permission.GET_BUNDLE_INFO",
"reason": "$string:permission_reason", "reason": "$string:permission_reason",
"usedScene": { "usedScene": {
"abilities": ["MainAbility"], "abilities": [
"MainAbility"
],
"when": "always" "when": "always"
} }
}, },
...@@ -368,7 +371,9 @@ ...@@ -368,7 +371,9 @@
"name": "ohos.permission.READ_CALENDAR", "name": "ohos.permission.READ_CALENDAR",
"reason": "$string:permission_reason", "reason": "$string:permission_reason",
"usedScene": { "usedScene": {
"abilities": ["MainAbility"], "abilities": [
"MainAbility"
],
"when": "inuse" "when": "inuse"
} }
} }
......
...@@ -7,7 +7,8 @@ ...@@ -7,7 +7,8 @@
"mainElement": "ohos.acts.bundle.stage.test.MainAbility", "mainElement": "ohos.acts.bundle.stage.test.MainAbility",
"deviceTypes": [ "deviceTypes": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"deliveryWithInstall": true, "deliveryWithInstall": true,
"installationFree": false, "installationFree": false,
...@@ -28,7 +29,7 @@ ...@@ -28,7 +29,7 @@
"actions": [ "actions": [
"action.system.home" "action.system.home"
], ],
"entities":[ "entities": [
"entity.system.home" "entity.system.home"
] ]
} }
...@@ -371,7 +372,9 @@ ...@@ -371,7 +372,9 @@
"name": "ohos.permission.GET_BUNDLE_INFO", "name": "ohos.permission.GET_BUNDLE_INFO",
"reason": "$string:permission_reason", "reason": "$string:permission_reason",
"usedScene": { "usedScene": {
"abilities": ["MainAbility"], "abilities": [
"MainAbility"
],
"when": "always" "when": "always"
} }
}, },
...@@ -379,7 +382,9 @@ ...@@ -379,7 +382,9 @@
"name": "ohos.permission.READ_CALENDAR", "name": "ohos.permission.READ_CALENDAR",
"reason": "$string:permission_reason", "reason": "$string:permission_reason",
"usedScene": { "usedScene": {
"abilities": ["MainAbility"], "abilities": [
"MainAbility"
],
"when": "inuse" "when": "inuse"
} }
} }
......
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
"name": ".entry", "name": ".entry",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
...@@ -17,10 +17,10 @@ ...@@ -17,10 +17,10 @@
"package": "com.actsbundle.napitest", "package": "com.actsbundle.napitest",
"name": ".MyApplication", "name": ".MyApplication",
"mainAbility": "com.actsbundle.napitest.MainAbility", "mainAbility": "com.actsbundle.napitest.MainAbility",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
...@@ -17,10 +17,10 @@ ...@@ -17,10 +17,10 @@
"package": "com.actsbundle.napitest", "package": "com.actsbundle.napitest",
"name": ".MyApplication", "name": ".MyApplication",
"mainAbility": "com.actsbundle.napitest.MainAbility", "mainAbility": "com.actsbundle.napitest.MainAbility",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
"name": ".MyApplication1", "name": ".MyApplication1",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
...@@ -67,10 +68,10 @@ ...@@ -67,10 +68,10 @@
} }
} }
], ],
"reqPermissions":[ "reqPermissions": [
{ {
"name":"ohos.permission.DISTRIBUTED_DATASYNC", "name": "ohos.permission.DISTRIBUTED_DATASYNC",
"reason":"use ohos.permission.DISTRIBUTED_DATASYNC" "reason": "use ohos.permission.DISTRIBUTED_DATASYNC"
}, },
{ {
"name": "ohos.permission.KEEP_BACKGROUND_RUNNING", "name": "ohos.permission.KEEP_BACKGROUND_RUNNING",
......
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
"name": ".MyApplication1", "name": ".MyApplication1",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
...@@ -67,10 +68,10 @@ ...@@ -67,10 +68,10 @@
} }
} }
], ],
"reqPermissions":[ "reqPermissions": [
{ {
"name":"ohos.permission.DISTRIBUTED_DATASYNC", "name": "ohos.permission.DISTRIBUTED_DATASYNC",
"reason":"use ohos.permission.DISTRIBUTED_DATASYNC" "reason": "use ohos.permission.DISTRIBUTED_DATASYNC"
}, },
{ {
"name": "ohos.permission.KEEP_BACKGROUND_RUNNING", "name": "ohos.permission.KEEP_BACKGROUND_RUNNING",
......
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
"name": ".MyApplication1", "name": ".MyApplication1",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
...@@ -67,10 +68,10 @@ ...@@ -67,10 +68,10 @@
} }
} }
], ],
"reqPermissions":[ "reqPermissions": [
{ {
"name":"ohos.permission.DISTRIBUTED_DATASYNC", "name": "ohos.permission.DISTRIBUTED_DATASYNC",
"reason":"use ohos.permission.DISTRIBUTED_DATASYNC" "reason": "use ohos.permission.DISTRIBUTED_DATASYNC"
}, },
{ {
"name": "ohos.permission.KEEP_BACKGROUND_RUNNING", "name": "ohos.permission.KEEP_BACKGROUND_RUNNING",
......
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
"name": ".MyApplication2", "name": ".MyApplication2",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
...@@ -67,7 +68,7 @@ ...@@ -67,7 +68,7 @@
} }
} }
], ],
"reqPermissions":[ "reqPermissions": [
{ {
"name": "ohos.permission.KEEP_BACKGROUND_RUNNING", "name": "ohos.permission.KEEP_BACKGROUND_RUNNING",
"reason": "use ohos.permission.KEEP_BACKGROUND_RUNNING" "reason": "use ohos.permission.KEEP_BACKGROUND_RUNNING"
......
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
"name": ".MyApplication1", "name": ".MyApplication1",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
...@@ -67,7 +68,7 @@ ...@@ -67,7 +68,7 @@
} }
} }
], ],
"reqPermissions":[ "reqPermissions": [
{ {
"name": "ohos.permission.KEEP_BACKGROUND_RUNNING", "name": "ohos.permission.KEEP_BACKGROUND_RUNNING",
"reason": "use ohos.permission.KEEP_BACKGROUND_RUNNING" "reason": "use ohos.permission.KEEP_BACKGROUND_RUNNING"
......
...@@ -53,7 +53,8 @@ ...@@ -53,7 +53,8 @@
], ],
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"mainAbility": "com.example.l3jsdemo.MainAbility", "mainAbility": "com.example.l3jsdemo.MainAbility",
"distro": { "distro": {
......
...@@ -19,7 +19,8 @@ ...@@ -19,7 +19,8 @@
"mainAbility": "com.example.third5.AMainAbility", "mainAbility": "com.example.third5.AMainAbility",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
} }
}, },
"deviceConfig": { "deviceConfig": {
"default":{} "default": {}
}, },
"module": { "module": {
"package": "com.example.third1.entry", "package": "com.example.third1.entry",
...@@ -21,7 +21,8 @@ ...@@ -21,7 +21,8 @@
"colorMode": "light", "colorMode": "light",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
...@@ -165,14 +166,18 @@ ...@@ -165,14 +166,18 @@
{ {
"name": "com.permission.PERMISSION_THIRD1", "name": "com.permission.PERMISSION_THIRD1",
"grantMode": "user_grant", "grantMode": "user_grant",
"availableScope": ["signature"] "availableScope": [
"signature"
]
}, },
{ {
"name": "com.permission.PERMISSION_B", "name": "com.permission.PERMISSION_B",
"grantMode": "system_grant", "grantMode": "system_grant",
"availableScope": ["signature"] "availableScope": [
"signature"
]
} }
], ],
"description":"$string:entry_description" "description": "$string:entry_description"
} }
} }
\ No newline at end of file
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
} }
}, },
"deviceConfig": { "deviceConfig": {
"default":{} "default": {}
}, },
"module": { "module": {
"package": "com.example.third1.entry", "package": "com.example.third1.entry",
...@@ -22,7 +22,8 @@ ...@@ -22,7 +22,8 @@
"colorMode": "dark", "colorMode": "dark",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
"name": ".BmsThirdBundle4", "name": ".BmsThirdBundle4",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
...@@ -45,7 +46,8 @@ ...@@ -45,7 +46,8 @@
"form": { "form": {
"formEntity": [ "formEntity": [
"homeScreen", "homeScreen",
"searchbox"], "searchbox"
],
"defaultHeight": 100, "defaultHeight": 100,
"defaultWidth": 200, "defaultWidth": 200,
"minHeight": 50, "minHeight": 50,
...@@ -55,7 +57,10 @@ ...@@ -55,7 +57,10 @@
{ {
"colorMode": "light", "colorMode": "light",
"description": " JS4A Form", "description": " JS4A Form",
"supportDimensions": [ "2*4", "4*4" ], "supportDimensions": [
"2*4",
"4*4"
],
"type": "JS", "type": "JS",
"jsComponentName": "JS_name4A", "jsComponentName": "JS_name4A",
"metaData": { "metaData": {
...@@ -77,7 +82,11 @@ ...@@ -77,7 +82,11 @@
{ {
"colorMode": "light", "colorMode": "light",
"description": " JS4B Form", "description": " JS4B Form",
"supportDimensions": [ "1*2", "2*2" , "2*4"], "supportDimensions": [
"1*2",
"2*2",
"2*4"
],
"type": "JS", "type": "JS",
"jsComponentName": "JS_name4B", "jsComponentName": "JS_name4B",
"metaData": { "metaData": {
...@@ -107,8 +116,8 @@ ...@@ -107,8 +116,8 @@
"label": "$string:app_name", "label": "$string:app_name",
"intents": [ "intents": [
{ {
"targetClass":"com.example.third4A.MainAbility", "targetClass": "com.example.third4A.MainAbility",
"targetBundle":"com.example.third4A" "targetBundle": "com.example.third4A"
} }
] ]
}, },
......
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
"name": ".MyApplication", "name": ".MyApplication",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
"name": ".MyApplication", "name": ".MyApplication",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
} }
}, },
"deviceConfig": { "deviceConfig": {
"default":{} "default": {}
}, },
"module": { "module": {
"package": "com.example.system1", "package": "com.example.system1",
...@@ -21,7 +21,8 @@ ...@@ -21,7 +21,8 @@
"mainAbility": "com.example.system1.MainAbility", "mainAbility": "com.example.system1.MainAbility",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
...@@ -48,7 +49,12 @@ ...@@ -48,7 +49,12 @@
"forms": [ "forms": [
{ {
"description": "JS1S Form", "description": "JS1S Form",
"supportDimensions": [ "1*2", "2*2", "2*4", "4*4"], "supportDimensions": [
"1*2",
"2*2",
"2*4",
"4*4"
],
"type": "JS", "type": "JS",
"jsComponentName": "JS_name1S", "jsComponentName": "JS_name1S",
"metaData": { "metaData": {
...@@ -76,21 +82,27 @@ ...@@ -76,21 +82,27 @@
], ],
"launchType": "standard", "launchType": "standard",
"metaData": { "metaData": {
"parameters": [{ "parameters": [
{
"name": "Data1S", "name": "Data1S",
"type": "float", "type": "float",
"description": "$string:mainability_description" "description": "$string:mainability_description"
}], }
"results": [{ ],
"results": [
{
"name": "Data1S", "name": "Data1S",
"type": "float", "type": "float",
"description": "$string:mainability_description" "description": "$string:mainability_description"
}], }
"customizeData": [{ ],
"customizeData": [
{
"name": "Data1S", "name": "Data1S",
"value": "float", "value": "float",
"extra": "$string:mainability_description" "extra": "$string:mainability_description"
}] }
]
} }
} }
], ],
...@@ -101,8 +113,8 @@ ...@@ -101,8 +113,8 @@
"label": "$string:shortcut", "label": "$string:shortcut",
"intents": [ "intents": [
{ {
"targetClass":"com.example.system1.MainAbility", "targetClass": "com.example.system1.MainAbility",
"targetBundle":"com.example.system1" "targetBundle": "com.example.system1"
} }
] ]
} }
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
} }
}, },
"deviceConfig": { "deviceConfig": {
"default":{} "default": {}
}, },
"module": { "module": {
"package": "com.example.system2", "package": "com.example.system2",
...@@ -21,7 +21,8 @@ ...@@ -21,7 +21,8 @@
"mainAbility": "com.example.system2.MainAbility", "mainAbility": "com.example.system2.MainAbility",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
"name": ".BmsVendorBundle1", "name": ".BmsVendorBundle1",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
...@@ -46,14 +47,21 @@ ...@@ -46,14 +47,21 @@
{ {
"colorMode": "dark", "colorMode": "dark",
"description": "JS1V Form", "description": "JS1V Form",
"supportDimensions": ["1*2", "2*2", "test", "2*4"], "supportDimensions": [
"1*2",
"2*2",
"test",
"2*4"
],
"type": "Java", "type": "Java",
"jsComponentName": "JS_name1V", "jsComponentName": "JS_name1V",
"metaData": { "metaData": {
"customizeData": [{ "customizeData": [
{
"name": "originWidgetName1V", "name": "originWidgetName1V",
"value": "com.openharmony.weather.testWidget1V" "value": "com.openharmony.weather.testWidget1V"
}] }
]
}, },
"isDefault": false, "isDefault": false,
"deepLink": "ability://com.example.myapplication.fa/.MainAbility", "deepLink": "ability://com.example.myapplication.fa/.MainAbility",
...@@ -70,7 +78,11 @@ ...@@ -70,7 +78,11 @@
{ {
"colorMode": "light", "colorMode": "light",
"description": " JS1V2 Form", "description": " JS1V2 Form",
"supportDimensions": [ "1*2", "2*4", "4*4"], "supportDimensions": [
"1*2",
"2*4",
"4*4"
],
"type": "JS", "type": "JS",
"jsComponentName": "JS_name1V2", "jsComponentName": "JS_name1V2",
"metaData": { "metaData": {
...@@ -92,7 +104,8 @@ ...@@ -92,7 +104,8 @@
], ],
"launchType": "standard", "launchType": "standard",
"metaData": { "metaData": {
"parameters": [{ "parameters": [
{
"name": "Data1V0", "name": "Data1V0",
"type": "float", "type": "float",
"description": "$string:mainability_description" "description": "$string:mainability_description"
...@@ -101,12 +114,15 @@ ...@@ -101,12 +114,15 @@
"name": "Data1V1", "name": "Data1V1",
"type": "float", "type": "float",
"description": "$string:mainability_description" "description": "$string:mainability_description"
}], }
"results": [{ ],
"results": [
{
"name": "Data1V", "name": "Data1V",
"type": "float", "type": "float",
"description": "$string:mainability_description" "description": "$string:mainability_description"
}], }
],
"customizeData": [ "customizeData": [
{ {
"name": "vendorName", "name": "vendorName",
...@@ -124,8 +140,8 @@ ...@@ -124,8 +140,8 @@
"label": "$string:shortcut", "label": "$string:shortcut",
"intents": [ "intents": [
{ {
"targetClass":"com.example.vendor1.MainAbility", "targetClass": "com.example.vendor1.MainAbility",
"targetBundle":"com.example.vendor1" "targetBundle": "com.example.vendor1"
} }
] ]
} }
......
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
"name": ".MyApplication", "name": ".MyApplication",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
...@@ -22,7 +22,8 @@ ...@@ -22,7 +22,8 @@
"mainAbility": ".MainAbility", "mainAbility": ".MainAbility",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"abilities": [ "abilities": [
{ {
...@@ -36,7 +37,6 @@ ...@@ -36,7 +37,6 @@
] ]
} }
], ],
"visible": true, "visible": true,
"srcPath": "MainAbility", "srcPath": "MainAbility",
"name": ".MainAbility", "name": ".MainAbility",
...@@ -73,7 +73,6 @@ ...@@ -73,7 +73,6 @@
] ]
} }
], ],
"visible": true, "visible": true,
"srcPath": "MainAbility", "srcPath": "MainAbility",
"name": ".actionStringLenZero", "name": ".actionStringLenZero",
...@@ -93,7 +92,6 @@ ...@@ -93,7 +92,6 @@
] ]
} }
], ],
"visible": true, "visible": true,
"srcPath": "MainAbility", "srcPath": "MainAbility",
"name": ".actionSingleString", "name": ".actionSingleString",
...@@ -114,7 +112,6 @@ ...@@ -114,7 +112,6 @@
] ]
} }
], ],
"visible": true, "visible": true,
"srcPath": "MainAbility", "srcPath": "MainAbility",
"name": ".actionDoubleString", "name": ".actionDoubleString",
...@@ -141,7 +138,6 @@ ...@@ -141,7 +138,6 @@
] ]
} }
], ],
"visible": true, "visible": true,
"srcPath": "MainAbility", "srcPath": "MainAbility",
"name": ".actionDoubleSkill", "name": ".actionDoubleSkill",
...@@ -162,7 +158,6 @@ ...@@ -162,7 +158,6 @@
] ]
} }
], ],
"visible": true, "visible": true,
"srcPath": "MainAbility", "srcPath": "MainAbility",
"name": ".entityEmpty", "name": ".entityEmpty",
...@@ -185,7 +180,6 @@ ...@@ -185,7 +180,6 @@
] ]
} }
], ],
"visible": true, "visible": true,
"srcPath": "MainAbility", "srcPath": "MainAbility",
"name": ".entitySingleString", "name": ".entitySingleString",
...@@ -209,7 +203,6 @@ ...@@ -209,7 +203,6 @@
] ]
} }
], ],
"visible": true, "visible": true,
"srcPath": "MainAbility", "srcPath": "MainAbility",
"name": ".entityDoubleString", "name": ".entityDoubleString",
...@@ -242,7 +235,6 @@ ...@@ -242,7 +235,6 @@
] ]
} }
], ],
"visible": true, "visible": true,
"srcPath": "MainAbility", "srcPath": "MainAbility",
"name": ".entityDoubleSkill", "name": ".entityDoubleSkill",
...@@ -263,7 +255,6 @@ ...@@ -263,7 +255,6 @@
] ]
} }
], ],
"visible": true, "visible": true,
"srcPath": "MainAbility", "srcPath": "MainAbility",
"name": ".uriEmpty", "name": ".uriEmpty",
...@@ -288,7 +279,6 @@ ...@@ -288,7 +279,6 @@
] ]
} }
], ],
"visible": true, "visible": true,
"srcPath": "MainAbility", "srcPath": "MainAbility",
"name": ".uriScheme", "name": ".uriScheme",
...@@ -314,7 +304,6 @@ ...@@ -314,7 +304,6 @@
] ]
} }
], ],
"visible": true, "visible": true,
"srcPath": "MainAbility", "srcPath": "MainAbility",
"name": ".uriSchemeHost", "name": ".uriSchemeHost",
...@@ -341,7 +330,6 @@ ...@@ -341,7 +330,6 @@
] ]
} }
], ],
"visible": true, "visible": true,
"srcPath": "MainAbility", "srcPath": "MainAbility",
"name": ".uriSchemeHostPort", "name": ".uriSchemeHostPort",
...@@ -369,7 +357,6 @@ ...@@ -369,7 +357,6 @@
] ]
} }
], ],
"visible": true, "visible": true,
"srcPath": "MainAbility", "srcPath": "MainAbility",
"name": ".uriSchemeHostPortPath", "name": ".uriSchemeHostPortPath",
...@@ -397,7 +384,6 @@ ...@@ -397,7 +384,6 @@
] ]
} }
], ],
"visible": true, "visible": true,
"srcPath": "MainAbility", "srcPath": "MainAbility",
"name": ".uriSchemeHostPortPathStartWith", "name": ".uriSchemeHostPortPathStartWith",
...@@ -425,7 +411,6 @@ ...@@ -425,7 +411,6 @@
] ]
} }
], ],
"visible": true, "visible": true,
"srcPath": "MainAbility", "srcPath": "MainAbility",
"name": ".uriSchemeHostPortPathRegx", "name": ".uriSchemeHostPortPathRegx",
...@@ -452,7 +437,6 @@ ...@@ -452,7 +437,6 @@
] ]
} }
], ],
"visible": true, "visible": true,
"srcPath": "MainAbility", "srcPath": "MainAbility",
"name": ".uriSchemeEmpty", "name": ".uriSchemeEmpty",
...@@ -479,7 +463,6 @@ ...@@ -479,7 +463,6 @@
] ]
} }
], ],
"visible": true, "visible": true,
"srcPath": "MainAbility", "srcPath": "MainAbility",
"name": ".uriHostEmpty", "name": ".uriHostEmpty",
...@@ -506,7 +489,6 @@ ...@@ -506,7 +489,6 @@
] ]
} }
], ],
"visible": true, "visible": true,
"srcPath": "MainAbility", "srcPath": "MainAbility",
"name": ".uriPortEmptyWithPath", "name": ".uriPortEmptyWithPath",
...@@ -533,7 +515,6 @@ ...@@ -533,7 +515,6 @@
] ]
} }
], ],
"visible": true, "visible": true,
"srcPath": "MainAbility", "srcPath": "MainAbility",
"name": ".uriPortEmptyWithPathStartWith", "name": ".uriPortEmptyWithPathStartWith",
...@@ -560,7 +541,6 @@ ...@@ -560,7 +541,6 @@
] ]
} }
], ],
"visible": true, "visible": true,
"srcPath": "MainAbility", "srcPath": "MainAbility",
"name": ".uriPortEmptyWithPathRegx", "name": ".uriPortEmptyWithPathRegx",
...@@ -590,7 +570,6 @@ ...@@ -590,7 +570,6 @@
] ]
} }
], ],
"visible": true, "visible": true,
"srcPath": "MainAbility", "srcPath": "MainAbility",
"name": ".uriMultiPath", "name": ".uriMultiPath",
...@@ -615,7 +594,6 @@ ...@@ -615,7 +594,6 @@
] ]
} }
], ],
"visible": true, "visible": true,
"srcPath": "MainAbility", "srcPath": "MainAbility",
"name": ".TypeDoubleWildCard", "name": ".TypeDoubleWildCard",
...@@ -640,7 +618,6 @@ ...@@ -640,7 +618,6 @@
] ]
} }
], ],
"visible": true, "visible": true,
"srcPath": "MainAbility", "srcPath": "MainAbility",
"name": ".TypeSingleWildCard", "name": ".TypeSingleWildCard",
...@@ -665,7 +642,6 @@ ...@@ -665,7 +642,6 @@
] ]
} }
], ],
"visible": true, "visible": true,
"srcPath": "MainAbility", "srcPath": "MainAbility",
"name": ".TypeString", "name": ".TypeString",
...@@ -690,7 +666,6 @@ ...@@ -690,7 +666,6 @@
] ]
} }
], ],
"visible": true, "visible": true,
"srcPath": "MainAbility", "srcPath": "MainAbility",
"name": ".TypeStringExt", "name": ".TypeStringExt",
...@@ -715,7 +690,6 @@ ...@@ -715,7 +690,6 @@
] ]
} }
], ],
"visible": true, "visible": true,
"srcPath": "MainAbility", "srcPath": "MainAbility",
"name": ".TypeEmpty", "name": ".TypeEmpty",
...@@ -738,7 +712,6 @@ ...@@ -738,7 +712,6 @@
] ]
} }
], ],
"visible": true, "visible": true,
"srcPath": "MainAbility", "srcPath": "MainAbility",
"name": ".TypeEmptyExt", "name": ".TypeEmptyExt",
...@@ -761,7 +734,6 @@ ...@@ -761,7 +734,6 @@
] ]
} }
], ],
"visible": true, "visible": true,
"srcPath": "MainAbility", "srcPath": "MainAbility",
"name": ".allAE", "name": ".allAE",
...@@ -785,7 +757,6 @@ ...@@ -785,7 +757,6 @@
] ]
} }
], ],
"visible": true, "visible": true,
"srcPath": "MainAbility", "srcPath": "MainAbility",
"name": ".allAEs", "name": ".allAEs",
...@@ -816,7 +787,6 @@ ...@@ -816,7 +787,6 @@
] ]
} }
], ],
"visible": true, "visible": true,
"srcPath": "MainAbility", "srcPath": "MainAbility",
"name": ".allUT", "name": ".allUT",
...@@ -849,7 +819,6 @@ ...@@ -849,7 +819,6 @@
] ]
} }
], ],
"visible": true, "visible": true,
"srcPath": "MainAbility", "srcPath": "MainAbility",
"name": ".allAEUT", "name": ".allAEUT",
......
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
"name": ".MyApplication", "name": ".MyApplication",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
} }
}, },
"deviceConfig": { "deviceConfig": {
"default":{} "default": {}
}, },
"module": { "module": {
"package": "com.example.third3", "package": "com.example.third3",
...@@ -21,7 +21,8 @@ ...@@ -21,7 +21,8 @@
"colorMode": "auto", "colorMode": "auto",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
...@@ -19,7 +19,8 @@ ...@@ -19,7 +19,8 @@
"name": ".MyApplication", "name": ".MyApplication",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
...@@ -19,7 +19,8 @@ ...@@ -19,7 +19,8 @@
"name": ".MyApplication", "name": ".MyApplication",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
"name": "MyApplication1", "name": "MyApplication1",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
...@@ -67,10 +68,10 @@ ...@@ -67,10 +68,10 @@
} }
} }
], ],
"reqPermissions":[ "reqPermissions": [
{ {
"name":"ohos.permission.DISTRIBUTED_DATASYNC", "name": "ohos.permission.DISTRIBUTED_DATASYNC",
"reason":"use ohos.permission.DISTRIBUTED_DATASYNC" "reason": "use ohos.permission.DISTRIBUTED_DATASYNC"
}, },
{ {
"name": "ohos.permission.KEEP_BACKGROUND_RUNNING", "name": "ohos.permission.KEEP_BACKGROUND_RUNNING",
......
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
"name": "MyApplication2", "name": "MyApplication2",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
...@@ -67,10 +68,10 @@ ...@@ -67,10 +68,10 @@
} }
} }
], ],
"reqPermissions":[ "reqPermissions": [
{ {
"name":"ohos.permission.DISTRIBUTED_DATASYNC", "name": "ohos.permission.DISTRIBUTED_DATASYNC",
"reason":"use ohos.permission.DISTRIBUTED_DATASYNC" "reason": "use ohos.permission.DISTRIBUTED_DATASYNC"
}, },
{ {
"name": "ohos.permission.KEEP_BACKGROUND_RUNNING", "name": "ohos.permission.KEEP_BACKGROUND_RUNNING",
......
...@@ -9,7 +9,8 @@ ...@@ -9,7 +9,8 @@
"mainElement": "MainAbility", "mainElement": "MainAbility",
"deviceTypes": [ "deviceTypes": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"deliveryWithInstall": true, "deliveryWithInstall": true,
"installationFree": false, "installationFree": false,
......
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
"name": ".MyApplication", "name": ".MyApplication",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
...@@ -46,7 +47,7 @@ ...@@ -46,7 +47,7 @@
"isVisible": "true", "isVisible": "true",
"launchType": "standard", "launchType": "standard",
"language": "C++", "language": "C++",
"uri":"dataability://com.example.myapplication5" "uri": "dataability://com.example.myapplication5"
} }
], ],
"js": [ "js": [
...@@ -72,6 +73,6 @@ ...@@ -72,6 +73,6 @@
"label": "BMS_PERMISSION_MUSIC permission" "label": "BMS_PERMISSION_MUSIC permission"
} }
], ],
"description":"$string:entry_description" "description": "$string:entry_description"
} }
} }
\ No newline at end of file
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
"name": ".MyApplication", "name": ".MyApplication",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
...@@ -72,6 +73,6 @@ ...@@ -72,6 +73,6 @@
"label": "BMS_PERMISSION_CAMERA permission" "label": "BMS_PERMISSION_CAMERA permission"
} }
], ],
"description":"$string:entry_description" "description": "$string:entry_description"
} }
} }
\ No newline at end of file
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
"name": ".MyApplication1", "name": ".MyApplication1",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
...@@ -46,7 +47,9 @@ ...@@ -46,7 +47,9 @@
"launchType": "standard", "launchType": "standard",
"orientation": "unspecified", "orientation": "unspecified",
"language": "C++", "language": "C++",
"permissions":["com.permission.BMS_PERMISSION_CAMERA"], "permissions": [
"com.permission.BMS_PERMISSION_CAMERA"
],
"metaData": { "metaData": {
"customizeData": [ "customizeData": [
{ {
...@@ -82,7 +85,9 @@ ...@@ -82,7 +85,9 @@
{ {
"name": "com.permission.PERMISSION_A", "name": "com.permission.PERMISSION_A",
"grantMode": "system_grant", "grantMode": "system_grant",
"availableScope": ["signature"] "availableScope": [
"signature"
]
} }
], ],
"reqPermissions": [ "reqPermissions": [
...@@ -97,13 +102,15 @@ ...@@ -97,13 +102,15 @@
} }
} }
], ],
"metaData":{ "metaData": {
"customizeData":[{ "customizeData": [
"name":"metaDataName", {
"value":"metaDataValue", "name": "metaDataName",
"extra":"$string:app_name" "value": "metaDataValue",
}] "extra": "$string:app_name"
}
]
}, },
"description":"$string:entry_description" "description": "$string:entry_description"
} }
} }
\ No newline at end of file
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
"name": ".MyApplication", "name": ".MyApplication",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
...@@ -72,6 +73,6 @@ ...@@ -72,6 +73,6 @@
"label": "BMS_PERMISSION_WECHAT permission" "label": "BMS_PERMISSION_WECHAT permission"
} }
], ],
"description":"$string:entry_description" "description": "$string:entry_description"
} }
} }
\ No newline at end of file
...@@ -45,7 +45,8 @@ ...@@ -45,7 +45,8 @@
], ],
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"distro": { "distro": {
"moduleType": "feature", "moduleType": "feature",
...@@ -77,6 +78,6 @@ ...@@ -77,6 +78,6 @@
"label": "BMS_PERMISSION_MUSIC permission" "label": "BMS_PERMISSION_MUSIC permission"
} }
], ],
"description":"$string:entry_description" "description": "$string:entry_description"
} }
} }
\ No newline at end of file
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
"name": ".MyApplication1", "name": ".MyApplication1",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
...@@ -71,6 +72,6 @@ ...@@ -71,6 +72,6 @@
"label": "BMS_PERMISSION_CAMERA permission" "label": "BMS_PERMISSION_CAMERA permission"
} }
], ],
"description":"$string:entry_description" "description": "$string:entry_description"
} }
} }
\ No newline at end of file
...@@ -48,7 +48,8 @@ ...@@ -48,7 +48,8 @@
], ],
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"mainAbility": "com.example.l2jsdemo.MainAbility", "mainAbility": "com.example.l2jsdemo.MainAbility",
"distro": { "distro": {
......
...@@ -7,7 +7,8 @@ ...@@ -7,7 +7,8 @@
"mainElement": "MainAbility", "mainElement": "MainAbility",
"deviceTypes": [ "deviceTypes": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"deliveryWithInstall": true, "deliveryWithInstall": true,
"installationFree": false, "installationFree": false,
...@@ -27,7 +28,7 @@ ...@@ -27,7 +28,7 @@
"actions": [ "actions": [
"action.system.home" "action.system.home"
], ],
"entities":[ "entities": [
"entity.system.home" "entity.system.home"
] ]
} }
...@@ -43,21 +44,27 @@ ...@@ -43,21 +44,27 @@
"srcEntrance": "./ets/MainAbility/MainAbility.ts", "srcEntrance": "./ets/MainAbility/MainAbility.ts",
"startWindowIcon": "$media:icon", "startWindowIcon": "$media:icon",
"orientation": "unspecified", "orientation": "unspecified",
"supportWindowMode": ["fullscreen"] "supportWindowMode": [
"fullscreen"
]
}, },
{ {
"name": "MainAbility2", "name": "MainAbility2",
"srcEntrance": "./ets/MainAbility/MainAbility.ts", "srcEntrance": "./ets/MainAbility/MainAbility.ts",
"startWindowIcon": "$media:icon", "startWindowIcon": "$media:icon",
"orientation": "landscape", "orientation": "landscape",
"supportWindowMode": ["split"] "supportWindowMode": [
"split"
]
}, },
{ {
"name": "MainAbility3", "name": "MainAbility3",
"srcEntrance": "./ets/MainAbility/MainAbility.ts", "srcEntrance": "./ets/MainAbility/MainAbility.ts",
"startWindowIcon": "$media:icon", "startWindowIcon": "$media:icon",
"orientation": "portrait", "orientation": "portrait",
"supportWindowMode": ["floating"] "supportWindowMode": [
"floating"
]
} }
], ],
"extensionAbilities": [ "extensionAbilities": [
...@@ -69,10 +76,14 @@ ...@@ -69,10 +76,14 @@
"type": "form", "type": "form",
"skills": [ "skills": [
{ {
"actions": ["actionZ"] "actions": [
"actionZ"
]
}, },
{ {
"actions": ["actionZ12"], "actions": [
"actionZ12"
],
"uris": [ "uris": [
{ {
"scheme": "https", "scheme": "https",
...@@ -82,7 +93,9 @@ ...@@ -82,7 +93,9 @@
] ]
}, },
{ {
"actions": ["action_1"], "actions": [
"action_1"
],
"uris": [ "uris": [
{ {
"scheme": "https", "scheme": "https",
...@@ -92,8 +105,14 @@ ...@@ -92,8 +105,14 @@
] ]
}, },
{ {
"actions": ["actionZ14"], "actions": [
"entities": ["entitiesZ14","entitiesCommon","entitiesZZ"] "actionZ14"
],
"entities": [
"entitiesZ14",
"entitiesCommon",
"entitiesZZ"
]
} }
], ],
"metadata": [ "metadata": [
...@@ -111,10 +130,14 @@ ...@@ -111,10 +130,14 @@
"type": "form", "type": "form",
"skills": [ "skills": [
{ {
"actions": ["actionY"] "actions": [
"actionY"
]
}, },
{ {
"actions": ["actionY12"], "actions": [
"actionY12"
],
"uris": [ "uris": [
{ {
"scheme": "https", "scheme": "https",
...@@ -124,7 +147,9 @@ ...@@ -124,7 +147,9 @@
] ]
}, },
{ {
"actions": ["action_2"], "actions": [
"action_2"
],
"uris": [ "uris": [
{ {
"scheme": "https", "scheme": "https",
...@@ -134,8 +159,12 @@ ...@@ -134,8 +159,12 @@
] ]
}, },
{ {
"actions": ["actionY14"], "actions": [
"entities": ["entitiesY14"] "actionY14"
],
"entities": [
"entitiesY14"
]
} }
], ],
"metadata": [ "metadata": [
...@@ -145,7 +174,9 @@ ...@@ -145,7 +174,9 @@
"resource": "$profile:form_config" "resource": "$profile:form_config"
} }
], ],
"permissions": ["ohos.permission.GET_BUNDLE_INFO"] "permissions": [
"ohos.permission.GET_BUNDLE_INFO"
]
}, },
{ {
"name": "ServiceAbility", "name": "ServiceAbility",
......
...@@ -7,7 +7,8 @@ ...@@ -7,7 +7,8 @@
"mainElement": "MainAbility1", "mainElement": "MainAbility1",
"deviceTypes": [ "deviceTypes": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"deliveryWithInstall": true, "deliveryWithInstall": true,
"installationFree": false, "installationFree": false,
...@@ -27,7 +28,7 @@ ...@@ -27,7 +28,7 @@
"actions": [ "actions": [
"action.system.home" "action.system.home"
], ],
"entities":[ "entities": [
"entity.system.home" "entity.system.home"
] ]
} }
...@@ -43,21 +44,27 @@ ...@@ -43,21 +44,27 @@
"srcEntrance": "./ets/MainAbility/MainAbility.ts", "srcEntrance": "./ets/MainAbility/MainAbility.ts",
"startWindowIcon": "$media:icon", "startWindowIcon": "$media:icon",
"orientation": "unspecified", "orientation": "unspecified",
"supportWindowMode": ["fullscreen"] "supportWindowMode": [
"fullscreen"
]
}, },
{ {
"name": "MainAbility2", "name": "MainAbility2",
"srcEntrance": "./ets/MainAbility/MainAbility.ts", "srcEntrance": "./ets/MainAbility/MainAbility.ts",
"startWindowIcon": "$media:icon", "startWindowIcon": "$media:icon",
"orientation": "landscape", "orientation": "landscape",
"supportWindowMode": ["split"] "supportWindowMode": [
"split"
]
}, },
{ {
"name": "MainAbility3", "name": "MainAbility3",
"srcEntrance": "./ets/MainAbility/MainAbility.ts", "srcEntrance": "./ets/MainAbility/MainAbility.ts",
"startWindowIcon": "$media:icon", "startWindowIcon": "$media:icon",
"orientation": "portrait", "orientation": "portrait",
"supportWindowMode": ["floating"] "supportWindowMode": [
"floating"
]
} }
], ],
"extensionAbilities": [ "extensionAbilities": [
...@@ -69,8 +76,12 @@ ...@@ -69,8 +76,12 @@
"type": "form", "type": "form",
"skills": [ "skills": [
{ {
"actions": ["actionQ"], "actions": [
"entities": ["entitiesQ"] "actionQ"
],
"entities": [
"entitiesQ"
]
} }
], ],
"metadata": [ "metadata": [
...@@ -88,8 +99,13 @@ ...@@ -88,8 +99,13 @@
"type": "service", "type": "service",
"skills": [ "skills": [
{ {
"actions": ["actionW"], "actions": [
"entities": ["entitiesW","entitiesCommon"] "actionW"
],
"entities": [
"entitiesW",
"entitiesCommon"
]
} }
], ],
"metadata": [ "metadata": [
...@@ -98,7 +114,9 @@ ...@@ -98,7 +114,9 @@
"resource": "$profile:form_config" "resource": "$profile:form_config"
} }
], ],
"permissions": ["ohos.permission.GET_BUNDLE_INFO"] "permissions": [
"ohos.permission.GET_BUNDLE_INFO"
]
}, },
{ {
"name": "ExtensionAbilityA", "name": "ExtensionAbilityA",
...@@ -108,7 +126,9 @@ ...@@ -108,7 +126,9 @@
"type": "wallpaper", "type": "wallpaper",
"skills": [ "skills": [
{ {
"actions": ["action_3"], "actions": [
"action_3"
],
"uris": [ "uris": [
{ {
"scheme": "https", "scheme": "https",
...@@ -133,7 +153,9 @@ ...@@ -133,7 +153,9 @@
"type": "workScheduler", "type": "workScheduler",
"skills": [ "skills": [
{ {
"actions": ["action_4"], "actions": [
"action_4"
],
"uris": [ "uris": [
{ {
"scheme": "https", "scheme": "https",
...@@ -151,7 +173,9 @@ ...@@ -151,7 +173,9 @@
"resource": "$profile:form_config" "resource": "$profile:form_config"
} }
], ],
"permissions": ["ohos.permission.GET_BUNDLE_INFO"] "permissions": [
"ohos.permission.GET_BUNDLE_INFO"
]
} }
] ]
} }
......
...@@ -17,11 +17,12 @@ ...@@ -17,11 +17,12 @@
"package": "com.example.amsZipfileUnzipfileST", "package": "com.example.amsZipfileUnzipfileST",
"name": ".entry", "name": ".entry",
"mainAbility": ".MainAbility", "mainAbility": ".MainAbility",
"srcPath":"", "srcPath": "",
"deviceType": [ "deviceType": [
"tablet", "tablet",
"default", "default",
"default" "default",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
...@@ -66,9 +67,8 @@ ...@@ -66,9 +67,8 @@
"visible": true, "visible": true,
"launchType": "standard" "launchType": "standard"
} }
],
"reqPermissions": [
], ],
"reqPermissions": [],
"js": [ "js": [
{ {
"pages": [ "pages": [
......
...@@ -7,7 +7,8 @@ ...@@ -7,7 +7,8 @@
"mainElement": "MainAbility", "mainElement": "MainAbility",
"deviceTypes": [ "deviceTypes": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"deliveryWithInstall": true, "deliveryWithInstall": true,
"installationFree": false, "installationFree": false,
......
...@@ -20,7 +20,8 @@ ...@@ -20,7 +20,8 @@
"deviceType": [ "deviceType": [
"tablet", "tablet",
"default", "default",
"phone" "phone",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
...@@ -92,6 +93,5 @@ ...@@ -92,6 +93,5 @@
"name": "OpenHarmonyTestRunner", "name": "OpenHarmonyTestRunner",
"srcPath": "TestRunner" "srcPath": "TestRunner"
} }
} }
} }
\ No newline at end of file
...@@ -20,7 +20,8 @@ ...@@ -20,7 +20,8 @@
"deviceType": [ "deviceType": [
"tablet", "tablet",
"default", "default",
"phone" "phone",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
...@@ -20,7 +20,8 @@ ...@@ -20,7 +20,8 @@
"deviceType": [ "deviceType": [
"tablet", "tablet",
"default", "default",
"phone" "phone",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
...@@ -20,7 +20,8 @@ ...@@ -20,7 +20,8 @@
"deviceType": [ "deviceType": [
"tablet", "tablet",
"default", "default",
"phone" "phone",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
...@@ -19,7 +19,8 @@ ...@@ -19,7 +19,8 @@
"mainAbility": ".MainAbility", "mainAbility": ".MainAbility",
"deviceType": [ "deviceType": [
"tablet", "tablet",
"phone" "phone",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
...@@ -20,7 +20,8 @@ ...@@ -20,7 +20,8 @@
"deviceType": [ "deviceType": [
"tablet", "tablet",
"default", "default",
"phone" "phone",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
...@@ -92,6 +93,5 @@ ...@@ -92,6 +93,5 @@
"name": "OpenHarmonyTestRunner", "name": "OpenHarmonyTestRunner",
"srcPath": "TestRunner" "srcPath": "TestRunner"
} }
} }
} }
\ No newline at end of file
...@@ -7,7 +7,8 @@ ...@@ -7,7 +7,8 @@
"mainElement": "MainAbility", "mainElement": "MainAbility",
"deviceTypes": [ "deviceTypes": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"deliveryWithInstall": true, "deliveryWithInstall": true,
"installationFree": false, "installationFree": false,
......
...@@ -7,7 +7,8 @@ ...@@ -7,7 +7,8 @@
"mainElement": "MainAbility", "mainElement": "MainAbility",
"deviceTypes": [ "deviceTypes": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"deliveryWithInstall": true, "deliveryWithInstall": true,
"installationFree": false, "installationFree": false,
......
...@@ -19,7 +19,8 @@ ...@@ -19,7 +19,8 @@
"deviceType": [ "deviceType": [
"tablet", "tablet",
"default", "default",
"phone" "phone",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
...@@ -92,5 +93,5 @@ ...@@ -92,5 +93,5 @@
"srcPath": "TestRunner" "srcPath": "TestRunner"
}, },
"srcPath": "" "srcPath": ""
} }
} }
\ No newline at end of file
...@@ -20,7 +20,8 @@ ...@@ -20,7 +20,8 @@
"deviceType": [ "deviceType": [
"tablet", "tablet",
"default", "default",
"phone" "phone",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
...@@ -20,7 +20,8 @@ ...@@ -20,7 +20,8 @@
"deviceType": [ "deviceType": [
"tablet", "tablet",
"default", "default",
"phone" "phone",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
...@@ -20,7 +20,8 @@ ...@@ -20,7 +20,8 @@
"deviceType": [ "deviceType": [
"tablet", "tablet",
"default", "default",
"phone" "phone",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
...@@ -7,7 +7,8 @@ ...@@ -7,7 +7,8 @@
"mainElement": "MainAbility", "mainElement": "MainAbility",
"deviceTypes": [ "deviceTypes": [
"default", "default",
"tablet" "tablet",
"2in1"
], ],
"deliveryWithInstall": true, "deliveryWithInstall": true,
"installationFree": false, "installationFree": false,
......
...@@ -20,7 +20,8 @@ ...@@ -20,7 +20,8 @@
"deviceType": [ "deviceType": [
"tablet", "tablet",
"default", "default",
"phone" "phone",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
"deviceType": [ "deviceType": [
"tablet", "tablet",
"default", "default",
"phone" "phone",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
"deviceType": [ "deviceType": [
"tablet", "tablet",
"default", "default",
"phone" "phone",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
"deviceType": [ "deviceType": [
"tablet", "tablet",
"default", "default",
"phone" "phone",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
"deviceType": [ "deviceType": [
"tablet", "tablet",
"default", "default",
"phone" "phone",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
"deviceType": [ "deviceType": [
"tablet", "tablet",
"default", "default",
"phone" "phone",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
"deviceType": [ "deviceType": [
"tablet", "tablet",
"default", "default",
"phone" "phone",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
...@@ -13,7 +13,6 @@ ...@@ -13,7 +13,6 @@
}, },
"deviceConfig": {}, "deviceConfig": {},
"module": { "module": {
"reqPermissions": [ "reqPermissions": [
{ {
"name": "ohos.permission.DISTRIBUTED_DATASYNC" "name": "ohos.permission.DISTRIBUTED_DATASYNC"
...@@ -32,7 +31,8 @@ ...@@ -32,7 +31,8 @@
"deviceType": [ "deviceType": [
"tablet", "tablet",
"default", "default",
"phone" "phone",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
...@@ -13,7 +13,6 @@ ...@@ -13,7 +13,6 @@
}, },
"deviceConfig": {}, "deviceConfig": {},
"module": { "module": {
"reqPermissions": [ "reqPermissions": [
{ {
"name": "ohos.permission.DISTRIBUTED_DATASYNC" "name": "ohos.permission.DISTRIBUTED_DATASYNC"
...@@ -32,7 +31,8 @@ ...@@ -32,7 +31,8 @@
"deviceType": [ "deviceType": [
"tablet", "tablet",
"default", "default",
"phone" "phone",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
...@@ -19,7 +19,8 @@ ...@@ -19,7 +19,8 @@
"deviceType": [ "deviceType": [
"tablet", "tablet",
"default", "default",
"phone" "phone",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
...@@ -19,7 +19,8 @@ ...@@ -19,7 +19,8 @@
"deviceType": [ "deviceType": [
"tablet", "tablet",
"default", "default",
"phone" "phone",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
...@@ -19,7 +19,8 @@ ...@@ -19,7 +19,8 @@
"deviceType": [ "deviceType": [
"tablet", "tablet",
"default", "default",
"phone" "phone",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
...@@ -19,7 +19,8 @@ ...@@ -19,7 +19,8 @@
"deviceType": [ "deviceType": [
"tablet", "tablet",
"default", "default",
"phone" "phone",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
...@@ -19,7 +19,8 @@ ...@@ -19,7 +19,8 @@
"deviceType": [ "deviceType": [
"tablet", "tablet",
"default", "default",
"phone" "phone",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
...@@ -19,7 +19,8 @@ ...@@ -19,7 +19,8 @@
"deviceType": [ "deviceType": [
"tablet", "tablet",
"default", "default",
"phone" "phone",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
...@@ -19,7 +19,8 @@ ...@@ -19,7 +19,8 @@
"deviceType": [ "deviceType": [
"tablet", "tablet",
"default", "default",
"phone" "phone",
"2in1"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册