mirror of
https://gitee.com/openharmony/bundlemanager_app_domain_verify
synced 2024-12-26 18:35:41 +00:00
fix hisysEVENT
Signed-off-by: woohoa <wanghuan36@huawei.com>
This commit is contained in:
parent
73a488f5d6
commit
f32e2a0450
@ -14,6 +14,9 @@
|
||||
"subsystem": "bundlemanager",
|
||||
"syscap": [],
|
||||
"features": ["app_domain_verify_cut_link_convert"],
|
||||
"hisysevent_config": [
|
||||
"//foundation/bundlemanager/app_domain_verify/hisysevent.yaml"
|
||||
],
|
||||
"adapted_system_type": [
|
||||
"standard"
|
||||
],
|
||||
|
@ -19,17 +19,17 @@
|
||||
|
||||
namespace OHOS {
|
||||
namespace AppDomainVerify {
|
||||
static constexpr char APP_DOMAIN_VERIFY[] = "APP_DOMAIN_VERIFY";
|
||||
static constexpr char APP_DOMAIN_VERIFY[] = "APPDOMAINVERIFY";
|
||||
namespace EventType {
|
||||
const std::string APP_INSTALL_EVENT = "pkg_install";
|
||||
const std::string APP_DELETE_EVENT = "pkg_uninstall";
|
||||
const std::string APP_VERIFY_EVENT = "pkg_verify_result";
|
||||
const std::string APP_INSTALL_EVENT = "PKG_INSTALL";
|
||||
const std::string APP_DELETE_EVENT = "PKG_UNINSTALL";
|
||||
const std::string APP_VERIFY_EVENT = "PKG_VERIFY_RESULT";
|
||||
}
|
||||
namespace EventParamKey {
|
||||
const std::string APP_ID = "app_id";
|
||||
const std::string BUNDLE_NAME = "bundle_name";
|
||||
const std::string VERIFY_STATUS = "verify_status";
|
||||
const std::string VERIFY_WAY = "verify_way";
|
||||
const std::string APP_ID = "APP_ID";
|
||||
const std::string BUNDLE_NAME = "BUNDLE_NAME";
|
||||
const std::string VERIFY_STATUS = "VERIFY_STATUS";
|
||||
const std::string VERIFY_WAY = "VERIFY_WAY";
|
||||
}
|
||||
typedef enum EnumTaskType {
|
||||
IMMEDIATE_TASK,
|
||||
|
34
hisysevent.yaml
Normal file
34
hisysevent.yaml
Normal file
@ -0,0 +1,34 @@
|
||||
# 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: APPDOMAINVERIFY
|
||||
|
||||
################################################################################
|
||||
# BEHAVIOR EVENT #
|
||||
################################################################################
|
||||
PKG_INSTALL:
|
||||
__BASE: {type: BEHAVIOR, level: MINOR, desc: pkg install}
|
||||
BUNDLE_NAME: {type: STRING, desc: bundleName}
|
||||
APP_ID: {type: STRING, desc: appId}
|
||||
|
||||
PKG_UNINSTALL:
|
||||
__BASE: {type: BEHAVIOR, level: MINOR, desc: pkg uninstall}
|
||||
BUNDLE_NAME: {type: STRING, desc: bundleName}
|
||||
APP_ID: {type: STRING, desc: appId}
|
||||
|
||||
PKG_VERIFY_RESULT:
|
||||
__BASE: {type: BEHAVIOR, level: MINOR, desc: pkg verify result}
|
||||
BUNDLE_NAME: {type: STRING, desc: bundleName}
|
||||
APP_ID: {type: STRING, desc: appId}
|
||||
VERIFY_WAY: {type: INT32, desc: verify way}
|
||||
VERIFY_RESULT: {type: INT32, desc: verify result}
|
Loading…
Reference in New Issue
Block a user