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
@@ -35,14 +35,14 @@ namespace DistributedInput {
class DistributedInputSourceHandler : public IDistributedHardwareSource {
DECLARE_SINGLE_INSTANCE_BASE(DistributedInputSourceHandler);
public:
int32_t InitSource(const std::string& params) override;
int32_t InitSource(const std::string &params) override;
int32_t ReleaseSource() override;
int32_t RegisterDistributedHardware(const std::string& devId, const std::string& dhId,
const EnableParam& param, std::shared_ptr<RegisterCallback> callback) override;
int32_t UnregisterDistributedHardware(const std::string& devId, const std::string& dhId,
int32_t RegisterDistributedHardware(const std::string &devId, const std::string &dhId,
const EnableParam &param, std::shared_ptr<RegisterCallback> callback) override;
int32_t UnregisterDistributedHardware(const std::string &devId, const std::string &dhId,
std::shared_ptr<UnregisterCallback> callback) override;
int32_t ConfigDistributedHardware(const std::string& devId, const std::string& dhId, const std::string& key,
const std::string& value) override;
int32_t ConfigDistributedHardware(const std::string &devId, const std::string &dhId, const std::string &key,
const std::string &value) override;
void FinishStartSA(const std::string &params, const sptr<IRemoteObject> &remoteObject);
public:
@@ -50,7 +50,7 @@ public:
class SALoadSourceCb : 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;