• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2    "permissions" : [
3        {
4            "name" : "ohos.permission.MANAGE_HAP_TOKENID",
5            "said" : "3503",
6            "description" : "Invoke AccessToken::AccessTokenKit::AllocHapToken interface should have own this permission."
7        },
8        {
9            "name" : "ohos.permission.PERMISSION_USED_STATS",
10            "said" : "3299",
11            "description" : "Invoke AccessToken::PrivacyKit::AddPermissionUsedRecord interface should have own this permission."
12        },
13        {
14            "name" : "ohos.permission.MANAGE_AUDIO_CONFIG",
15            "said" : "4005",
16            "description" : "permission required for telephony to set microphone mute."
17        },
18        {
19            "name" : "ohos.permission.WRITE_CALL_LOG",
20            "said" : "4005",
21            "description" : "permission required for telephony to write call log."
22        },
23        {
24            "name" : "ohos.permission.READ_CONTACTS",
25            "said" : "4005",
26            "description" : "permission required for telephony to read contacts info."
27        },
28        {
29            "name" : "ohos.permission.START_ABILITIES_FROM_BACKGROUND",
30            "said" : "4005",
31            "description" : "Permission required for telephony to access AbillityManagerService."
32        },
33        {
34            "name" : "ohos.permission.READ_DFX_SYSEVENT",
35            "said" : "3304",
36            "description" : "Permission required for battery_stats to add hisysevent listener."
37        },
38        {
39            "name" : "ohos.permission.GRANT_SENSITIVE_PERMISSIONS",
40            "said" : "401",
41            "description" : "Permission required for BMS to grant sensitive permissions."
42        },
43        {
44            "name" : "ohos.permission.REVOKE_SENSITIVE_PERMISSIONS",
45            "said" : "401",
46            "description" : "Permission required for BMS to revoke sensitive permissions."
47        },
48        {
49            "name" : "ohos.permission.MANAGE_SECURE_SETTINGS",
50            "said" : ["3301", "3308"],
51            "description" : "Permission required for settingsdata to access SA."
52        },
53        {
54            "name" : "ohos.permission.STORAGE_MANAGER",
55            "said" : ["183"],
56            "description" : "Permission required for UPMS to create or delete files shared between applications."
57        },
58        {
59            "name" : "ohos.permission.PROXY_AUTHORIZATION_URI",
60            "said" : ["180"],
61            "description" : "Permission required for Grant Uri permission between applications."
62        },
63        {
64            "name" : "ohos.permission.ABILITY_BACKGROUND_COMMUNICATION",
65            "said" : "403",
66            "description" : "Permission required for FMS to communicate in the background."
67        },
68        {
69            "name" : "ohos.permission.MANAGE_LOCAL_ACCOUNTS",
70            "said" : "403",
71            "description" : "Permission required for FMS to manage local accounts."
72        },
73        {
74            "name" : "ohos.permission.LISTEN_BUNDLE_CHANGE",
75            "said" : "403",
76            "description" : "Permission required for FMS to listen bundle change."
77        },
78        {
79            "name" : "ohos.permission.INSTALL_SANDBOX_BUNDLE",
80            "said" : "403",
81            "description" : "Permission required for FMS to install sandbox bundle."
82        },
83        {
84            "name" : "ohos.permission.GET_TELEPHONY_STATE",
85            "said" : "4005",
86            "description" : "Permission required for telephony to get lock state of sim card."
87        },
88        {
89            "name" : "ohos.permission.CONNECT_CELLULAR_CALL_SERVICE",
90            "said" : "4005",
91            "description" : "Permission required for telephony to connect cellular call service."
92        },
93        {
94            "name" : "ohos.permission.SEND_MESSAGES",
95            "said" : "4005",
96            "description" : "Permission required for telephony to send reject call sms."
97        },
98        {
99            "name" : "ohos.permission.SET_TELEPHONY_STATE",
100            "said" : "4005",
101            "description" : "Permission required for telephony to update call state."
102        },
103        {
104            "name" : "ohos.permission.VIBRATE",
105            "said" : "4005",
106            "description" : "Permission required for telephony to vibrate."
107        },
108        {
109            "name" : "ohos.permission.SYSTEM_LIGHT_CONTROL",
110            "said" : "3302",
111            "description" : "Permission required for battery service to light."
112        },
113        {
114            "name" : "ohos.permission.UPDATE_CONFIGURATION",
115            "said" : "501",
116            "description" : "Permission required for APPMS to update configuration when pointer device status change."
117        },
118        {
119            "name" : "ohos.permission.REPORT_RESOURCE_SCHEDULE_EVENT",
120            "said" : "1901",
121            "description" : "Permission required for AMS to report resource schedule event to RSS."
122        },
123        {
124            "name" : "ohos.permission.START_INVISIBLE_ABILITY",
125            "said" : "180",
126            "description" : "Permission required for AMS to start LAUNCHER."
127        },
128        {
129            "name" : "ohos.permission.GET_BUNDLE_INFO",
130            "said" : "3203",
131            "description" : "Permission required for ReminderRequest to update the database."
132        },
133        {
134            "name" : "ohos.permission.GET_SUSPEND_STATE",
135            "said" : "1910",
136            "description" : "Permission required for AMS to register suspend state observer."
137        },
138        {
139            "name" : "ohos.permission.PUBLISH_SYSTEM_COMMON_EVENT",
140            "said" : "3704",
141            "description" : "Permission required for ScreenLock to publish a common event."
142        },
143        {
144            "name" : "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
145            "said" : "401",
146            "description" : "Permission required for BMS to get bundle info privileged."
147        },
148        {
149            "name" : "ohos.permission.CLEAN_APPLICATION_DATA",
150            "said" : "401",
151            "description" : "Permission required for BMS to clean application data."
152        },
153        {
154            "name" : "ohos.permission.REMOVE_CACHE_FILES",
155            "said" : "401",
156            "description" : "Permission required for BMS to remove cache files."
157        },
158        {
159            "name" : "ohos.permission.USE_BLUETOOTH",
160            "said" : "4005",
161            "description" : "Permission required for telephony to use bluetooth."
162        },
163        {
164            "name" : "ohos.permission.CONNECTIVITY_INTERNAL",
165            "said" : "1151",
166            "description" : "Permission required for connectivity to netconnectmgr."
167        },
168        {
169            "name" : "ohos.permission.GET_RUNNING_INFO",
170            "said" : "180",
171            "description" : "Permission required for BMS to get running info."
172        },
173        {
174            "name" : "ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS",
175            "said" : "180",
176            "description" : "Permission required for foundation to interact across local accounts."
177        },
178        {
179            "name" : "ohos.permission.RUNNING_STATE_OBSERVER",
180            "said" : "180",
181            "description" : "Permission required for AMS to register application state observer."
182        }
183    ],
184    "restart" : [
185        {
186            "name" : "reset accountmgr",
187            "said" : "180",
188            "description" : "AMS requires accountmgr to restart"
189        },
190        {
191            "name" : "reset appspawn",
192            "said" : "180",
193            "description" : "AMS requires all application to restart"
194        },
195        {
196            "name" : "reset bgtaskmgr_service",
197            "said" : "180",
198            "description" : "bgtaskmgr_service rely on AMS, need to restart"
199        },
200        {
201            "name" : "reset resource_schedule_service",
202            "said" : "180",
203            "description" : "resource_schedule_service rely on AMS, need to restart"
204        },
205        {
206            "name" : "reset device_usage_stats_service",
207            "said" : "180",
208            "description" : "device_usage_stats_service rely on AMS, need to restart"
209        },
210        {
211            "name" : "start bootanimation",
212            "said" : "180",
213            "description" : "AMS need to start bootanimation when restart"
214        }
215    ],
216    "mkdir" : [
217        {
218            "name" : "mkdir notification",
219            "said" : "3203",
220            "description" : "Move notification db from /data/system_ce/ans_standard to /data/service/el1/public/notification/."
221        },
222        {
223            "name" : "mkdir thermal",
224            "said" : "3303",
225            "description" : "create thermal directory for thermal service to put thermal info /data/service/el0/thermal/"
226        },
227        {
228            "name" : "mkdir config",
229            "said" : "3303",
230            "description" : "create config directory for thermal service to put config info /data/service/el0/thermal/config/"
231        },
232        {
233            "name" : "mkdir stats",
234            "said" : "3304",
235            "description" : "Change process battery_stats to process foundation, need to save data file to folder /data/service/el0/stats"
236        },
237        {
238            "name" : "mkdir window",
239            "said" : "4606",
240            "description" : "Create window directory for window_manager to save window params at /data/service/el1/public/window/"
241        },
242        {
243            "name" : "mkdir common_event_service",
244            "said" : "3299",
245            "description" : "Create common_event_service directory for common_event_service to save data file at /data/service/el1/public/database/common_event_service"
246        },
247        {
248            "name" : "mkdir auto_startup_service",
249            "said" : "180",
250            "description" : "Create auto_start_up_service directory for auto_startup_service to save data file at /data/service/el1/public/database/auto_startup_service"
251        },
252        {
253            "name" : "mkdir app_exit_reason",
254            "said" : "180",
255            "description" : "Create app_exit_reason directory for ability_manager_service to save data file at /data/service/el1/public/database/app_exit_reason"
256        }
257    ],
258    "bootevents" : [
259        {
260            "name" : "bootevent.wms.fullscreen.ready",
261            "said" : "4606",
262            "description" : "WMS define fullscreen ready event"
263        }
264    ]
265}
266