/ohos5.0/foundation/multimodalinput/input/service/interceptor/test/ |
H A D | event_interceptor_handler_test.cpp | 177 InputHandlerType handlerType = InputHandlerType::NONE; variable 201 InputHandlerType handlerType = InputHandlerType::NONE; variable 210 handlerType = InputHandlerType::NONE; 234 InputHandlerType handlerType = InputHandlerType::NONE; variable 258 InputHandlerType handlerType = InputHandlerType::NONE; variable 267 handlerType = InputHandlerType::NONE; 298 handlerType = InputHandlerType::NONE; 329 handlerType = InputHandlerType::NONE; 382 handlerType = InputHandlerType::NONE; 413 handlerType = InputHandlerType::NONE; [all …]
|
/ohos5.0/foundation/multimodalinput/input/frameworks/proxy/event_handler/src/ |
H A D | input_handler_manager.cpp | 55 if (handlerType == InputHandlerType::INTERCEPTOR) { in AddHandler() 81 handlerType, newType, allDeviceTags, priority); in AddHandler() 87 RemoveLocal(handlerId, handlerType, allDeviceTags); in AddHandler() 110 int32_t ret = RemoveLocal(handlerId, handlerType, deviceTags); in RemoveHandler() 122 handlerType, handlerId, currentType, currentTags); in RemoveHandler() 132 .handlerType_ = handlerType, in AddLocal() 138 if (handlerType == InputHandlerType::MONITOR) { in AddLocal() 145 if (handlerType == InputHandlerType::INTERCEPTOR) { in AddLocal() 173 if (handlerType == InputHandlerType::MONITOR) { in RemoveLocal() 179 if (handlerType != iter->second.handlerType_) { in RemoveLocal() [all …]
|
H A D | bytrace_adapter.cpp | 111 void BytraceAdapter::StartBytrace(std::shared_ptr<KeyEvent> key, HandlerType handlerType) in StartBytrace() argument 115 switch (handlerType) { in StartBytrace() 142 …apter::StartBytrace(std::shared_ptr<KeyEvent> keyEvent, TraceBtn traceBtn, HandlerType handlerType) in StartBytrace() argument 147 switch (handlerType) { in StartBytrace() 169 switch (handlerType) { in StartBytrace() 191 std::shared_ptr<PointerEvent> pointerEvent, TraceBtn traceBtn, HandlerType handlerType) in StartBytrace() argument 196 if (handlerType == POINT_DISPATCH_EVENT) { in StartBytrace() 215 if (handlerType == POINT_DISPATCH_EVENT) { in StartBytrace() 222 if (handlerType == POINT_INTERCEPT_EVENT) { in StartBytrace()
|
H A D | client_msg_handler.cpp | 298 InputHandlerType handlerType; in ReportKeyEvent() local 300 pkt >> handlerType >> deviceTags; in ReportKeyEvent() 313 switch (handlerType) { in ReportKeyEvent() 339 InputHandlerType handlerType; in ReportPointerEvent() local 341 pkt >> handlerType >> deviceTags; in ReportPointerEvent() 346 MMI_HILOG_DISPATCHD("Client handlerType:%{public}d", handlerType); in ReportPointerEvent() 355 switch (handlerType) { in ReportPointerEvent()
|
/ohos5.0/foundation/multimodalinput/input/service/monitor/test/ |
H A D | event_monitor_handler_test.cpp | 60 InputHandlerType handlerType = InputHandlerType::NONE; variable 66 ret = eventMonitorHandler.AddInputHandler(handlerType, eventType, callback); 80 InputHandlerType handlerType = InputHandlerType::NONE; variable 86 ret = eventMonitorHandler.AddInputHandler(handlerType, eventType, session); 432 InputHandlerType handlerType = InputHandlerType::NONE; variable 452 InputHandlerType handlerType = InputHandlerType::NONE; variable 456 handlerType = InputHandlerType::MONITOR; 469 InputHandlerType handlerType = InputHandlerType::NONE; variable 495 InputHandlerType handlerType = InputHandlerType::NONE; variable 523 InputHandlerType handlerType = InputHandlerType::NONE; variable [all …]
|
/ohos5.0/foundation/multimodalinput/input/service/monitor/include/ |
H A D | event_monitor_handler.h | 51 int32_t AddInputHandler(InputHandlerType handlerType, 53 void RemoveInputHandler(InputHandlerType handlerType, 55 …int32_t AddInputHandler(InputHandlerType handlerType, HandleEventType eventType, SessionPtr sessio… 56 …void RemoveInputHandler(InputHandlerType handlerType, HandleEventType eventType, SessionPtr sessio… 78 SessionHandler(InputHandlerType handlerType, HandleEventType eventType, 80 : handlerType_(handlerType), eventType_(eventType & HANDLE_EVENT_TYPE_ALL),
|
/ohos5.0/foundation/multimodalinput/input/service/message_handle/test/ |
H A D | server_msg_handler_test.cpp | 272 InputHandlerType handlerType = InputHandlerType::INTERCEPTOR; variable 291 InputHandlerType handlerType = InputHandlerType::INTERCEPTOR; variable 310 InputHandlerType handlerType = InputHandlerType::MONITOR; variable 329 InputHandlerType handlerType = InputHandlerType::INTERCEPTOR; variable 367 InputHandlerType handlerType = InputHandlerType::MONITOR; variable 435 InputHandlerType handlerType = InputHandlerType::MONITOR; variable 473 InputHandlerType handlerType = InputHandlerType::MONITOR; variable 1012 handlerType = InputHandlerType::MONITOR; 1015 handlerType = InputHandlerType::NONE; 1040 handlerType = InputHandlerType::MONITOR; [all …]
|
/ohos5.0/foundation/multimodalinput/input/frameworks/proxy/event_handler/include/ |
H A D | input_handler_manager.h | 57 int32_t AddHandler(InputHandlerType handlerType, std::shared_ptr<IInputEventConsumer> consumer, 74 int32_t AddLocal(int32_t handlerId, InputHandlerType handlerType, HandleEventType eventType, 76 int32_t AddToServer(InputHandlerType handlerType, HandleEventType eventType, int32_t priority, 78 int32_t RemoveLocal(int32_t handlerId, InputHandlerType handlerType, uint32_t &deviceTags); 79 …int32_t RemoveFromServer(InputHandlerType handlerType, HandleEventType eventType, int32_t priority,
|
H A D | bytrace_adapter.h | 47 static void StartBytrace(std::shared_ptr<KeyEvent> key, HandlerType handlerType); 49 … void StartBytrace(std::shared_ptr<KeyEvent> keyEvent, TraceBtn traceBtn, HandlerType handlerType); 50 …artBytrace(std::shared_ptr<PointerEvent> pointerEvent, TraceBtn traceBtn, HandlerType handlerType);
|
/ohos5.0/foundation/multimodalinput/input/service/interceptor/include/ |
H A D | event_interceptor_handler.h | 45 int32_t AddInputHandler(InputHandlerType handlerType, HandleEventType eventType, 47 void RemoveInputHandler(InputHandlerType handlerType, HandleEventType eventType, 66 SessionHandler(InputHandlerType handlerType, HandleEventType eventType, int32_t priority, in SessionHandler() argument 67 uint32_t deviceTags, SessionPtr session) : handlerType_(handlerType), in SessionHandler()
|
/ohos5.0/foundation/multimodalinput/input/service/interceptor/src/ |
H A D | event_interceptor_handler.cpp | 82 int32_t EventInterceptorHandler::AddInputHandler(InputHandlerType handlerType, in AddInputHandler() argument 92 SessionHandler interceptor { handlerType, eventType, priority, deviceTags, session }; in AddInputHandler() 94 handlerType, eventType, deviceTags, priority); in AddInputHandler() 98 void EventInterceptorHandler::RemoveInputHandler(InputHandlerType handlerType, in RemoveInputHandler() argument 103 if (handlerType == InputHandlerType::INTERCEPTOR) { in RemoveInputHandler() 104 SessionHandler interceptor { handlerType, eventType, priority, deviceTags, session }; in RemoveInputHandler() 106 handlerType, eventType, deviceTags, priority); in RemoveInputHandler()
|
/ohos5.0/foundation/multimodalinput/input/interfaces/native/innerkits/event/include/ |
H A D | input_handler_type.h | 57 inline bool IsValidHandlerType(InputHandlerType handlerType) in IsValidHandlerType() argument 59 return ((handlerType == InputHandlerType::INTERCEPTOR) || in IsValidHandlerType() 60 (handlerType == InputHandlerType::MONITOR)); in IsValidHandlerType()
|
/ohos5.0/foundation/multimodalinput/input/service/module_loader/test/ |
H A D | mmi_service_test.cpp | 162 InputHandlerType handlerType = InputHandlerType::MONITOR; variable 166 int32_t ret = mmiService.AddInputHandler(handlerType, eventType, priority, deviceTags); 179 InputHandlerType handlerType = InputHandlerType::INTERCEPTOR; variable 183 int32_t ret = mmiService.RemoveInputHandler(handlerType, eventType, priority, deviceTags); 755 InputHandlerType handlerType = InputHandlerType::MONITOR; variable 759 int32_t ret = mmiService.CheckAddInput(pid, handlerType, eventType, priority, deviceTags); 773 InputHandlerType handlerType = InputHandlerType::INTERCEPTOR; variable 778 int32_t ret = mmiService.AddInputHandler(handlerType, eventType, priority, deviceTags); 794 InputHandlerType handlerType = InputHandlerType::INTERCEPTOR; variable 812 InputHandlerType handlerType = InputHandlerType::INTERCEPTOR; variable [all …]
|
/ohos5.0/foundation/multimodalinput/input/service/monitor/src/ |
H A D | event_monitor_handler.cpp | 101 int32_t EventMonitorHandler::AddInputHandler(InputHandlerType handlerType, in AddInputHandler() argument 111 SessionHandler mon {handlerType, eventType, nullptr, callback}; in AddInputHandler() 115 int32_t EventMonitorHandler::AddInputHandler(InputHandlerType handlerType, in AddInputHandler() argument 125 SessionHandler mon { handlerType, eventType, session }; in AddInputHandler() 129 void EventMonitorHandler::RemoveInputHandler(InputHandlerType handlerType, in RemoveInputHandler() argument 134 if (handlerType == InputHandlerType::MONITOR) { in RemoveInputHandler() 135 SessionHandler monitor {handlerType, eventType, nullptr, callback}; in RemoveInputHandler() 140 void EventMonitorHandler::RemoveInputHandler(InputHandlerType handlerType, HandleEventType eventTyp… in RemoveInputHandler() argument 144 if (handlerType == InputHandlerType::MONITOR) { in RemoveInputHandler() 145 SessionHandler monitor { handlerType, eventType, session }; in RemoveInputHandler()
|
/ohos5.0/foundation/multimodalinput/input/service/message_handle/src/ |
H A D | server_msg_handler.cpp | 637 int32_t ServerMsgHandler::OnAddInputHandler(SessionPtr sess, InputHandlerType handlerType, in OnAddInputHandler() argument 641 MMI_HILOGD("handlerType:%{public}d", handlerType); in OnAddInputHandler() 643 if (handlerType == InputHandlerType::INTERCEPTOR) { in OnAddInputHandler() 646 … return interceptorHandler->AddInputHandler(handlerType, eventType, priority, deviceTags, sess); in OnAddInputHandler() 650 if (handlerType == InputHandlerType::MONITOR) { in OnAddInputHandler() 653 return monitorHandler->AddInputHandler(handlerType, eventType, sess); in OnAddInputHandler() 659 int32_t ServerMsgHandler::OnRemoveInputHandler(SessionPtr sess, InputHandlerType handlerType, in OnRemoveInputHandler() argument 665 if (handlerType == InputHandlerType::INTERCEPTOR) { in OnRemoveInputHandler() 668 interceptorHandler->RemoveInputHandler(handlerType, eventType, priority, deviceTags, sess); in OnRemoveInputHandler() 672 if (handlerType == InputHandlerType::MONITOR) { in OnRemoveInputHandler() [all …]
|
/ohos5.0/foundation/multimodalinput/input/service/delegate_task/include/ |
H A D | delegate_interface.h | 52 void RemoveHandler(InputHandlerType handlerType, std::string name); 53 int32_t AddHandler(InputHandlerType handlerType, HandlerSummary summary);
|
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/modules/demuxer/ |
H A D | pts_and_index_conversion.cpp | 344 std::string handlerType = ""; in ParseHdlr() local 345 …handlerType.append(std::string(1, static_cast<char>(ptr[0]))); // Get the 1st character of the han… in ParseHdlr() 346 …handlerType.append(std::string(1, static_cast<char>(ptr[1]))); // Get the 2nd character of the han… in ParseHdlr() 347 …handlerType.append(std::string(1, static_cast<char>(ptr[2]))); // Get the 3rd character of the han… in ParseHdlr() 348 …handlerType.append(std::string(1, static_cast<char>(ptr[3]))); // Get the 4th character of the han… in ParseHdlr() 349 if (handlerType == "soun") { in ParseHdlr() 351 } else if (handlerType == "vide") { in ParseHdlr()
|
/ohos5.0/foundation/multimodalinput/input/test/fuzztest/stubhandleallocsocketfd_fuzzer/ |
H A D | stubhandleallocsocketfd_fuzzer.cpp | 31 InputHandlerType handlerType = NONE; variable 90 MMIService::GetInstance()->CheckRemoveInput(tmpfd, handlerType, eventType, tmpfd, tmp32); in StubHandleAllocSocketFdFuzzTest() 91 MMIService::GetInstance()->RemoveInputHandler(handlerType, eventType, tmpfd, tmp32); in StubHandleAllocSocketFdFuzzTest()
|
/ohos5.0/foundation/multimodalinput/input/service/module_loader/include/ |
H A D | mmi_service.h | 89 int32_t AddInputHandler(InputHandlerType handlerType, HandleEventType eventType, 91 int32_t RemoveInputHandler(InputHandlerType handlerType, HandleEventType eventType, 204 int32_t CheckAddInput(int32_t pid, InputHandlerType handlerType, HandleEventType eventType, 206 int32_t CheckRemoveInput(int32_t pid, InputHandlerType handlerType, HandleEventType eventType,
|
/ohos5.0/foundation/multimodalinput/input/service/dfx/include/ |
H A D | dfx_hisysevent.h | 135 static void ReportAddInputHandler(int32_t handlerType); 136 static void ReportRemoveInputHandler(int32_t handlerType);
|
/ohos5.0/foundation/multimodalinput/input/service/message_handle/include/ |
H A D | server_msg_handler.h | 59 …int32_t OnAddInputHandler(SessionPtr sess, InputHandlerType handlerType, HandleEventType eventType, 61 …int32_t OnRemoveInputHandler(SessionPtr sess, InputHandlerType handlerType, HandleEventType eventT…
|
/ohos5.0/foundation/multimodalinput/input/service/connect_manager/src/ |
H A D | multimodal_input_connect_stub.cpp | 1135 int32_t handlerType = 0; in StubAddInputHandler() local 1136 READINT32(data, handlerType, IPC_PROXY_DEAD_OBJECT_ERR); in StubAddInputHandler() 1138 if (handlerType == InputHandlerType::MONITOR) { in StubAddInputHandler() 1149 } else if (handlerType != InputHandlerType::INTERCEPTOR) { in StubAddInputHandler() 1159 if ((handlerType == InputHandlerType::INTERCEPTOR) && (!PER_HELPER->CheckInterceptor())) { in StubAddInputHandler() 1163 if ((handlerType == InputHandlerType::MONITOR) && (!PER_HELPER->CheckMonitor())) { in StubAddInputHandler() 1185 int32_t handlerType = 0; in StubRemoveInputHandler() local 1186 READINT32(data, handlerType, IPC_PROXY_DEAD_OBJECT_ERR); in StubRemoveInputHandler() 1188 … if (handlerType != InputHandlerType::MONITOR && handlerType != InputHandlerType::INTERCEPTOR) { in StubRemoveInputHandler() 1198 if ((handlerType == InputHandlerType::INTERCEPTOR) && (!PER_HELPER->CheckInterceptor())) { in StubRemoveInputHandler() [all …]
|
/ohos5.0/foundation/multimodalinput/input/service/connect_manager/include/ |
H A D | multimodal_input_connect_manager.h | 83 … int32_t AddInputHandler(InputHandlerType handlerType, HandleEventType eventType, int32_t priority, 85 …int32_t RemoveInputHandler(InputHandlerType handlerType, HandleEventType eventType, int32_t priori…
|
H A D | i_multimodal_input_connect.h | 90 virtual int32_t AddInputHandler(InputHandlerType handlerType, HandleEventType eventType, 92 virtual int32_t RemoveInputHandler(InputHandlerType handlerType, HandleEventType eventType,
|
H A D | multimodal_input_connect_proxy.h | 75 int32_t AddInputHandler(InputHandlerType handlerType, HandleEventType eventType, 77 int32_t RemoveInputHandler(InputHandlerType handlerType, HandleEventType eventType,
|