1# Copyright (c) 2022 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: GLOBAL_RESMGR
15
16# resmgr init event
17
18INIT_RESMGR_FAILED:
19  __BASE: {type: FAULT, level: CRITICAL, tag: usability, desc: init resourceManager failed}
20  BUNDLENAME: {type: STRING, desc: bundle name}
21  ERROR_MSG: {type: STRING, desc: error message}
22
23# app behavior event
24
25GET_RES_BY_ID_FAILED:
26  __BASE: {type: BEHAVIOR, level: MINOR, tag: app, desc: resmgr get resource by id failed}
27  ID: {type: INT32, desc: resource id}
28  RESULT: {type: STRING, desc: the resource result}
29  ERROR_MSG: {type: STRING, desc: error message}
30
31GET_RES_BY_NAME_FAILED:
32  __BASE: {type: BEHAVIOR, level: MINOR, tag: app, desc: resmgr get resource by name failed}
33  NAME: {type: STRING, desc: resource name}
34  RESULT: {type: STRING, desc: the resource result}
35  ERROR_MSG: {type: STRING, desc: error message}
36
37ADD_RES_PATH_FAILED:
38  __BASE: {type: BEHAVIOR, level: MINOR, tag: app, desc: ohos add resource path failed}
39  PATH: {type: STRING, desc: resource path}
40  ERROR_MSG: {type: STRING, desc: error message}
41