From a42a3ddf702083dc2e97464bd5514dd0f82c55d5 Mon Sep 17 00:00:00 2001 From: li-tiangang4 Date: Wed, 21 May 2025 11:19:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E6=AD=A5=E4=BF=AE=E6=94=B9=E9=9D=99?= =?UTF-8?q?=E6=80=81=E6=A3=80=E6=9F=A5=E5=91=8A=E8=AD=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: li-tiangang4 --- .../src/distributed_hardware_stub.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/services/distributedhardwarefwkservice/src/distributed_hardware_stub.cpp b/services/distributedhardwarefwkservice/src/distributed_hardware_stub.cpp index 1285e94c..19c8d505 100644 --- a/services/distributedhardwarefwkservice/src/distributed_hardware_stub.cpp +++ b/services/distributedhardwarefwkservice/src/distributed_hardware_stub.cpp @@ -79,15 +79,6 @@ int32_t DistributedHardwareStub::OnRemoteRequest(uint32_t code, MessageParcel &d case static_cast(DHMsgInterfaceCode::NOTIFY_SOURCE_DEVICE_REMOTE_DMSDP_STARTED): { return HandleNotifySourceRemoteSinkStarted(data, reply); } - case static_cast(DHMsgInterfaceCode::PAUSE_DISTRIBUTED_HARDWARE): { - return PauseDistributedHardwareInner(data, reply); - } - case static_cast(DHMsgInterfaceCode::RESUME_DISTRIBUTED_HARDWARE): { - return ResumeDistributedHardwareInner(data, reply); - } - case static_cast(DHMsgInterfaceCode::STOP_DISTRIBUTED_HARDWARE): { - return StopDistributedHardwareInner(data, reply); - } default: return OnRemoteRequestEx(code, data, reply, option); } @@ -608,6 +599,15 @@ int32_t DistributedHardwareStub::OnRemoteRequestEx(uint32_t code, MessageParcel MessageOption &option) { switch (code) { + case static_cast(DHMsgInterfaceCode::PAUSE_DISTRIBUTED_HARDWARE): { + return PauseDistributedHardwareInner(data, reply); + } + case static_cast(DHMsgInterfaceCode::RESUME_DISTRIBUTED_HARDWARE): { + return ResumeDistributedHardwareInner(data, reply); + } + case static_cast(DHMsgInterfaceCode::STOP_DISTRIBUTED_HARDWARE): { + return StopDistributedHardwareInner(data, reply); + } case static_cast(DHMsgInterfaceCode::GET_DISTRIBUTED_HARDWARE): { return GetDistributedHardwareInner(data, reply); } -- Gitee