/foundation/distributedhardware/distributed_input/utils/test/unittest/ |
H A D | dinput_context_test.cpp | 52 uint64_t sourceWinId = 1; in HWTEST_F() local 53 std::string ret = DInputContext::GetInstance().GetScreenInfoKey(devId, sourceWinId); in HWTEST_F() 59 std::string sourceWinId = "hello"; in HWTEST_F() local 60 int32_t ret = DInputContext::GetInstance().RemoveSinkScreenInfo(sourceWinId); in HWTEST_F() 66 std::string sourceWinId = "hello"; in HWTEST_F() local 68 int32_t ret = DInputContext::GetInstance().UpdateSinkScreenInfo(sourceWinId, sinkScreenInfo); in HWTEST_F() 74 std::string sourceWinId = "hello"; in HWTEST_F() local 75 SinkScreenInfo sinkScreenInfo = DInputContext::GetInstance().GetSinkScreenInfo(sourceWinId); in HWTEST_F() 76 int32_t ret = DInputContext::GetInstance().UpdateSinkScreenInfo(sourceWinId, sinkScreenInfo); in HWTEST_F() 78 DInputContext::GetInstance().RemoveSinkScreenInfo(sourceWinId); in HWTEST_F() 83 std::string sourceWinId = "hello"; HWTEST_F() local 91 std::string sourceWinId = "hello"; HWTEST_F() local 102 std::string sourceWinId = "hello"; HWTEST_F() local 109 std::string sourceWinId = "hello"; HWTEST_F() local 117 std::string sourceWinId = "hello"; HWTEST_F() local 126 std::string sourceWinId = "hello"; HWTEST_F() local 134 std::string sourceWinId = "hello"; HWTEST_F() local [all...] |
/foundation/distributedhardware/distributed_input/interfaces/ipc/src/ |
H A D | distributed_input_sink_stub.cpp | 110 uint64_t sourceWinId = data.ReadUint64(); in NotifyStartDScreenInner() local 117 DHLOGI("OnRemoteRequest the data: devId: %{public}s, sourceWinId: %{public}" PRIu64 ", sourceWinWidth: %{public}d, " in NotifyStartDScreenInner() 119 "sourcePhyHeight: %{public}d", GetAnonyString(devId).c_str(), sourceWinId, sourceWinWidth, sourceWinHeight, in NotifyStartDScreenInner() 125 .sourceWinId = sourceWinId, in NotifyStartDScreenInner()
|
H A D | distributed_input_sink_proxy.cpp | 102 DHLOGI("DinputSinkProxy the data: devId: %{public}s, sourceWinId: %{public}" PRIu64 ", sourceWinWidth: %{public}d, " in NotifyStartDScreen() 104 "sourcePhyHeight: %{public}d", GetAnonyString(remoteCtrlInfo.devId).c_str(), remoteCtrlInfo.sourceWinId, in NotifyStartDScreen() 109 !data.WriteString(remoteCtrlInfo.uuid) || !data.WriteUint64(remoteCtrlInfo.sourceWinId) || in NotifyStartDScreen()
|
H A D | distributed_input_client.cpp | 731 DHLOGI("DinputSinkProxy the data: devId: %{public}s, sourceWinId: %{public}" PRIu64 ", sourceWinWidth: %{public}d, " in NotifyStartDScreen() 733 "sourcePhyHeight: %{public}d", GetAnonyString(srcScreenInfo.devId).c_str(), srcScreenInfo.sourceWinId, in NotifyStartDScreen()
|
/foundation/distributedhardware/distributed_input/utils/src/ |
H A D | dinput_context.cpp | 34 std::string DInputContext::GetScreenInfoKey(const std::string &devId, const uint64_t sourceWinId) in GetScreenInfoKey() argument 36 DHLOGI("GetScreenInfoKey screenInfoKey: %{public}s, sourceWinId: %{public}" PRIu64 "", in GetScreenInfoKey() 37 GetAnonyString(devId).c_str(), sourceWinId); in GetScreenInfoKey() 38 return devId + RESOURCE_SEPARATOR + std::to_string(sourceWinId); in GetScreenInfoKey()
|
/foundation/distributedhardware/distributed_input/interfaces/inner_kits/test/unittest/ |
H A D | distributed_input_inner_test.cpp | 419 std::string sourceWinId = "123"; in HWTEST_F() local 420 SinkScreenInfo sinkScreenInfo = DInputContext::GetInstance().GetSinkScreenInfo(sourceWinId); in HWTEST_F() 423 DInputContext::GetInstance().UpdateSinkScreenInfo(sourceWinId, sinkScreenInfo); in HWTEST_F() 425 sourceWinId = "456"; in HWTEST_F() 426 sinkScreenInfo = DInputContext::GetInstance().GetSinkScreenInfo(sourceWinId); in HWTEST_F() 429 DInputContext::GetInstance().UpdateSinkScreenInfo(sourceWinId, sinkScreenInfo); in HWTEST_F()
|
/foundation/distributedhardware/distributed_input/services/source/inputinject/src/ |
H A D | distributed_input_inject.cpp | 142 std::string DistributedInputInject::GenerateVirtualTouchScreenDHId(const uint64_t sourceWinId, in GenerateVirtualTouchScreenDHId() argument 145 std::string uniqueInfo = GetLocalNetworkId() + std::to_string(sourceWinId) + in GenerateVirtualTouchScreenDHId()
|
/foundation/distributedhardware/distributed_input/frameworks/include/ |
H A D | i_dinput_context.h | 74 uint64_t sourceWinId = 0; // source projection window id member
|
/foundation/distributedhardware/distributed_input/services/source/inputinject/include/ |
H A D | distributed_input_inject.h | 41 std::string GenerateVirtualTouchScreenDHId(const uint64_t sourceWinId, const uint32_t sourceWinWidth,
|
/foundation/distributedhardware/distributed_input/utils/include/ |
H A D | dinput_context.h | 56 std::string GetScreenInfoKey(const std::string &devId, const uint64_t sourceWinId);
|
/foundation/distributedhardware/distributed_input/services/source/sourcemanager/src/ |
H A D | distributed_input_source_manager.cpp | 1583 srcScreenInfo.sourceWinId, srcScreenInfo.sourceWinWidth, srcScreenInfo.sourceWinHeight); in OnMessage() 1585 virtualTouchScreenDHId, srcScreenInfo.sourceWinId, srcScreenInfo.sourceWinWidth, in OnMessage() 1599 srcScreenInfo.sourceWinId); in OnMessage() 1608 sinkDevId, srcScreenInfo.sourceWinId)); in OnMessage() 1627 DHLOGE("sourceWinId key is invalid"); in ParseMessage() 1630 srcScreenInfo.sourceWinId = jsonObj[SOURCE_WINDOW_ID].get<uint64_t>(); in ParseMessage() 1647 std::string srcScreenInfoKey = DInputContext::GetInstance().GetScreenInfoKey(srcDevId, tmpInfo.sourceWinId); in UpdateSrcScreenInfoCache() 1652 srcScreenInfo.sourceWinId = tmpInfo.sourceWinId; in UpdateSrcScreenInfoCache() 1656 srcScreenInfo.sourceWinId, srcScreenInf in UpdateSrcScreenInfoCache() 1682 uint64_t sourceWinId = 0; OnMessage() local 1714 ParseMessage(const std::string &message, std::string &sinkDevId, uint64_t &sourceWinId) ParseMessage() argument [all...] |
/foundation/distributedhardware/distributed_input/services/sink/sinkmanager/src/ |
H A D | distributed_input_sink_manager.cpp | 833 DHLOGE("sourceWinId key is invalid"); in ParseMessage() 971 srcScreenInfo.sourceWinId); in NotifyStartDScreen() 974 DHLOGI("OnRemoteRequest the data: devId: %{public}s, sourceWinId: %{public}" PRIu64 ", sourceWinWidth: %{public}d, " in NotifyStartDScreen() 976 "sourcePhyHeight: %{public}d", GetAnonyString(srcScreenInfo.devId).c_str(), srcScreenInfo.sourceWinId, in NotifyStartDScreen()
|
/foundation/distributedhardware/distributed_input/services/source/sourcemanager/test/sourcemanagerunittest/ |
H A D | distributed_input_sourcemanager_test.cpp | 2103 uint64_t sourceWinId = 0; in HWTEST_F() local 2106 int32_t ret = stopListener.ParseMessage(jsonObj.dump(), sinkDevId, sourceWinId); in HWTEST_F() 2111 ret = stopListener.ParseMessage(jsonObj.dump(), sinkDevId, sourceWinId); in HWTEST_F() 2115 ret = stopListener.ParseMessage(jsonObj.dump(), sinkDevId, sourceWinId); in HWTEST_F()
|
/foundation/distributedhardware/distributed_input/services/source/sourcemanager/include/ |
H A D | distributed_input_source_manager.h | 218 int32_t ParseMessage(const std::string &message, std::string &sinkDevId, uint64_t &sourceWinId);
|