1 Star 0 Fork 313

gwang/notification_distributed_notification_service

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
hisysevent.yaml 4.46 KB
一键复制 编辑 原始数据 按行查看 历史
张亚菲 提交于 2022-06-17 10:21 . IssueNo:#I582Y4
# 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.
domain: NOTIFICATION
# fault event
SUBSCRIBE_ERROR:
__BASE: {type: FAULT, level: MINOR, desc: subscribe notification error}
PID: {type: INT32, desc: subscriber pid}
UID: {type: INT32, desc: subscriber uid}
USER_ID: {type: INT32, desc: subscribe notification published from this userId}
BUNDLE_NAME: {type: STRING, desc: subscribe notification published from this bundle names}
ERROR_CODE: {type: INT32, desc: error code}
ENABLE_NOTIFICATION_ERROR:
__BASE: {type: FAULT, level: MINOR, desc: enable notification error}
BUNDLE_NAME: {type: STRING, desc: bundle name}
UID: {type: INT32, desc: uid}
ENABLE: {type: BOOL, desc: enable state}
ERROR_CODE: {type: INT32, desc: error code}
ENABLE_NOTIFICATION_SLOT_ERROR:
__BASE: {type: FAULT, level: MINOR, desc: enable notification slot error}
BUNDLE_NAME: {type: STRING, desc: bundle name}
UID: {type: INT32, desc: uid}
SLOT_TYPE: {type: INT32, desc: slot type}
ENABLE: {type: BOOL, desc: enable state}
ERROR_CODE: {type: INT32, desc: error code}
PUBLISH_ERROR:
__BASE: {type: STATISTIC, level: MINOR, desc: publish notification error}
NOTIFICATION_ID: {type: INT32, desc: notification Id}
CONTENT_TYPE: {type: INT32, desc: notification content type}
BUNDLE_NAME: {type: STRING, desc: bundle name of notification creater}
USER_ID: {type: INT32, desc: userId of notification creater}
ERROR_CODE: {type: INT32, desc: error code}
FLOW_CONTROL_OCCUR:
__BASE: {type: FAULT, level: MINOR, desc: flow control occured}
NOTIFICATION_ID: {type: INT32, desc: notification Id}
BUNDLE_NAME: {type: STRING, desc: bundle name}
UID: {type: INT32, desc: uid}
# behavior event
SUBSCRIBE:
__BASE: {type: BEHAVIOR, level: MINOR, desc: subscribe notification}
PID: {type: INT32, desc: subscriber pid}
UID: {type: INT32, desc: subscriber uid}
USER_ID: {type: INT32, desc: subscribe notification published from this userId}
BUNDLE_NAME: {type: STRING, desc: subscribe notification published from this bundle names}
UNSUBSCRIBE:
__BASE: {type: BEHAVIOR, level: MINOR, desc: unsubscribe notification}
PID: {type: INT32, desc: subscriber pid}
UID: {type: INT32, desc: subscriber uid}
USER_ID: {type: INT32, desc: unsubscribe notification published from this userId}
BUNDLE_NAME: {type: STRING, desc: unsubscribe notification published from this bundle names}
ENABLE_NOTIFICATION:
__BASE: {type: BEHAVIOR, level: MINOR, desc: enable notification}
BUNDLE_NAME: {type: STRING, desc: bundle name}
UID: {type: INT32, desc: uid}
ENABLE: {type: BOOL, desc: enable state}
ENABLE_NOTIFICATION_SLOT:
__BASE: {type: BEHAVIOR, level: MINOR, desc: enable notification slot}
BUNDLE_NAME: {type: STRING, desc: bundle name}
UID: {type: INT32, desc: uid}
SLOT_TYPE: {type: INT32, desc: slot type}
ENABLE: {type: BOOL, desc: enable state}
# statistic event
PUBLISH:
__BASE: {type: STATISTIC, level: MINOR, desc: publish notification}
NOTIFICATION_ID: {type: INT32, desc: notification Id}
CONTENT_TYPE: {type: INT32, desc: notification content type}
BUNDLE_NAME: {type: STRING, desc: bundle name of notification creater}
USER_ID: {type: INT32, desc: userId of notification creater}
CANCEL:
__BASE: {type: STATISTIC, level: MINOR, desc: cancel notification}
NOTIFICATION_ID: {type: INT32, desc: notification Id}
NOTIFICATION_LABEL: {type: STRING, desc: notification label}
BUNDLE_NAME: {type: STRING, desc: bundle name}
UID: {type: INT32, desc: uid}
REMOVE:
__BASE: {type: STATISTIC, level: MINOR, desc: cancel notification}
NOTIFICATION_ID: {type: INT32, desc: notification Id}
NOTIFICATION_LABEL: {type: STRING, desc: notification label}
BUNDLE_NAME: {type: STRING, desc: bundle name}
UID: {type: INT32, desc: uid}
ALARM_TRIGGER:
__BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: alarm trigger}
PID: {type: INT32, desc: thread pid}
UID: {type: INT32, desc: package uid}
NAME: {type: STRING, desc: call package name}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/gwang2008/notification_distributed_notification_service.git
git@gitee.com:gwang2008/notification_distributed_notification_service.git
gwang2008
notification_distributed_notification_service
notification_distributed_notification_service
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385