# Copyright (c) 2024 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. domain: IMAGE_EFFECT_UE REGISTER_CUSTOM_FILTER: __BASE: {type: BEHAVIOR, level: MINOR, desc: Collect statistics on the info of custom filter such as FilterName PixelMap, preserve: true} PNAMEID: {type: STRING, desc: package name} PVERSIONID: {type: STRING, desc: application version} FILTER_NAME: {type: STRING, desc: filter name} SUPPORTED_FORMATS: {type: UINT32, desc: supported formats} ADD_FILTER: __BASE: {type: BEHAVIOR, level: MINOR, desc: Collect statistics on the filter usage, preserve: true} PNAMEID: {type: STRING, desc: package name} PVERSIONID: {type: STRING, desc: application version} FILTER_NAME: {type: STRING, desc: filter name} REMOVE_FILTER: __BASE: {type: BEHAVIOR, level: MINOR, desc: Collect statistics on the filter usage, preserve: true} PNAMEID: {type: STRING, desc: package name} PVERSIONID: {type: STRING, desc: application version} FILTER_NAME: {type: STRING, desc: filter name} FILTER_NUMBER: {type: INT32, desc: filter number} INPUT_DATA_TYPE: __BASE: {type: BEHAVIOR, level: MINOR, desc: Collect statistics on the input data type such as pixelmap surfacebuffer uri surface, preserve: true} PNAMEID: {type: STRING, desc: package name} PVERSIONID: {type: STRING, desc: application version} DATA_TYPE: {type: STRING, desc: input data type such as pixelmap surfacebuffer uri surface} OUTPUT_DATA_TYPE: __BASE: {type: BEHAVIOR, level: MINOR, desc: Collect statistics on the output data type such as pixelmap surfacebuffer uri surface, preserve: true} PNAMEID: {type: STRING, desc: package name} PVERSIONID: {type: STRING, desc: application version} DATA_TYPE: {type: STRING, desc: output data type such as pixelmap surfacebuffer uri surface} RENDER_FAILED: __BASE: {type: BEHAVIOR, level: MINOR, desc: Failure to render image such as InvalidParam, preserve: true} PNAMEID: {type: STRING, desc: package name} PVERSIONID: {type: STRING, desc: application version} ERROR_TYPE: {type: INT32, desc: error code} ERROR_MSG: {type: STRING, desc: error info} SAVE_IMAGE_EFFECT: __BASE: {type: BEHAVIOR, level: MINOR, desc: Collect effector serialization behavior, preserve: true} PNAMEID: {type: STRING, desc: package name} PVERSIONID: {type: STRING, desc: application version} RESTORE_IMAGE_EFFECT: __BASE: {type: BEHAVIOR, level: MINOR, desc: Collect effector deserialization behavior, preserve: true} PNAMEID: {type: STRING, desc: package name} PVERSIONID: {type: STRING, desc: application version}