From 28575ca29ea8eb1a37caac79e693e9b492ed11d9 Mon Sep 17 00:00:00 2001 From: li-tiangang4 Date: Wed, 6 Mar 2024 08:56:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E9=80=80sa=E4=B8=B2=E8=A1=8C=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: li-tiangang4 --- .../ipc/src/add_white_list_infos_call_back_stub.cpp | 4 ++-- .../ipc/src/del_white_list_infos_call_back_stub.cpp | 4 ++-- interfaces/ipc/src/distributed_input_sink_stub.cpp | 4 ++-- interfaces/ipc/src/distributed_input_source_stub.cpp | 4 ++-- .../ipc/src/get_sink_screen_infos_call_back_stub.cpp | 4 ++-- interfaces/ipc/src/input_node_listener_stub.cpp | 10 +++------- interfaces/ipc/src/prepare_d_input_call_back_stub.cpp | 4 ++-- interfaces/ipc/src/register_d_input_call_back_stub.cpp | 4 ++-- .../ipc/src/register_session_state_callback_stub.cpp | 4 ++-- interfaces/ipc/src/sharing_dhid_listener_stub.cpp | 10 +++------- interfaces/ipc/src/simulation_event_listener_stub.cpp | 10 +++------- interfaces/ipc/src/start_d_input_call_back_stub.cpp | 4 ++-- .../ipc/src/start_stop_d_inputs_call_back_stub.cpp | 10 +++------- .../ipc/src/start_stop_result_call_back_stub.cpp | 10 +++------- interfaces/ipc/src/stop_d_input_call_back_stub.cpp | 4 ++-- .../ipc/src/unprepare_d_input_call_back_stub.cpp | 4 ++-- .../ipc/src/unregister_d_input_call_back_stub.cpp | 4 ++-- 17 files changed, 39 insertions(+), 59 deletions(-) diff --git a/interfaces/ipc/src/add_white_list_infos_call_back_stub.cpp b/interfaces/ipc/src/add_white_list_infos_call_back_stub.cpp index 955f62d..622f166 100644 --- a/interfaces/ipc/src/add_white_list_infos_call_back_stub.cpp +++ b/interfaces/ipc/src/add_white_list_infos_call_back_stub.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021-2024 Huawei Device Co., Ltd. + * Copyright (c) 2021-2022 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 @@ -24,7 +24,7 @@ namespace OHOS { namespace DistributedHardware { namespace DistributedInput { -AddWhiteListInfosCallbackStub::AddWhiteListInfosCallbackStub() : IRemoteStub(true) +AddWhiteListInfosCallbackStub::AddWhiteListInfosCallbackStub() { } diff --git a/interfaces/ipc/src/del_white_list_infos_call_back_stub.cpp b/interfaces/ipc/src/del_white_list_infos_call_back_stub.cpp index 7198120..0c2b6b5 100644 --- a/interfaces/ipc/src/del_white_list_infos_call_back_stub.cpp +++ b/interfaces/ipc/src/del_white_list_infos_call_back_stub.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021-2024 Huawei Device Co., Ltd. + * Copyright (c) 2021-2022 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 @@ -24,7 +24,7 @@ namespace OHOS { namespace DistributedHardware { namespace DistributedInput { -DelWhiteListInfosCallbackStub::DelWhiteListInfosCallbackStub() : IRemoteStub(true) +DelWhiteListInfosCallbackStub::DelWhiteListInfosCallbackStub() { } diff --git a/interfaces/ipc/src/distributed_input_sink_stub.cpp b/interfaces/ipc/src/distributed_input_sink_stub.cpp index 48d705a..819ca78 100644 --- a/interfaces/ipc/src/distributed_input_sink_stub.cpp +++ b/interfaces/ipc/src/distributed_input_sink_stub.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021-2024 Huawei Device Co., Ltd. + * Copyright (c) 2021-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 @@ -27,7 +27,7 @@ namespace OHOS { namespace DistributedHardware { namespace DistributedInput { -DistributedInputSinkStub::DistributedInputSinkStub() : IRemoteStub(true) +DistributedInputSinkStub::DistributedInputSinkStub() { DHLOGI("DistributedInputSinkStub ctor!"); memberFuncMap_[static_cast(IDInputSinkInterfaceCode::INIT)] = diff --git a/interfaces/ipc/src/distributed_input_source_stub.cpp b/interfaces/ipc/src/distributed_input_source_stub.cpp index 9f89dbe..624aabc 100644 --- a/interfaces/ipc/src/distributed_input_source_stub.cpp +++ b/interfaces/ipc/src/distributed_input_source_stub.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021-2024 Huawei Device Co., Ltd. + * Copyright (c) 2021-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 @@ -25,7 +25,7 @@ namespace OHOS { namespace DistributedHardware { namespace DistributedInput { -DistributedInputSourceStub::DistributedInputSourceStub() : IRemoteStub(true) +DistributedInputSourceStub::DistributedInputSourceStub() { RegRespFunMap(); } diff --git a/interfaces/ipc/src/get_sink_screen_infos_call_back_stub.cpp b/interfaces/ipc/src/get_sink_screen_infos_call_back_stub.cpp index 16b7d58..7537ec5 100644 --- a/interfaces/ipc/src/get_sink_screen_infos_call_back_stub.cpp +++ b/interfaces/ipc/src/get_sink_screen_infos_call_back_stub.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022-2024 Huawei Device Co., Ltd. + * Copyright (c) 2022 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 @@ -24,7 +24,7 @@ namespace OHOS { namespace DistributedHardware { namespace DistributedInput { -GetSinkScreenInfosCallbackStub::GetSinkScreenInfosCallbackStub() : IRemoteStub(true) +GetSinkScreenInfosCallbackStub::GetSinkScreenInfosCallbackStub() { } diff --git a/interfaces/ipc/src/input_node_listener_stub.cpp b/interfaces/ipc/src/input_node_listener_stub.cpp index 6d49ca8..348a42b 100644 --- a/interfaces/ipc/src/input_node_listener_stub.cpp +++ b/interfaces/ipc/src/input_node_listener_stub.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022-2024 Huawei Device Co., Ltd. + * Copyright (c) 2022 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 @@ -24,13 +24,9 @@ namespace OHOS { namespace DistributedHardware { namespace DistributedInput { -InputNodeListenerStub::InputNodeListenerStub() : IRemoteStub(true) -{ -} +InputNodeListenerStub::InputNodeListenerStub() {} -InputNodeListenerStub::~InputNodeListenerStub() -{ -} +InputNodeListenerStub::~InputNodeListenerStub() {} int32_t InputNodeListenerStub::OnRemoteRequest( uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) diff --git a/interfaces/ipc/src/prepare_d_input_call_back_stub.cpp b/interfaces/ipc/src/prepare_d_input_call_back_stub.cpp index 11087b9..0796aa4 100644 --- a/interfaces/ipc/src/prepare_d_input_call_back_stub.cpp +++ b/interfaces/ipc/src/prepare_d_input_call_back_stub.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021-2024 Huawei Device Co., Ltd. + * Copyright (c) 2021-2022 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 @@ -24,7 +24,7 @@ namespace OHOS { namespace DistributedHardware { namespace DistributedInput { -PrepareDInputCallbackStub::PrepareDInputCallbackStub() : IRemoteStub(true) +PrepareDInputCallbackStub::PrepareDInputCallbackStub() { } diff --git a/interfaces/ipc/src/register_d_input_call_back_stub.cpp b/interfaces/ipc/src/register_d_input_call_back_stub.cpp index 6309021..935c6ca 100644 --- a/interfaces/ipc/src/register_d_input_call_back_stub.cpp +++ b/interfaces/ipc/src/register_d_input_call_back_stub.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021-2024 Huawei Device Co., Ltd. + * Copyright (c) 2021-2022 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 @@ -24,7 +24,7 @@ namespace OHOS { namespace DistributedHardware { namespace DistributedInput { -RegisterDInputCallbackStub::RegisterDInputCallbackStub() : IRemoteStub(true) +RegisterDInputCallbackStub::RegisterDInputCallbackStub() { } diff --git a/interfaces/ipc/src/register_session_state_callback_stub.cpp b/interfaces/ipc/src/register_session_state_callback_stub.cpp index 2fe7016..7455a66 100644 --- a/interfaces/ipc/src/register_session_state_callback_stub.cpp +++ b/interfaces/ipc/src/register_session_state_callback_stub.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2023-2024 Huawei Device Co., Ltd. + * Copyright (c) 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 @@ -24,7 +24,7 @@ namespace OHOS { namespace DistributedHardware { namespace DistributedInput { -RegisterSessionStateCallbackStub::RegisterSessionStateCallbackStub() : IRemoteStub(true) +RegisterSessionStateCallbackStub::RegisterSessionStateCallbackStub() { } diff --git a/interfaces/ipc/src/sharing_dhid_listener_stub.cpp b/interfaces/ipc/src/sharing_dhid_listener_stub.cpp index 20e7578..4410adb 100644 --- a/interfaces/ipc/src/sharing_dhid_listener_stub.cpp +++ b/interfaces/ipc/src/sharing_dhid_listener_stub.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022-2024 Huawei Device Co., Ltd. + * Copyright (c) 2022 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 @@ -24,13 +24,9 @@ namespace OHOS { namespace DistributedHardware { namespace DistributedInput { -SharingDhIdListenerStub::SharingDhIdListenerStub() : IRemoteStub(true) -{ -} +SharingDhIdListenerStub::SharingDhIdListenerStub() {} -SharingDhIdListenerStub::~SharingDhIdListenerStub() -{ -} +SharingDhIdListenerStub::~SharingDhIdListenerStub() {} int32_t SharingDhIdListenerStub::OnRemoteRequest( uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) diff --git a/interfaces/ipc/src/simulation_event_listener_stub.cpp b/interfaces/ipc/src/simulation_event_listener_stub.cpp index 429c3f8..34b2b70 100644 --- a/interfaces/ipc/src/simulation_event_listener_stub.cpp +++ b/interfaces/ipc/src/simulation_event_listener_stub.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022-2024 Huawei Device Co., Ltd. + * Copyright (c) 2022 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 @@ -24,13 +24,9 @@ namespace OHOS { namespace DistributedHardware { namespace DistributedInput { -SimulationEventListenerStub::SimulationEventListenerStub() : IRemoteStub(true) -{ -} +SimulationEventListenerStub::SimulationEventListenerStub() {} -SimulationEventListenerStub::~SimulationEventListenerStub() -{ -} +SimulationEventListenerStub::~SimulationEventListenerStub() {} int32_t SimulationEventListenerStub::OnRemoteRequest( uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) diff --git a/interfaces/ipc/src/start_d_input_call_back_stub.cpp b/interfaces/ipc/src/start_d_input_call_back_stub.cpp index 527669f..b9243b1 100644 --- a/interfaces/ipc/src/start_d_input_call_back_stub.cpp +++ b/interfaces/ipc/src/start_d_input_call_back_stub.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021-2024 Huawei Device Co., Ltd. + * Copyright (c) 2021-2022 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 @@ -24,7 +24,7 @@ namespace OHOS { namespace DistributedHardware { namespace DistributedInput { -StartDInputCallbackStub::StartDInputCallbackStub() : IRemoteStub(true) +StartDInputCallbackStub::StartDInputCallbackStub() { } diff --git a/interfaces/ipc/src/start_stop_d_inputs_call_back_stub.cpp b/interfaces/ipc/src/start_stop_d_inputs_call_back_stub.cpp index d45441a..748b7a6 100644 --- a/interfaces/ipc/src/start_stop_d_inputs_call_back_stub.cpp +++ b/interfaces/ipc/src/start_stop_d_inputs_call_back_stub.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022-2024 Huawei Device Co., Ltd. + * Copyright (c) 2022 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 @@ -24,13 +24,9 @@ namespace OHOS { namespace DistributedHardware { namespace DistributedInput { -StartStopDInputsCallbackStub::StartStopDInputsCallbackStub() : IRemoteStub(true) -{ -} +StartStopDInputsCallbackStub::StartStopDInputsCallbackStub() {} -StartStopDInputsCallbackStub::~StartStopDInputsCallbackStub() -{ -} +StartStopDInputsCallbackStub::~StartStopDInputsCallbackStub() {} int32_t StartStopDInputsCallbackStub::OnRemoteRequest( uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) diff --git a/interfaces/ipc/src/start_stop_result_call_back_stub.cpp b/interfaces/ipc/src/start_stop_result_call_back_stub.cpp index c68fab6..5c41b09 100644 --- a/interfaces/ipc/src/start_stop_result_call_back_stub.cpp +++ b/interfaces/ipc/src/start_stop_result_call_back_stub.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022-2024 Huawei Device Co., Ltd. + * Copyright (c) 2022 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 @@ -24,13 +24,9 @@ namespace OHOS { namespace DistributedHardware { namespace DistributedInput { -StartStopResultCallbackStub::StartStopResultCallbackStub() : IRemoteStub(true) -{ -} +StartStopResultCallbackStub::StartStopResultCallbackStub() {} -StartStopResultCallbackStub::~StartStopResultCallbackStub() -{ -} +StartStopResultCallbackStub::~StartStopResultCallbackStub() {} int32_t StartStopResultCallbackStub::OnRemoteRequest( uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) diff --git a/interfaces/ipc/src/stop_d_input_call_back_stub.cpp b/interfaces/ipc/src/stop_d_input_call_back_stub.cpp index c1f0294..64f8d5f 100644 --- a/interfaces/ipc/src/stop_d_input_call_back_stub.cpp +++ b/interfaces/ipc/src/stop_d_input_call_back_stub.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021-2024 Huawei Device Co., Ltd. + * Copyright (c) 2021-2022 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 @@ -24,7 +24,7 @@ namespace OHOS { namespace DistributedHardware { namespace DistributedInput { -StopDInputCallbackStub::StopDInputCallbackStub() : IRemoteStub(true) +StopDInputCallbackStub::StopDInputCallbackStub() { } diff --git a/interfaces/ipc/src/unprepare_d_input_call_back_stub.cpp b/interfaces/ipc/src/unprepare_d_input_call_back_stub.cpp index 15652f6..f248c93 100644 --- a/interfaces/ipc/src/unprepare_d_input_call_back_stub.cpp +++ b/interfaces/ipc/src/unprepare_d_input_call_back_stub.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021-2024 Huawei Device Co., Ltd. + * Copyright (c) 2021-2022 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 @@ -24,7 +24,7 @@ namespace OHOS { namespace DistributedHardware { namespace DistributedInput { -UnprepareDInputCallbackStub::UnprepareDInputCallbackStub() : IRemoteStub(true) +UnprepareDInputCallbackStub::UnprepareDInputCallbackStub() { } diff --git a/interfaces/ipc/src/unregister_d_input_call_back_stub.cpp b/interfaces/ipc/src/unregister_d_input_call_back_stub.cpp index 4906258..6270c3c 100644 --- a/interfaces/ipc/src/unregister_d_input_call_back_stub.cpp +++ b/interfaces/ipc/src/unregister_d_input_call_back_stub.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021-2024 Huawei Device Co., Ltd. + * Copyright (c) 2021-2022 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 @@ -24,7 +24,7 @@ namespace OHOS { namespace DistributedHardware { namespace DistributedInput { -UnregisterDInputCallbackStub::UnregisterDInputCallbackStub() : IRemoteStub(true) +UnregisterDInputCallbackStub::UnregisterDInputCallbackStub() { } -- Gitee