From 19a4d4e7e2c15c67e5c14cf318b8472e7893beaf Mon Sep 17 00:00:00 2001 From: qianli Date: Thu, 27 Apr 2023 02:59:39 +0000 Subject: [PATCH] update yaml Signed-off-by: qianli Change-Id: Ic8b6ad1a09bf318124e7c61a3b13b438253f737a --- hisysevent.yaml | 38 ++++++++++++------- .../distributed_sched_service_test.cpp | 8 ++-- 2 files changed, 29 insertions(+), 17 deletions(-) diff --git a/hisysevent.yaml b/hisysevent.yaml index 26bb62b0..4ee0d844 100644 --- a/hisysevent.yaml +++ b/hisysevent.yaml @@ -1,4 +1,4 @@ -# Copyright (c) 2022 Huawei Device Co., Ltd. +# Copyright (c) 2022-2023 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 @@ -18,60 +18,72 @@ START_REMOTE_ABILITY: CALLING_TYPE: {type: STRING, desc: calling type} CALLING_UID: {type: INT32, desc: calling uid} CALLING_PID: {type: INT32, desc: calling pid} - TARGET_BUNDLE: {type: STRING, desc: target bundle name} - TARGET_ABILITY: {type: STRING, desc: target ability name} + CALLEE_BUNDLE: {type: STRING, desc: callee bundle name} + CALLEE_ABILITY: {type: STRING, desc: callee ability name} CALLING_APP_UID: {type: INT32, desc: calling app uid} RESULT: {type: INT32, desc: result code} + CALLER_BUNDLE: {type: STRING, desc: caller bundle name} + VERSION: {type: STRING, desc: caller bundle version} CONNECT_REMOTE_ABILITY: __BASE: {type: BEHAVIOR, level: MINOR, tag: connect, desc: connect remote ability} CALLING_TYPE: {type: STRING, desc: calling type} CALLING_UID: {type: INT32, desc: calling uid} CALLING_PID: {type: INT32, desc: calling pid} - TARGET_BUNDLE: {type: STRING, desc: target bundle name} - TARGET_ABILITY: {type: STRING, desc: target ability name} + CALLEE_BUNDLE: {type: STRING, desc: callee bundle name} + CALLEE_ABILITY: {type: STRING, desc: callee ability name} CALLING_APP_UID: {type: INT32, desc: calling app uid} RESULT: {type: INT32, desc: result code} + CALLER_BUNDLE: {type: STRING, desc: caller bundle name} + VERSION: {type: STRING, desc: caller bundle version} DISCONNECT_REMOTE_ABILITY: __BASE: {type: BEHAVIOR, level: MINOR, tag: connect, desc: disconnect remote ability} CALLING_TYPE: {type: STRING, desc: calling type} CALLING_UID: {type: INT32, desc: calling uid} CALLING_PID: {type: INT32, desc: calling pid} - TARGET_BUNDLE: {type: STRING, desc: target bundle name} - TARGET_ABILITY: {type: STRING, desc: target ability name} + CALLEE_BUNDLE: {type: STRING, desc: callee bundle name} + CALLEE_ABILITY: {type: STRING, desc: callee ability name} CALLING_APP_UID: {type: INT32, desc: calling app uid} RESULT: {type: INT32, desc: result code} + CALLER_BUNDLE: {type: STRING, desc: caller bundle name} + VERSION: {type: STRING, desc: caller bundle version} START_REMOTE_ABILITY_BYCALL: __BASE: {type: BEHAVIOR, level: MINOR, tag: start, desc: start remote ability by call} CALLING_TYPE: {type: STRING, desc: calling type} CALLING_UID: {type: INT32, desc: calling uid} CALLING_PID: {type: INT32, desc: calling pid} - TARGET_BUNDLE: {type: STRING, desc: target bundle name} - TARGET_ABILITY: {type: STRING, desc: target ability name} + CALLEE_BUNDLE: {type: STRING, desc: callee bundle name} + CALLEE_ABILITY: {type: STRING, desc: callee ability name} CALLING_APP_UID: {type: INT32, desc: calling app uid} RESULT: {type: INT32, desc: result code} + CALLER_BUNDLE: {type: STRING, desc: caller bundle name} + VERSION: {type: STRING, desc: caller bundle version} RELEASE_REMOTE_ABILITY: __BASE: {type: BEHAVIOR, level: MINOR, tag: start, desc: release remote ability} CALLING_TYPE: {type: STRING, desc: calling type} CALLING_UID: {type: INT32, desc: calling uid} CALLING_PID: {type: INT32, desc: calling pid} - TARGET_BUNDLE: {type: STRING, desc: target bundle name} - TARGET_ABILITY: {type: STRING, desc: target ability name} + CALLEE_BUNDLE: {type: STRING, desc: callee bundle name} + CALLEE_ABILITY: {type: STRING, desc: callee ability name} CALLING_APP_UID: {type: INT32, desc: calling app uid} RESULT: {type: INT32, desc: result code} + CALLER_BUNDLE: {type: STRING, desc: caller bundle name} + VERSION: {type: STRING, desc: caller bundle version} START_CONTINUATION: __BASE: {type: BEHAVIOR, level: MINOR, tag: continue, desc: start continuation} CALLING_TYPE: {type: STRING, desc: calling type} CALLING_UID: {type: INT32, desc: calling uid} CALLING_PID: {type: INT32, desc: calling pid} - TARGET_BUNDLE: {type: STRING, desc: target bundle name} - TARGET_ABILITY: {type: STRING, desc: target ability name} + CALLEE_BUNDLE: {type: STRING, desc: callee bundle name} + CALLEE_ABILITY: {type: STRING, desc: callee ability name} CALLING_APP_UID: {type: INT32, desc: calling app uid} RESULT: {type: INT32, desc: result code} + CALLER_BUNDLE: {type: STRING, desc: caller bundle name} + VERSION: {type: STRING, desc: caller bundle version} START_ABILITY_FAILED: diff --git a/services/dtbschedmgr/test/unittest/distributed_sched_service_test.cpp b/services/dtbschedmgr/test/unittest/distributed_sched_service_test.cpp index 0373fc70..14b3f2e7 100644 --- a/services/dtbschedmgr/test/unittest/distributed_sched_service_test.cpp +++ b/services/dtbschedmgr/test/unittest/distributed_sched_service_test.cpp @@ -1659,7 +1659,7 @@ HWTEST_F(DistributedSchedServiceTest, GetAppManager_001, TestSize.Level3) * @tc.name: NotifyStateChanged_002 * @tc.desc: test NotifyStateChanged * @tc.type: FUNC - * @tc.require: I6VDBO + * @tc.require: I6VDBO */ HWTEST_F(DistributedSchedServiceTest, NotifyStateChanged_002, TestSize.Level3) { @@ -1683,7 +1683,7 @@ HWTEST_F(DistributedSchedServiceTest, NotifyStateChanged_002, TestSize.Level3) * @tc.name: NotifyStateChanged_003 * @tc.desc: test NotifyStateChanged * @tc.type: FUNC - * @tc.require: I6VDBO + * @tc.require: I6VDBO */ HWTEST_F(DistributedSchedServiceTest, NotifyStateChanged_003, TestSize.Level3) { @@ -1727,7 +1727,7 @@ HWTEST_F(DistributedSchedServiceTest, NotifyStateChangedFromRemote_004, TestSize * @tc.name: NotifyStateChangedFromRemote_005 * @tc.desc: test NotifyStateChangedFromRemote * @tc.type: FUNC - * @tc.require: I6VDBO + * @tc.require: I6VDBO */ HWTEST_F(DistributedSchedServiceTest, NotifyStateChangedFromRemote_005, TestSize.Level3) { @@ -1750,7 +1750,7 @@ HWTEST_F(DistributedSchedServiceTest, NotifyStateChangedFromRemote_005, TestSize * @tc.name: NotifyStateChangedFromRemote_006 * @tc.desc: test NotifyStateChangedFromRemote * @tc.type: FUNC - * @tc.require: I6VDBO + * @tc.require: I6VDBO */ HWTEST_F(DistributedSchedServiceTest, NotifyStateChangedFromRemote_006, TestSize.Level3) {