• Home
  • Raw
  • Download

Lines Matching refs:verified

58     VerifiedKeyEvent verified = verifiedKeyEventFromKeyEvent(event);  in TEST()  local
60 ASSERT_EQ(VerifiedInputEvent::Type::KEY, verified.type); in TEST()
62 ASSERT_EQ(event.getDeviceId(), verified.deviceId); in TEST()
63 ASSERT_EQ(event.getEventTime(), verified.eventTimeNanos); in TEST()
64 ASSERT_EQ(event.getSource(), verified.source); in TEST()
65 ASSERT_EQ(event.getDisplayId(), verified.displayId); in TEST()
67 ASSERT_EQ(event.getAction(), verified.action); in TEST()
68 ASSERT_EQ(event.getDownTime(), verified.downTimeNanos); in TEST()
69 ASSERT_EQ(event.getFlags() & VERIFIED_KEY_EVENT_FLAGS, verified.flags); in TEST()
70 ASSERT_EQ(event.getKeyCode(), verified.keyCode); in TEST()
71 ASSERT_EQ(event.getScanCode(), verified.scanCode); in TEST()
72 ASSERT_EQ(event.getMetaState(), verified.metaState); in TEST()
73 ASSERT_EQ(event.getRepeatCount(), verified.repeatCount); in TEST()
78 VerifiedKeyEvent verified = verifiedKeyEventFromKeyEvent(event); in TEST() local
79 ASSERT_EQ(AKEY_EVENT_FLAG_CANCELED, verified.flags); in TEST()
84 VerifiedKeyEvent verified = verifiedKeyEventFromKeyEvent(event); in TEST() local
85 ASSERT_EQ(0, verified.flags); in TEST()
90 VerifiedMotionEvent verified = verifiedMotionEventFromMotionEvent(event); in TEST() local
92 ASSERT_EQ(VerifiedInputEvent::Type::MOTION, verified.type); in TEST()
94 ASSERT_EQ(event.getDeviceId(), verified.deviceId); in TEST()
95 ASSERT_EQ(event.getEventTime(), verified.eventTimeNanos); in TEST()
96 ASSERT_EQ(event.getSource(), verified.source); in TEST()
97 ASSERT_EQ(event.getDisplayId(), verified.displayId); in TEST()
99 ASSERT_EQ(event.getRawX(0), verified.rawX); in TEST()
100 ASSERT_EQ(event.getRawY(0), verified.rawY); in TEST()
101 ASSERT_EQ(event.getAction(), verified.actionMasked); in TEST()
102 ASSERT_EQ(event.getDownTime(), verified.downTimeNanos); in TEST()
103 ASSERT_EQ(event.getFlags() & VERIFIED_MOTION_EVENT_FLAGS, verified.flags); in TEST()
104 ASSERT_EQ(event.getMetaState(), verified.metaState); in TEST()
105 ASSERT_EQ(event.getButtonState(), verified.buttonState); in TEST()
111 VerifiedMotionEvent verified = verifiedMotionEventFromMotionEvent(event); in TEST() local
112 ASSERT_EQ(AMOTION_EVENT_FLAG_WINDOW_IS_OBSCURED, verified.flags); in TEST()
117 VerifiedMotionEvent verified = verifiedMotionEventFromMotionEvent(event); in TEST() local
118 ASSERT_EQ(0, verified.flags); in TEST()