# Copyright (c) 2023 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. domain: HDF_USB RECOGNITION_FAIL: __BASE: {type: FAULT, level: CRITICAL, tag: Usbd, desc: UsbRecognitionFail} DEVICE_NAME: {type: STRING, desc: device name} DEVICE_PROTOCOL: {type: INT32, desc: device protocol} DEVICE_CLASS: {type: INT32, desc: device class} VENDOR_ID: {type: INT32, desc: vendor id} PRODUCT_ID: {type: INT32, desc: product id} VERSION: {type: STRING, desc: version} FAIL_REASON: {type: INT32, desc: fail reason} FAIL_INFO: {type: STRING, desc: fail info} RECOGNITION_FAIL_STATISTICS: __BASE: {type: STATISTIC, level: CRITICAL, tag: Usbd, desc: UsbRecognitionFailStatistics} EXCEPTION_CNT: {type: UINT64, desc: exception cnt} TOTAL_CNT: {type: UINT64, desc: total cnt} FAIL_RATE: {type: DOUBLE, desc: fail rate} QUALITY_STATISTICAL: {type: STRING, desc: quality statistical}