Lines Matching refs:InputDeviceUsageSource

34 constexpr auto ALL_USAGE_SOURCES = ftl::enum_range<InputDeviceUsageSource>();
47 public ::testing::WithParamInterface<InputDeviceUsageSource> {};
50 const InputDeviceUsageSource usageSource = GetParam(); in TEST_P()
54 case InputDeviceUsageSource::UNKNOWN: { in TEST_P()
55 ASSERT_EQ(InputDeviceUsageSource::UNKNOWN, in TEST_P()
60 std::set<InputDeviceUsageSource> srcs{InputDeviceUsageSource::UNKNOWN}; in TEST_P()
71 case InputDeviceUsageSource::BUTTONS: { in TEST_P()
72 ASSERT_EQ(InputDeviceUsageSource::BUTTONS, in TEST_P()
80 case InputDeviceUsageSource::KEYBOARD: { in TEST_P()
81 ASSERT_EQ(InputDeviceUsageSource::KEYBOARD, in TEST_P()
88 case InputDeviceUsageSource::DPAD: { in TEST_P()
89 ASSERT_EQ(InputDeviceUsageSource::DPAD, in TEST_P()
95 ASSERT_EQ(InputDeviceUsageSource::DPAD, in TEST_P()
103 case InputDeviceUsageSource::GAMEPAD: { in TEST_P()
104 ASSERT_EQ(InputDeviceUsageSource::GAMEPAD, in TEST_P()
110 ASSERT_EQ(InputDeviceUsageSource::GAMEPAD, in TEST_P()
118 case InputDeviceUsageSource::JOYSTICK: { in TEST_P()
119 std::set<InputDeviceUsageSource> srcs{InputDeviceUsageSource::JOYSTICK}; in TEST_P()
129 case InputDeviceUsageSource::MOUSE: { in TEST_P()
130 std::set<InputDeviceUsageSource> srcs{InputDeviceUsageSource::MOUSE}; in TEST_P()
142 case InputDeviceUsageSource::MOUSE_CAPTURED: { in TEST_P()
143 std::set<InputDeviceUsageSource> srcs{InputDeviceUsageSource::MOUSE_CAPTURED}; in TEST_P()
157 case InputDeviceUsageSource::TOUCHPAD: { in TEST_P()
158 std::set<InputDeviceUsageSource> srcs{InputDeviceUsageSource::TOUCHPAD}; in TEST_P()
169 case InputDeviceUsageSource::TOUCHPAD_CAPTURED: { in TEST_P()
170 std::set<InputDeviceUsageSource> srcs{InputDeviceUsageSource::TOUCHPAD_CAPTURED}; in TEST_P()
183 case InputDeviceUsageSource::ROTARY_ENCODER: { in TEST_P()
184 std::set<InputDeviceUsageSource> srcs{InputDeviceUsageSource::ROTARY_ENCODER}; in TEST_P()
196 case InputDeviceUsageSource::STYLUS_DIRECT: { in TEST_P()
197 std::set<InputDeviceUsageSource> srcs{InputDeviceUsageSource::STYLUS_DIRECT}; in TEST_P()
209 case InputDeviceUsageSource::STYLUS_INDIRECT: { in TEST_P()
210 std::set<InputDeviceUsageSource> srcs{InputDeviceUsageSource::STYLUS_INDIRECT}; in TEST_P()
222 case InputDeviceUsageSource::STYLUS_FUSED: { in TEST_P()
223 std::set<InputDeviceUsageSource> srcs{InputDeviceUsageSource::STYLUS_FUSED}; in TEST_P()
235 case InputDeviceUsageSource::TOUCH_NAVIGATION: { in TEST_P()
236 std::set<InputDeviceUsageSource> srcs{InputDeviceUsageSource::TOUCH_NAVIGATION}; in TEST_P()
248 case InputDeviceUsageSource::TOUCHSCREEN: { in TEST_P()
249 std::set<InputDeviceUsageSource> srcs{InputDeviceUsageSource::TOUCHSCREEN}; in TEST_P()
263 case InputDeviceUsageSource::TRACKBALL: { in TEST_P()
264 std::set<InputDeviceUsageSource> srcs{InputDeviceUsageSource::TRACKBALL}; in TEST_P()
281 [](const testing::TestParamInfo<InputDeviceUsageSource>& testParamInfo) { in __anon548648b80202()
286 std::set<InputDeviceUsageSource> srcs{InputDeviceUsageSource::TOUCHSCREEN, in TEST()
287 InputDeviceUsageSource::STYLUS_DIRECT}; in TEST()