1 Star 0 Fork 388

Charmy-Y/security_access_token

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
hisysevent.yaml 4.94 KB
一键复制 编辑 原始数据 按行查看 历史
chennian 提交于 2024-10-23 05:24 . Modify level of dfx
# Copyright (c) 2022-2024 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
domain: ACCESS_TOKEN
ACCESSTOKEN_SERVICE_START:
__BASE: {type: STATISTIC, level: CRITICAL, tag: usability, desc: service startup}
PID: {type: INT32, desc: access token service pid}
HAP_SIZE: {type: UINT32, desc: hap token size}
NATIVE_SIZE: {type: UINT32, desc: native token size}
PERM_DEFINITION_SIZE: {type: UINT32, desc: permission definition size}
ACCESSTOKEN_SERVICE_START_ERROR:
__BASE: {type: FAULT, level: CRITICAL, desc: service startup error}
SCENE_CODE: {type: INT32, desc: scene code}
ERROR_CODE: {type: INT32, desc: error code}
ERROR_MSG: {type: STRING, desc: error reason}
PERMISSION_VERIFY_REPORT:
__BASE: {type: SECURITY, level: CRITICAL, desc: permission verification error}
CODE: {type: INT32, desc: error code}
CALLER_TOKENID: {type: UINT32, desc: caller token id}
PERMISSION_NAME: {type: STRING, desc: permission name}
INTERFACE: {type: STRING, desc: interface information}
PERMISSION_CHECK:
__BASE: {type: FAULT, level: CRITICAL, desc: permission check error}
CODE: {type: INT32, desc: error code}
CALLER_TOKENID: {type: UINT32, desc: caller token id}
PERMISSION_NAME: {type: STRING, desc: permission name}
ERROR_REASON: {type: STRING, desc: error reason}
PERMISSION_CHECK_EVENT:
__BASE: {type: BEHAVIOR, level: MINOR, desc: permission check event}
CODE: {type: INT32, desc: event code}
CALLER_TOKENID: {type: UINT32, desc: caller token id}
PERMISSION_NAME: {type: STRING, desc: permission name}
FLAG: {type: INT32, desc: permission flag}
PERMISSION_GRANT_TYPE: {type: INT32, desc: grant type}
PID_INFO: {type: INT32, desc: access token service pid}
REASON: {type: STRING, desc: check report reason}
PERMISSION_SYNC:
__BASE: {type: FAULT, level: CRITICAL, tag: usability, desc: permission sync error}
CODE: {type: INT32, desc: error code}
REMOTE_ID: {type: STRING, desc: remote id}
REASON: {type: STRING, desc: error reason}
ADD_HAP:
__BASE: {type: STATISTIC, level: MINOR, tag: usability, desc: add a hap to device}
TOKENID: {type: UINT32, desc: token id}
USERID: {type: INT32, desc: user id}
BUNDLENAME: {type: STRING, desc: bundle name}
INSTINDEX: {type: INT32, desc: inst index}
DEL_HAP:
__BASE: {type: STATISTIC, level: MINOR, tag: usability, desc: delete a hap from device}
TOKENID: {type: UINT32, desc: tokenID}
USERID: {type: INT32, desc: user id}
BUNDLENAME: {type: STRING, desc: bundle name}
INSTINDEX: {type: INT32, desc: inst index}
PERM_DIALOG_STATUS_INFO:
__BASE: {type: STATISTIC, level: MINOR, desc: status information of permission dialog}
USERID: {type: INT32, desc: user id}
PERMISSION_NAME: {type: STRING, desc: permission name}
TOGGLE_STATUS: {type: UINT32, desc: toggle status of permission dialog}
GRANT_TEMP_PERMISSION:
__BASE: {type: BEHAVIOR, level: MINOR, desc: grant temp permission}
TOKENID: {type: UINT32, desc: tokenID}
BUNDLENAME: {type: STRING, desc: bundle name}
PERMISSION_NAME: {type: STRING, desc: permission name}
REQUEST_PERMISSIONS_FROM_USER:
__BASE: {type: BEHAVIOR, level: MINOR, desc: request permissions from user}
BUNDLENAME: {type: STRING, desc: bundle name}
UIEXTENSION_FLAG: {type: BOOL, desc: uiextension flag}
UPDATE_PERMISSION:
__BASE: {type: BEHAVIOR, level: MINOR, desc: grant or revoke permission}
TOKENID: {type: UINT32, desc: tokenID}
PERMISSION_NAME: {type: STRING, desc: permission name}
PERMISSION_FLAG: {type: UINT32, desc: permission flag}
GRANTED_FLAG: {type: BOOL, desc: grant or revoke}
UPDATE_HAP:
__BASE: {type: STATISTIC, level: MINOR, tag: usability, desc: update hap to device}
TOKENID: {type: UINT32, desc: token id}
USERID: {type: INT32, desc: user id}
BUNDLENAME: {type: STRING, desc: bundle name}
INSTINDEX: {type: INT32, desc: inst index}
CLEAR_USER_PERMISSION_STATE:
__BASE: {type: BEHAVIOR, level: MINOR, desc: clear user permission state}
TOKENID: {type: UINT32, desc: tokenid to be cleared}
TOKENID_LEN: {type: UINT32, desc: amount of realated sandbox app accesstoken}
SET_PERMISSION_DIALOG_CAP:
__BASE: {type: BEHAVIOR, level: MINOR, desc: set permission dialog capability}
TOKENID: {type: UINT32, desc: token id}
USERID: {type: INT32, desc: user id}
BUNDLENAME: {type: STRING, desc: bundle name}
INSTINDEX: {type: INT32, desc: inst index}
ENABLE: {type: BOOL, desc: enable or disable}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/Charmy-Y/security_access_token.git
[email protected]:Charmy-Y/security_access_token.git
Charmy-Y
security_access_token
security_access_token
master

搜索帮助