Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/tests/
DInputChannel_test.cpp75 InputMessage serverMsg; in TEST_F()
76 memset(&serverMsg, 0, sizeof(InputMessage)); in TEST_F()
77 serverMsg.header.type = InputMessage::TYPE_KEY; in TEST_F()
82 InputMessage clientMsg; in TEST_F()
91 InputMessage clientReply; in TEST_F()
92 memset(&clientReply, 0, sizeof(InputMessage)); in TEST_F()
93 clientReply.header.type = InputMessage::TYPE_FINISHED; in TEST_F()
99 InputMessage serverReply; in TEST_F()
119 InputMessage msg; in TEST_F()
135 InputMessage msg; in TEST_F()
[all …]
/frameworks/base/include/androidfw/
DInputTransport.h43 struct InputMessage { struct
157 status_t sendMessage(const InputMessage* msg);
169 status_t receiveMessage(InputMessage* msg);
338 InputMessage mMsg;
346 Vector<InputMessage> samples;
357 void initializeFrom(const InputMessage* msg) { in initializeFrom()
389 void addHistory(const InputMessage* msg) { in addHistory()
418 void updateTouchState(InputMessage* msg);
419 void rewriteMessage(const TouchState& state, InputMessage* msg);
421 const InputMessage *next);
[all …]
/frameworks/base/libs/androidfw/
DInputTransport.cpp67 bool InputMessage::isValid(size_t actualSize) const { in isValid()
82 size_t InputMessage::size() const { in size()
146 status_t InputChannel::sendMessage(const InputMessage* msg) { in sendMessage()
182 status_t InputChannel::receiveMessage(InputMessage* msg) { in receiveMessage()
185 nRead = ::recv(mFd, msg, sizeof(InputMessage), MSG_DONTWAIT); in receiveMessage()
258 InputMessage msg; in publishKeyEvent()
259 msg.header.type = InputMessage::TYPE_KEY; in publishKeyEvent()
314 InputMessage msg; in publishMotionEvent()
315 msg.header.type = InputMessage::TYPE_MOTION; in publishMotionEvent()
344 InputMessage msg; in receiveFinishedSignal()
[all …]