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
+2 -2
View File
@@ -76,7 +76,7 @@ SinkScreenInfo DInputContext::GetSinkScreenInfo(const std::string &screenInfoKey
return sinkScreenInfoMap_[screenInfoKey];
}
const std::unordered_map<std::string, SinkScreenInfo>& DInputContext::GetAllSinkScreenInfo()
const std::unordered_map<std::string, SinkScreenInfo> &DInputContext::GetAllSinkScreenInfo()
{
std::lock_guard<std::mutex> lock(sinkMapMutex_);
return sinkScreenInfoMap_;
@@ -195,7 +195,7 @@ sptr<IRemoteObject> DInputContext::GetRemoteObject(const int32_t saId)
return remoteObject;
}
void DInputContext::AddRemoteObject(const int32_t saId, const sptr<IRemoteObject>& remoteObject)
void DInputContext::AddRemoteObject(const int32_t saId, const sptr<IRemoteObject> &remoteObject)
{
std::lock_guard<std::mutex> lock(remoteObjectsMutex_);
remoteObjects_[saId] = remoteObject;