mirror of
https://github.com/openharmony/distributedhardware_distributed_input.git
synced 2026-07-18 16:04:40 -04:00
@@ -41,6 +41,10 @@ public:
|
||||
int32_t UnsubscribeLocalHardware(const std::string &dhId) override;
|
||||
void OnRemoteSinkSvrDied(const wptr<IRemoteObject> &remote);
|
||||
void FinishStartSA(const std::string ¶ms, const sptr<IRemoteObject> &remoteObject);
|
||||
int32_t RegisterPrivacyResources(std::shared_ptr<PrivacyResourcesListener> listener) override;
|
||||
int32_t PauseDistributedHardware(const std::string &networkId) override;
|
||||
int32_t ResumeDistributedHardware(const std::string &networkId) override;
|
||||
int32_t StopDistributedHardware(const std::string &networkId) override;
|
||||
|
||||
public:
|
||||
class SALoadSinkCb : public OHOS::SystemAbilityLoadCallbackStub {
|
||||
|
||||
@@ -155,6 +155,26 @@ void DistributedInputSinkHandler::OnRemoteSinkSvrDied(const wptr<IRemoteObject>
|
||||
dInputSinkProxy_ = nullptr;
|
||||
}
|
||||
|
||||
int32_t DistributedInputSinkHandler::RegisterPrivacyResources(std::shared_ptr<PrivacyResourcesListener> listener)
|
||||
{
|
||||
return DH_SUCCESS;
|
||||
}
|
||||
|
||||
int32_t DistributedInputSinkHandler::PauseDistributedHardware(const std::string &networkId)
|
||||
{
|
||||
return DH_SUCCESS;
|
||||
}
|
||||
|
||||
int32_t DistributedInputSinkHandler::ResumeDistributedHardware(const std::string &networkId)
|
||||
{
|
||||
return DH_SUCCESS;
|
||||
}
|
||||
|
||||
int32_t DistributedInputSinkHandler::StopDistributedHardware(const std::string &networkId)
|
||||
{
|
||||
return DH_SUCCESS;
|
||||
}
|
||||
|
||||
IDistributedHardwareSink *GetSinkHardwareHandler()
|
||||
{
|
||||
return &DistributedInputSinkHandler::GetInstance();
|
||||
|
||||
Reference in New Issue
Block a user