Home
last modified time | relevance | path

Searched refs:InputMessage (Results 1 – 4 of 4) sorted by relevance

/aosp12/frameworks/native/libs/input/tests/
H A DStructLayout_test.cpp35 CHECK_OFFSET(InputMessage, body, 8); in TestInputMessageAlignment()
37 CHECK_OFFSET(InputMessage::Body::Key, eventId, 0); in TestInputMessageAlignment()
40 CHECK_OFFSET(InputMessage::Body::Key, source, 20); in TestInputMessageAlignment()
42 CHECK_OFFSET(InputMessage::Body::Key, hmac, 28); in TestInputMessageAlignment()
43 CHECK_OFFSET(InputMessage::Body::Key, action, 60); in TestInputMessageAlignment()
44 CHECK_OFFSET(InputMessage::Body::Key, flags, 64); in TestInputMessageAlignment()
45 CHECK_OFFSET(InputMessage::Body::Key, keyCode, 68); in TestInputMessageAlignment()
93 CHECK_OFFSET(InputMessage::Body::Drag, x, 4); in TestInputMessageAlignment()
94 CHECK_OFFSET(InputMessage::Body::Drag, y, 8); in TestInputMessageAlignment()
108 CHECK_OFFSET(InputMessage::Header, type, 0); in TestHeaderSize()
[all …]
H A DInputChannel_test.cpp84 InputMessage serverMsg; in TEST_F()
85 memset(&serverMsg, 0, sizeof(InputMessage)); in TEST_F()
91 InputMessage clientMsg; in TEST_F()
100 InputMessage clientReply; in TEST_F()
101 memset(&clientReply, 0, sizeof(InputMessage)); in TEST_F()
108 InputMessage serverReply; in TEST_F()
128 InputMessage msg; in TEST_F()
144 InputMessage msg; in TEST_F()
160 InputMessage msg; in TEST_F()
161 msg.header.type = InputMessage::Type::KEY; in TEST_F()
[all …]
/aosp12/frameworks/native/libs/input/
H A DInputTransport.cpp162 void InputMessage::getSanitizedCopy(InputMessage* msg) const { in getSanitizedCopy()
359 InputMessage cleanMsg; in sendMessage()
514 InputMessage msg; in publishKeyEvent()
574 InputMessage msg; in publishMotionEvent()
623 InputMessage msg; in publishFocusEvent()
641 InputMessage msg; in publishCaptureEvent()
658 InputMessage msg; in publishDragEvent()
673 InputMessage msg; in receiveConsumerResponse()
1050 const InputMessage* next) { in resampleTouchState()
1251 InputMessage msg; in sendTimeline()
[all …]
/aosp12/frameworks/native/include/input/
H A DInputTransport.h66 struct InputMessage { struct
213 void getSanitizedCopy(InputMessage* msg) const; argument
259 status_t sendMessage(const InputMessage* msg);
271 status_t receiveMessage(InputMessage* msg);
523 InputMessage mMsg;
531 std::vector<InputMessage> samples;
542 void initializeFrom(const InputMessage& msg) { in initializeFrom()
590 void addHistory(const InputMessage& msg) { in addHistory()
644 void updateTouchState(InputMessage& msg);
646 const InputMessage *next);
[all …]