• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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: ACCESS_TOKEN
15
16PERMISSION_VERIFY_REPORT:
17  __BASE: {type: SECURITY, level: CRITICAL, desc: permission verification error}
18  CODE: {type: INT32, desc: error code}
19  CALLER_TOKENID: {type: UINT32, desc: caller token id}
20  PERMISSION_NAME: {type: STRING, desc: permission name}
21
22PERMISSION_CHECK:
23  __BASE: {type: FAULT, level: CRITICAL, desc: permission check error}
24  CODE: {type: INT32, desc: error code}
25  CALLER_TOKENID: {type: UINT32, desc: caller token id}
26  PERMISSION_NAME: {type: STRING, desc: permission name}
27  ERROR_REASON: {type: STRING, desc: error reason}
28
29PERMISSION_CHECK_EVENT:
30  __BASE: {type: BEHAVIOR, level: MINOR, desc: permission check event}
31  CODE: {type: INT32, desc: event code}
32  CALLER_TOKENID: {type: UINT32, desc: caller token id}
33  PERMISSION_NAME: {type: STRING, desc: permission name}
34  FLAG: {type: INT32, desc: permission flag}
35  PERMISSION_GRANT_TYPE: {type: INT32, desc: grant type}
36  PID_INFO: {type: INT32, desc: access token service pid}
37  REASON: {type: STRING, desc: check report reason}
38
39PERMISSION_SYNC:
40  __BASE: {type: FAULT, level: CRITICAL, tag: usability, desc: permission sync error}
41  CODE: {type: INT32, desc: error code}
42  REMOTE_ID: {type: STRING, desc: remote id}
43  REASON: {type: STRING, desc: error reason}
44
45ADD_HAP:
46  __BASE: {type: STATISTIC, level: MINOR, tag: usability, desc: add a hap to device}
47  TOKENID: {type: UINT32, desc: token id}
48  USERID: {type: INT32, desc: user id}
49  BUNDLENAME: {type: STRING, desc: bundle name}
50  INSTINDEX: {type: INT32, desc: inst index}
51
52DEL_HAP:
53  __BASE: {type: STATISTIC, level: MINOR, tag: usability, desc: delete a hap from device}
54  TOKENID: {type: UINT32, desc: tokenID}
55  USERID: {type: INT32, desc: user id}
56  BUNDLENAME: {type: STRING, desc: bundle name}
57  INSTINDEX: {type: INT32, desc: inst index}
58