Home
last modified time | relevance | path

Searched refs:UDSClient (Results 1 - 7 of 7) sorted by relevance

/foundation/multimodalinput/input/frameworks/proxy/event_handler/include/
H A Dclient_msg_handler.h27 typedef std::function<int32_t(const UDSClient&, NetPacket&)> ClientMsgFun;
36 void OnMsgHandler(const UDSClient &client, NetPacket &pkt);
40 int32_t OnKeyEvent(const UDSClient &client, NetPacket &pkt);
41 int32_t OnKeyMonitor(const UDSClient &client, NetPacket &pkt);
44 int32_t OnPointerEvent(const UDSClient &client, NetPacket &pkt);
47 int32_t OnSubscribeKeyEventCallback(const UDSClient &client, NetPacket &pkt);
50 int32_t OnSubscribeSwitchEventCallback(const UDSClient &client, NetPacket &pkt);
54 int32_t ReportKeyEvent(const UDSClient &client, NetPacket &pkt);
58 int32_t ReportPointerEvent(const UDSClient &client, NetPacket &pkt);
60 int32_t NotifyBundleName(const UDSClient
[all...]
/foundation/multimodalinput/input/util/socket/src/
H A Duds_client.cpp21 #define MMI_LOG_TAG "UDSClient"
25 UDSClient::UDSClient() in UDSClient() function in OHOS::MMI::UDSClient
30 UDSClient::~UDSClient() in ~UDSClient()
35 int32_t UDSClient::ConnectTo() in ConnectTo()
46 bool UDSClient::SendMsg(const char *buf, size_t size) const in SendMsg()
88 bool UDSClient::SendMsg(const NetPacket &pkt) const in SendMsg()
99 bool UDSClient::StartClient(MsgClientFunCallback fun) in StartClient()
115 void UDSClient
[all...]
/foundation/multimodalinput/input/util/socket/include/
H A Duds_client.h29 class UDSClient;
30 using MsgClientFunCallback = std::function<void(const UDSClient&, NetPacket&)>;
31 class UDSClient : public UDSSocket { class
33 UDSClient();
34 DISALLOW_COPY_AND_MOVE(UDSClient);
35 virtual ~UDSClient();
/foundation/multimodalinput/input/frameworks/proxy/event_handler/src/
H A Dclient_msg_handler.cpp53 { MmiMessageId::ON_KEY_EVENT, [this] (const UDSClient& client, NetPacket& pkt) { in Init()
55 { MmiMessageId::ON_SUBSCRIBE_KEY, [this] (const UDSClient &client, NetPacket &pkt) { in Init()
59 { MmiMessageId::ON_SUBSCRIBE_SWITCH, [this] (const UDSClient &client, NetPacket &pkt) { in Init()
63 { MmiMessageId::ON_POINTER_EVENT, [this] (const UDSClient& client, NetPacket& pkt) { in Init()
66 { MmiMessageId::ADD_INPUT_DEVICE_LISTENER, [this] (const UDSClient& client, NetPacket& pkt) { in Init()
68 { MmiMessageId::NOTICE_ANR, [this] (const UDSClient& client, NetPacket& pkt) { in Init()
72 { MmiMessageId::REPORT_KEY_EVENT, [this] (const UDSClient& client, NetPacket& pkt) { in Init()
77 { MmiMessageId::REPORT_POINTER_EVENT, [this] (const UDSClient& client, NetPacket& pkt) { in Init()
80 { MmiMessageId::NOTIFY_BUNDLE_NAME, [this] (const UDSClient& client, NetPacket& pkt) { in Init()
82 { MmiMessageId::WINDOW_STATE_ERROR_NOTIFY, [this] (const UDSClient in Init()
[all...]
/foundation/multimodalinput/input/frameworks/proxy/module_loader/include/
H A Dmmi_client.h28 class MMIClient final : public UDSClient, public IfMMIClient, public std::enable_shared_from_this<IfMMIClient> {
/foundation/multimodalinput/input/frameworks/proxy/module_loader/src/
H A Dmmi_client.cpp90 auto callback = [this] (const UDSClient& client, NetPacket& pkt) { return msgHandler_.OnMsgHandler(client, pkt); }; in Start()
295 UDSClient::Stop(); in Stop()
/foundation/multimodalinput/input/util/socket/test/
H A Duds_client_test.cpp34 class UDSClientUnitTest : public UDSClient {

Completed in 4 milliseconds