• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2022-2023 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: BUNDLE_MANAGER
15
16################################################################################
17#                                   FAULT EVENT                                #
18################################################################################
19BUNDLE_INSTALL_EXCEPTION:
20  __BASE: {type: FAULT, level: MINOR, desc: used to fault happened when bundle install}
21  USERID: {type: INT32, desc: userId of the bundle}
22  BUNDLE_NAME: {type: STRING, desc: bundleName}
23  VERSION: {type: UINT32, desc: versionCode}
24  INSTALL_TYPE: {type: STRING, desc: normal prebundle or freeInstall}
25  SCENE: {type: STRING, desc: boot reboot or createUser}
26  ERROR_CODE: {type: INT32, desc: error code}
27
28BUNDLE_UNINSTALL_EXCEPTION:
29  __BASE: {type: FAULT, level: MINOR, desc: used to fault happened when bundle uninstall}
30  USERID: {type: INT32, desc: userId of the bundle}
31  BUNDLE_NAME: {type: STRING, desc: bundleName}
32  VERSION: {type: UINT32, desc: versionCode}
33  INSTALL_TYPE: {type: STRING, desc: normal prebundle or freeInstall}
34  ERROR_CODE: {type: INT32, desc: error code}
35
36BUNDLE_UPDATE_EXCEPTION:
37  __BASE: {type: FAULT, level: MINOR, desc: used to fault happened when bundle update}
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
44PRE_BUNDLE_RECOVER_EXCEPTION:
45  __BASE: {type: FAULT, level: MINOR, desc: used to fault happened when prebundle recover}
46  USERID: {type: INT32, desc: userId of the bundle}
47  BUNDLE_NAME: {type: STRING, desc: bundleName}
48  VERSION: {type: UINT32, desc: versionCode}
49  INSTALL_TYPE: {type: STRING, desc: only prebundle}
50  ERROR_CODE: {type: INT32, desc: error code}
51
52BUNDLE_STATE_CHANGE_EXCEPTION:
53  __BASE: {type: FAULT, level: MINOR, desc: used to fault happened when state change}
54  USERID: {type: INT32, desc: userId of the bundle}
55  BUNDLE_NAME: {type: STRING, desc: bundleName}
56  ABILITY_NAME: {type: STRING, desc: abilityName}
57  TYPE: {type: STRING, desc: application or ability}
58
59BUNDLE_CLEAN_CACHE_EXCEPTION:
60  __BASE: {type: FAULT, level: MINOR, desc: used to fault happened when clean cache or clean data}
61  USERID: {type: INT32, desc: userId of the bundle}
62  BUNDLE_NAME: {type: STRING, desc: bundleName}
63  CLEAN_TYPE: {type: STRING, desc: clean cache or clean data}
64
65################################################################################
66#                                 BEHAVIOR EVENT                               #
67################################################################################
68BOOT_SCAN_START:
69  __BASE: {type: BEHAVIOR, level: MINOR, desc: boot scan start}
70  TIME: {type: INT64, desc: time stamp}
71
72BOOT_SCAN_END:
73  __BASE: {type: BEHAVIOR, level: MINOR, desc: boot scan end}
74  TIME: {type: INT64, desc: time stamp}
75
76BUNDLE_INSTALL:
77  __BASE: {type: BEHAVIOR, level: MINOR, desc: bundle install}
78  USERID: {type: INT32, desc: userId of the bundle}
79  BUNDLE_NAME: {type: STRING, desc: bundleName}
80  VERSION: {type: UINT32, desc: versionCode}
81  INSTALL_TYPE: {type: STRING, desc: normal prebundle or freeInstall}
82  SCENE: {type: STRING, desc: boot reboot or createUser}
83  CALLING_UID: {type: INT32, desc: calling uid}
84  CALLING_APP_ID: {type: STRING, desc: calling appId}
85  CALLING_BUNDLE_NAME: {type: STRING, desc: calling bundleName}
86  FINGERPRINT: {type: STRING, desc: fingerprint of the bundle}
87  HIDE_DESKTOP_ICON: {type: BOOL, desc: whether hide desktop icon}
88  APP_DISTRIBUTION_TYPE: {type: STRING, desc: app distribution type}
89  FILE_PATH: {type: STRING, arrsize: 99, desc: the path of the hap file}
90  HASH_VALUE: {type: STRING, arrsize: 99, desc: the hash value of the hap file}
91  INSTALL_TIME: {type: INT64, desc: the install time or the bundle}
92
93BUNDLE_UNINSTALL:
94  __BASE: {type: BEHAVIOR, level: MINOR, desc: bundle uninstall}
95  USERID: {type: INT32, desc: userId of the bundle}
96  BUNDLE_NAME: {type: STRING, desc: bundleName}
97  VERSION: {type: UINT32, desc: versionCode}
98  INSTALL_TYPE: {type: STRING, desc: normal prebundle or freeInstall}
99  CALLING_UID: {type: INT32, desc: calling uid}
100  CALLING_APP_ID: {type: STRING, desc: calling appId}
101  CALLING_BUNDLE_NAME: {type: STRING, desc: calling bundleName}
102
103BUNDLE_UPDATE:
104  __BASE: {type: BEHAVIOR, level: MINOR, desc: bundle update}
105  USERID: {type: INT32, desc: userId of the bundle}
106  BUNDLE_NAME: {type: STRING, desc: bundleName}
107  VERSION: {type: UINT32, desc: versionCode}
108  INSTALL_TYPE: {type: STRING, desc: normal prebundle or freeInstall}
109  CALLING_UID: {type: INT32, desc: calling uid}
110  CALLING_APP_ID: {type: STRING, desc: calling appId}
111  CALLING_BUNDLE_NAME: {type: STRING, desc: calling bundleName}
112  FINGERPRINT: {type: STRING, desc: fingerprint of the bundle}
113  HIDE_DESKTOP_ICON: {type: BOOL, desc: whether hide desktop icon}
114  APP_DISTRIBUTION_TYPE: {type: STRING, desc: app distribution type}
115  FILE_PATH: {type: STRING, arrsize: 99, desc: the path of the hap file}
116  HASH_VALUE: {type: STRING, arrsize: 99, desc: the hash value of the hap file}
117  INSTALL_TIME: {type: INT64, desc: the install time or the bundle}
118
119PRE_BUNDLE_RECOVER:
120  __BASE: {type: BEHAVIOR, level: MINOR, desc: prebundle recover}
121  USERID: {type: INT32, desc: userId of the bundle}
122  BUNDLE_NAME: {type: STRING, desc: bundleName}
123  VERSION: {type: UINT32, desc: versionCode}
124  CALLING_UID: {type: INT32, desc: calling uid}
125  CALLING_APP_ID: {type: STRING, desc: calling appId}
126  CALLING_BUNDLE_NAME: {type: STRING, desc: calling bundleName}
127  FINGERPRINT: {type: STRING, desc: fingerprint of the bundle}
128  HIDE_DESKTOP_ICON: {type: BOOL, desc: whether hide desktop icon}
129  APP_DISTRIBUTION_TYPE: {type: STRING, desc: app distribution type}
130  FILE_PATH: {type: STRING, arrsize: 99, desc: the path of the hap file}
131  HASH_VALUE: {type: STRING, arrsize: 99, desc: the hash value of the hap file}
132  INSTALL_TIME: {type: INT64, desc: the install time or the bundle}
133  INSTALL_TYPE: {type: STRING, desc: only prebundle}
134
135BUNDLE_STATE_CHANGE:
136  __BASE: {type: BEHAVIOR, level: MINOR, desc: bundle or component disable or enable}
137  USERID: {type: INT32, desc: userId of the bundle}
138  BUNDLE_NAME: {type: STRING, desc: bundleName}
139  ABILITY_NAME: {type: STRING, desc: abilityName}
140  TYPE: {type: STRING, desc: application or ability}
141  STATE: {type: STRING, desc: isEnable}
142
143BUNDLE_CLEAN_CACHE:
144  __BASE: {type: BEHAVIOR, level: MINOR, desc: bundle clean cache}
145  USERID: {type: INT32, desc: userId of the bundle}
146  BUNDLE_NAME: {type: STRING, desc: bundleName}
147  CLEAN_TYPE: {type: STRING, desc: clean cache or clean data}
148
149GET_REMOTE_ABILITY_INFO:
150  __BASE: {type: BEHAVIOR, level: MINOR, desc: get remote abilityInfo}
151  DEVICE_ID: {type: STRING, desc: deviceId}
152  BUNDLE_NAME: {type: STRING, desc: bundleName}
153  LOCALE_INFO: {type: STRING, desc: localeInfo}
154  ABILITY_NAME: {type: STRING, desc: abilityName}
155  RESULT_CODE: {type: INT32, desc: result code}
156
157GET_REMOTE_ABILITY_INFOS:
158  __BASE: {type: BEHAVIOR, level: MINOR, desc: get remote abilityInfos}
159  DEVICE_ID: {type: STRING, desc: deviceId}
160  BUNDLE_NAME: {type: STRING, desc: bundleName}
161  LOCALE_INFO: {type: STRING, desc: localeInfo}
162  ABILITY_NAME: {type: STRING, desc: abilityName}
163  RESULT_CODE: {type: INT32, desc: result code}
164
165BMS_USER_EVENT:
166  __BASE: {type: BEHAVIOR, level: MINOR, desc: user event}
167  TYPE: {type: STRING, desc: user event type}
168  USERID: {type: INT32, desc: userId of the bundle}
169  TIME: {type: INT64, desc: time stamp}
170
171BUNDLE_QUICK_FIX:
172  __BASE: {type: BEHAVIOR, level: MINOR, desc: bundle apply quick fix}
173  BUNDLE_NAME: {type: STRING, desc: bundleName}
174  APP_DISTRIBUTION_TYPE: {type: STRING, desc: app distribution type}
175  APPLY_QUICK_FIX_FREQUENCY: {type: INT32, desc: apply quick fix frequency}
176  FILE_PATH: {type: STRING, arrsize: 99, desc: the path of the hqf file}
177  HASH_VALUE: {type: STRING, arrsize: 99, desc: the hash value of the hqf file}