1{ 2 "module": { 3 "name": "phone", 4 "type": "entry", 5 "srcEntrance": "./ets/Application/AbilityStage.ts", 6 "description": "$string:phone_entry_dsc", 7 "mainElement": "MainAbility", 8 "deviceTypes": [ 9 "tablet", 10 "default", 11 "phone", 12 "2in1", 13 "wearable" 14 ], 15 "deliveryWithInstall": true, 16 "installationFree": false, 17 "uiSyntax": "ets", 18 "pages": "$profile:main_pages", 19 "metadata": [ 20 { 21 "name": "ArkTSPartialUpdate", 22 "value": "true" 23 } 24 ], 25 "requestPermissions": [ 26 { 27 "name": "ohos.permission.MANAGE_LOCAL_ACCOUNTS" 28 }, 29 { 30 "name": "ohos.permission.ACCESS_DLP_FILE" 31 }, 32 { 33 "name": "ohos.permission.MANAGE_DISTRIBUTED_ACCOUNTS" 34 }, 35 { 36 "name": "ohos.permission.START_ABILIIES_FROM_BACKGROUND" 37 } 38 ], 39 "abilities": [ 40 { 41 "name": "com.ohos.dlp_xts.MainAbility", 42 "srcEntrance": "./ets/MainAbility/MainAbility.ts", 43 "description": "$string:phone_entry_main", 44 "icon": "$media:icon", 45 "label": "$string:entry_label", 46 "visible": true, 47 "orientation": "portrait", 48 "skills": [ 49 { 50 "actions": [ 51 "action.system.home" 52 ], 53 "entities": [ 54 "entity.system.home" 55 ] 56 } 57 ] 58 }, 59 { 60 "name": "IsInSandboxPromise", 61 "srcEntrance": "./ets/isinsandboxpromise/IsInSandboxPromise.ets", 62 "description": "$string:IsInSandboxPromise_desc", 63 "icon": "$media:icon", 64 "label": "$string:IsInSandboxPromise_label", 65 "visible": true, 66 "orientation": "portrait" 67 }, 68 { 69 "name": "IsInSandboxCallback", 70 "srcEntry": "./ets/isinsandboxcallback/IsInSandboxCallback.ets", 71 "description": "$string:IsInSandboxCallback_desc", 72 "icon": "$media:icon", 73 "label": "$string:IsInSandboxCallback_label", 74 "visible": true 75 }, 76 { 77 "name": "GetDLPPermissionInfoPromise", 78 "srcEntry": "./ets/getdlppermissioninfopromise/GetDLPPermissionInfoPromise.ets", 79 "description": "$string:GetDLPPermissionInfoPromise_desc", 80 "icon": "$media:icon", 81 "label": "$string:GetDLPPermissionInfoPromise_label", 82 "visible": true 83 }, 84 { 85 "name": "GetDLPPermissionInfoCallback", 86 "srcEntry": "./ets/getdlppermissioninfocallback/GetDLPPermissionInfoCallback.ets", 87 "description": "$string:GetDLPPermissionInfoCallback_desc", 88 "icon": "$media:icon", 89 "label": "$string:GetDLPPermissionInfoCallback_label", 90 "visible": true 91 }, 92 { 93 "name": "OnOpenDlpFile", 94 "srcEntry": "./ets/onopendlpfile/OnOpenDlpFile.ets", 95 "description": "$string:OnOpenDlpFile_desc", 96 "icon": "$media:icon", 97 "label": "$string:OnOpenDlpFile_label", 98 "visible": true 99 }, 100 { 101 "name": "GetDLPFileAccessRecordsCallback", 102 "srcEntry": "./ets/getDLPFileAccessRecordscallback/GetDLPFileAccessRecordsCallback.ets", 103 "description": "$string:GetDLPFileAccessRecordsCallback_desc", 104 "icon": "$media:icon", 105 "label": "$string:GetDLPFileAccessRecordsCallback_label", 106 "visible": true 107 }, 108 { 109 "name": "GetDLPFileAccessRecordsPromise", 110 "srcEntry": "./ets/getDLPFileAccessRecordspromise/GetDLPFileAccessRecordsPromise.ets", 111 "description": "$string:GetDLPFileAccessRecordsPromise_desc", 112 "icon": "$media:icon", 113 "label": "$string:GetDLPFileAccessRecordsPromise_label", 114 "visible": true 115 }, 116 { 117 "name": "GetRetentionSandboxListCallback", 118 "srcEntry": "./ets/getRetentionSandboxListcallback/GetRetentionSandboxListCallback.ets", 119 "description": "$string:GetRetentionSandboxListCallback_desc", 120 "icon": "$media:icon", 121 "label": "$string:GetRetentionSandboxListCallback_label", 122 "visible": true 123 }, 124 { 125 "name": "GetRetentionSandboxListPromise", 126 "srcEntry": "./ets/getRetentionSandboxListpromise/GetRetentionSandboxListPromise.ets", 127 "description": "$string:GetRetentionSandboxListPromise_desc", 128 "icon": "$media:icon", 129 "label": "$string:GetRetentionSandboxListPromise_label", 130 "visible": true 131 }, 132 { 133 "name": "SandboxConfigPromise", 134 "srcEntry": "./ets/sandboxconfigpromise/SandboxConfigPromise.ets", 135 "description": "$string:SandboxConfigPromise_desc", 136 "icon": "$media:icon", 137 "label": "$string:SandboxConfigPromise_label", 138 "visible": true 139 }, 140 { 141 "name": "SetRetentionStateCallback", 142 "srcEntry": "./ets/setRetentionStatecallback/SetRetentionStateCallback.ets", 143 "description": "$string:SetRetentionStateCallback_desc", 144 "icon": "$media:icon", 145 "label": "$string:SetRetentionStateCallback_label", 146 "visible": true 147 }, 148 { 149 "name": "SetRetentionStatePromise", 150 "srcEntry": "./ets/setRetentionStatepromise/SetRetentionStatePromise.ets", 151 "description": "$string:SetRetentionStatePromise_desc", 152 "icon": "$media:icon", 153 "label": "$string:SetRetentionStatePromise_label", 154 "visible": true 155 } 156 ] 157 } 158}