Home
last modified time | relevance | path

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

/frameworks/native/libs/input/tests/
DInputChannel_test.cpp76 InputMessage serverMsg; in TEST_F() local
77 memset(&serverMsg, 0, sizeof(InputMessage)); in TEST_F()
78 serverMsg.header.type = InputMessage::TYPE_KEY; in TEST_F()
79 serverMsg.body.key.action = AKEY_EVENT_ACTION_DOWN; in TEST_F()
80 EXPECT_EQ(OK, serverChannel->sendMessage(&serverMsg)) in TEST_F()
86 EXPECT_EQ(serverMsg.header.type, clientMsg.header.type) in TEST_F()
88 EXPECT_EQ(serverMsg.body.key.action, clientMsg.body.key.action) in TEST_F()