• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2022-2025 Huawei Device Co., Ltd.
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
5#
6#     http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13
14domain: BUNDLEMANAGER_UE
15
16################################################################################
17#                                   FAULT EVENT                                #
18################################################################################
19BUNDLE_INSTALL_EXCEPTION:
20  __BASE: {type: FAULT, level: MINOR, desc: used to fault happened when bundle install}
21  PNAMEID: {type: STRING, desc: package name}
22  PVERSIONID: {type: STRING, desc: application version}
23  USERID: {type: INT32, desc: userId of the bundle}
24  BUNDLE_NAME: {type: STRING, desc: bundleName}
25  VERSION: {type: UINT32, desc: versionCode}
26  INSTALL_TYPE: {type: STRING, desc: normal prebundle or freeInstall}
27  SCENE: {type: STRING, desc: boot reboot or createUser}
28  ERROR_CODE: {type: INT32, desc: error code}
29  APP_INDEX: {type: INT32, desc: app index}
30  CALLING_UID: {type: INT32, desc: calling uid}
31  CALLING_BUNDLE_NAME: {type: STRING, desc: calling bundleName}
32  IS_INTERCEPTED: {type: BOOL, desc: is intercepted}
33
34BUNDLE_UNINSTALL_EXCEPTION:
35  __BASE: {type: FAULT, level: MINOR, desc: used to fault happened when bundle uninstall}
36  PNAMEID: {type: STRING, desc: package name}
37  PVERSIONID: {type: STRING, desc: application version}
38  USERID: {type: INT32, desc: userId of the bundle}
39  BUNDLE_NAME: {type: STRING, desc: bundleName}
40  VERSION: {type: UINT32, desc: versionCode}
41  INSTALL_TYPE: {type: STRING, desc: normal prebundle or freeInstall}
42  ERROR_CODE: {type: INT32, desc: error code}
43  APP_INDEX: {type: INT32, desc: app index}
44  CALLING_UID: {type: INT32, desc: calling uid}
45  CALLING_BUNDLE_NAME: {type: STRING, desc: calling bundleName}
46  IS_INTERCEPTED: {type: BOOL, desc: is intercepted}
47
48BUNDLE_UPDATE_EXCEPTION:
49  __BASE: {type: FAULT, level: MINOR, desc: used to fault happened when bundle update}
50  PNAMEID: {type: STRING, desc: package name}
51  PVERSIONID: {type: STRING, desc: application version}
52  USERID: {type: INT32, desc: userId of the bundle}
53  BUNDLE_NAME: {type: STRING, desc: bundleName}
54  VERSION: {type: UINT32, desc: versionCode}
55  INSTALL_TYPE: {type: STRING, desc: normal prebundle or freeInstall}
56  ERROR_CODE: {type: INT32, desc: error code}
57  CALLING_UID: {type: INT32, desc: calling uid}
58  CALLING_BUNDLE_NAME: {type: STRING, desc: calling bundleName}
59  IS_INTERCEPTED: {type: BOOL, desc: is intercepted}
60
61PRE_BUNDLE_RECOVER_EXCEPTION:
62  __BASE: {type: FAULT, level: MINOR, desc: used to fault happened when prebundle recover}
63  PNAMEID: {type: STRING, desc: package name}
64  PVERSIONID: {type: STRING, desc: application version}
65  USERID: {type: INT32, desc: userId of the bundle}
66  BUNDLE_NAME: {type: STRING, desc: bundleName}
67  VERSION: {type: UINT32, desc: versionCode}
68  INSTALL_TYPE: {type: STRING, desc: only prebundle}
69  ERROR_CODE: {type: INT32, desc: error code}
70  CALLING_UID: {type: INT32, desc: calling uid}
71  CALLING_BUNDLE_NAME: {type: STRING, desc: calling bundleName}
72  IS_INTERCEPTED: {type: BOOL, desc: is intercepted}
73
74BUNDLE_STATE_CHANGE_EXCEPTION:
75  __BASE: {type: FAULT, level: MINOR, desc: used to fault happened when state change}
76  PNAMEID: {type: STRING, desc: package name}
77  PVERSIONID: {type: STRING, desc: application version}
78  USERID: {type: INT32, desc: userId of the bundle}
79  BUNDLE_NAME: {type: STRING, desc: bundleName}
80  ABILITY_NAME: {type: STRING, desc: abilityName}
81  TYPE: {type: STRING, desc: application or ability}
82
83BUNDLE_CLEAN_CACHE_EXCEPTION:
84  __BASE: {type: FAULT, level: MINOR, desc: used to fault happened when clean cache or clean data}
85  PNAMEID: {type: STRING, desc: package name}
86  PVERSIONID: {type: STRING, desc: application version}
87  USERID: {type: INT32, desc: userId of the bundle}
88  BUNDLE_NAME: {type: STRING, desc: bundleName}
89  CLEAN_TYPE: {type: STRING, desc: clean cache or clean data}
90  CALLING_UID: {type: INT32, desc: calling uid}
91  CALLING_BUNDLE_NAME: {type: STRING, desc: calling bundleName}
92
93################################################################################
94#                                 BEHAVIOR EVENT                               #
95################################################################################
96BOOT_SCAN_START:
97  __BASE: {type: BEHAVIOR, level: MINOR, desc: boot scan start}
98  PNAMEID: {type: STRING, desc: package name}
99  PVERSIONID: {type: STRING, desc: application version}
100  TIME: {type: INT64, desc: time stamp}
101
102BOOT_SCAN_END:
103  __BASE: {type: BEHAVIOR, level: MINOR, desc: boot scan end}
104  PNAMEID: {type: STRING, desc: package name}
105  PVERSIONID: {type: STRING, desc: application version}
106  TIME: {type: INT64, desc: time stamp}
107
108BUNDLE_INSTALL:
109  __BASE: {type: BEHAVIOR, level: MINOR, desc: bundle install}
110  PNAMEID: {type: STRING, desc: package name}
111  PVERSIONID: {type: STRING, desc: application version}
112  USERID: {type: INT32, desc: userId of the bundle}
113  BUNDLE_NAME: {type: STRING, desc: bundleName}
114  VERSION: {type: UINT32, desc: versionCode}
115  INSTALL_TYPE: {type: STRING, desc: normal prebundle or freeInstall}
116  SCENE: {type: STRING, desc: boot reboot or createUser}
117  CALLING_UID: {type: INT32, desc: calling uid}
118  CALLING_APP_ID: {type: STRING, desc: calling appId}
119  CALLING_BUNDLE_NAME: {type: STRING, desc: calling bundleName}
120  FINGERPRINT: {type: STRING, desc: fingerprint of the bundle}
121  HIDE_DESKTOP_ICON: {type: BOOL, desc: whether hide desktop icon}
122  APP_DISTRIBUTION_TYPE: {type: STRING, desc: app distribution type}
123  FILE_PATH: {type: STRING, arrsize: 99, desc: the path of the hap file}
124  HASH_VALUE: {type: STRING, arrsize: 99, desc: the hash value of the hap file}
125  INSTALL_TIME: {type: INT64, desc: the install time or the bundle}
126  APP_INDEX: {type: INT32, desc: app index}
127
128BUNDLE_UNINSTALL:
129  __BASE: {type: BEHAVIOR, level: MINOR, desc: bundle uninstall}
130  PNAMEID: {type: STRING, desc: package name}
131  PVERSIONID: {type: STRING, desc: application version}
132  USERID: {type: INT32, desc: userId of the bundle}
133  BUNDLE_NAME: {type: STRING, desc: bundleName}
134  VERSION: {type: UINT32, desc: versionCode}
135  INSTALL_TYPE: {type: STRING, desc: normal prebundle or freeInstall}
136  CALLING_UID: {type: INT32, desc: calling uid}
137  CALLING_APP_ID: {type: STRING, desc: calling appId}
138  CALLING_BUNDLE_NAME: {type: STRING, desc: calling bundleName}
139  APP_INDEX: {type: INT32, desc: app index}
140
141BUNDLE_UPDATE:
142  __BASE: {type: BEHAVIOR, level: MINOR, desc: bundle update}
143  PNAMEID: {type: STRING, desc: package name}
144  PVERSIONID: {type: STRING, desc: application version}
145  USERID: {type: INT32, desc: userId of the bundle}
146  BUNDLE_NAME: {type: STRING, desc: bundleName}
147  VERSION: {type: UINT32, desc: versionCode}
148  INSTALL_TYPE: {type: STRING, desc: normal prebundle or freeInstall}
149  CALLING_UID: {type: INT32, desc: calling uid}
150  CALLING_APP_ID: {type: STRING, desc: calling appId}
151  CALLING_BUNDLE_NAME: {type: STRING, desc: calling bundleName}
152  FINGERPRINT: {type: STRING, desc: fingerprint of the bundle}
153  HIDE_DESKTOP_ICON: {type: BOOL, desc: whether hide desktop icon}
154  APP_DISTRIBUTION_TYPE: {type: STRING, desc: app distribution type}
155  FILE_PATH: {type: STRING, arrsize: 99, desc: the path of the hap file}
156  HASH_VALUE: {type: STRING, arrsize: 99, desc: the hash value of the hap file}
157  INSTALL_TIME: {type: INT64, desc: the install time or the bundle}
158
159PRE_BUNDLE_RECOVER:
160  __BASE: {type: BEHAVIOR, level: MINOR, desc: prebundle recover}
161  PNAMEID: {type: STRING, desc: package name}
162  PVERSIONID: {type: STRING, desc: application version}
163  USERID: {type: INT32, desc: userId of the bundle}
164  BUNDLE_NAME: {type: STRING, desc: bundleName}
165  VERSION: {type: UINT32, desc: versionCode}
166  CALLING_UID: {type: INT32, desc: calling uid}
167  CALLING_APP_ID: {type: STRING, desc: calling appId}
168  CALLING_BUNDLE_NAME: {type: STRING, desc: calling bundleName}
169  FINGERPRINT: {type: STRING, desc: fingerprint of the bundle}
170  HIDE_DESKTOP_ICON: {type: BOOL, desc: whether hide desktop icon}
171  APP_DISTRIBUTION_TYPE: {type: STRING, desc: app distribution type}
172  FILE_PATH: {type: STRING, arrsize: 99, desc: the path of the hap file}
173  HASH_VALUE: {type: STRING, arrsize: 99, desc: the hash value of the hap file}
174  INSTALL_TIME: {type: INT64, desc: the install time or the bundle}
175  INSTALL_TYPE: {type: STRING, desc: only prebundle}
176
177BUNDLE_STATE_CHANGE:
178  __BASE: {type: BEHAVIOR, level: MINOR, desc: bundle or component disable or enable}
179  PNAMEID: {type: STRING, desc: package name}
180  PVERSIONID: {type: STRING, desc: application version}
181  USERID: {type: INT32, desc: userId of the bundle}
182  BUNDLE_NAME: {type: STRING, desc: bundleName}
183  ABILITY_NAME: {type: STRING, desc: abilityName}
184  TYPE: {type: STRING, desc: application or ability}
185  STATE: {type: STRING, desc: isEnable}
186  CALLING_BUNDLE_NAME: {type: STRING, desc: calling bundleName}
187  APP_INDEX: {type: INT32, desc: app index}
188
189BUNDLE_CLEAN_CACHE:
190  __BASE: {type: BEHAVIOR, level: MINOR, desc: bundle clean cache}
191  PNAMEID: {type: STRING, desc: package name}
192  PVERSIONID: {type: STRING, desc: application version}
193  USERID: {type: INT32, desc: userId of the bundle}
194  BUNDLE_NAME: {type: STRING, desc: bundleName}
195  CLEAN_TYPE: {type: STRING, desc: clean cache or clean data}
196  CALLING_UID: {type: INT32, desc: calling uid}
197  CALLING_BUNDLE_NAME: {type: STRING, desc: calling bundleName}
198
199GET_REMOTE_ABILITY_INFO:
200  __BASE: {type: BEHAVIOR, level: MINOR, desc: get remote abilityInfo}
201  PNAMEID: {type: STRING, desc: package name}
202  PVERSIONID: {type: STRING, desc: application version}
203  DEVICE_ID: {type: STRING, desc: deviceId}
204  BUNDLE_NAME: {type: STRING, desc: bundleName}
205  LOCALE_INFO: {type: STRING, desc: localeInfo}
206  ABILITY_NAME: {type: STRING, desc: abilityName}
207  RESULT_CODE: {type: INT32, desc: result code}
208
209GET_REMOTE_ABILITY_INFOS:
210  __BASE: {type: BEHAVIOR, level: MINOR, desc: get remote abilityInfos}
211  PNAMEID: {type: STRING, desc: package name}
212  PVERSIONID: {type: STRING, desc: application version}
213  DEVICE_ID: {type: STRING, desc: deviceId}
214  BUNDLE_NAME: {type: STRING, desc: bundleName}
215  LOCALE_INFO: {type: STRING, desc: localeInfo}
216  ABILITY_NAME: {type: STRING, desc: abilityName}
217  RESULT_CODE: {type: INT32, desc: result code}
218
219BMS_USER_EVENT:
220  __BASE: {type: BEHAVIOR, level: MINOR, desc: user event}
221  PNAMEID: {type: STRING, desc: package name}
222  PVERSIONID: {type: STRING, desc: application version}
223  TYPE: {type: STRING, desc: user event type}
224  USERID: {type: INT32, desc: userId of the bundle}
225  TIME: {type: INT64, desc: time stamp}
226
227BUNDLE_QUICK_FIX:
228  __BASE: {type: BEHAVIOR, level: MINOR, desc: bundle apply quick fix}
229  PNAMEID: {type: STRING, desc: package name}
230  PVERSIONID: {type: STRING, desc: application version}
231  BUNDLE_NAME: {type: STRING, desc: bundleName}
232  APP_DISTRIBUTION_TYPE: {type: STRING, desc: app distribution type}
233  APPLY_QUICK_FIX_FREQUENCY: {type: INT32, desc: apply quick fix frequency}
234  FILE_PATH: {type: STRING, arrsize: 99, desc: the path of the hqf file}
235  HASH_VALUE: {type: STRING, arrsize: 99, desc: the hash value of the hqf file}
236
237CPU_SCENE_ENTRY:
238  __BASE: {type: BEHAVIOR, level: MINOR, desc: CPU Scenario Code, preserve: true}
239  PACKAGE_NAME: {type: STRING, desc: package name}
240  SCENE_ID: {type: STRING, desc: customized application scenario id}
241  HAPPEN_TIME: {type: UINT16, desc: timestamp}
242
243AOT_COMPILE_SUMMARY:
244  __BASE: {type: BEHAVIOR, level: MINOR, desc: AOT compile summary result in OTA scene}
245  TOTAL_BUNDLE_NAMES: {type: STRING, arrsize: 99, desc: bundle names from MSDP}
246  TOTAL_SIZE: {type: UINT32, desc: compile total bundle size}
247  SUCCESS_SIZE: {type: UINT32, desc: compile success bundle size}
248  COST_TIME_SECONDS: {type: INT64, desc: total compile cost time}
249  TIME_STAMP: {type: INT64, desc: time stamp}
250
251AOT_COMPILE_RECORD:
252  __BASE: {type: BEHAVIOR, level: MINOR, desc: AOT compile record result in OTA scene}
253  BUNDLE_NAME: {type: STRING, desc: bundle name}
254  COMPILE_RESULT: {type: BOOL, desc: compile result}
255  FAILURE_REASON: {type: STRING, desc: compile bundle failure reason}
256  COST_TIME_SECONDS: {type: INT64, desc: compile cost time}
257  COMPILE_MODE: {type: STRING, desc: compile mode}
258  TIME_STAMP: {type: INT64, desc: time stamp}
259
260QUERY_OF_CONTINUE_TYPE:
261  __BASE: {type: BEHAVIOR, level: MINOR, desc: query abilityInfo by continuetype and bundleName}
262  PNAMEID: {type: STRING, desc: package name}
263  PVERSIONID: {type: STRING, desc: application version}
264  BUNDLE_NAME: {type: STRING, desc: bundleName}
265  ABILITY_NAME: {type: STRING, desc: abilityName}
266  CONTINUE_TYPE: {type: STRING, desc: continueType}
267  ERROR_CODE: {type: INT32, desc: apply quick fix frequency}
268  USERID: {type: INT32, desc: userId of the bundle}
269
270FREE_INSTALL_EVENT:
271  __BASE: {type: BEHAVIOR, level: MINOR, desc: free install event}
272  BUNDLE_NAME: {type: STRING, desc: bundle name}
273  MODULE_NAME: {type: STRING, desc: module name}
274  ABILITY_NAME: {type: STRING, desc: ability name}
275  IS_FREE_INSTALL: {type: BOOL, desc: is free install}
276  TIME_STAMP: {type: INT64, desc: time stamp}
277
278BMS_DISK_SPACE:
279  __BASE: {type: BEHAVIOR, level: MINOR, desc: description the disk space in insufficient when an applicaiton is begin installed ir uninstall}
280  FILE_NAME: {type: STRING, desc: file name}
281  FREE_SIZE: {type: INT64, desc: free size}
282  OPERATION_TYPE: {type: INT32, desc: operation type}
283
284APP_CONTROL_RULE:
285  __BASE: {type: BEHAVIOR, level: MINOR, desc: app contitol rule}
286  PNAMEID: {type: STRING, desc: package name}
287  PVERSIONID: {type: STRING, desc: application version}
288  APP_IDS: {type: STRING, arrsize: 100, desc: appIds}
289  USERID: {type: INT32, desc: userId of the bundle}
290  CALLING_NAME: {type: STRING, desc: calling name}
291  OPERATION_TYPE: {type: INT32, desc: operation type}
292  ACTION_TYPE: {type: INT32, desc: action type}
293  RULE: {type: STRING, desc: rule}
294  APP_INDEX: {type: INT32, desc: app index}
295
296USER_DATA_SIZE:
297   __BASE: {type: STATISTIC, level: MINOR , desc: data partition management}
298   COMPONENT_NAME: {type: STRING, desc: name of component}
299   PARTITION_NAME: {type: STRING, desc: name of partition}
300   REMAIN_PARTITION_SIZE: {type: UINT64, desc: Remaining size of the partition}
301   FILE_OR_FOLDER_PATH: {type: STRING, arrsize: 100, desc: File or folder path}
302   FILE_OR_FOLDER_SIZE: {type: UINT64, arrsize: 100, desc: File or folder size}
303
304DEFAULT_APP:
305  __BASE: {type: BEHAVIOR, level: MINOR, desc: default application}
306  ACTION_TYPE: {type: INT32, desc: action type}
307  USERID: {type: INT32, desc: current userId}
308  CALLING_NAME: {type: STRING, desc: calling name}
309  WANT: {type: STRING, desc: want}
310  UTD: {type: STRING, desc: utd}
311
312