• 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: TELEPHONY
15
16SIGNAL_LEVEL:
17  __BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: signal level}
18  SLOT_ID: {type: INT32, desc: slot id}
19  LEVEL: {type: INT32, desc: signal strength level}
20
21NETWORK_REGISTER:
22  __BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: network register}
23  SLOT_ID: {type: INT32, desc: slot id}
24  REGISTRATION_DOMAIN: {type: INT32, desc: network domain type}
25  RADIO_TECH: {type: INT32, desc: radio technology}
26  REGISTRATION_STATE: {type: INT32, desc: network registration state}
27
28SET_DEFAULT_CELLULAR_DATA:
29  __BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: default cellular data slot id}
30  SLOT_ID: {type: INT32, desc: slot id}
31
32SIM_STATE_CHANGE:
33  __BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: sim state}
34  SLOT_ID: {type: INT32, desc: slot id}
35  STATE: {type: INT32, desc: sim state}
36
37SMS_RECEIVE_FAILED:
38  __BASE: {type: FAULT, level: CRITICAL, tag: PowerStats, desc: receive sms failed event}
39  MODULE: {type: STRING, desc: module name}
40  SLOT_ID: {type: INT32, desc: slot id}
41  MSG_TYPE: {type: INT32, desc: the type of sms}
42  ERROR_TYPE: {type: INT32, desc: receive sms event error code}
43  ERROR_MSG: {type: STRING, desc: add supplements to error code}
44
45SMS_SEND_FAILED:
46  __BASE: {type: FAULT, level: CRITICAL, tag: PowerStats, desc: send sms failed event}
47  MODULE: {type: STRING, desc: module name}
48  SLOT_ID: {type: INT32, desc: slot id}
49  MSG_TYPE: {type: INT32, desc: the type of sms}
50  ERROR_TYPE: {type: INT32, desc: send sms event error code}
51  ERROR_MSG: {type: STRING, desc: add supplements to error code}
52
53SMS_SEND:
54  __BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: send sms event}
55  SLOT_ID: {type: INT32, desc: slot id}
56  MSG_TYPE: {type: INT32, desc: the type of sms}
57
58SMS_RECEIVE:
59  __BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: receive sms event}
60  SLOT_ID: {type: INT32, desc: slot id}
61  MSG_TYPE: {type: INT32, desc: the type of sms}
62
63DATA_CONNECTION_STATE:
64  __BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: data connection status}
65  STATE: {type: INT32, desc: 0_OFF 1_ON}
66
67DATA_DEACTIVED:
68  __BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: data disconnection type}
69  SLOT_ID: {type: INT32, desc: slot id}
70  TYPE: {type: INT32, desc: 0 NETWORK_DISCONNECTION 1 USER_INITIATED 2 HAS_HIGN_PRIORITY_NETWORK}
71
72ROAMING_DATA_CONNECTION_STATE:
73  __BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: roaming data connection state}
74  STATE: {type: INT32, desc: 0_OFF 1_ON}
75
76DATA_ACTIVATE_FAILED:
77  __BASE: {type: FAULT, level: CRITICAL, tag: PowerStats, desc: data active failed}
78  SLOT_ID: {type: INT32, desc: slot id}
79  DATA_SWITCH: {type: INT32, desc: switch}
80  UPLINK_DATA: {type: INT32, desc: uplink data}
81  DOWNLINK_DATA: {type: INT32, desc: downlink data}
82  DATASTATE: {type: INT32, desc: cellular data state}
83  ERROR_TYPE: {type: INT32, desc: error code}
84  ERROR_MSG: {type: STRING, desc: add supplements to error code}
85
86CALL_STATE:
87  __BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: call state}
88  SLOT_ID: {type: INT32, desc: slot id}
89  STATE: {type: INT32, desc: call state}
90  INDEX_ID: {type: INT32, desc: differentiate multiple calls simultaneously}
91
92CALL_END_EXCEPTION:
93  __BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: phone hang up call event}
94  SLOT_ID: {type: INT32, desc: slot id}
95  FAIL_CAUSE: {type: INT32, desc: reason for end of call}
96
97DIAL:
98  __BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: phone outgoing call event}
99  SLOT_ID: {type: INT32, desc: slot id}
100  CALL_TYPE: {type: INT32, desc: 0 IMS_VOICE 1 IMS_VIDEO 2 CS_VOICE}
101  RESULT: {type: INT32, desc: dial result}
102
103ANSWER:
104  __BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: phone answering event}
105  SLOT_ID: {type: INT32, desc: slot id}
106  CALL_TYPE: {type: INT32, desc: 0 IMS_VOICE 1 IMS_VIDEO_TO_VOICE 2 IMS_VIDEO_TO_VIDEO 3 CS_VOICE}
107  RESULT: {type: INT32, desc: answer result}
108
109HANG_UP:
110  __BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: phone hang up call event}
111  SLOT_ID: {type: INT32, desc: slot id}
112  CALL_TYPE: {type: INT32, desc: 0 IMS_VOICE 1 IMS_VIDEO 2 CS_VOICE}
113  RESULT: {type: INT32, desc: hang up result}
114
115INCOMING_CALL:
116  __BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: phone incoming call event}
117  SLOT_ID: {type: INT32, desc: slot id}
118  CALL_TYPE: {type: INT32, desc: 0 IMS_VOICE 1 IMS_VIDEO 2 CS_VOICE}
119
120CALL_DIAL_FAILED:
121  __BASE: {type: FAULT, level: CRITICAL, tag: PowerStats, desc: call outgoing failed event}
122  MODULE: {type: STRING, desc: module name}
123  SLOT_ID: {type: INT32, desc: slot id}
124  CALL_TYPE: {type: INT32, desc: call type}
125  VIDEO_STATE: {type: INT32, desc: voice or video}
126  ERROR_TYPE: {type: INT32, desc: error code}
127  ERROR_MSG: {type: STRING, desc: add supplements to error code}
128
129CALL_INCOMING_FAILED:
130  __BASE: {type: FAULT, level: CRITICAL, tag: PowerStats, desc: call incoming failed event}
131  MODULE: {type: STRING, desc: module name}
132  SLOT_ID: {type: INT32, desc: slot id}
133  VIDEO_STATE: {type: INT32, desc: voice or video}
134  CALL_TYPE: {type: INT32, desc: call type}
135  ERROR_TYPE: {type: INT32, desc: error code}
136  ERROR_MSG: {type: STRING, desc: add supplements to error code}
137
138CALL_ANSWER_FAILED:
139  __BASE: {type: FAULT, level: CRITICAL, tag: PowerStats, desc: call answer failed event}
140  MODULE: {type: STRING, desc: module name}
141  SLOT_ID: {type: INT32, desc: slot id}
142  CALL_ID: {type: INT32, desc: phone call id}
143  VIDEO_STATE: {type: INT32, desc: voice or video}
144  ERROR_TYPE: {type: INT32, desc: error code}
145  ERROR_MSG: {type: STRING, desc: add supplements to error code}
146
147CALL_HANGUP_FAILED:
148  __BASE: {type: FAULT, level: CRITICAL, tag: PowerStats, desc: call hangup failed event}
149  MODULE: {type: STRING, desc: module name}
150  SLOT_ID: {type: INT32, desc: slot id}
151  CALL_ID: {type: INT32, desc: phone call id}
152  ERROR_TYPE: {type: INT32, desc: error code}
153  ERROR_MSG: {type: STRING, desc: add supplements to error code}
154
155FOUNDATION_RESTART:
156  __BASE: {type: FAULT, level: CRITICAL, tag: PowerStats, desc: foundation restart event}
157  RESTART_COUNT: {type: INT32, desc: foundation restart times}
158