/foundation/distributedhardware/distributed_input/services/common/include/ |
H A D | dinput_sink_trans_callback.h | 33 virtual void OnRelayPrepareRemoteInput(const int32_t &toSrcSessionId, const int32_t &toSinkSessionId, 35 virtual void OnRelayUnprepareRemoteInput(const int32_t &toSrcSessionId, const int32_t &toSinkSessionId, 37 virtual void OnRelayStartDhidRemoteInput(const int32_t &toSrcSessionId, const int32_t &toSinkSessionId, 39 virtual void OnRelayStopDhidRemoteInput(const int32_t &toSrcSessionId, const int32_t &toSinkSessionId, 41 virtual void OnRelayStartTypeRemoteInput(const int32_t &toSrcSessionId, const int32_t &toSinkSessionId, 43 virtual void OnRelayStopTypeRemoteInput(const int32_t &toSrcSessionId, const int32_t &toSinkSessionId,
|
/foundation/distributedhardware/distributed_input/services/sink/sinkmanager/include/ |
H A D | distributed_input_sink_manager.h | 77 void OnRelayPrepareRemoteInput(const int32_t &toSrcSessionId, const int32_t &toSinkSessionId, 79 void OnRelayUnprepareRemoteInput(const int32_t &toSrcSessionId, const int32_t &toSinkSessionId, 81 void OnRelayStartDhidRemoteInput(const int32_t &toSrcSessionId, const int32_t &toSinkSessionId, 83 void OnRelayStopDhidRemoteInput(const int32_t &toSrcSessionId, const int32_t &toSinkSessionId, 85 void OnRelayStartTypeRemoteInput(const int32_t &toSrcSessionId, const int32_t &toSinkSessionId, 87 void OnRelayStopTypeRemoteInput(const int32_t &toSrcSessionId, const int32_t &toSinkSessionId,
|
/foundation/distributedhardware/distributed_input/services/sink/transport/src/ |
H A D | distributed_input_sink_transport.cpp | 461 int32_t toSrcSessionId = recMsg[DINPUT_SOFTBUS_KEY_SESSION_ID]; in NotifyRelayPrepareRemoteInput() local 468 callback_->OnRelayPrepareRemoteInput(toSrcSessionId, sessionId, deviceId); in NotifyRelayPrepareRemoteInput() 479 int32_t toSrcSessionId = recMsg[DINPUT_SOFTBUS_KEY_SESSION_ID]; in NotifyRelayUnprepareRemoteInput() local 486 callback_->OnRelayUnprepareRemoteInput(toSrcSessionId, sessionId, deviceId); in NotifyRelayUnprepareRemoteInput() 498 int32_t toSrcSessionId = recMsg[DINPUT_SOFTBUS_KEY_SESSION_ID]; in NotifyRelayStartDhidRemoteInput() local 506 callback_->OnRelayStartDhidRemoteInput(toSrcSessionId, sessionId, deviceId, dhids); in NotifyRelayStartDhidRemoteInput() 518 int32_t toSrcSessionId = recMsg[DINPUT_SOFTBUS_KEY_SESSION_ID]; in NotifyRelayStopDhidRemoteInput() local 526 callback_->OnRelayStopDhidRemoteInput(toSrcSessionId, sessionId, deviceId, dhids); in NotifyRelayStopDhidRemoteInput() 538 int32_t toSrcSessionId = recMsg[DINPUT_SOFTBUS_KEY_SESSION_ID]; in NotifyRelayStartTypeRemoteInput() local 546 callback_->OnRelayStartTypeRemoteInput(toSrcSessionId, sessionI in NotifyRelayStartTypeRemoteInput() 558 int32_t toSrcSessionId = recMsg[DINPUT_SOFTBUS_KEY_SESSION_ID]; NotifyRelayStopTypeRemoteInput() local [all...] |
/foundation/distributedhardware/distributed_input/services/sink/sinkmanager/src/ |
H A D | distributed_input_sink_manager.cpp | 167 void DistributedInputSinkManager::DInputSinkListener::OnRelayPrepareRemoteInput(const int32_t &toSrcSessionId, in OnRelayPrepareRemoteInput() argument 178 jsonStr[DINPUT_SOFTBUS_KEY_SESSION_ID] = toSrcSessionId; in OnRelayPrepareRemoteInput() 188 void DistributedInputSinkManager::DInputSinkListener::OnRelayUnprepareRemoteInput(const int32_t &toSrcSessionId, in OnRelayUnprepareRemoteInput() argument 201 jsonStr[DINPUT_SOFTBUS_KEY_SESSION_ID] = toSrcSessionId; in OnRelayUnprepareRemoteInput() 362 void DistributedInputSinkManager::DInputSinkListener::OnRelayStartDhidRemoteInput(const int32_t &toSrcSessionId, in OnRelayStartDhidRemoteInput() argument 371 jsonStrSta[DINPUT_SOFTBUS_KEY_SESSION_ID] = toSrcSessionId; in OnRelayStartDhidRemoteInput() 393 void DistributedInputSinkManager::DInputSinkListener::OnRelayStopDhidRemoteInput(const int32_t &toSrcSessionId, in OnRelayStopDhidRemoteInput() argument 420 jsonStr[DINPUT_SOFTBUS_KEY_SESSION_ID] = toSrcSessionId; in OnRelayStopDhidRemoteInput() 439 void DistributedInputSinkManager::DInputSinkListener::OnRelayStartTypeRemoteInput(const int32_t &toSrcSessionId, in OnRelayStartTypeRemoteInput() argument 457 jsonStrSta[DINPUT_SOFTBUS_KEY_SESSION_ID] = toSrcSessionId; in OnRelayStartTypeRemoteInput() 493 OnRelayStopTypeRemoteInput(const int32_t &toSrcSessionId, const int32_t &toSinkSessionId, const std::string &deviceId, uint32_t inputTypes) OnRelayStopTypeRemoteInput() argument [all...] |
/foundation/distributedhardware/distributed_input/services/source/sourcemanager/src/ |
H A D | dinput_source_manager_event_handler.cpp | 432 int32_t toSrcSessionId = innerMsg[INPUT_SOURCEMANAGER_KEY_SESSIONID]; in NotifyRelayPrepareRemoteInput() local 440 int32_t ret = DistributedInputSourceTransport::GetInstance().NotifyOriginPrepareResult(toSrcSessionId, in NotifyRelayPrepareRemoteInput() 470 int32_t toSrcSessionId = innerMsg[INPUT_SOURCEMANAGER_KEY_SESSIONID]; in NotifyRelayUnprepareRemoteInput() local 477 int32_t ret = DistributedInputSourceTransport::GetInstance().NotifyOriginUnprepareResult(toSrcSessionId, in NotifyRelayUnprepareRemoteInput()
|
H A D | dinput_source_listener.cpp | 131 void DInputSourceListener::OnResponseRelayPrepareRemoteInput(int32_t toSrcSessionId, in OnResponseRelayPrepareRemoteInput() argument 150 tmpJson[INPUT_SOURCEMANAGER_KEY_SESSIONID] = toSrcSessionId; in OnResponseRelayPrepareRemoteInput() 157 void DInputSourceListener::OnResponseRelayUnprepareRemoteInput(int32_t toSrcSessionId, in OnResponseRelayUnprepareRemoteInput() argument 175 tmpJson[INPUT_SOURCEMANAGER_KEY_SESSIONID] = toSrcSessionId; in OnResponseRelayUnprepareRemoteInput()
|
/foundation/distributedhardware/distributed_input/services/source/sourcemanager/test/sourcemanagerunittest/ |
H A D | distributed_input_sourcemanager_test.cpp | 1752 int32_t toSrcSessionId = 1; in HWTEST_F() local 1756 callback_->OnResponseRelayPrepareRemoteInput(toSrcSessionId, deviceId, result, object); in HWTEST_F() 1766 int32_t toSrcSessionId = 1; in HWTEST_F() local 1769 callback_->OnResponseRelayUnprepareRemoteInput(toSrcSessionId, deviceId, result); in HWTEST_F() 1973 int32_t toSrcSessionId = 1; in HWTEST_F() local 1977 callback_->OnResponseRelayPrepareRemoteInput(toSrcSessionId, deviceId, result, object); in HWTEST_F() 1989 int32_t toSrcSessionId = 1; in HWTEST_F() local 1992 callback_->OnResponseRelayUnprepareRemoteInput(toSrcSessionId, deviceId, result); in HWTEST_F()
|
/foundation/distributedhardware/distributed_input/services/source/transport/src/ |
H A D | distributed_input_source_transport.cpp | 1130 int32_t toSrcSessionId = recMsg[DINPUT_SOFTBUS_KEY_SESSION_ID]; in NotifyResponseRelayUnprepareRemoteInput() local 1131 if (toSrcSessionId != sessionId) { in NotifyResponseRelayUnprepareRemoteInput()
|