1# Copyright (c) 2025 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: EXTERNAL_DEVICE 15 16DRIVER_PACKAGE_CYCLE_MANAGER: 17 __BASE: {type: STATISTIC, level: MINOR, tag: UsbManager, desc: DriverPackageCycleManager} 18 BUNDLE_NAME: {type: STRING, desc: bundle name} 19 USER_ID: {type: INT32, desc: user id} 20 DRIVER_UID: {type: STRING, desc: driver uid} 21 VERSION_CODE: {type: INT32, desc: version code} 22 VENDOR_ID: {type: STRING, desc: vendor id} 23 PRODUCT_ID: {type: STRING, desc: product id} 24 DRIVER_EVENT_NAME: {type: STRING, desc: driver event name} 25 26EXT_DEVICE_EVENT: 27 __BASE: {type: STATISTIC, level: CRITICAL, tag: ExternalDevice, desc: ExternalDeviceEvent} 28 DEVICE_CLASS: {type: INT32, desc: device class} 29 DEVICE_SUBCLASS: {type: INT32, desc: device subclass} 30 DEVICE_PROTOCOL: {type: INT32, desc: device protocol} 31 SN_NUM: {type: STRING, desc: snNum} 32 VENDOR_ID: {type: INT32, desc: vendor id} 33 PRODUCT_ID: {type: INT32, desc: product id} 34 DEVICE_ID: {type: UINT64, desc: device id} 35 DRIVER_UID: {type: STRING, desc: driver uid} 36 DRIVER_NAME: {type: STRING, desc: driver name} 37 VERSION_CODE: {type: STRING, desc: version code} 38 VIDS: {type: STRING, desc: vids} 39 PIDS: {type: STRING, desc: pids} 40 USER_ID: {type: INT32, desc: user id} 41 BUNDLE_NAME: {type: STRING, desc: bundle name} 42 OPERAT_TYPE: {type: INT32, desc: operat type} 43 INTERFACE_NAME: {type: STRING, desc: interface name} 44 MESSAGE: {type: STRING, desc: message} 45 ERR_CODE: {type: INT32, desc: errCode} 46 47EXTERNAL_DEVICE_SA_EVENT: 48 __BASE: {type: STATISTIC, level: CRITICAL, tag: ExternalDevice, desc: ExternalDeviceSaEvent} 49 USER_ID: {type: INT32, desc: user id} 50 EVENT: {type: STRING, desc: event} 51 FAIL_MESSAGE: {type: STRING, desc: fail message} 52 ERR_CODE: {type: INT32, desc: errCode} 53 54EXTERNAL_DEVICE_DDK_EVENT: 55 __BASE: {type: STATISTIC, level: CRITICAL, tag: ExternalDevice, desc: ExternalDeviceDdkEvent} 56 VENDOR_ID: {type: INT32, desc: vendor id} 57 PRODUCT_ID: {type: INT32, desc: product id} 58 VERSION_CODE: {type: INT32, desc: version code} 59 TOKEN_ID: {type: INT32, desc: token id} 60 OPERAT_TYPE: {type: INT32, desc: operat type} 61 INTERFACE_NAME: {type: STRING, desc: interface name} 62 FAIL_MESSAGE: {type: STRING, desc: fail message} 63 ERR_CODE: {type: INT32, desc: errCode}