sa串行化

Signed-off-by: li-tiangang4 <litiangang4@huawei.com>
This commit is contained in:
li-tiangang4
2024-02-26 11:04:04 +08:00
parent bfbbfcc863
commit cc32252c8a
17 changed files with 59 additions and 39 deletions
@@ -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)
{
}
@@ -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)
{
}
@@ -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<uint32_t>(IDInputSinkInterfaceCode::INIT)] =
@@ -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();
}
@@ -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)
{
}
@@ -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)
@@ -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)
{
}
@@ -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)
{
}
@@ -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)
{
}
@@ -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)
@@ -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)
@@ -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)
{
}
@@ -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)
@@ -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)
@@ -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)
{
}
@@ -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)
{
}
@@ -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)
{
}