1# Copyright (c) 2022-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: POWER 15 16RUNNINGLOCK: 17 __BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: runninglock information} 18 PID: {type: INT32, desc: application pid} 19 UID: {type: INT32, desc: application uid} 20 STATE: {type: INT32, desc: runninglock state} 21 TYPE: {type: INT32, desc: runninglock type} 22 NAME: {type: STRING, desc: runninglock name} 23 LOG_LEVEL: {type: INT32, desc: runninglock log level} 24 TAG: {type: STRING, desc: runninglock tag} 25 MESSAGE: {type: STRING, desc: runninglock message} 26 27SCREEN: 28 __BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: screen state} 29 STATE: {type: INT32, desc: screen state} 30 BRIGHTNESS: {type: INT32, desc: brightness level} 31 32SCREEN_ON_TIMEOUT: 33 __BASE: {type: FAULT, level: CRITICAL, desc: timeout screen on information} 34 PID: {type: INT32, desc: session pid} 35 UID: {type: INT32, desc: session uid} 36 PACKAGE_NAME: {type: STRING, desc: call package name} 37 PROCESS_NAME: {type: STRING, desc: call process name} 38 MSG: {type: STRING, desc: screen on timeout message} 39 40STATE_CORRECTION: 41 __BASE: {type: FAULT, level: CRITICAL, desc: the power state is inconsistent with the display state} 42 ERROR_STATE: {type: INT32, desc: the state of the current error} 43 CORRECTION_STATE: {type: INT32, desc: the corrected state} 44 DISPLAY_STATE: {type: INT32, desc: the display state} 45 MSG: {type: STRING, desc: correct error information} 46 47STATE: 48 __BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: power state} 49 STATE: {type: INT32, desc: power state} 50