1#  Copyright (c) 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: IMAGE_EFFECT_UE
15
16REGISTER_CUSTOM_FILTER:
17  __BASE: {type: BEHAVIOR, level: MINOR, desc: Collect statistics on the info of custom filter such as FilterName PixelMap, preserve: true}
18  PNAMEID: {type: STRING, desc: package name}
19  PVERSIONID: {type: STRING, desc: application version}
20  FILTER_NAME: {type: STRING, desc: filter name}
21  SUPPORTED_FORMATS: {type: UINT32, desc: supported formats}
22
23ADD_FILTER:
24  __BASE: {type: BEHAVIOR, level: MINOR, desc: Collect statistics on the filter usage, preserve: true}
25  PNAMEID: {type: STRING, desc: package name}
26  PVERSIONID: {type: STRING, desc: application version}
27  FILTER_NAME: {type: STRING, desc: filter name}
28
29REMOVE_FILTER:
30  __BASE: {type: BEHAVIOR, level: MINOR, desc: Collect statistics on the filter usage, preserve: true}
31  PNAMEID: {type: STRING, desc: package name}
32  PVERSIONID: {type: STRING, desc: application version}
33  FILTER_NAME: {type: STRING, desc: filter name}
34  FILTER_NUMBER: {type: INT32, desc: filter number}
35
36INPUT_DATA_TYPE:
37  __BASE: {type: BEHAVIOR, level: MINOR, desc: Collect statistics on the input data type such as pixelmap surfacebuffer uri surface, preserve: true}
38  PNAMEID: {type: STRING, desc: package name}
39  PVERSIONID: {type: STRING, desc: application version}
40  DATA_TYPE: {type: STRING, desc: input data type such as pixelmap surfacebuffer uri surface}
41
42OUTPUT_DATA_TYPE:
43  __BASE: {type: BEHAVIOR, level: MINOR, desc: Collect statistics on the output data type such as pixelmap surfacebuffer uri surface, preserve: true}
44  PNAMEID: {type: STRING, desc: package name}
45  PVERSIONID: {type: STRING, desc: application version}
46  DATA_TYPE: {type: STRING, desc: output data type such as pixelmap surfacebuffer uri surface}
47
48RENDER_FAILED:
49  __BASE: {type: BEHAVIOR, level: MINOR, desc: Failure to render image such as InvalidParam, preserve: true}
50  PNAMEID: {type: STRING, desc: package name}
51  PVERSIONID: {type: STRING, desc: application version}
52  ERROR_TYPE: {type: INT32, desc: error code}
53  ERROR_MSG: {type: STRING, desc: error info}
54
55SAVE_IMAGE_EFFECT:
56  __BASE: {type: BEHAVIOR, level: MINOR, desc: Collect effector serialization behavior, preserve: true}
57  PNAMEID: {type: STRING, desc: package name}
58  PVERSIONID: {type: STRING, desc: application version}
59
60RESTORE_IMAGE_EFFECT:
61  __BASE: {type: BEHAVIOR, level: MINOR, desc: Collect effector deserialization behavior, preserve: true}
62  PNAMEID: {type: STRING, desc: package name}
63  PVERSIONID: {type: STRING, desc: application version}