1# Copyright (c) 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: BACKGROUND_TASK 15 16TRANSIENT_TASK_APPLY: 17 __BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: apply transient task} 18 APP_UID: {type: INT32, desc: package uid} 19 APP_PID: {type: INT32, desc: thread pid} 20 APP_NAME: {type: STRING, desc: package name} 21 TASKID: {type: STRING, desc: task id} 22 VALUE: {type: INT32, desc: second of delay time} 23 24TRANSIENT_TASK_CANCEL: 25 __BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: cancel transient task} 26 APP_UID: {type: INT32, desc: package uid} 27 APP_PID: {type: INT32, desc: thread pid} 28 APP_NAME: {type: STRING, desc: package name} 29 TASKID: {type: STRING, desc: task id} 30 31CONTINUOUS_TASK_APPLY: 32 __BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: apply continuous task} 33 APP_UID: {type: INT32, desc: package uid} 34 APP_PID: {type: INT32, desc: thread pid} 35 APP_NAME: {type: STRING, desc: package name} 36 ABILITY: {type: STRING, desc: package ability} 37 BGMODE: {type: INT32, desc: task background mode} 38 UIABILITY_IDENTITY: {type: INT32, desc: ability identity} 39 40CONTINUOUS_TASK_CANCEL: 41 __BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: cancel continuous task} 42 APP_UID: {type: INT32, desc: package uid} 43 APP_PID: {type: INT32, desc: thread pid} 44 APP_NAME: {type: STRING, desc: package name} 45 ABILITY: {type: STRING, desc: package ability} 46 BGMODE: {type: INT32, desc: task background mode} 47 UIABILITY_IDENTITY: {type: INT32, desc: ability identity} 48 STOP_REASON: {type: INT32, desc: stop reason} 49