1# Copyright (c) 2022-2024 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 31BUNDLE_UNINSTALL_EXCEPTION: 32 __BASE: {type: FAULT, level: MINOR, desc: used to fault happened when bundle uninstall} 33 PNAMEID: {type: STRING, desc: package name} 34 PVERSIONID: {type: STRING, desc: application version} 35 USERID: {type: INT32, desc: userId of the bundle} 36 BUNDLE_NAME: {type: STRING, desc: bundleName} 37 VERSION: {type: UINT32, desc: versionCode} 38 INSTALL_TYPE: {type: STRING, desc: normal prebundle or freeInstall} 39 ERROR_CODE: {type: INT32, desc: error code} 40 APP_INDEX: {type: INT32, desc: app index} 41 42BUNDLE_UPDATE_EXCEPTION: 43 __BASE: {type: FAULT, level: MINOR, desc: used to fault happened when bundle update} 44 PNAMEID: {type: STRING, desc: package name} 45 PVERSIONID: {type: STRING, desc: application version} 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: normal prebundle or freeInstall} 50 ERROR_CODE: {type: INT32, desc: error code} 51 52PRE_BUNDLE_RECOVER_EXCEPTION: 53 __BASE: {type: FAULT, level: MINOR, desc: used to fault happened when prebundle recover} 54 PNAMEID: {type: STRING, desc: package name} 55 PVERSIONID: {type: STRING, desc: application version} 56 USERID: {type: INT32, desc: userId of the bundle} 57 BUNDLE_NAME: {type: STRING, desc: bundleName} 58 VERSION: {type: UINT32, desc: versionCode} 59 INSTALL_TYPE: {type: STRING, desc: only prebundle} 60 ERROR_CODE: {type: INT32, desc: error code} 61 62BUNDLE_STATE_CHANGE_EXCEPTION: 63 __BASE: {type: FAULT, level: MINOR, desc: used to fault happened when state change} 64 PNAMEID: {type: STRING, desc: package name} 65 PVERSIONID: {type: STRING, desc: application version} 66 USERID: {type: INT32, desc: userId of the bundle} 67 BUNDLE_NAME: {type: STRING, desc: bundleName} 68 ABILITY_NAME: {type: STRING, desc: abilityName} 69 TYPE: {type: STRING, desc: application or ability} 70 71BUNDLE_CLEAN_CACHE_EXCEPTION: 72 __BASE: {type: FAULT, level: MINOR, desc: used to fault happened when clean cache or clean data} 73 PNAMEID: {type: STRING, desc: package name} 74 PVERSIONID: {type: STRING, desc: application version} 75 USERID: {type: INT32, desc: userId of the bundle} 76 BUNDLE_NAME: {type: STRING, desc: bundleName} 77 CLEAN_TYPE: {type: STRING, desc: clean cache or clean data} 78 79################################################################################ 80# BEHAVIOR EVENT # 81################################################################################ 82BOOT_SCAN_START: 83 __BASE: {type: BEHAVIOR, level: MINOR, desc: boot scan start} 84 PNAMEID: {type: STRING, desc: package name} 85 PVERSIONID: {type: STRING, desc: application version} 86 TIME: {type: INT64, desc: time stamp} 87 88BOOT_SCAN_END: 89 __BASE: {type: BEHAVIOR, level: MINOR, desc: boot scan end} 90 PNAMEID: {type: STRING, desc: package name} 91 PVERSIONID: {type: STRING, desc: application version} 92 TIME: {type: INT64, desc: time stamp} 93 94BUNDLE_INSTALL: 95 __BASE: {type: BEHAVIOR, level: MINOR, desc: bundle install} 96 PNAMEID: {type: STRING, desc: package name} 97 PVERSIONID: {type: STRING, desc: application version} 98 USERID: {type: INT32, desc: userId of the bundle} 99 BUNDLE_NAME: {type: STRING, desc: bundleName} 100 VERSION: {type: UINT32, desc: versionCode} 101 INSTALL_TYPE: {type: STRING, desc: normal prebundle or freeInstall} 102 SCENE: {type: STRING, desc: boot reboot or createUser} 103 CALLING_UID: {type: INT32, desc: calling uid} 104 CALLING_APP_ID: {type: STRING, desc: calling appId} 105 CALLING_BUNDLE_NAME: {type: STRING, desc: calling bundleName} 106 FINGERPRINT: {type: STRING, desc: fingerprint of the bundle} 107 HIDE_DESKTOP_ICON: {type: BOOL, desc: whether hide desktop icon} 108 APP_DISTRIBUTION_TYPE: {type: STRING, desc: app distribution type} 109 FILE_PATH: {type: STRING, arrsize: 99, desc: the path of the hap file} 110 HASH_VALUE: {type: STRING, arrsize: 99, desc: the hash value of the hap file} 111 INSTALL_TIME: {type: INT64, desc: the install time or the bundle} 112 APP_INDEX: {type: INT32, desc: app index} 113 114BUNDLE_UNINSTALL: 115 __BASE: {type: BEHAVIOR, level: MINOR, desc: bundle uninstall} 116 PNAMEID: {type: STRING, desc: package name} 117 PVERSIONID: {type: STRING, desc: application version} 118 USERID: {type: INT32, desc: userId of the bundle} 119 BUNDLE_NAME: {type: STRING, desc: bundleName} 120 VERSION: {type: UINT32, desc: versionCode} 121 INSTALL_TYPE: {type: STRING, desc: normal prebundle or freeInstall} 122 CALLING_UID: {type: INT32, desc: calling uid} 123 CALLING_APP_ID: {type: STRING, desc: calling appId} 124 CALLING_BUNDLE_NAME: {type: STRING, desc: calling bundleName} 125 APP_INDEX: {type: INT32, desc: app index} 126 127BUNDLE_UPDATE: 128 __BASE: {type: BEHAVIOR, level: MINOR, desc: bundle update} 129 PNAMEID: {type: STRING, desc: package name} 130 PVERSIONID: {type: STRING, desc: application version} 131 USERID: {type: INT32, desc: userId of the bundle} 132 BUNDLE_NAME: {type: STRING, desc: bundleName} 133 VERSION: {type: UINT32, desc: versionCode} 134 INSTALL_TYPE: {type: STRING, desc: normal prebundle or freeInstall} 135 CALLING_UID: {type: INT32, desc: calling uid} 136 CALLING_APP_ID: {type: STRING, desc: calling appId} 137 CALLING_BUNDLE_NAME: {type: STRING, desc: calling bundleName} 138 FINGERPRINT: {type: STRING, desc: fingerprint of the bundle} 139 HIDE_DESKTOP_ICON: {type: BOOL, desc: whether hide desktop icon} 140 APP_DISTRIBUTION_TYPE: {type: STRING, desc: app distribution type} 141 FILE_PATH: {type: STRING, arrsize: 99, desc: the path of the hap file} 142 HASH_VALUE: {type: STRING, arrsize: 99, desc: the hash value of the hap file} 143 INSTALL_TIME: {type: INT64, desc: the install time or the bundle} 144 145PRE_BUNDLE_RECOVER: 146 __BASE: {type: BEHAVIOR, level: MINOR, desc: prebundle recover} 147 PNAMEID: {type: STRING, desc: package name} 148 PVERSIONID: {type: STRING, desc: application version} 149 USERID: {type: INT32, desc: userId of the bundle} 150 BUNDLE_NAME: {type: STRING, desc: bundleName} 151 VERSION: {type: UINT32, desc: versionCode} 152 CALLING_UID: {type: INT32, desc: calling uid} 153 CALLING_APP_ID: {type: STRING, desc: calling appId} 154 CALLING_BUNDLE_NAME: {type: STRING, desc: calling bundleName} 155 FINGERPRINT: {type: STRING, desc: fingerprint of the bundle} 156 HIDE_DESKTOP_ICON: {type: BOOL, desc: whether hide desktop icon} 157 APP_DISTRIBUTION_TYPE: {type: STRING, desc: app distribution type} 158 FILE_PATH: {type: STRING, arrsize: 99, desc: the path of the hap file} 159 HASH_VALUE: {type: STRING, arrsize: 99, desc: the hash value of the hap file} 160 INSTALL_TIME: {type: INT64, desc: the install time or the bundle} 161 INSTALL_TYPE: {type: STRING, desc: only prebundle} 162 163BUNDLE_STATE_CHANGE: 164 __BASE: {type: BEHAVIOR, level: MINOR, desc: bundle or component disable or enable} 165 PNAMEID: {type: STRING, desc: package name} 166 PVERSIONID: {type: STRING, desc: application version} 167 USERID: {type: INT32, desc: userId of the bundle} 168 BUNDLE_NAME: {type: STRING, desc: bundleName} 169 ABILITY_NAME: {type: STRING, desc: abilityName} 170 TYPE: {type: STRING, desc: application or ability} 171 STATE: {type: STRING, desc: isEnable} 172 173BUNDLE_CLEAN_CACHE: 174 __BASE: {type: BEHAVIOR, level: MINOR, desc: bundle clean cache} 175 PNAMEID: {type: STRING, desc: package name} 176 PVERSIONID: {type: STRING, desc: application version} 177 USERID: {type: INT32, desc: userId of the bundle} 178 BUNDLE_NAME: {type: STRING, desc: bundleName} 179 CLEAN_TYPE: {type: STRING, desc: clean cache or clean data} 180 181GET_REMOTE_ABILITY_INFO: 182 __BASE: {type: BEHAVIOR, level: MINOR, desc: get remote abilityInfo} 183 PNAMEID: {type: STRING, desc: package name} 184 PVERSIONID: {type: STRING, desc: application version} 185 DEVICE_ID: {type: STRING, desc: deviceId} 186 BUNDLE_NAME: {type: STRING, desc: bundleName} 187 LOCALE_INFO: {type: STRING, desc: localeInfo} 188 ABILITY_NAME: {type: STRING, desc: abilityName} 189 RESULT_CODE: {type: INT32, desc: result code} 190 191GET_REMOTE_ABILITY_INFOS: 192 __BASE: {type: BEHAVIOR, level: MINOR, desc: get remote abilityInfos} 193 PNAMEID: {type: STRING, desc: package name} 194 PVERSIONID: {type: STRING, desc: application version} 195 DEVICE_ID: {type: STRING, desc: deviceId} 196 BUNDLE_NAME: {type: STRING, desc: bundleName} 197 LOCALE_INFO: {type: STRING, desc: localeInfo} 198 ABILITY_NAME: {type: STRING, desc: abilityName} 199 RESULT_CODE: {type: INT32, desc: result code} 200 201BMS_USER_EVENT: 202 __BASE: {type: BEHAVIOR, level: MINOR, desc: user event} 203 PNAMEID: {type: STRING, desc: package name} 204 PVERSIONID: {type: STRING, desc: application version} 205 TYPE: {type: STRING, desc: user event type} 206 USERID: {type: INT32, desc: userId of the bundle} 207 TIME: {type: INT64, desc: time stamp} 208 209BUNDLE_QUICK_FIX: 210 __BASE: {type: BEHAVIOR, level: MINOR, desc: bundle apply quick fix} 211 PNAMEID: {type: STRING, desc: package name} 212 PVERSIONID: {type: STRING, desc: application version} 213 BUNDLE_NAME: {type: STRING, desc: bundleName} 214 APP_DISTRIBUTION_TYPE: {type: STRING, desc: app distribution type} 215 APPLY_QUICK_FIX_FREQUENCY: {type: INT32, desc: apply quick fix frequency} 216 FILE_PATH: {type: STRING, arrsize: 99, desc: the path of the hqf file} 217 HASH_VALUE: {type: STRING, arrsize: 99, desc: the hash value of the hqf file} 218 219CPU_SCENE_ENTRY: 220 __BASE: {type: BEHAVIOR, level: MINOR, desc: CPU Scenario Code, preserve: true} 221 PACKAGE_NAME: {type: STRING, desc: package name} 222 SCENE_ID: {type: STRING, desc: customized application scenario id} 223 HAPPEN_TIME: {type: UINT16, desc: timestamp} 224 225AOT_COMPILE_SUMMARY: 226 __BASE: {type: BEHAVIOR, level: MINOR, desc: AOT compile summary result in OTA scene} 227 TOTAL_BUNDLE_NAMES: {type: STRING, arrsize: 99, desc: bundle names from MSDP} 228 TOTAL_SIZE: {type: UINT32, desc: compile total bundle size} 229 SUCCESS_SIZE: {type: UINT32, desc: compile success bundle size} 230 COST_TIME_SECONDS: {type: INT64, desc: total compile cost time} 231 TIME_STAMP: {type: INT64, desc: time stamp} 232 233AOT_COMPILE_RECORD: 234 __BASE: {type: BEHAVIOR, level: MINOR, desc: AOT compile record result in OTA scene} 235 BUNDLE_NAME: {type: STRING, desc: bundle name} 236 COMPILE_RESULT: {type: BOOL, desc: compile result} 237 FAILURE_REASON: {type: STRING, desc: compile bundle failure reason} 238 COST_TIME_SECONDS: {type: INT64, desc: compile cost time} 239 COMPILE_MODE: {type: STRING, desc: compile mode} 240 TIME_STAMP: {type: INT64, desc: time stamp} 241 242QUERY_OF_CONTINUE_TYPE: 243 __BASE: {type: BEHAVIOR, level: MINOR, desc: query abilityInfo by continuetype and bundleName} 244 PNAMEID: {type: STRING, desc: package name} 245 PVERSIONID: {type: STRING, desc: application version} 246 BUNDLE_NAME: {type: STRING, desc: bundleName} 247 ABILITY_NAME: {type: STRING, desc: abilityName} 248 CONTINUE_TYPE: {type: STRING, desc: continueType} 249 ERROR_CODE: {type: INT32, desc: apply quick fix frequency} 250 USERID: {type: INT32, desc: userId of the bundle} 251 252FREE_INSTALL_EVENT: 253 __BASE: {type: BEHAVIOR, level: MINOR, desc: free install event} 254 BUNDLE_NAME: {type: STRING, desc: bundle name} 255 MODULE_NAME: {type: STRING, desc: module name} 256 ABILITY_NAME: {type: STRING, desc: ability name} 257 IS_FREE_INSTALL: {type: BOOL, desc: is free install} 258 TIME_STAMP: {type: INT64, desc: time stamp} 259 260BMS_DISK_SPACE: 261 __BASE: {type: BEHAVIOR, level: MINOR, desc: description the disk space in insufficient when an applicaiton is begin installed ir uninstall} 262 FILE_NAME: {type: STRING, desc: file name} 263 FREE_SIZE: {type: INT64, desc: free size} 264 OPERATION_TYPE: {type: INT32, desc: operation type} 265 266APP_CONTROL_RULE: 267 __BASE: {type: BEHAVIOR, level: MINOR, desc: app contitol rule} 268 PNAMEID: {type: STRING, desc: package name} 269 PVERSIONID: {type: STRING, desc: application version} 270 APP_IDS: {type: STRING, arrsize: 100, desc: appIds} 271 USERID: {type: INT32, desc: userId of the bundle} 272 CALLING_NAME: {type: STRING, desc: calling name} 273 OPERATION_TYPE: {type: INT32, desc: operation type} 274 ACTION_TYPE: {type: INT32, desc: action type} 275 RULE: {type: STRING, desc: rule} 276 APP_INDEX: {type: INT32, desc: app index}