• 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
48FLOW_CONTROL_OCCUR:
49  __BASE: {type: FAULT, level: MINOR, desc: flow control occured}
50  NOTIFICATION_ID: {type: INT32, desc: notification Id}
51  BUNDLE_NAME: {type: STRING, desc: bundle name}
52  UID: {type: INT32, desc: uid of application}
53
54# behavior event
55SUBSCRIBE:
56  __BASE: {type: BEHAVIOR, level: MINOR, desc: subscribe notification}
57  PID: {type: INT32, desc: subscriber pid}
58  UID: {type: INT32, desc: subscriber uid}
59  USER_ID: {type: INT32, desc: subscribe notification published from this userId}
60  BUNDLE_NAME: {type: STRING, desc: subscribe notification published from this bundle names}
61
62UNSUBSCRIBE:
63  __BASE: {type: BEHAVIOR, level: MINOR, desc: unsubscribe notification}
64  PID: {type: INT32, desc: subscriber pid}
65  UID: {type: INT32, desc: subscriber uid}
66  USER_ID: {type: INT32, desc: unsubscribe notification published from this userId}
67  BUNDLE_NAME: {type: STRING, desc: unsubscribe notification published from this bundle names}
68
69ENABLE_NOTIFICATION:
70  __BASE: {type: BEHAVIOR, level: MINOR, desc: enable notification}
71  BUNDLE_NAME: {type: STRING, desc: bundle name}
72  UID: {type: INT32, desc: uid of application}
73  ENABLE: {type: BOOL, desc: enable state}
74
75ENABLE_NOTIFICATION_SLOT:
76  __BASE: {type: BEHAVIOR, level: MINOR, desc: enable notification slot}
77  BUNDLE_NAME: {type: STRING, desc: bundle name}
78  UID: {type: INT32, desc: uid of application}
79  SLOT_TYPE: {type: INT32, desc: slot type}
80  ENABLE: {type: BOOL, desc: enable state}
81
82# statistic event
83PUBLISH:
84  __BASE: {type: STATISTIC, level: MINOR, desc: publish notification}
85  NOTIFICATION_ID: {type: INT32, desc: notification Id}
86  CONTENT_TYPE: {type: INT32, desc: notification content type}
87  BUNDLE_NAME: {type: STRING, desc: bundle name of notification creater}
88  USER_ID: {type: INT32, desc: userId of notification creater}
89
90CANCEL:
91  __BASE: {type: STATISTIC, level: MINOR, desc: cancel notification}
92  NOTIFICATION_ID: {type: INT32, desc: notification Id}
93  NOTIFICATION_LABEL: {type: STRING, desc: notification label}
94  BUNDLE_NAME: {type: STRING, desc: bundle name}
95  UID: {type: INT32, desc: uid of application}
96
97REMOVE:
98  __BASE: {type: STATISTIC, level: MINOR, desc: cancel notification}
99  NOTIFICATION_ID: {type: INT32, desc: notification Id}
100  NOTIFICATION_LABEL: {type: STRING, desc: notification label}
101  BUNDLE_NAME: {type: STRING, desc: bundle name}
102  UID: {type: INT32, desc: uid of application}
103
104ALARM_TRIGGER:
105  __BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: alarm trigger}
106  PID: {type: INT32, desc: thread pid}
107  UID: {type: INT32, desc: package uid}
108  NAME: {type: STRING, desc: call package name}