1# Copyright (c) 2021-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: ACCOUNT 15 16PERMISSION_EXCEPTION: 17 __BASE: {type: SECURITY, level: CRITICAL, desc: permission verification errors} 18 CALLER_UID: {type: INT32, desc: caller uid} 19 CALLER_PID: {type: INT32, desc: caller pid} 20 PERMISSION_NAME: {type: STRING, desc: permission name} 21 22SERVICE_START_FAILED: 23 __BASE: {type: FAULT, level: CRITICAL, desc: service start errors} 24 ERROR_TYPE: {type: INT32, desc: error code} 25 ERROR_MSG: {type: STRING, desc: error message} 26 27OS_ACCOUNT_FAILED: 28 __BASE: {type: FAULT, level: CRITICAL, desc: os account operation errors} 29 ID: {type: INT32, desc: the id of an os account} 30 OPERATE_TYPE: {type: STRING, desc: operation type on an os account} 31 ERROR_TYPE: {type: INT32, desc: error code} 32 ERROR_MSG: {type: STRING, desc: error message} 33 34DISTRIBUTED_ACCOUNT_FAILED: 35 __BASE: {type: FAULT, level: CRITICAL, desc: distributed account operation errors} 36 USER_ID: {type: INT32, desc: the user id bound to a distributed account} 37 OPERATE_TYPE: {type: STRING, desc: operation type on a distributed account} 38 ERROR_TYPE: {type: INT32, desc: error code} 39 ERROR_MSG: {type: STRING, desc: error message} 40 41APP_ACCOUNT_FAILED: 42 __BASE: {type: FAULT, level: CRITICAL, desc: app operation errors} 43 NAME: {type: STRING, desc: the name of an app account} 44 OWNER: {type: STRING, desc: the owner of an app account} 45 OPERATE_TYPE: {type: STRING, desc: operation type on an app account} 46 ERROR_TYPE: {type: INT32, desc: error code} 47 ERROR_MSG: {type: STRING, desc: error message} 48 49OS_ACCOUNT_LIFE_CYCLE: 50 __BASE: {type: BEHAVIOR, level: MINOR, desc: osaccount create or delete event} 51 ID: {type: INT32, desc: the id of os account which is created or deleted} 52 OPERATE_TYPE: {type: STRING, desc: operation type on an os account create or delete} 53 54OS_ACCOUNT_SWITCH: 55 __BASE: {type: BEHAVIOR, level: MINOR, desc: osaccount switch event} 56 CURRENT_ID: {type: INT32, desc: the id of os account after switch} 57 OLD_ID: {type: INT32, desc: the id of os account before switch} 58 59DISTRIBUTED_ACCOUNT_CHANGE: 60 __BASE: {type: BEHAVIOR, level: MINOR, desc: ohosaccount state change events} 61 USER_ID: {type: INT32, desc: local account id} 62 OPERATION_TYPE: {type: INT32, desc: operation type} 63 OLD_STATE: {type: INT32, desc: ohos account old state} 64 NEW_STATE: {type: INT32, desc: ohos account new state}