• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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: NOTIFICATION
15
16# fault event
17SUBSCRIBE_ERROR:
18  __BASE: {type: FAULT, level: MINOR, desc: subscribe notification error}
19  PID: {type: INT32, desc: subscriber pid}
20  UID: {type: INT32, desc: subscriber uid}
21  USER_ID: {type: INT32, desc: subscribe notification published from this userId}
22  BUNDLE_NAME: {type: STRING, desc: subscribe notification published from this bundle names}
23  ERROR_CODE: {type: INT32, desc: error code}
24
25ENABLE_NOTIFICATION_ERROR:
26  __BASE: {type: FAULT, level: MINOR, desc: enable notification error}
27  BUNDLE_NAME: {type: STRING, desc: bundle name}
28  UID: {type: INT32, desc: uid of application}
29  ENABLE: {type: BOOL, desc: enable state}
30  ERROR_CODE: {type: INT32, desc: error code}
31
32ENABLE_NOTIFICATION_SLOT_ERROR:
33  __BASE: {type: FAULT, level: MINOR, desc: enable notification slot error}
34  BUNDLE_NAME: {type: STRING, desc: bundle name}
35  UID: {type: INT32, desc: uid of application}
36  SLOT_TYPE: {type: INT32, desc: slot type}
37  ENABLE: {type: BOOL, desc: enable state}
38  ERROR_CODE: {type: INT32, desc: error code}
39
40PUBLISH_ERROR:
41  __BASE: {type: STATISTIC, level: MINOR, desc: publish notification error}
42  NOTIFICATION_ID: {type: INT32, desc: notification Id}
43  CONTENT_TYPE: {type: INT32, desc: notification content type}
44  BUNDLE_NAME: {type: STRING, desc: bundle name of notification creater}
45  USER_ID: {type: INT32, desc: userId of notification creater}
46  ERROR_CODE: {type: INT32, desc: error code}
47
48EVENT_NOTIFICATION_ERROR:
49  __BASE: {type: FAULT, level: MINOR, desc: enable notification system error}
50  MESSAGE_TYPE: {type: INT32, desc: message type}
51  ERROR_CODE: {type: INT32, desc: error code}
52  REASON: {type: STRING, desc: err position and data type}
53
54FLOW_CONTROL_OCCUR:
55  __BASE: {type: FAULT, level: MINOR, desc: flow control occured}
56  NOTIFICATION_ID: {type: INT32, desc: notification Id}
57  BUNDLE_NAME: {type: STRING, desc: bundle name}
58  UID: {type: INT32, desc: uid of application}
59
60# behavior event
61SUBSCRIBE:
62  __BASE: {type: BEHAVIOR, level: MINOR, desc: subscribe notification}
63  PID: {type: INT32, desc: subscriber pid}
64  UID: {type: INT32, desc: subscriber uid}
65  USER_ID: {type: INT32, desc: subscribe notification published from this userId}
66  BUNDLE_NAME: {type: STRING, desc: subscribe notification published from this bundle names}
67
68UNSUBSCRIBE:
69  __BASE: {type: BEHAVIOR, level: MINOR, desc: unsubscribe notification}
70  PID: {type: INT32, desc: subscriber pid}
71  UID: {type: INT32, desc: subscriber uid}
72  USER_ID: {type: INT32, desc: unsubscribe notification published from this userId}
73  BUNDLE_NAME: {type: STRING, desc: unsubscribe notification published from this bundle names}
74
75ENABLE_NOTIFICATION:
76  __BASE: {type: BEHAVIOR, level: MINOR, desc: enable notification}
77  BUNDLE_NAME: {type: STRING, desc: bundle name}
78  UID: {type: INT32, desc: uid of application}
79  ENABLE: {type: BOOL, desc: enable state}
80
81ENABLE_NOTIFICATION_SLOT:
82  __BASE: {type: BEHAVIOR, level: MINOR, desc: enable notification slot}
83  BUNDLE_NAME: {type: STRING, desc: bundle name}
84  UID: {type: INT32, desc: uid of application}
85  SLOT_TYPE: {type: INT32, desc: slot type}
86  ENABLE: {type: BOOL, desc: enable state}
87
88# statistic event
89PUBLISH:
90  __BASE: {type: STATISTIC, level: MINOR, desc: publish notification}
91  NOTIFICATION_ID: {type: INT32, desc: notification Id}
92  CONTENT_TYPE: {type: INT32, desc: notification content type}
93  BUNDLE_NAME: {type: STRING, desc: bundle name of notification creater}
94  USER_ID: {type: INT32, desc: userId of notification creater}
95
96CANCEL:
97  __BASE: {type: STATISTIC, level: MINOR, desc: cancel notification}
98  NOTIFICATION_ID: {type: INT32, desc: notification Id}
99  NOTIFICATION_LABEL: {type: STRING, desc: notification label}
100  BUNDLE_NAME: {type: STRING, desc: bundle name}
101  UID: {type: INT32, desc: uid of application}
102
103REMOVE:
104  __BASE: {type: STATISTIC, level: MINOR, desc: cancel notification}
105  NOTIFICATION_ID: {type: INT32, desc: notification Id}
106  NOTIFICATION_LABEL: {type: STRING, desc: notification label}
107  BUNDLE_NAME: {type: STRING, desc: bundle name}
108  UID: {type: INT32, desc: uid of application}
109
110ALARM_TRIGGER:
111  __BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: alarm trigger}
112  UID: {type: INT32, desc: package uid}
113  NAME: {type: STRING, desc: call package name}
114  TYPE: {type: INT32, desc: reminder type}
115  REPEAT: {type: INT32, desc: reminder is repeat}
116  TRIGGER_TIME: {type: UINT64, desc: reminder trigger time}
117  RING_TIME: {type: INT32, desc: reminder ring time}
118
119STATIC_LIVE_VIEW_UPLOAD:
120  __BASE: {type: STATISTIC, level: MINOR, desc: publish download liveview state}
121  NOTIFICATION_ID: {type: INT32, desc: notification Id}
122  BUNDLE_NAME: {type: STRING, desc: bundle name}
123  CONTENT_TYPE: {type: INT32, desc: notification content type}
124  OPERATE_FLAG: {type: INT32, desc: download liveview operate flag}
125
126REMINDER_TIMER_ERROR:
127  __BASE: {type: STATISTIC, level: MINOR, desc: reminder timer error}
128  TARGET_TIME: {type: UINT64, desc: target time}
129  TRIGGER_TIME: {type: UINT64, desc: trigger time}
130  ERROR_CODE: {type: UINT8, desc: error code}