From 7de7372bfcbc19154d6f4c47721f18fe19ef65c0 Mon Sep 17 00:00:00 2001 From: li-tiangang4 Date: Mon, 26 Feb 2024 11:04:04 +0800 Subject: [PATCH] =?UTF-8?q?sa=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, 59 insertions(+), 39 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 622f166..955f62d 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-2022 Huawei Device Co., Ltd. + * Copyright (c) 2021-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 @@ -24,7 +24,7 @@ namespace OHOS { namespace DistributedHardware { namespace DistributedInput { -AddWhiteListInfosCallbackStub::AddWhiteListInfosCallbackStub() +AddWhiteListInfosCallbackStub::AddWhiteListInfosCallbackStub() : IRemoteStub(true) { } 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 0c2b6b5..7198120 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-2022 Huawei Device Co., Ltd. + * Copyright (c) 2021-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 @@ -24,7 +24,7 @@ namespace OHOS { namespace DistributedHardware { namespace DistributedInput { -DelWhiteListInfosCallbackStub::DelWhiteListInfosCallbackStub() +DelWhiteListInfosCallbackStub::DelWhiteListInfosCallbackStub() : IRemoteStub(true) { } diff --git a/interfaces/ipc/src/distributed_input_sink_stub.cpp b/interfaces/ipc/src/distributed_input_sink_stub.cpp index 819ca78..48d705a 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-2023 Huawei Device Co., Ltd. + * Copyright (c) 2021-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 @@ -27,7 +27,7 @@ namespace OHOS { namespace DistributedHardware { namespace DistributedInput { -DistributedInputSinkStub::DistributedInputSinkStub() +DistributedInputSinkStub::DistributedInputSinkStub() : IRemoteStub(true) { 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 624aabc..9f89dbe 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-2023 Huawei Device Co., Ltd. + * Copyright (c) 2021-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 @@ -25,7 +25,7 @@ namespace OHOS { namespace DistributedHardware { namespace DistributedInput { -DistributedInputSourceStub::DistributedInputSourceStub() +DistributedInputSourceStub::DistributedInputSourceStub() : IRemoteStub(true) { 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 7537ec5..16b7d58 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 Huawei Device Co., Ltd. + * 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 @@ -24,7 +24,7 @@ namespace OHOS { namespace DistributedHardware { namespace DistributedInput { -GetSinkScreenInfosCallbackStub::GetSinkScreenInfosCallbackStub() +GetSinkScreenInfosCallbackStub::GetSinkScreenInfosCallbackStub() : IRemoteStub(true) { } diff --git a/interfaces/ipc/src/input_node_listener_stub.cpp b/interfaces/ipc/src/input_node_listener_stub.cpp index 348a42b..6d49ca8 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 Huawei Device Co., Ltd. + * 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 @@ -24,9 +24,13 @@ namespace OHOS { namespace DistributedHardware { namespace DistributedInput { -InputNodeListenerStub::InputNodeListenerStub() {} +InputNodeListenerStub::InputNodeListenerStub() : IRemoteStub(true) +{ +} -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 0796aa4..11087b9 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-2022 Huawei Device Co., Ltd. + * Copyright (c) 2021-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 @@ -24,7 +24,7 @@ namespace OHOS { namespace DistributedHardware { namespace DistributedInput { -PrepareDInputCallbackStub::PrepareDInputCallbackStub() +PrepareDInputCallbackStub::PrepareDInputCallbackStub() : IRemoteStub(true) { } 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 935c6ca..6309021 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-2022 Huawei Device Co., Ltd. + * Copyright (c) 2021-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 @@ -24,7 +24,7 @@ namespace OHOS { namespace DistributedHardware { namespace DistributedInput { -RegisterDInputCallbackStub::RegisterDInputCallbackStub() +RegisterDInputCallbackStub::RegisterDInputCallbackStub() : IRemoteStub(true) { } diff --git a/interfaces/ipc/src/register_session_state_callback_stub.cpp b/interfaces/ipc/src/register_session_state_callback_stub.cpp index 7455a66..2fe7016 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 Huawei Device Co., Ltd. + * Copyright (c) 2023-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 @@ -24,7 +24,7 @@ namespace OHOS { namespace DistributedHardware { namespace DistributedInput { -RegisterSessionStateCallbackStub::RegisterSessionStateCallbackStub() +RegisterSessionStateCallbackStub::RegisterSessionStateCallbackStub() : IRemoteStub(true) { } diff --git a/interfaces/ipc/src/sharing_dhid_listener_stub.cpp b/interfaces/ipc/src/sharing_dhid_listener_stub.cpp index 4410adb..20e7578 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 Huawei Device Co., Ltd. + * 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 @@ -24,9 +24,13 @@ namespace OHOS { namespace DistributedHardware { namespace DistributedInput { -SharingDhIdListenerStub::SharingDhIdListenerStub() {} +SharingDhIdListenerStub::SharingDhIdListenerStub() : IRemoteStub(true) +{ +} -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 34b2b70..429c3f8 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 Huawei Device Co., Ltd. + * 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 @@ -24,9 +24,13 @@ namespace OHOS { namespace DistributedHardware { namespace DistributedInput { -SimulationEventListenerStub::SimulationEventListenerStub() {} +SimulationEventListenerStub::SimulationEventListenerStub() : IRemoteStub(true) +{ +} -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 b9243b1..527669f 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-2022 Huawei Device Co., Ltd. + * Copyright (c) 2021-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 @@ -24,7 +24,7 @@ namespace OHOS { namespace DistributedHardware { namespace DistributedInput { -StartDInputCallbackStub::StartDInputCallbackStub() +StartDInputCallbackStub::StartDInputCallbackStub() : IRemoteStub(true) { } 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 748b7a6..d45441a 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 Huawei Device Co., Ltd. + * 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 @@ -24,9 +24,13 @@ namespace OHOS { namespace DistributedHardware { namespace DistributedInput { -StartStopDInputsCallbackStub::StartStopDInputsCallbackStub() {} +StartStopDInputsCallbackStub::StartStopDInputsCallbackStub() : IRemoteStub(true) +{ +} -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 5c41b09..c68fab6 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 Huawei Device Co., Ltd. + * 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 @@ -24,9 +24,13 @@ namespace OHOS { namespace DistributedHardware { namespace DistributedInput { -StartStopResultCallbackStub::StartStopResultCallbackStub() {} +StartStopResultCallbackStub::StartStopResultCallbackStub() : IRemoteStub(true) +{ +} -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 64f8d5f..c1f0294 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-2022 Huawei Device Co., Ltd. + * Copyright (c) 2021-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 @@ -24,7 +24,7 @@ namespace OHOS { namespace DistributedHardware { namespace DistributedInput { -StopDInputCallbackStub::StopDInputCallbackStub() +StopDInputCallbackStub::StopDInputCallbackStub() : IRemoteStub(true) { } 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 f248c93..15652f6 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-2022 Huawei Device Co., Ltd. + * Copyright (c) 2021-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 @@ -24,7 +24,7 @@ namespace OHOS { namespace DistributedHardware { namespace DistributedInput { -UnprepareDInputCallbackStub::UnprepareDInputCallbackStub() +UnprepareDInputCallbackStub::UnprepareDInputCallbackStub() : IRemoteStub(true) { } 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 6270c3c..4906258 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-2022 Huawei Device Co., Ltd. + * Copyright (c) 2021-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 @@ -24,7 +24,7 @@ namespace OHOS { namespace DistributedHardware { namespace DistributedInput { -UnregisterDInputCallbackStub::UnregisterDInputCallbackStub() +UnregisterDInputCallbackStub::UnregisterDInputCallbackStub() : IRemoteStub(true) { } -- Gitee