1# Copyright (c) 2023 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: PRINT 15 16CANCEL_PRINT: 17 __BASE: {type: BEHAVIOR, level: MINOR, desc: cancel_print} 18 BEHAVIOR_CODE: {type: INT32, desc: behavior_code} 19 MSG: {type: STRING, desc: msg} 20 PACKAGE_NAME: {type: STRING, desc: package_name} 21 PROCESS_NAME: {type: STRING, desc: process_name} 22 PVERSIONID: {type: STRING, desc: version} 23 24CONNECT_PRINTER: 25 __BASE: {type: BEHAVIOR, level: MINOR, desc: connect_printer} 26 BEHAVIOR_CODE: {type: STRING, desc: behavior_code} 27 MSG: {type: STRING, desc: msg} 28 PACKAGE_NAME: {type: STRING, desc: package_name} 29 PROCESS_NAME: {type: STRING, desc: process_name} 30 PVERSIONID: {type: STRING, desc: version} 31 32EPRINT_CONVERT_SUCCESS: 33 __BASE: {type: BEHAVIOR, level: MINOR, desc: eprint_convert_success} 34 BEHAVIOR_CODE: {type: INT32, desc: behavior_code} 35 MSG: {type: STRING, desc: msg} 36 PACKAGE_NAME: {type: STRING, desc: package_name} 37 PROCESS_NAME: {type: STRING, desc: process_name} 38 PVERSIONID: {type: STRING, desc: version} 39 40EPRINT_UPLOAD_SUCCESS: 41 __BASE: {type: BEHAVIOR, level: MINOR, desc: eprint_upload_success} 42 BEHAVIOR_CODE: {type: INT32, desc: behavior_code} 43 MSG: {type: STRING, desc: msg} 44 PACKAGE_NAME: {type: STRING, desc: package_name} 45 PROCESS_NAME: {type: STRING, desc: process_name} 46 PVERSIONID: {type: STRING, desc: version} 47 48FAULT_CONNECT_PRINT: 49 __BASE: {type: FAULT, level: MINOR, desc: fault_connect_print} 50 FAULT_CODE: {type: INT32, desc: behavior_code} 51 MSG: {type: STRING, desc: msg} 52 PACKAGE_NAME: {type: STRING, desc: package_name} 53 PROCESS_NAME: {type: STRING, desc: process_name} 54 PVERSIONID: {type: STRING, desc: version} 55 SCENE: {type: STRING, desc: scene} 56 57FAULT_FILE_PREVIEW: 58 __BASE: {type: FAULT, level: MINOR, desc: fault_file_preview} 59 FAULT_CODE: {type: INT32, desc: behavior_code} 60 MSG: {type: STRING, desc: msg} 61 PACKAGE_NAME: {type: STRING, desc: package_name} 62 PROCESS_NAME: {type: STRING, desc: process_name} 63 PVERSIONID: {type: STRING, desc: version} 64 SCENE: {type: STRING, desc: scene} 65 66FILE_PREVIEW_SUCCESS: 67 __BASE: {type: BEHAVIOR, level: MINOR, desc: file_preview_success} 68 BEHAVIOR_CODE: {type: STRING, desc: behavior_code} 69 MSG: {type: STRING, desc: msg} 70 PACKAGE_NAME: {type: STRING, desc: package_name} 71 PROCESS_NAME: {type: STRING, desc: process_name} 72 PVERSIONID: {type: STRING, desc: version} 73 74PRINT_BUTTON_CLICK_COUNT: 75 __BASE: {type: STATISTIC, level: MINOR, desc: print_button_click_count} 76 BEHAVIOR_CODE: {type: INT32, desc: behavior_code} 77 MSG: {type: STRING, desc: msg} 78 PACKAGE_NAME: {type: STRING, desc: package_name} 79 PROCESS_NAME: {type: STRING, desc: process_name} 80 PVERSIONID: {type: STRING, desc: version} 81 82PRINT_EXCEPTION: 83 __BASE: {type: FAULT, level: MINOR, desc: print_exception} 84 FAULT_CODE: {type: INT32, desc: behavior_code} 85 MSG: {type: STRING, desc: msg} 86 PACKAGE_NAME: {type: STRING, desc: package_name} 87 PROCESS_NAME: {type: STRING, desc: process_name} 88 SCENE: {type: STRING, desc: scene} 89 90PRINT_SUCCESS: 91 __BASE: {type: BEHAVIOR, level: MINOR, desc: print_success} 92 BEHAVIOR_CODE: {type: STRING, desc: behavior_code} 93 MSG: {type: STRING, desc: msg} 94 PACKAGE_NAME: {type: STRING, desc: package_name} 95 PROCESS_NAME: {type: STRING, desc: process_name} 96 97RUNTIME_FAULT: 98 __BASE: {type: FAULT, level: CRITICAL, desc: The event is runtime fault } 99 ERROR_TYPE: {type: INT32, desc: error type } 100 FAULT_TYPE: {type: INT32, desc: fault id } 101 102SERVICE_FAULT: 103 __BASE: {type: FAULT, level: CRITICAL, desc: The event is service fault } 104 ERROR_TYPE: {type: INT32, desc: error type } 105 FAULT_TYPE: {type: INT32, desc: fault id } 106 MODULE_NAME: {type: STRING, desc: module name } 107 108START_PRINT: 109 __BASE: {type: BEHAVIOR, level: MINOR, desc: start_print} 110 BEHAVIOR_CODE: {type: STRING, desc: behavior_code} 111 MSG: {type: STRING, desc: msg} 112 PACKAGE_NAME: {type: STRING, desc: package_name} 113 PROCESS_NAME: {type: STRING, desc: process_name} 114 PVERSIONID: {type: STRING, desc: version} 115 116USAGETIME_STATISTIC: 117 __BASE: {type: STATISTIC, level: MINOR, desc: The event is usagetime statistic } 118 PRINT_INFO: {type: STRING, desc: print infomation } 119