Home
last modified time | relevance | path

Searched refs:screenInfoKey (Results 1 - 4 of 4) sorted by relevance

/foundation/distributedhardware/distributed_input/utils/src/
H A Ddinput_context.cpp36 DHLOGI("GetScreenInfoKey screenInfoKey: %{public}s, sourceWinId: %{public}" PRIu64 "", in GetScreenInfoKey()
41 int32_t DInputContext::RemoveSinkScreenInfo(const std::string &screenInfoKey) in RemoveSinkScreenInfo() argument
43 DHLOGI("RemoveSinkScreenInfo screenInfoKey: %{public}s", GetAnonyString(screenInfoKey).c_str()); in RemoveSinkScreenInfo()
45 sinkScreenInfoMap_.erase(screenInfoKey); in RemoveSinkScreenInfo()
49 int32_t DInputContext::UpdateSinkScreenInfo(const std::string &screenInfoKey, const SinkScreenInfo &sinkScreenInfo) in UpdateSinkScreenInfo() argument
51 DHLOGI("UpdateSinkScreenInfo screenInfoKey: %{public}s", GetAnonyString(screenInfoKey).c_str()); in UpdateSinkScreenInfo()
53 if (sinkScreenInfoMap_.count(screenInfoKey) <= 0) { in UpdateSinkScreenInfo()
63 sinkScreenInfoMap_[screenInfoKey] in UpdateSinkScreenInfo()
67 GetSinkScreenInfo(const std::string &screenInfoKey) GetSinkScreenInfo() argument
86 RemoveSrcScreenInfo(const std::string &screenInfoKey) RemoveSrcScreenInfo() argument
94 UpdateSrcScreenInfo(const std::string &screenInfoKey, const SrcScreenInfo &srcScreenInfo) UpdateSrcScreenInfo() argument
107 GetSrcScreenInfo(const std::string &screenInfoKey) GetSrcScreenInfo() argument
[all...]
/foundation/distributedhardware/distributed_input/utils/include/
H A Ddinput_context.h57 int32_t RemoveSinkScreenInfo(const std::string &screenInfoKey);
58 int32_t UpdateSinkScreenInfo(const std::string &screenInfoKey, const SinkScreenInfo &sinkScreenInfo);
59 SinkScreenInfo GetSinkScreenInfo(const std::string &screenInfoKey);
62 int32_t RemoveSrcScreenInfo(const std::string &screenInfoKey);
63 int32_t UpdateSrcScreenInfo(const std::string &screenInfoKey, const SrcScreenInfo &srcScreenInfo);
64 SrcScreenInfo GetSrcScreenInfo(const std::string &screenInfoKey);
/foundation/distributedhardware/distributed_input/services/source/sourcemanager/src/
H A Ddistributed_input_source_manager.cpp1690 std::string screenInfoKey = DInputContext::GetInstance().GetScreenInfoKey(sourceDevId, sourceWinId); in OnMessage() local
1691 DHLOGI("screenInfoKey: %{public}s", GetAnonyString(screenInfoKey).c_str()); in OnMessage()
1692 SrcScreenInfo srcScreenInfo = DInputContext::GetInstance().GetSrcScreenInfo(screenInfoKey); in OnMessage()
1701 int32_t removeCacheRes = DInputContext::GetInstance().RemoveSrcScreenInfo(screenInfoKey); in OnMessage()
1707 int32_t rpcRes = DistributedInputClient::GetInstance().NotifyStopDScreen(sinkDevId, screenInfoKey); in OnMessage()
1772 std::string screenInfoKey = DInputContext::GetInstance().GetScreenInfoKey(srcDevId_, srcWinId_); in OnRemoteDied() local
1773 SrcScreenInfo srcScreenInfo = DInputContext::GetInstance().GetSrcScreenInfo(screenInfoKey); in OnRemoteDied()
1782 int32_t removeCacheRes = DInputContext::GetInstance().RemoveSrcScreenInfo(screenInfoKey); in OnRemoteDied()
1788 int32_t rpcRes = DistributedInputClient::GetInstance().NotifyStopDScreen(sinkDevId_, screenInfoKey); in OnRemoteDied()
[all...]
/foundation/distributedhardware/distributed_input/services/sink/sinkmanager/src/
H A Ddistributed_input_sink_manager.cpp970 std::string screenInfoKey = DInputContext::GetInstance().GetScreenInfoKey(srcScreenInfo.devId, in NotifyStartDScreen() local
972 SinkScreenInfo sinkScreenInfo = DInputContext::GetInstance().GetSinkScreenInfo(screenInfoKey); in NotifyStartDScreen()
979 int32_t ret = DInputContext::GetInstance().UpdateSinkScreenInfo(screenInfoKey, sinkScreenInfo); in NotifyStartDScreen()
1019 DHLOGI("CleanExceptionalInfo screenInfoKey: %{public}s, sessionId: %{public}d", id.c_str(), sessionId); in CleanExceptionalInfo()

Completed in 12 milliseconds