dinput参数&整改

Signed-off-by: litiangang4 <litiangang4@huawei.com>
This commit is contained in:
litiangang4
2023-08-07 20:07:42 +08:00
parent 741e62e8c8
commit 013181cd2b
104 changed files with 600 additions and 600 deletions
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2021-2022 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
@@ -34,17 +34,17 @@ namespace DistributedInput {
class DistributedInputSinkHandler : public IDistributedHardwareSink {
DECLARE_SINGLE_INSTANCE_BASE(DistributedInputSinkHandler);
public:
int32_t InitSink(const std::string& params) override;
int32_t InitSink(const std::string &params) override;
int32_t ReleaseSink() override;
int32_t SubscribeLocalHardware(const std::string& dhId, const std::string& params) override;
int32_t UnsubscribeLocalHardware(const std::string& dhId) override;
int32_t SubscribeLocalHardware(const std::string &dhId, const std::string &params) override;
int32_t UnsubscribeLocalHardware(const std::string &dhId) override;
void FinishStartSA(const std::string &params, const sptr<IRemoteObject> &remoteObject);
public:
class SALoadSinkCb : public OHOS::SystemAbilityLoadCallbackStub {
public:
void OnLoadSystemAbilitySuccess(int32_t systemAbilityId,
const OHOS::sptr<IRemoteObject>& remoteObject) override;
const OHOS::sptr<IRemoteObject> &remoteObject) override;
void OnLoadSystemAbilityFail(int32_t systemAbilityId) override;