11 Star 0 Fork 572

rk3568-最小系统/multimedia_media_library

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
hisysevent.yaml 5.31 KB
一键复制 编辑 原始数据 按行查看 历史
niliangzhi 提交于 2023-12-22 15:54 . add dfx of multistages capture
# Copyright (c) 2022 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.
#####################################################
# below is the format of defining event #
#####################################################
#domain: domain name. [Only one domain name can be defined at the top]
#
#author: the author name who defined this event.
#date: the date when this event was defined, format is YYYY-MM-DD.
#logged: source file which refer to this event.
#usage: the usage of this event.
#//Define event name and event properties.
#@EVENT_NAME: the event definition part begin.
# // __BASE is used for defining the basic info of the event.
# // "type" optional values are: FAULT, STATISTICS, SECURITY, BEHAVIOR.
# // "level" optional values are: CRITICAL, MINOR.
# // "tag" set tags with may used by subscriber of this event, multiple tags divided by space.
# // "desc" full description of this event.
# @PARAMETER: {type: parameter type, arrsize: array length(optional), desc: parameter description}.
# // follow the __BASE block, each line defines a parameter of this event.
# // "type" optional values are: INT8, UINT8, INT16, UINT16, INT32, UINT32, INT64, UINT64, FLOAT, DOUBLE, STRING.
# // "arrsize" of the parameter is an array, set a non-zero value.
# // "desc" full description of this parameter.
# DESCRIPTION contains userid,request type.
# REASON contains errno num, and failed interface.
domain: MEDIALIBRARY
MEDIALIB_FILE_OPT_ERROR:
__BASE: { type: FAULT, level: CRITICAL, desc: create file error }
UID: { type: INT32, desc: user id}
ERR_FILE: { type: STRING, desc: failed file }
LINE: { type: UINT32, desc: failed line }
ERROR_CODE: { type: INT32, desc: error code }
FILE: { type: STRING, desc: file name }
TYPE: { type: STRING, desc: operation type }
CALLING_ID: { type: INT32, desc: calling uid }
MEDIALIB_DB_OPT_ERROR:
__BASE: { type: FAULT, level: CRITICAL, desc: local db create file failure }
UID: { type: INT32, desc: user id}
ERR_FILE: { type: STRING, desc: failed file }
LINE: { type: UINT32, desc: upgrade failed line }
ERROR_CODE: { type: INT32, desc: error code }
TYPE: { type: STRING, desc: operation type }
CALLING_ID: { type: INT32, desc: calling uid }
MEDIALIB_DB_UPGRADE_ERROR:
__BASE: { type: FAULT, level: CRITICAL, desc: local database upgrade failure }
ERR_FILE: { type: STRING, desc: upgrade failed file }
LINE: { type: UINT32, desc: upgrade failed line }
MEDIALIB_THUMBNAIL_STAT:
__BASE: { type: BEHAVIOR, level: MINOR, desc: thumbnail aging is triggered when the screen is off }
UID: { type: INT32, desc: user id}
TIMES: { type: UINT32, desc: history trigger number }
GNUMS: { type: UINT32, desc: generate thumbnail nums }
ANUMS: { type: UINT32, desc: aging thumbnail nums }
MEDIALIB_DB_UPGRADE_STAT:
__BASE: { type: BEHAVIOR, level: MINOR, desc: database upgrade }
PRE_VERSION: { type: INT32, desc: pre upgrade version number }
AFTER_VERSION: { type: INT32, desc: after upgrade version number }
COUNT: { type: UINT32, desc: upgrade events count }
MEDIALIB_SYNC_STAT:
__BASE: { type: BEHAVIOR, level: MINOR, desc: synchronization times between the local end and the cloud }
TIMES: { type: UINT32, desc: sync times }
MEDIALIB_AGING_STAT:
__BASE: { type: BEHAVIOR, level: MINOR, desc: aging state }
TIMES: { type: UINT32, desc: history trigger times }
COUNT: { type: UINT32, desc: the recycle number of aging }
MEDIALIB_MSC_FIRST_VISIT_STAT:
__BASE: { type: BEHAVIOR, level: MINOR, desc: time interval between photo capture and first visit by the app }
PHOTO_ID: { type: STRING, desc: photo id }
TIME_INTERVAL: { type: UINT64, desc: the time interval from taking the photo to the fist visit }
MEDIALIB_MSC_REQUST_POLICY_STAT:
__BASE: { type: STATISTIC, level: MINOR, desc: multistages capture request policy }
CALLING_PACKAGE: { type: STRING, desc: calling package name }
HIGH_QUALITY_COUNT: { type: UINT32, desc: high quality policy count }
BALANCE_QUALITY_COUNT: { type: UINT32, desc: balance quality policy count }
EMERGENCY_QUALITY_COUNT: { type: UINT32, desc: emergency quality policy count }
MEDIALIB_MSC_TRIGGER_RATIO_STAT:
__BASE: { type: STATISTIC, level: MINOR, desc: trigger source ratio }
THIRD_PART_COUNT: { type: UINT32, desc: count of third part app trigger multistages capture }
AUTO_COUNT: { type: UINT32, desc: count of auto trigger multistages capture }
MEDIALIB_MSC_TOTAL_TIME_STAT:
__BASE: { type: STATISTIC, level: MINOR, desc: multistages capture total time cost }
PHOTO_ID: { type: STRING, desc: photo id }
TOTAL_TIME_COST: { type: UINT64, desc: total time cost of multistages capture }
MEDIALIB_MSC_RESULT_STAT:
__BASE: { type: STATISTIC, level: MINOR, desc: result of multistages capture }
PHOTO_ID: { type: STRING, desc: photo id }
RESULT: { type: INT32, desc: result of processing multistages capture }
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/rk3568--minimum-system/multimedia_media_library.git
git@gitee.com:rk3568--minimum-system/multimedia_media_library.git
rk3568--minimum-system
multimedia_media_library
multimedia_media_library
OpenHarmony-4.1-Release

搜索帮助