Home
last modified time | relevance | path

Searched refs:actionsType (Results 1 - 22 of 22) sorted by relevance

/foundation/multimodalinput/input/frameworks/proxy/event_handler/src/
H A Dinput_handler_manager.cpp131 std::vector<int32_t> actionsType) in AddHandler()
141 if (RET_OK == AddLocal(handlerId, handlerType, actionsType, consumer)) { in AddHandler()
143 if (IsNeedAddToServer(actionsType)) { in AddHandler()
145 int32_t ret = AddToServer(handlerType, HANDLE_EVENT_TYPE_NONE, 0, 0, actionsType); in AddHandler()
184 bool InputHandlerManager::IsNeedAddToServer(std::vector<int32_t> actionsType) in IsNeedAddToServer() argument
187 for (auto action : actionsType) { in IsNeedAddToServer()
230 std::vector<int32_t> actionsType = it->second.actionsType_; in RemoveHandler() local
235 ret = RemoveFromServer(handlerType, HANDLE_EVENT_TYPE_NONE, 0, 0, actionsType); in RemoveHandler()
317 int32_t InputHandlerManager::AddLocal(int32_t handlerId, InputHandlerType handlerType, std::vector<int32_t> actionsType, in AddLocal() argument
325 .actionsType_ = actionsType, in AddLocal()
130 AddHandler(InputHandlerType handlerType, std::shared_ptr<IInputEventConsumer> consumer, std::vector<int32_t> actionsType) AddHandler() argument
337 AddToServer(InputHandlerType handlerType, HandleEventType eventType, int32_t priority, uint32_t deviceTags, std::vector<int32_t> actionsType) AddToServer() argument
410 RemoveFromServer(InputHandlerType handlerType, HandleEventType eventType, int32_t priority, uint32_t deviceTags, std::vector<int32_t> actionsType) RemoveFromServer() argument
671 std::vector<int32_t> actionsType = GetActionsType(); OnConnected() local
673 AddToServer(GetHandlerType(), eventType, priority, deviceTags, actionsType); OnConnected() local
[all...]
H A Dinput_monitor_manager.cpp54 std::vector<int32_t> actionsType) in AddMonitor()
57 return AddHandler(InputHandlerType::MONITOR, monitor, actionsType); in AddMonitor()
53 AddMonitor(std::shared_ptr<IInputEventConsumer> monitor, std::vector<int32_t> actionsType) AddMonitor() argument
H A Dinput_manager_impl.cpp842 int32_t InputManagerImpl::AddMonitor(std::shared_ptr<IInputEventConsumer> consumer, std::vector<int32_t> actionsType) in AddMonitor() argument
852 return IMonitorMgr->AddMonitor(consumer, actionsType); in AddMonitor()
/foundation/multimodalinput/input/service/monitor/include/
H A Devent_monitor_handler.h58 int32_t AddInputHandler(InputHandlerType handlerType, std::vector<int32_t> actionsType, SessionPtr session);
59 void RemoveInputHandler(InputHandlerType handlerType, std::vector<int32_t> actionsType, SessionPtr session);
93 std::vector<int32_t> actionsType, std::shared_ptr<IInputEventConsumer> cb = nullptr) in SessionHandler()
94 : handlerType_(handlerType), eventType_(eventType), session_(session), actionsType_(actionsType), in SessionHandler()
143 bool IsNeedInsertToMonitors(std::vector<int32_t> actionsType);
92 SessionHandler(InputHandlerType handlerType, uint32_t eventType, SessionPtr session, std::vector<int32_t> actionsType, std::shared_ptr<IInputEventConsumer> cb = nullptr) SessionHandler() argument
/foundation/multimodalinput/input/frameworks/proxy/event_handler/include/
H A Dinput_handler_manager.h96 int32_t AddLocal(int32_t handlerId, InputHandlerType handlerType, std::vector<int32_t> actionsType,
99 uint32_t deviceTags, std::vector<int32_t> actionsType = std::vector<int32_t>());
100 bool IsNeedAddToServer(std::vector<int32_t> actionsType);
105 uint32_t deviceTags, std::vector<int32_t> actionsType = std::vector<int32_t>());
H A Dinput_monitor_manager.h41 std::vector<int32_t> actionsType);
H A Dinput_manager_impl.h105 int32_t AddMonitor(std::shared_ptr<IInputEventConsumer> monitor, std::vector<int32_t> actionsType);
/foundation/multimodalinput/input/service/message_handle/include/
H A Dserver_msg_handler.h67 int32_t OnAddInputHandler(SessionPtr sess, InputHandlerType handlerType, std::vector<int32_t> actionsType);
68 int32_t OnRemoveInputHandler(SessionPtr sess, InputHandlerType handlerType, std::vector<int32_t> actionsType);
/foundation/multimodalinput/input/service/monitor/src/
H A Devent_monitor_handler.cpp126 std::vector<int32_t> actionsType, SessionPtr session) in AddInputHandler()
131 SessionHandler mon { handlerType, HANDLE_EVENT_TYPE_NONE, session, actionsType }; in AddInputHandler()
146 void EventMonitorHandler::RemoveInputHandler(InputHandlerType handlerType, std::vector<int32_t> actionsType, in RemoveInputHandler() argument
151 SessionHandler monitor { handlerType, HANDLE_EVENT_TYPE_NONE, session, actionsType }; in RemoveInputHandler()
343 bool EventMonitorHandler::MonitorCollection::IsNeedInsertToMonitors(std::vector<int32_t> actionsType) in IsNeedInsertToMonitors() argument
346 for (auto action : actionsType) { in IsNeedInsertToMonitors()
125 AddInputHandler(InputHandlerType handlerType, std::vector<int32_t> actionsType, SessionPtr session) AddInputHandler() argument
/foundation/multimodalinput/input/service/module_loader/include/
H A Dmmi_service.h90 int32_t priority, uint32_t deviceTags, std::vector<int32_t> actionsType = std::vector<int32_t>()) override;
92 int32_t priority, uint32_t deviceTags, std::vector<int32_t> actionsType = std::vector<int32_t>()) override;
229 int32_t CheckAddInput(int32_t pid, InputHandlerType handlerType, std::vector<int32_t> actionsType);
230 int32_t CheckRemoveInput(int32_t pid, InputHandlerType handlerType, std::vector<int32_t> actionsType);
/foundation/multimodalinput/input/service/connect_manager/include/
H A Dmultimodal_input_connect_manager.h84 uint32_t deviceTags, std::vector<int32_t> actionsType = std::vector<int32_t>());
86 uint32_t deviceTags, std::vector<int32_t> actionsType = std::vector<int32_t>());
H A Di_multimodal_input_connect.h91 int32_t priority, uint32_t deviceTags, std::vector<int32_t> actionsType = std::vector<int32_t>()) = 0;
93 int32_t priority, uint32_t deviceTags, std::vector<int32_t> actionsType = std::vector<int32_t>()) = 0;
H A Dmultimodal_input_connect_proxy.h76 int32_t priority, uint32_t deviceTags, std::vector<int32_t> actionsType = std::vector<int32_t>()) override;
78 int32_t priority, uint32_t deviceTags, std::vector<int32_t> actionsType = std::vector<int32_t>()) override;
H A Dmultimodal_input_connect_stub.h36 std::vector<int32_t> actionsType; member
/foundation/multimodalinput/input/service/module_loader/src/
H A Dmmi_service.cpp1816 int32_t MMIService::CheckAddInput(int32_t pid, InputHandlerType handlerType, std::vector<int32_t> actionsType) in CheckAddInput() argument
1820 return sMsgHandler_.OnAddInputHandler(sess, handlerType, actionsType); in CheckAddInput()
1826 uint32_t deviceTags, std::vector<int32_t> actionsType) in AddInputHandler()
1838 if (actionsType.empty()) { in AddInputHandler()
1851 [this, pid, handlerType, actionsType, isRegisterCaptureCb] { in AddInputHandler()
1857 return this->CheckAddInput(pid, handlerType, actionsType); in AddInputHandler()
1883 int32_t MMIService::CheckRemoveInput(int32_t pid, InputHandlerType handlerType, std::vector<int32_t> actionsType) in CheckRemoveInput() argument
1887 return sMsgHandler_.OnRemoveInputHandler(sess, handlerType, actionsType); in CheckRemoveInput()
1912 uint32_t deviceTags, std::vector<int32_t> actionsType) in RemoveInputHandler()
1918 if (actionsType in RemoveInputHandler()
1825 AddInputHandler(InputHandlerType handlerType, HandleEventType eventType, int32_t priority, uint32_t deviceTags, std::vector<int32_t> actionsType) AddInputHandler() argument
1911 RemoveInputHandler(InputHandlerType handlerType, HandleEventType eventType, int32_t priority, uint32_t deviceTags, std::vector<int32_t> actionsType) RemoveInputHandler() argument
[all...]
/foundation/multimodalinput/input/service/message_handle/src/
H A Dserver_msg_handler.cpp691 std::vector<int32_t> actionsType) in OnAddInputHandler()
699 return monitorHandler->AddInputHandler(handlerType, actionsType, sess); in OnAddInputHandler()
706 std::vector<int32_t> actionsType) in OnRemoveInputHandler()
714 monitorHandler->RemoveInputHandler(handlerType, actionsType, sess); in OnRemoveInputHandler()
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
/foundation/multimodalinput/input/service/connect_manager/src/
H A Dmultimodal_input_connect_manager.cpp362 int32_t priority, uint32_t deviceTags, std::vector<int32_t> actionsType) in AddInputHandler()
366 return multimodalInputConnectService_->AddInputHandler(handlerType, eventType, priority, deviceTags, actionsType); in AddInputHandler()
370 int32_t priority, uint32_t deviceTags, std::vector<int32_t> actionsType) in RemoveInputHandler()
375 actionsType); in RemoveInputHandler()
361 AddInputHandler(InputHandlerType handlerType, HandleEventType eventType, int32_t priority, uint32_t deviceTags, std::vector<int32_t> actionsType) AddInputHandler() argument
369 RemoveInputHandler(InputHandlerType handlerType, HandleEventType eventType, int32_t priority, uint32_t deviceTags, std::vector<int32_t> actionsType) RemoveInputHandler() argument
H A Dmultimodal_input_connect_proxy.cpp1002 HandleEventType eventType, int32_t priority, uint32_t deviceTags, std::vector<int32_t> actionsType) in AddInputHandler()
1010 int32_t actionsTypeSize = actionsType.size(); in AddInputHandler()
1018 for (const auto &item : actionsType) { in AddInputHandler()
1035 HandleEventType eventType, int32_t priority, uint32_t deviceTags, std::vector<int32_t> actionsType) in RemoveInputHandler()
1043 int32_t actionsTypeSize = actionsType.size(); in RemoveInputHandler()
1046 if (actionsType.empty()) { in RemoveInputHandler()
1051 WRITEINT32(data, static_cast<int32_t>(actionsType.size())); in RemoveInputHandler()
1052 for (const auto &item : actionsType) { in RemoveInputHandler()
1001 AddInputHandler(InputHandlerType handlerType, HandleEventType eventType, int32_t priority, uint32_t deviceTags, std::vector<int32_t> actionsType) AddInputHandler() argument
1034 RemoveInputHandler(InputHandlerType handlerType, HandleEventType eventType, int32_t priority, uint32_t deviceTags, std::vector<int32_t> actionsType) RemoveInputHandler() argument
H A Dmultimodal_input_connect_stub.cpp1179 std::vector<int32_t> actionsType; in ParseAddInputHandlerData() local
1192 parseData.actionsType.push_back(key); in ParseAddInputHandlerData()
1238 parseData.deviceTags, parseData.actionsType); in StubAddInputHandler()
1275 parseData.priority, parseData.deviceTags, parseData.actionsType); in StubRemoveInputHandler()
/foundation/multimodalinput/input/frameworks/proxy/events/src/
H A Dinput_manager.cpp147 int32_t InputManager::AddMonitor(std::shared_ptr<IInputEventConsumer> monitor, std::vector<int32_t> actionsType) in AddMonitor() argument
149 return InputMgrImpl.AddMonitor(monitor, actionsType); in AddMonitor()
/foundation/multimodalinput/input/interfaces/native/innerkits/proxy/include/
H A Dinput_manager.h214 * @param actionsType Indicates the actionsType for monitor.
220 int32_t AddMonitor(std::shared_ptr<IInputEventConsumer> monitor, std::vector<int32_t> actionsType);
/foundation/multimodalinput/input/service/connect_manager/test/
H A Dmultimodal_input_connect_stub_ex_test.cpp149 int32_t priority, uint32_t deviceTags, std::vector<int32_t> actionsType) override { return priority; }
151 int32_t priority, uint32_t deviceTags, std::vector<int32_t> actionsType) override { return priority; }

Completed in 70 milliseconds