/foundation/multimodalinput/input/service/event_handler/src/ |
H A D | anr_manager.cpp | 59 SessionPtr sess = udsServer_->GetSessionByPid(pid); in MarkProcessed() local 79 void ANRManager::RemoveTimers(SessionPtr sess) in RemoveTimers() argument 98 void ANRManager::RemoveTimersByType(SessionPtr sess, int32_t type) in RemoveTimersByType() argument 114 AddTimer(int32_t type, int32_t id, int64_t currentTime, SessionPtr sess) AddTimer() argument 163 TriggerANR(int32_t type, int64_t time, SessionPtr sess) TriggerANR() argument [all...] |
/foundation/multimodalinput/input/service/interceptor/test/ |
H A D | event_interceptor_handler_ex_test.cpp | 76 SessionPtr sess = std::make_shared<UDSSession>(PROGRAM_NAME, MODULE_TYPE, UDS_FD, UDS_UID, UDS_PID);
in HWTEST_F() local 104 SessionPtr sess = std::make_shared<UDSSession>(PROGRAM_NAME, MODULE_TYPE, UDS_FD, UDS_UID, UDS_PID);
in HWTEST_F() local 133 SessionPtr sess = std::make_shared<UDSSession>(PROGRAM_NAME, MODULE_TYPE, UDS_FD, UDS_UID, UDS_PID);
in HWTEST_F() local 162 SessionPtr sess = std::make_shared<UDSSession>(PROGRAM_NAME, MODULE_TYPE, UDS_FD, UDS_UID, UDS_PID);
in HWTEST_F() local 190 SessionPtr sess = std::make_shared<UDSSession>(PROGRAM_NAME, MODULE_TYPE, UDS_FD, UDS_UID, UDS_PID);
in HWTEST_F() local 218 SessionPtr sess = std::make_shared<UDSSession>(PROGRAM_NAME, MODULE_TYPE, UDS_FD, UDS_UID, UDS_PID); HWTEST_F() local 247 SessionPtr sess = std::make_shared<UDSSession>(PROGRAM_NAME, MODULE_TYPE, UDS_FD, UDS_UID, UDS_PID); HWTEST_F() local 277 SessionPtr sess = std::make_shared<UDSSession>(PROGRAM_NAME, MODULE_TYPE, UDS_FD, UDS_UID, UDS_PID); HWTEST_F() local 307 SessionPtr sess = std::make_shared<UDSSession>(PROGRAM_NAME, MODULE_TYPE, UDS_FD, UDS_UID, UDS_PID); HWTEST_F() local [all...] |
H A D | event_interceptor_handler_test.cpp | 483 SessionPtr sess = nullptr; in HWTEST_F() local 501 SessionPtr sess = std::make_shared<UDSSession>(PROGRAM_NAME, g_moduleType, g_writeFd, UID_ROOT, g_pid); in HWTEST_F() local 519 SessionPtr sess = std::make_shared<UDSSession>(PROGRAM_NAME, g_moduleType, g_writeFd, UID_ROOT, g_pid); in HWTEST_F() local 537 SessionPtr sess = nullptr; in HWTEST_F() local 662 SessionPtr sess = std::make_shared<UDSSession>(PROGRAM_NAME, g_moduleType, g_writeFd, UID_ROOT, g_pid); HWTEST_F() local [all...] |
/foundation/multimodalinput/input/service/subscriber/test/ |
H A D | switch_subscriber_handler_test.cpp | 132 auto sess = std::make_shared<UDSSession>( in HWTEST_F() local 159 auto sess = std::make_shared<UDSSession>( in HWTEST_F() local 206 auto sess = std::make_shared<UDSSession>( in HWTEST_F() local 234 auto sess = std::make_shared<UDSSession>( HWTEST_F() local 259 auto sess = std::make_shared<UDSSession>( HWTEST_F() local 284 auto sess = std::make_shared<UDSSession>( HWTEST_F() local 343 auto sess = std::make_shared<UDSSession>( HWTEST_F() local 392 auto sess = std::make_shared<UDSSession>( HWTEST_F() local [all...] |
H A D | key_subscriber_handler_test.cpp | 239 SessionPtr sess; in HWTEST_F() local 268 SessionPtr sess = udsServer.GetSessionByPid(1); in HWTEST_F() local 343 SessionPtr sess; in HWTEST_F() local 363 SessionPtr sess; in HWTEST_F() local 588 SessionPtr sess; HWTEST_F() local 740 SessionPtr sess = udsServer.GetSessionByPid(1); HWTEST_F() local 764 SessionPtr sess; HWTEST_F() local 784 SessionPtr sess; HWTEST_F() local 802 SessionPtr sess; HWTEST_F() local 838 SessionPtr sess; HWTEST_F() local 861 SessionPtr sess = udsServer.GetSessionByPid(1); HWTEST_F() local 901 SessionPtr sess; HWTEST_F() local 1124 SessionPtr sess = std::make_shared<UDSSession>(PROGRAM_NAME, MODULE_TYPE, UDS_FD, UDS_UID, UDS_PID); HWTEST_F() local 1388 SessionPtr sess = std::make_shared<UDSSession>(PROGRAM_NAME, MODULE_TYPE, UDS_FD, UDS_UID, UDS_PID); HWTEST_F() local 1729 SessionPtr sess; HWTEST_F() local 1784 SessionPtr sess; HWTEST_F() local 1827 SessionPtr sess; HWTEST_F() local 2127 SessionPtr sess; HWTEST_F() local 2145 SessionPtr sess; HWTEST_F() local 2181 SessionPtr sess; HWTEST_F() local 2217 SessionPtr sess = std::make_shared<UDSSession>(PROGRAM_NAME, MODULE_TYPE, UDS_FD, UDS_UID, UDS_PID); HWTEST_F() local 2257 SessionPtr sess = std::make_shared<UDSSession>(PROGRAM_NAME, MODULE_TYPE, UDS_FD, UDS_UID, UDS_PID); HWTEST_F() local 2276 SessionPtr sess = std::make_shared<UDSSession>(PROGRAM_NAME, MODULE_TYPE, UDS_FD, UDS_UID, UDS_PID); HWTEST_F() local 2297 SessionPtr sess = std::make_shared<UDSSession>(PROGRAM_NAME, MODULE_TYPE, UDS_FD, UDS_UID, UDS_PID); HWTEST_F() local 2356 SessionPtr sess; HWTEST_F() local 2382 SessionPtr sess; HWTEST_F() local 2404 SessionPtr sess; HWTEST_F() local 2435 SessionPtr sess; HWTEST_F() local 2465 SessionPtr sess; HWTEST_F() local 2487 SessionPtr sess; HWTEST_F() local 2513 SessionPtr sess = std::make_shared<UDSSession>(PROGRAM_NAME, MODULE_TYPE, UDS_FD, UDS_UID, UDS_PID); HWTEST_F() local 2531 SessionPtr sess = std::make_shared<UDSSession>(PROGRAM_NAME, MODULE_TYPE, UDS_FD, UDS_UID, UDS_PID); HWTEST_F() local 2550 SessionPtr sess = std::make_shared<UDSSession>(PROGRAM_NAME, MODULE_TYPE, UDS_FD, UDS_UID, UDS_PID); HWTEST_F() local 2569 SessionPtr sess = std::make_shared<UDSSession>(PROGRAM_NAME, MODULE_TYPE, UDS_FD, UDS_UID, UDS_PID); HWTEST_F() local 2591 SessionPtr sess = std::make_shared<UDSSession>(PROGRAM_NAME, MODULE_TYPE, UDS_FD, UDS_UID, UDS_PID); HWTEST_F() local 2613 SessionPtr sess = std::make_shared<UDSSession>(PROGRAM_NAME, MODULE_TYPE, UDS_FD, UDS_UID, UDS_PID); HWTEST_F() local 2634 SessionPtr sess = std::make_shared<UDSSession>(PROGRAM_NAME, MODULE_TYPE, UDS_FD, UDS_UID, UDS_PID); HWTEST_F() local 2661 SessionPtr sess = std::make_shared<UDSSession>(PROGRAM_NAME, MODULE_TYPE, UDS_FD, UDS_UID, UDS_PID); HWTEST_F() local 2681 SessionPtr sess = std::make_shared<UDSSession>(PROGRAM_NAME, MODULE_TYPE, UDS_FD, UDS_UID, UDS_PID); HWTEST_F() local 2701 SessionPtr sess = std::make_shared<UDSSession>(PROGRAM_NAME, MODULE_TYPE, UDS_FD, UDS_UID, UDS_PID); HWTEST_F() local 2721 SessionPtr sess = std::make_shared<UDSSession>(PROGRAM_NAME, MODULE_TYPE, UDS_FD, UDS_UID, UDS_PID); HWTEST_F() local [all...] |
/foundation/multimodalinput/input/service/event_handler/test/ |
H A D | anr_manager_test.cpp | 74 SessionPtr sess; in HWTEST_F() local 170 SessionPtr sess = std::shared_ptr<OHOS::MMI::UDSSession>(); in HWTEST_F() local 186 SessionPtr sess = std::shared_ptr<OHOS::MMI::UDSSession>(); in HWTEST_F() local 201 SessionPtr sess = std::shared_ptr<OHOS::MMI::UDSSession>(); in HWTEST_F() local 241 SessionPtr sess = std::make_shared<UDSSession>(programName, MODULE_TYPE, UDS_FD, UDS_UID, UDS_PID); HWTEST_F() local 262 SessionPtr sess = std::make_shared<UDSSession>(PROGRAM_NAME, MODULE_TYPE, UDS_FD, UDS_UID, UDS_PID); HWTEST_F() local 281 SessionPtr sess = std::make_shared<UDSSession>(PROGRAM_NAME, MODULE_TYPE, UDS_FD, UDS_UID, UDS_PID); HWTEST_F() local 298 SessionPtr sess = std::make_shared<UDSSession>(PROGRAM_NAME, MODULE_TYPE, UDS_FD, UDS_UID, UDS_PID); HWTEST_F() local 321 SessionPtr sess = std::make_shared<UDSSession>(programName, MODULE_TYPE, UDS_FD, UDS_UID, UDS_PID); HWTEST_F() local 351 SessionPtr sess = std::make_shared<UDSSession>(PROGRAM_NAME, MODULE_TYPE, UDS_FD, UDS_UID, UDS_PID); HWTEST_F() local [all...] |
/foundation/multimodalinput/input/service/subscriber/src/ |
H A D | switch_subscriber_handler.cpp | 76 int32_t SwitchSubscriberHandler::SubscribeSwitchEvent(SessionPtr sess, int32_t subscribeId, int32_t switchType) in SubscribeSwitchEvent() argument 96 int32_t SwitchSubscriberHandler::UnsubscribeSwitchEvent(SessionPtr sess, int32_t subscribeId) in UnsubscribeSwitchEvent() argument 155 void SwitchSubscriberHandler::OnSessionDelete(SessionPtr sess) in OnSessionDelete() argument [all...] |
H A D | key_subscriber_handler.cpp | 146 int32_t KeySubscriberHandler::UnsubscribeKeyEvent(SessionPtr sess, int32_t subscribeId) in UnsubscribeKeyEvent() argument 157 int32_t KeySubscriberHandler::RemoveSubscriber(SessionPtr sess, int32_ argument 105 SubscribeKeyEvent( SessionPtr sess, int32_t subscribeId, std::shared_ptr<KeyOption> keyOption) SubscribeKeyEvent() argument 211 RemoveKeyGestureSubscriber(SessionPtr sess, int32_t subscribeId) RemoveKeyGestureSubscriber() argument 285 SubscribeHotkey( SessionPtr sess, int32_t subscribeId, std::shared_ptr<KeyOption> keyOption) SubscribeHotkey() argument 312 UnsubscribeHotkey(SessionPtr sess, int32_t subscribeId) UnsubscribeHotkey() argument 606 OnSessionDelete(SessionPtr sess) OnSessionDelete() argument 695 auto sess = item->sess_; IsMatchForegroundPid() local 728 auto sess = subscriber->sess_; NotifyKeyDownRightNow() local 751 auto sess = subscriber->sess_; NotifyKeyDownDelay() local 772 auto sess = subscriber->sess_; NotifyKeyUpSubscriber() local 801 auto sess = subscriber->sess_; NotifySubscriber() local 979 auto sess = subscriber->sess_; SubscriberNotifyNap() local [all...] |
/foundation/multimodalinput/input/service/event_dispatch/test/ |
H A D | event_dispatch_test.cpp | 855 SessionPtr sess = nullptr; in HWTEST_F() local 877 SessionPtr sess = nullptr; in HWTEST_F() local 901 SessionPtr sess = nullptr; in HWTEST_F() local 925 SessionPtr sess in HWTEST_F() local 949 SessionPtr sess = nullptr; HWTEST_F() local 973 SessionPtr sess = nullptr; HWTEST_F() local 1056 SessionPtr sess = nullptr; HWTEST_F() local [all...] |
/foundation/multimodalinput/input/service/event_dispatch/src/ |
H A D | event_dispatch_handler.cpp | 239 auto sess = udsServer->GetSessionByPid(WIN_MGR->GetWindowStateNotifyPid()); in SendWindowStateError() local 308 auto sess = udsServer->GetSession(fd); in DispatchPointerEventInner() local [all...] |
/foundation/multimodalinput/input/service/module_loader/test/ |
H A D | uds_server_test.cpp | 330 SessionPtr sess; in HWTEST_F() local 472 SessionPtr sess = nullptr; in HWTEST_F() local 542 SessionPtr sess = nullptr; in HWTEST_F() local 640 SessionPtr sess = nullptr; in HWTEST_F() local 654 SessionPtr sess = nullptr; HWTEST_F() local 802 SessionPtr sess = nullptr; HWTEST_F() local 936 SessionPtr sess = std::make_shared<UDSSession>(PROGRAM_NAME, MODULE_TYPE, udsSessionFd, UDS_UID, udsSessionPid); HWTEST_F() local [all...] |
/foundation/multimodalinput/input/service/module_loader/src/ |
H A D | uds_server.cpp | 119 SessionPtr sess = nullptr; in AddSocketPairInfo() local 206 void UDSServer::OnConnected(SessionPtr sess) in OnConnected() argument 212 void UDSServer::OnDisconnected(SessionPtr sess) in OnDisconnected() argument 258 auto sess = GetSession(fd); OnPacket() local [all...] |
H A D | mmi_service.cpp | 1668 auto sess = GetSession(GetClientFd(pid)); in OnRegisterDevListener() local 1692 auto sess = GetSession(GetClientFd(pid)); in OnUnregisterDevListener() local 1811 auto sess = GetSessionByPid(pid); in CheckAddInput() local 1818 auto sess = GetSessionByPid(pid); CheckAddInput() local 1878 auto sess = GetSessionByPid(pid); CheckRemoveInput() local 1885 auto sess = GetSessionByPid(pid); CheckRemoveInput() local 1896 auto sess = GetSessionByPid(pid); ObserverAddInputHandler() local 1939 auto sess = GetSessionByPid(pid); RemoveInputHandler() local 2038 auto sess = GetSessionByPid(pid); CheckMarkConsumed() local 2278 auto sess = GetSessionByPid(pid); SubscribeKeyEvent() local 2310 auto sess = GetSessionByPid(pid); UnsubscribeKeyEvent() local 2342 auto sess = GetSessionByPid(pid); SubscribeHotkey() local 2374 auto sess = GetSessionByPid(pid); UnsubscribeHotkey() local 3692 auto sess = GetSessionByPid(pid); SetClientInfo() local [all...] |
/foundation/multimodalinput/input/service/monitor/src/ |
H A D | event_monitor_handler.cpp | 455 auto sess = mon.session_; in HandleEvent() local 643 auto sess = mon.session_; in Monitor() local [all...] |
/foundation/multimodalinput/input/service/device_manager/src/ |
H A D | input_device_manager.cpp | 311 void InputDeviceManager::AddDevListener(SessionPtr sess) in AddDevListener() argument 318 void InputDeviceManager::RemoveDevListener(SessionPtr sess) in RemoveDevListener() argument 817 int32_t InputDeviceManager::NotifyMessage(SessionPtr sess, int32_t id, const std::string &type) in NotifyMessage() argument
|
/foundation/multimodalinput/input/service/dfx/src/ |
H A D | dfx_hisysevent.cpp | 335 void DfxHisysevent::ApplicationBlockInput(const SessionPtr& sess) in ApplicationBlockInput() argument
|
/foundation/multimodalinput/input/service/message_handle/test/ |
H A D | server_msg_handler_test.cpp | 307 SessionPtr sess = nullptr; in HWTEST_F() local 326 SessionPtr sess = std::make_shared<UDSSession>(PROGRAM_NAME, g_moduleType, g_writeFd, UID_ROOT, g_pid); in HWTEST_F() local 345 SessionPtr sess = std::make_shared<UDSSession>(PROGRAM_NAME, g_moduleType, g_writeFd, UID_ROOT, g_pid); in HWTEST_F() local 364 SessionPtr sess = nullptr; in HWTEST_F() local 383 SessionPtr sess = std::make_shared<UDSSession>(PROGRAM_NAME, g_moduleType, g_writeFd, UID_ROOT, g_pid); in HWTEST_F() local 402 SessionPtr sess = std::make_shared<UDSSession>(PROGRAM_NAME, g_moduleType, g_writeFd, UID_ROOT, g_pid); HWTEST_F() local 421 SessionPtr sess = nullptr; HWTEST_F() local 436 SessionPtr sess = std::make_shared<UDSSession>(PROGRAM_NAME, g_moduleType, g_writeFd, UID_ROOT, g_pid); HWTEST_F() local 451 SessionPtr sess = std::make_shared<UDSSession>(PROGRAM_NAME, g_moduleType, g_writeFd, UID_ROOT, g_pid); HWTEST_F() local 470 SessionPtr sess = std::make_shared<UDSSession>(PROGRAM_NAME, g_moduleType, g_writeFd, UID_ROOT, g_pid); HWTEST_F() local 488 SessionPtr sess = std::make_shared<UDSSession>(PROGRAM_NAME, g_moduleType, g_writeFd, UID_ROOT, g_pid); HWTEST_F() local 506 SessionPtr sess = std::make_shared<UDSSession>(PROGRAM_NAME, g_moduleType, g_writeFd, UID_ROOT, g_pid); HWTEST_F() local 524 SessionPtr sess = std::make_shared<UDSSession>(PROGRAM_NAME, g_moduleType, g_writeFd, UID_ROOT, g_pid); HWTEST_F() local 591 SessionPtr sess = nullptr; HWTEST_F() local 615 SessionPtr sess = nullptr; HWTEST_F() local 1036 SessionPtr sess = nullptr; HWTEST_F() local 1064 SessionPtr sess = nullptr; HWTEST_F() local 1148 SessionPtr sess = nullptr; HWTEST_F() local 1175 SessionPtr sess = std::make_shared<UDSSession>(PROGRAM_NAME, g_moduleType, g_writeFd, UID_ROOT, g_pid); HWTEST_F() local 1404 SessionPtr sess = nullptr; HWTEST_F() local 1430 SessionPtr sess = std::make_shared<UDSSession>(PROGRAM_NAME, HWTEST_F() local 1518 SessionPtr sess = nullptr; HWTEST_F() local 1544 SessionPtr sess = nullptr; HWTEST_F() local 1594 SessionPtr sess = std::make_shared<UDSSession>(PROGRAM_NAME, g_moduleType, g_writeFd, UID_ROOT, g_pid); HWTEST_F() local 1830 SessionPtr sess = std::make_shared<UDSSession>(PROGRAM_NAME, g_moduleType, g_writeFd, UID_ROOT, g_pid); HWTEST_F() local [all...] |
/foundation/multimodalinput/input/service/message_handle/src/ |
H A D | server_msg_handler.cpp | 97 OnMsgHandler(SessionPtr sess, NetPacket& pkt) OnMsgHandler() argument 510 OnDisplayInfo(SessionPtr sess, NetPacket &pkt) OnDisplayInfo() argument 559 OnWindowAreaInfo(SessionPtr sess, NetPacket &pkt) OnWindowAreaInfo() argument 577 OnWindowGroupInfo(SessionPtr sess, NetPacket &pkt) OnWindowGroupInfo() argument 607 RegisterWindowStateErrorCallback(SessionPtr sess, NetPacket &pkt) RegisterWindowStateErrorCallback() argument 617 OnEnhanceConfig(SessionPtr sess, NetPacket &pkt) OnEnhanceConfig() argument 645 OnAddInputHandler(SessionPtr sess, InputHandlerType handlerType, HandleEventType eventType, int32_t priority, uint32_t deviceTags) OnAddInputHandler() argument 667 OnRemoveInputHandler(SessionPtr sess, InputHandlerType handlerType, HandleEventType eventType, int32_t priority, uint32_t deviceTags) OnRemoveInputHandler() argument 690 OnAddInputHandler(SessionPtr sess, InputHandlerType handlerType, std::vector<int32_t> actionsType) OnAddInputHandler() argument 705 OnRemoveInputHandler(SessionPtr sess, InputHandlerType handlerType, std::vector<int32_t> actionsType) OnRemoveInputHandler() argument 723 OnAddGestureMonitor(SessionPtr sess, InputHandlerType handlerType, HandleEventType eventType, TouchGestureType gestureType, int32_t fingers) OnAddGestureMonitor() argument 736 OnRemoveGestureMonitor(SessionPtr sess, InputHandlerType handlerType, HandleEventType eventType, TouchGestureType gestureType, int32_t fingers) OnRemoveGestureMonitor() argument 751 OnMarkConsumed(SessionPtr sess, int32_t eventId) OnMarkConsumed() argument 783 auto sess = server->GetSessionByPid(pid); OnSubscribeKeyEvent() local 794 auto sess = server->GetSessionByPid(pid); OnUnsubscribeKeyEvent() local 806 auto sess = server->GetSessionByPid(pid); OnSubscribeHotkey() local 817 auto sess = server->GetSessionByPid(pid); OnUnsubscribeHotkey() local 831 auto sess = server->GetSessionByPid(pid); OnSubscribeSwitchEvent() local 842 auto sess = server->GetSessionByPid(pid); OnUnsubscribeSwitchEvent() local [all...] |
/foundation/multimodalinput/input/service/window_manager/test/ |
H A D | mock.cpp | 144 void UDSServer::OnConnected(SessionPtr sess) in OnConnected() argument 147 void UDSServer::OnDisconnected(SessionPtr sess) in OnDisconnected() argument
|
H A D | input_windows_manager_test.cpp | 3024 SessionPtr sess = std::make_shared<UDSSession>(programName, moduleType, fd, uidRoot, pid); in HWTEST_F() local
|
/foundation/multimodalinput/input/service/window_manager/src/ |
H A D | input_windows_manager.cpp | 1385 auto sess = udsServer_->GetSession(fd); in UpdateDisplayInfo() local 2982 auto sess = udsServer_->GetSession(fd); in UpdateDisplayInfo() local 3536 auto sess = udsServer_->GetSession(fd); in UpdateDisplayInfo() local
|