!2009 Update drague yaml

Merge pull request !2009 from bd/20241112
This commit is contained in:
openharmony_ci 2024-11-15 03:26:00 +00:00 committed by Gitee
commit a89d7c36c3
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 54 additions and 1 deletions

View File

@ -14,7 +14,10 @@
"SystemCapability.Msdp.DeviceStatus.Cooperate",
"SystemCapability.Msdp.DeviceStatus.Stationary"
],
"hisysevent_config": [ "//base/msdp/device_status/hisysevent.yaml" ],
"hisysevent_config": [
"//base/msdp/device_status/hisysevent.yaml",
"//base/msdp/device_status/hisyseventdrague.yaml"
],
"features": [
"device_status_intention_framework",
"device_status_rust_enabled",

50
hisyseventdrague.yaml Normal file
View File

@ -0,0 +1,50 @@
# Copyright (c) 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: DRAG_UE
DRAG_START:
__BASE: {type: BEHAVIOR, level: CRITICAL, desc: start drag, preserve: true}
PNAMEID: {type: STRING, desc: package name}
PVERSIONID: {type: STRING, desc: application version}
RESULT: {type: INT32, desc: dragging result}
HOSTNAME: {type: STRING, desc: invoking application package name}
SUMMARYTYPE: {type: STRING, desc: type of the object to be dragged}
SUMMARYNUM: {type: INT32, desc: number of objects to be dragged}
DRAG_STOP:
__BASE: {type: BEHAVIOR, level: CRITICAL, desc: stop drag, preserve: true}
PNAMEID: {type: STRING, desc: package name}
PVERSIONID: {type: STRING, desc: application version}
ISCROSSING: {type: INT32, desc: cross-end drag}
RESULT: {type: INT32, desc: dragging result}
HOSTNAME: {type: STRING, desc: invoking application package name}
ALLOW_DROP_TYPE: {type: STRING, desc: dragging an app to allow the app to fall into the type}
SUMMARYTYPE: {type: STRING, desc: type of the object to be dragged}
SUMMARYNUM: {type: INT32, desc: number of objects to be dragged}
START_CROSSING_DRAG:
__BASE: {type: BEHAVIOR, level: CRITICAL, desc: Start crossing drag, preserve: true}
PNAMEID: {type: STRING, desc: package name}
PVERSIONID: {type: STRING, desc: application version}
HOSTNAME: {type: STRING, desc: host module name}
LOCAL_NET_ID: {type: STRING, desc: local device network id}
PEER_NET_ID: {type: STRING, desc: peer device network id}
END_CROSSING_DRAG:
__BASE: {type: BEHAVIOR, level: CRITICAL, desc: Stop crossing drag, preserve: true}
PNAMEID: {type: STRING, desc: package name}
PVERSIONID: {type: STRING, desc: application version}
HOSTNAME: {type: STRING, desc: host module name}
LOCAL_NET_ID: {type: STRING, desc: local device network id}
PEER_NET_ID: {type: STRING, desc: peer device network id}