1# Copyright (c) 2021-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: INPUTMETHOD 15 16SERVICE_INIT_FAILED: 17 __BASE: {type: FAULT, level: CRITICAL, tag: IMFServiceFailed, desc: Input method service init fault} 18 USER_ID: {type: INT32, desc: The user id} 19 COMPONENT_ID: {type: STRING, desc: Component name} 20 ERROR_CODE: {type: INT32, desc: Error code} 21 22UNAVAILABLE_INPUTMETHOD: 23 __BASE: {type: FAULT, level: CRITICAL, tag: IMEUnavaliable, desc: Inputmethod unavailable} 24 USER_ID: {type: INT32, desc: The user id} 25 APP_NAME: {type: STRING, desc: App name} 26 ERROR_CODE: {type: INT32, desc: Error code} 27 INFO: {type: STRING, desc: Error information} 28 29IME_USAGE: 30 __BASE: {type: STATISTIC, level: MINOR, tag: IMEUsage, desc: Inputmethod using report} 31 IME_START: {type: INT32, desc: The count of ime starts} 32 IME_CHANGE: {type: INT32, desc: The count of ime switchs} 33 34OPERATE_SOFTKEYBOARD: 35 __BASE: {type: BEHAVIOR, level: MINOR, tag: IMEOperate, desc: Operate the soft keyboard report} 36 OPERATING: {type: STRING, desc: 'Show, hide or unbind soft keyboard'} 37 OPERATE_INFO: {type: STRING, desc: 'Manipulate to show, hide, or unbind soft keyboard information'} 38 39IME_STATE_CHANGED: 40 __BASE: {type: BEHAVIOR, level: MINOR, tag: IMEState, desc: InputMethodExtension state changed} 41 STATE: {type: INT32, desc: InputMethodExtension STATE} 42 PID: {type: INT32, desc: The process id of current InputMethodExtension} 43 BUNDLE_NAME: {type: STRING, desc: The bundle name of current InputMethodExtension} 44 45CLIENT_ATTACH_FAILED: 46 __BASE: {type: FAULT, level: CRITICAL, desc: Client attach failed} 47 SELF_NAME: {type: STRING, desc: Self name} 48 PEER_NAME: {type: STRING, desc: Peer name} 49 PEER_PID: {type: INT64, desc: Peer pid} 50 PEER_USERID: {type: INT32, desc: Peer userId} 51 CLIENT_TYPE: {type: UINT8, desc: Client type} 52 INPUT_PATTERN: {type: INT32, desc: Input pattern of editorBox} 53 ISSHOWKEYBOARD: {type: BOOL, desc: Is show softkeyboard} 54 IME_NAME: {type: STRING, desc: Name of current ime} 55 ERR_CODE: {type: INT32, desc: Error code} 56 FAULT_COUNT: {type: INT64, desc: The fault count within five minutes} 57 58CLIENT_SHOW_FAILED: 59 __BASE: {type: FAULT, level: CRITICAL, desc: Client show failed} 60 SELF_NAME: {type: STRING, desc: Self name} 61 PEER_NAME: {type: STRING, desc: Peer name} 62 PEER_PID: {type: INT64, desc: Peer pid} 63 PEER_USERID: {type: INT32, desc: Peer userId} 64 CLIENT_TYPE: {type: UINT8, desc: Client type} 65 INPUT_PATTERN: {type: INT32, desc: Input pattern of editorBox} 66 IME_NAME: {type: STRING, desc: Name of current ime} 67 EVENT_CODE: {type: UINT8, desc: Event code of imf} 68 ERR_CODE: {type: INT32, desc: Error code} 69 FAULT_COUNT: {type: INT64, desc: The fault count within five minutes} 70 71IME_START_INPUT_FAILED: 72 __BASE: {type: FAULT, level: CRITICAL, desc: Ime start input failed} 73 SELF_NAME: {type: STRING, desc: Self name} 74 PEER_NAME: {type: STRING, desc: Peer name} 75 PEER_PID: {type: INT64, desc: Peer pid} 76 ISSHOWKEYBOARD: {type: BOOL, desc: Is show softkeyboard} 77 EVENT_CODE: {type: UINT8, desc: Event code of imf} 78 ERR_CODE: {type: INT32, desc: Error code} 79 FAULT_COUNT: {type: INT64, desc: The fault count within five minutes} 80 81BASE_TEXT_OPERATION_FAILED: 82 __BASE: {type: FAULT, level: CRITICAL, desc: Base text operation failed} 83 SELF_NAME: {type: STRING, desc: Self name} 84 PEER_NAME: {type: STRING, desc: Peer name} 85 PEER_PID: {type: INT64, desc: Peer pid} 86 CLIENT_TYPE: {type: UINT8, desc: Client type} 87 EVENT_CODE: {type: UINT8, desc: Event code of imf} 88 ERR_CODE: {type: INT32, desc: Error code} 89 FAULT_COUNT: {type: INT64, desc: The fault count within five minutes} 90 91CLIENT_ATTACH_STATISTICS: 92 __BASE: {type: STATISTIC, level: MINOR, desc: Client attach statistics} 93 IME_NAME: {type: STRING, arrsize: 100, desc: All ime that use in a statistical period} 94 APP_NAME: {type: STRING, arrsize: 100, desc: All app that use ime in a statistical period} 95 INFOS: {type: STRING, arrsize: 100, desc: Statistics of client attach events} 96 97CLIENT_SHOW_STATISTICS: 98 __BASE: {type: STATISTIC, level: MINOR, desc: Client show statistics} 99 IME_NAME: {type: STRING, arrsize: 100, desc: All ime that use in a statistical period} 100 APP_NAME: {type: STRING, arrsize: 100, desc: All app that use ime in a statistical period} 101 INFOS: {type: STRING, arrsize: 100, desc: Statistics of client show events} 102 103IME_START_INPUT_STATISTICS: 104 __BASE: {type: STATISTIC, level: MINOR, desc: Ime start input statistics} 105 SELF_NAME: {type: STRING, desc: self Name} 106 APP_NAME: {type: STRING, arrsize: 100, desc: All app that use ime in a statistical period} 107 INFOS: {type: STRING, arrsize: 100, desc: Statistics of ime start input events} 108 109BASE_TEXT_OPERATION_STATISTICS: 110 __BASE: {type: STATISTIC, level: MINOR, desc: Base text operation statistics} 111 SELF_NAME: {type: STRING, desc: self Name} 112 APP_NAME: {type: STRING, arrsize: 100, desc: All app that use ime in a statistical period} 113 INFOS: {type: STRING, arrsize: 100, desc: Statistics of base text operation events}