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