17859cbb8Sopenharmony_ci# Copyright (c) 2022 Huawei Device Co., Ltd.
27859cbb8Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
37859cbb8Sopenharmony_ci# you may not use this file except in compliance with the License.
47859cbb8Sopenharmony_ci# You may obtain a copy of the License at
57859cbb8Sopenharmony_ci#
67859cbb8Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
77859cbb8Sopenharmony_ci#
87859cbb8Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
97859cbb8Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
107859cbb8Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
117859cbb8Sopenharmony_ci# See the License for the specific language governing permissions and
127859cbb8Sopenharmony_ci# limitations under the License.
137859cbb8Sopenharmony_ci
147859cbb8Sopenharmony_cidomain: TELEPHONY
157859cbb8Sopenharmony_ci
167859cbb8Sopenharmony_ciSIGNAL_LEVEL:
177859cbb8Sopenharmony_ci  __BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: signal level}
187859cbb8Sopenharmony_ci  SLOT_ID: {type: INT32, desc: slot id}
197859cbb8Sopenharmony_ci  LEVEL: {type: INT32, desc: signal strength level}
207859cbb8Sopenharmony_ci
217859cbb8Sopenharmony_ciNETWORK_REGISTER:
227859cbb8Sopenharmony_ci  __BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: network register}
237859cbb8Sopenharmony_ci  SLOT_ID: {type: INT32, desc: slot id}
247859cbb8Sopenharmony_ci  REGISTRATION_DOMAIN: {type: INT32, desc: network domain type}
257859cbb8Sopenharmony_ci  RADIO_TECH: {type: INT32, desc: radio technology}
267859cbb8Sopenharmony_ci  REGISTRATION_STATE: {type: INT32, desc: network registration state}
277859cbb8Sopenharmony_ci
287859cbb8Sopenharmony_ciSET_DEFAULT_CELLULAR_DATA:
297859cbb8Sopenharmony_ci  __BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: default cellular data slot id}
307859cbb8Sopenharmony_ci  SLOT_ID: {type: INT32, desc: slot id}
317859cbb8Sopenharmony_ci
327859cbb8Sopenharmony_ciSIM_STATE_CHANGE:
337859cbb8Sopenharmony_ci  __BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: sim state}
347859cbb8Sopenharmony_ci  SLOT_ID: {type: INT32, desc: slot id}
357859cbb8Sopenharmony_ci  STATE: {type: INT32, desc: sim state}
367859cbb8Sopenharmony_ci
377859cbb8Sopenharmony_ciAIRPLANE_MODE_STATE:
387859cbb8Sopenharmony_ci  __BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: airplane mode change event}
397859cbb8Sopenharmony_ci  SWITCH: {type: INT32, desc: 0_OFF 1_ON}
407859cbb8Sopenharmony_ci
417859cbb8Sopenharmony_ciVONR_SWITCH_STATE:
427859cbb8Sopenharmony_ci  __BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: vonr swtich state change event}
437859cbb8Sopenharmony_ci  SWITCH: {type: INT32, desc: 0_OFF 1_ON}
447859cbb8Sopenharmony_ci
457859cbb8Sopenharmony_ciSMS_RECEIVE_FAILED:
467859cbb8Sopenharmony_ci  __BASE: {type: FAULT, level: CRITICAL, tag: PowerStats, desc: receive sms failed event}
477859cbb8Sopenharmony_ci  MODULE: {type: STRING, desc: module name}
487859cbb8Sopenharmony_ci  SLOT_ID: {type: INT32, desc: slot id}
497859cbb8Sopenharmony_ci  MSG_TYPE: {type: INT32, desc: the type of sms}
507859cbb8Sopenharmony_ci  ERROR_TYPE: {type: INT32, desc: receive sms event error code}
517859cbb8Sopenharmony_ci  ERROR_MSG: {type: STRING, desc: add supplements to error code}
527859cbb8Sopenharmony_ci
537859cbb8Sopenharmony_ciSMS_SEND_FAILED:
547859cbb8Sopenharmony_ci  __BASE: {type: FAULT, level: CRITICAL, tag: PowerStats, desc: send sms failed event}
557859cbb8Sopenharmony_ci  MODULE: {type: STRING, desc: module name}
567859cbb8Sopenharmony_ci  SLOT_ID: {type: INT32, desc: slot id}
577859cbb8Sopenharmony_ci  MSG_TYPE: {type: INT32, desc: the type of sms}
587859cbb8Sopenharmony_ci  ERROR_TYPE: {type: INT32, desc: send sms event error code}
597859cbb8Sopenharmony_ci  ERROR_MSG: {type: STRING, desc: add supplements to error code}
607859cbb8Sopenharmony_ci
617859cbb8Sopenharmony_ciSMS_SEND:
627859cbb8Sopenharmony_ci  __BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: send sms event}
637859cbb8Sopenharmony_ci  SLOT_ID: {type: INT32, desc: slot id}
647859cbb8Sopenharmony_ci  MSG_TYPE: {type: INT32, desc: the type of sms}
657859cbb8Sopenharmony_ci
667859cbb8Sopenharmony_ciSMS_RECEIVE:
677859cbb8Sopenharmony_ci  __BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: receive sms event}
687859cbb8Sopenharmony_ci  SLOT_ID: {type: INT32, desc: slot id}
697859cbb8Sopenharmony_ci  MSG_TYPE: {type: INT32, desc: the type of sms}
707859cbb8Sopenharmony_ci
717859cbb8Sopenharmony_ciDATA_CONNECTION_STATE:
727859cbb8Sopenharmony_ci  __BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: data connection status}
737859cbb8Sopenharmony_ci  SLOT_ID: {type: INT32, desc: slot id}
747859cbb8Sopenharmony_ci  APN_TYPE: {type: INT32, desc: apn type}
757859cbb8Sopenharmony_ci  SUPPLIER_ID: {type: INT32, desc: net supplier id}
767859cbb8Sopenharmony_ci  STATE: {type: INT32, desc: 0_OFF 1_ON}
777859cbb8Sopenharmony_ci
787859cbb8Sopenharmony_ciDATA_DEACTIVED:
797859cbb8Sopenharmony_ci  __BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: data disconnection type}
807859cbb8Sopenharmony_ci  SLOT_ID: {type: INT32, desc: slot id}
817859cbb8Sopenharmony_ci  APN_TYPE: {type: INT32, desc: apn type}
827859cbb8Sopenharmony_ci  TYPE: {type: INT32, desc: 0 NETWORK_DISCONNECTION 1 USER_INITIATED 2 HAS_HIGN_PRIORITY_NETWORK}
837859cbb8Sopenharmony_ci
847859cbb8Sopenharmony_ciROAMING_DATA_CONNECTION_STATE:
857859cbb8Sopenharmony_ci  __BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: roaming data connection state}
867859cbb8Sopenharmony_ci  STATE: {type: INT32, desc: 0_OFF 1_ON}
877859cbb8Sopenharmony_ci
887859cbb8Sopenharmony_ciDATA_ACTIVATE_FAILED:
897859cbb8Sopenharmony_ci  __BASE: {type: FAULT, level: CRITICAL, tag: PowerStats, desc: data active failed}
907859cbb8Sopenharmony_ci  SLOT_ID: {type: INT32, desc: slot id}
917859cbb8Sopenharmony_ci  DATA_SWITCH: {type: INT32, desc: switch}
927859cbb8Sopenharmony_ci  UPLINK_DATA: {type: INT32, desc: uplink data}
937859cbb8Sopenharmony_ci  DOWNLINK_DATA: {type: INT32, desc: downlink data}
947859cbb8Sopenharmony_ci  DATASTATE: {type: INT32, desc: cellular data state}
957859cbb8Sopenharmony_ci  ERROR_TYPE: {type: INT32, desc: error code}
967859cbb8Sopenharmony_ci  ERROR_MSG: {type: STRING, desc: add supplements to error code}
977859cbb8Sopenharmony_ci
987859cbb8Sopenharmony_ciCALL_STATE:
997859cbb8Sopenharmony_ci  __BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: call state}
1007859cbb8Sopenharmony_ci  SLOT_ID: {type: INT32, desc: slot id}
1017859cbb8Sopenharmony_ci  STATE: {type: INT32, desc: call state}
1027859cbb8Sopenharmony_ci  INDEX_ID: {type: INT32, desc: differentiate multiple calls simultaneously}
1037859cbb8Sopenharmony_ci
1047859cbb8Sopenharmony_ciCALL_END_EXCEPTION:
1057859cbb8Sopenharmony_ci  __BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: phone hang up call event}
1067859cbb8Sopenharmony_ci  SLOT_ID: {type: INT32, desc: slot id}
1077859cbb8Sopenharmony_ci  FAIL_CAUSE: {type: INT32, desc: reason for end of call}
1087859cbb8Sopenharmony_ci
1097859cbb8Sopenharmony_ciDIAL:
1107859cbb8Sopenharmony_ci  __BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: phone outgoing call event}
1117859cbb8Sopenharmony_ci  SLOT_ID: {type: INT32, desc: slot id}
1127859cbb8Sopenharmony_ci  CALL_TYPE: {type: INT32, desc: 0 IMS_VOICE 1 IMS_VIDEO 2 CS_VOICE}
1137859cbb8Sopenharmony_ci  RESULT: {type: INT32, desc: dial result}
1147859cbb8Sopenharmony_ci
1157859cbb8Sopenharmony_ciANSWER:
1167859cbb8Sopenharmony_ci  __BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: phone answering event}
1177859cbb8Sopenharmony_ci  SLOT_ID: {type: INT32, desc: slot id}
1187859cbb8Sopenharmony_ci  CALL_TYPE: {type: INT32, desc: 0 IMS_VOICE 1 IMS_VIDEO_TO_VOICE 2 IMS_VIDEO_TO_VIDEO 3 CS_VOICE}
1197859cbb8Sopenharmony_ci  RESULT: {type: INT32, desc: answer result}
1207859cbb8Sopenharmony_ci
1217859cbb8Sopenharmony_ciHANG_UP:
1227859cbb8Sopenharmony_ci  __BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: phone hang up call event}
1237859cbb8Sopenharmony_ci  SLOT_ID: {type: INT32, desc: slot id}
1247859cbb8Sopenharmony_ci  CALL_TYPE: {type: INT32, desc: 0 IMS_VOICE 1 IMS_VIDEO 2 CS_VOICE}
1257859cbb8Sopenharmony_ci  RESULT: {type: INT32, desc: hang up result}
1267859cbb8Sopenharmony_ci
1277859cbb8Sopenharmony_ciINCOMING_CALL:
1287859cbb8Sopenharmony_ci  __BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: phone incoming call event}
1297859cbb8Sopenharmony_ci  SLOT_ID: {type: INT32, desc: slot id}
1307859cbb8Sopenharmony_ci  CALL_TYPE: {type: INT32, desc: 0 IMS_VOICE 1 IMS_VIDEO 2 CS_VOICE}
1317859cbb8Sopenharmony_ci
1327859cbb8Sopenharmony_ciCALL_DIAL_FAILED:
1337859cbb8Sopenharmony_ci  __BASE: {type: FAULT, level: CRITICAL, tag: PowerStats, desc: call outgoing failed event}
1347859cbb8Sopenharmony_ci  MODULE: {type: STRING, desc: module name}
1357859cbb8Sopenharmony_ci  SLOT_ID: {type: INT32, desc: slot id}
1367859cbb8Sopenharmony_ci  CALL_TYPE: {type: INT32, desc: call type}
1377859cbb8Sopenharmony_ci  VIDEO_STATE: {type: INT32, desc: voice or video}
1387859cbb8Sopenharmony_ci  ERROR_TYPE: {type: INT32, desc: error code}
1397859cbb8Sopenharmony_ci  ERROR_MSG: {type: STRING, desc: add supplements to error code}
1407859cbb8Sopenharmony_ci
1417859cbb8Sopenharmony_ciCALL_INCOMING_FAILED:
1427859cbb8Sopenharmony_ci  __BASE: {type: FAULT, level: CRITICAL, tag: PowerStats, desc: call incoming failed event}
1437859cbb8Sopenharmony_ci  MODULE: {type: STRING, desc: module name}
1447859cbb8Sopenharmony_ci  SLOT_ID: {type: INT32, desc: slot id}
1457859cbb8Sopenharmony_ci  VIDEO_STATE: {type: INT32, desc: voice or video}
1467859cbb8Sopenharmony_ci  CALL_TYPE: {type: INT32, desc: call type}
1477859cbb8Sopenharmony_ci  ERROR_TYPE: {type: INT32, desc: error code}
1487859cbb8Sopenharmony_ci  ERROR_MSG: {type: STRING, desc: add supplements to error code}
1497859cbb8Sopenharmony_ci
1507859cbb8Sopenharmony_ciCALL_ANSWER_FAILED:
1517859cbb8Sopenharmony_ci  __BASE: {type: FAULT, level: CRITICAL, tag: PowerStats, desc: call answer failed event}
1527859cbb8Sopenharmony_ci  MODULE: {type: STRING, desc: module name}
1537859cbb8Sopenharmony_ci  SLOT_ID: {type: INT32, desc: slot id}
1547859cbb8Sopenharmony_ci  CALL_ID: {type: INT32, desc: phone call id}
1557859cbb8Sopenharmony_ci  VIDEO_STATE: {type: INT32, desc: voice or video}
1567859cbb8Sopenharmony_ci  ERROR_TYPE: {type: INT32, desc: error code}
1577859cbb8Sopenharmony_ci  ERROR_MSG: {type: STRING, desc: add supplements to error code}
1587859cbb8Sopenharmony_ci
1597859cbb8Sopenharmony_ciCALL_HANGUP_FAILED:
1607859cbb8Sopenharmony_ci  __BASE: {type: FAULT, level: CRITICAL, tag: PowerStats, desc: call hangup failed event}
1617859cbb8Sopenharmony_ci  MODULE: {type: STRING, desc: module name}
1627859cbb8Sopenharmony_ci  SLOT_ID: {type: INT32, desc: slot id}
1637859cbb8Sopenharmony_ci  CALL_ID: {type: INT32, desc: phone call id}
1647859cbb8Sopenharmony_ci  ERROR_TYPE: {type: INT32, desc: error code}
1657859cbb8Sopenharmony_ci  ERROR_MSG: {type: STRING, desc: add supplements to error code}
1667859cbb8Sopenharmony_ci
1677859cbb8Sopenharmony_ciFOUNDATION_RESTART:
1687859cbb8Sopenharmony_ci  __BASE: {type: FAULT, level: CRITICAL, tag: PowerStats, desc: foundation restart event}
1697859cbb8Sopenharmony_ci  RESTART_COUNT: {type: INT32, desc: foundation restart times}
170