HomeSort by relevance Sort by last modified time
    Searched refs:InputMessage (Results 1 - 4 of 4) sorted by null

  /frameworks/native/libs/input/tests/
StructLayout_test.cpp 35 CHECK_OFFSET(InputMessage, body, 8);
37 CHECK_OFFSET(InputMessage::Body::Key, seq, 0);
38 CHECK_OFFSET(InputMessage::Body::Key, eventTime, 8);
39 CHECK_OFFSET(InputMessage::Body::Key, deviceId, 16);
40 CHECK_OFFSET(InputMessage::Body::Key, source, 20);
41 CHECK_OFFSET(InputMessage::Body::Key, action, 24);
42 CHECK_OFFSET(InputMessage::Body::Key, flags, 28);
43 CHECK_OFFSET(InputMessage::Body::Key, keyCode, 32);
44 CHECK_OFFSET(InputMessage::Body::Key, scanCode, 36);
45 CHECK_OFFSET(InputMessage::Body::Key, metaState, 40)
    [all...]
InputChannel_test.cpp 76 InputMessage serverMsg;
77 memset(&serverMsg, 0, sizeof(InputMessage));
78 serverMsg.header.type = InputMessage::TYPE_KEY;
83 InputMessage clientMsg;
92 InputMessage clientReply;
93 memset(&clientReply, 0, sizeof(InputMessage));
94 clientReply.header.type = InputMessage::TYPE_FINISHED;
100 InputMessage serverReply;
120 InputMessage msg;
136 InputMessage msg
    [all...]
  /frameworks/native/include/input/
InputTransport.h 23 * The InputChannel provides a mechanism for exchanging InputMessage structures across processes.
46 struct InputMessage {
56 // leave it here because InputMessage::size() and other functions
166 status_t sendMessage(const InputMessage* msg);
178 status_t receiveMessage(InputMessage* msg);
351 InputMessage mMsg;
359 Vector<InputMessage> samples;
370 void initializeFrom(const InputMessage* msg) {
402 void addHistory(const InputMessage* msg) {
431 void updateTouchState(InputMessage* msg)
    [all...]
  /frameworks/native/libs/input/
InputTransport.cpp 71 // --- InputMessage ---
73 bool InputMessage::isValid(size_t actualSize) const {
88 size_t InputMessage::size() const {
152 status_t InputChannel::sendMessage(const InputMessage* msg) {
188 status_t InputChannel::receiveMessage(InputMessage* msg) {
191 nRead = ::recv(mFd, msg, sizeof(InputMessage), MSG_DONTWAIT);
269 InputMessage msg;
270 msg.header.type = InputMessage::TYPE_KEY;
326 InputMessage msg;
327 msg.header.type = InputMessage::TYPE_MOTION
    [all...]

Completed in 116 milliseconds