Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/tests/
DPointerChoreographer_test.cpp66 static InputDeviceInfo generateTestDeviceInfo(int32_t deviceId, uint32_t source, in generateTestDeviceInfo() function
249 {generateTestDeviceInfo(DEVICE_ID, AINPUT_SOURCE_MOUSE, in TEST_F()
257 {generateTestDeviceInfo(DEVICE_ID, AINPUT_SOURCE_MOUSE, in TEST_F()
269 {generateTestDeviceInfo(DEVICE_ID, AINPUT_SOURCE_KEYBOARD, in TEST_F()
278 {/*id=*/0, {generateTestDeviceInfo(DEVICE_ID, AINPUT_SOURCE_MOUSE, DISPLAY_ID)}}); in TEST_F()
288 {/*id=*/0, {generateTestDeviceInfo(DEVICE_ID, AINPUT_SOURCE_MOUSE, DISPLAY_ID)}}); in TEST_F()
305 {generateTestDeviceInfo(DEVICE_ID, AINPUT_SOURCE_MOUSE, in TEST_F()
319 {generateTestDeviceInfo(DEVICE_ID, AINPUT_SOURCE_MOUSE, in TEST_F()
340 {generateTestDeviceInfo(DEVICE_ID, AINPUT_SOURCE_MOUSE, in TEST_F()
351 {generateTestDeviceInfo(DEVICE_ID, AINPUT_SOURCE_MOUSE, in TEST_F()
[all …]
DUnwantedInteractionBlocker_test.cpp102 static InputDeviceInfo generateTestDeviceInfo() { in generateTestDeviceInfo() function
120 InputDeviceInfo androidInfo = generateTestDeviceInfo(); in generatePalmFilterDeviceInfo()
490 mBlocker->notifyInputDevicesChanged({/*id=*/0, {generateTestDeviceInfo()}}); in TEST_F()
499 mBlocker->notifyInputDevicesChanged({/*id=*/0, {generateTestDeviceInfo()}}); in TEST_F()
511 mBlocker->notifyInputDevicesChanged({/*id=*/0, {generateTestDeviceInfo()}}); in TEST_F()
516 mBlocker->notifyInputDevicesChanged({/*id=*/0, {generateTestDeviceInfo()}}); in TEST_F()
527 mBlocker->notifyInputDevicesChanged({/*id=*/0, {generateTestDeviceInfo()}}); in TEST_F()
555 mBlocker->notifyInputDevicesChanged({/*id=*/0, {generateTestDeviceInfo()}}); in TEST_F()
571 mBlocker->notifyInputDevicesChanged({/*id=*/0, {generateTestDeviceInfo()}}); in TEST_F()
594 NotifyInputDevicesChangedArgs deviceChangedArgs = {/*id=*/0, {generateTestDeviceInfo()}}; in TEST_F()
[all …]
DLatencyTracker_test.cpp39 static InputDeviceInfo generateTestDeviceInfo(uint16_t vendorId, uint16_t productId, in generateTestDeviceInfo() function
51 InputDeviceInfo deviceInfo = generateTestDeviceInfo( in setDefaultInputDeviceInfo()
355 InputDeviceInfo deviceInfo1 = generateTestDeviceInfo( in TEST_F()
357 InputDeviceInfo deviceInfo2 = generateTestDeviceInfo( in TEST_F()
DInputDeviceMetricsCollector_test.cpp62 InputDeviceInfo generateTestDeviceInfo(int32_t id = DEVICE_ID, in generateTestDeviceInfo() function
71 const InputDeviceInfo TOUCHSCREEN_STYLUS_INFO = generateTestDeviceInfo(DEVICE_ID);
72 const InputDeviceInfo SECOND_TOUCHSCREEN_STYLUS_INFO = generateTestDeviceInfo(DEVICE_ID_2);
163 {/*id=*/0, {generateTestDeviceInfo(ignoredDeviceId)}}); in TEST_F()