Searched refs:CHECK_OFFSET (Results 1 – 1 of 1) sorted by relevance
/frameworks/native/libs/input/tests/ |
D | StructLayout_test.cpp | 22 #define CHECK_OFFSET(type, member, expected_offset) \ macro 31 CHECK_OFFSET(Foo, coords, 8); in TestPointerCoordsAlignment() 35 CHECK_OFFSET(InputMessage, body, 8); in TestInputMessageAlignment() 37 CHECK_OFFSET(InputMessage::Body::Key, seq, 0); in TestInputMessageAlignment() 38 CHECK_OFFSET(InputMessage::Body::Key, eventTime, 8); in TestInputMessageAlignment() 39 CHECK_OFFSET(InputMessage::Body::Key, deviceId, 16); in TestInputMessageAlignment() 40 CHECK_OFFSET(InputMessage::Body::Key, source, 20); in TestInputMessageAlignment() 41 CHECK_OFFSET(InputMessage::Body::Key, displayId, 24); in TestInputMessageAlignment() 42 CHECK_OFFSET(InputMessage::Body::Key, action, 28); in TestInputMessageAlignment() 43 CHECK_OFFSET(InputMessage::Body::Key, flags, 32); in TestInputMessageAlignment() [all …]
|