/frameworks/native/services/inputflinger/tests/ |
D | InputDispatcher_test.cpp | 285 constexpr int32_t source = AINPUT_SOURCE_TOUCHSCREEN; in TEST_F() 648 return generateMotionArgs(action, AINPUT_SOURCE_TOUCHSCREEN, DISPLAY_ID, points); in generateTouchArgs() 689 injectMotionDown(*mDispatcher, AINPUT_SOURCE_TOUCHSCREEN, in TEST_F() 725 injectMotionDown(*mDispatcher, AINPUT_SOURCE_TOUCHSCREEN, in TEST_F() 747 injectMotionDown(*mDispatcher, AINPUT_SOURCE_TOUCHSCREEN, in TEST_F() 768 injectMotionDown(*mDispatcher, AINPUT_SOURCE_TOUCHSCREEN, in TEST_F() 788 injectMotionDown(*mDispatcher, AINPUT_SOURCE_TOUCHSCREEN, in TEST_F() 819 MotionEventBuilder(ACTION_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F() 830 MotionEventBuilder(ACTION_MOVE, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F() 857 mDispatcher->notifyMotion(MotionArgsBuilder(ACTION_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F() [all …]
|
D | PointerChoreographer_test.cpp | 201 MotionArgsBuilder(AMOTION_EVENT_ACTION_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F() 622 AINPUT_SOURCE_TOUCHSCREEN | AINPUT_SOURCE_STYLUS, in TEST_F() 706 {/*id=*/0, {generateTestDeviceInfo(DEVICE_ID, AINPUT_SOURCE_TOUCHSCREEN, DISPLAY_ID)}}); in TEST_F() 717 {/*id=*/0, {generateTestDeviceInfo(DEVICE_ID, AINPUT_SOURCE_TOUCHSCREEN, DISPLAY_ID)}}); in TEST_F() 722 MotionArgsBuilder(AMOTION_EVENT_ACTION_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F() 734 {/*id=*/0, {generateTestDeviceInfo(DEVICE_ID, AINPUT_SOURCE_TOUCHSCREEN, DISPLAY_ID)}}); in TEST_F() 740 MotionArgsBuilder(AMOTION_EVENT_ACTION_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F() 751 {/*id=*/0, {generateTestDeviceInfo(DEVICE_ID, AINPUT_SOURCE_TOUCHSCREEN, DISPLAY_ID)}}); in TEST_F() 754 MotionArgsBuilder(AMOTION_EVENT_ACTION_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F() 769 {/*id=*/0, {generateTestDeviceInfo(DEVICE_ID, AINPUT_SOURCE_TOUCHSCREEN, DISPLAY_ID)}}); in TEST_F() [all …]
|
D | InputTracingTest.cpp | 138 const auto down = MotionArgsBuilder(ACTION_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in tapAndExpect() 148 const auto up = MotionArgsBuilder(ACTION_UP, AINPUT_SOURCE_TOUCHSCREEN) in tapAndExpect() 596 const auto down = MotionArgsBuilder(ACTION_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F() 632 const auto down = MotionArgsBuilder(ACTION_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F() 683 const auto down = MotionArgsBuilder(ACTION_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F() 697 const auto move1 = MotionArgsBuilder(ACTION_MOVE, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F() 713 const auto move2 = MotionArgsBuilder(ACTION_MOVE, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F() 731 const auto up = MotionArgsBuilder(ACTION_UP, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F()
|
D | NotifyArgs_test.cpp | 38 uint32_t source = AINPUT_SOURCE_TOUCHSCREEN; in TEST()
|
D | UnwantedInteractionBlocker_test.cpp | 90 NotifyMotionArgs args(/*id=*/0, eventTime, /*readTime=*/0, DEVICE_ID, AINPUT_SOURCE_TOUCHSCREEN, in generateMotionArgs() 108 info.addSource(AINPUT_SOURCE_TOUCHSCREEN); in generateTestDeviceInfo() 109 info.addMotionRange(AMOTION_EVENT_AXIS_X, AINPUT_SOURCE_TOUCHSCREEN, 0, 1599, /*flat=*/0, in generateTestDeviceInfo() 111 info.addMotionRange(AMOTION_EVENT_AXIS_Y, AINPUT_SOURCE_TOUCHSCREEN, 0, 2559, /*flat=*/0, in generateTestDeviceInfo() 113 info.addMotionRange(AMOTION_EVENT_AXIS_TOUCH_MAJOR, AINPUT_SOURCE_TOUCHSCREEN, 0, 255, in generateTestDeviceInfo()
|
D | InputReader_test.cpp | 96 AINPUT_SOURCE_TOUCHSCREEN | AINPUT_SOURCE_BLUETOOTH_STYLUS; 133 info.getMotionRange(axis, AINPUT_SOURCE_TOUCHSCREEN); in assertAxisResolution() 142 info.getMotionRange(axis, AINPUT_SOURCE_TOUCHSCREEN); in assertAxisNotPresent() 1054 AINPUT_SOURCE_TOUCHSCREEN); in TEST_F() 1751 ASSERT_EQ(AINPUT_SOURCE_TOUCHSCREEN | AINPUT_SOURCE_STYLUS | AINPUT_SOURCE_KEYBOARD, in TEST_P() 2516 WithSource(AINPUT_SOURCE_TOUCHSCREEN | in TEST_F() 2533 WithSource(AINPUT_SOURCE_TOUCHSCREEN | AINPUT_SOURCE_STYLUS), in TEST_F() 2579 WithSource(AINPUT_SOURCE_TOUCHSCREEN | in TEST_F() 2712 AINPUT_SOURCE_TOUCHSCREEN); in TEST_F() 2738 ASSERT_EQ(uint32_t(AINPUT_SOURCE_KEYBOARD | AINPUT_SOURCE_TOUCHSCREEN), mDevice->getSources()); in TEST_F() [all …]
|
D | InputDeviceMetricsSource_test.cpp | 35 constexpr uint32_t TOUCHSCREEN = AINPUT_SOURCE_TOUCHSCREEN;
|
D | InputDeviceMetricsCollector_test.cpp | 47 constexpr uint32_t TOUCHSCREEN = AINPUT_SOURCE_TOUCHSCREEN; 120 uint32_t source = AINPUT_SOURCE_TOUCHSCREEN, in generateMotionArgs()
|
D | PreferStylusOverTouch_test.cpp | 33 constexpr int32_t TOUCHSCREEN = AINPUT_SOURCE_TOUCHSCREEN;
|
/frameworks/native/services/inputflinger/tests/fuzzers/ |
D | FuzzedInputStream.h | 60 AINPUT_SOURCE_TOUCHSCREEN, AINPUT_SOURCE_MOUSE, AINPUT_SOURCE_STYLUS, in getFuzzedSource() 145 case AINPUT_SOURCE_TOUCHSCREEN: in getToolType()
|
/frameworks/native/services/inputflinger/benchmarks/ |
D | InputDispatcher_benchmarks.cpp | 64 event.initialize(IInputConstants::INVALID_INPUT_EVENT_ID, DEVICE_ID, AINPUT_SOURCE_TOUCHSCREEN, in generateMotionEvent() 91 DEVICE_ID, AINPUT_SOURCE_TOUCHSCREEN, ui::LogicalDisplayId::DEFAULT, in generateMotionArgs()
|
/frameworks/native/libs/input/tests/ |
D | InputEvent_test.cpp | 368 event->initialize(mId, 2, AINPUT_SOURCE_TOUCHSCREEN, DISPLAY_ID, HMAC, in initializeEventWithHistory() 383 ASSERT_EQ(AINPUT_SOURCE_TOUCHSCREEN, event->getSource()); in assertEqualsEventWithHistory() 595 MotionEvent event = MotionEventBuilder(POINTER_1_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F() 638 MotionEvent event = MotionEventBuilder(POINTER_0_UP, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F() 685 MotionEvent event = MotionEventBuilder(POINTER_1_UP, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F() 705 MotionEvent event = MotionEventBuilder(AMOTION_EVENT_ACTION_MOVE, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F() 827 event.initialize(InputEvent::nextId(), /*deviceId=*/0, AINPUT_SOURCE_TOUCHSCREEN, DISPLAY_ID, in TEST_F() 898 return createMotionEvent(AINPUT_SOURCE_TOUCHSCREEN, AMOTION_EVENT_ACTION_DOWN, x, y, dx, dy, in createTouchDownEvent() 1032 event.initialize(InputEvent::nextId(), /*deviceId=*/0, AINPUT_SOURCE_TOUCHSCREEN, in TEST_F() 1098 event.initialize(InputEvent::nextId(), 2, AINPUT_SOURCE_TOUCHSCREEN, DISPLAY_ID, HMAC, in TEST_F() [all …]
|
D | MotionPredictor_test.cpp | 178 ASSERT_FALSE(predictor.isPredictionAvailable(/*deviceId=*/1, AINPUT_SOURCE_TOUCHSCREEN)); in TEST() 249 ASSERT_FALSE(predictor.isPredictionAvailable(/*deviceId=*/1, AINPUT_SOURCE_TOUCHSCREEN)); in TEST()
|
D | TouchResampling_test.cpp | 87 AINPUT_SOURCE_TOUCHSCREEN, ui::LogicalDisplayId::DEFAULT, in publishSimpleMotionEventWithCoords()
|
D | InputPublisherAndConsumer_test.cpp | 50 const uint32_t source = AINPUT_SOURCE_TOUCHSCREEN;
|
D | InputPublisherAndConsumerNoResampling_test.cpp | 57 const uint32_t source = AINPUT_SOURCE_TOUCHSCREEN;
|
D | VelocityTracker_test.cpp | 217 event.initialize(InputEvent::nextId(), /*deviceId=*/0, AINPUT_SOURCE_TOUCHSCREEN, in createTouchMotionEventStream()
|
/frameworks/native/services/inputflinger/ |
D | UnwantedInteractionBlocker.cpp | 94 return isFromSource(source, AINPUT_SOURCE_TOUCHSCREEN); in isFromTouchscreen() 237 deviceInfo.getMotionRange(AMOTION_EVENT_AXIS_X, AINPUT_SOURCE_TOUCHSCREEN); in createPalmFilterDeviceInfo() 247 deviceInfo.getMotionRange(AMOTION_EVENT_AXIS_Y, AINPUT_SOURCE_TOUCHSCREEN); in createPalmFilterDeviceInfo() 257 deviceInfo.getMotionRange(AMOTION_EVENT_AXIS_TOUCH_MAJOR, AINPUT_SOURCE_TOUCHSCREEN); in createPalmFilterDeviceInfo() 265 deviceInfo.getMotionRange(AMOTION_EVENT_AXIS_TOUCH_MINOR, AINPUT_SOURCE_TOUCHSCREEN); in createPalmFilterDeviceInfo()
|
D | InputDeviceMetricsSource.cpp | 108 if (isFromSource(motionArgs.source, AINPUT_SOURCE_TOUCHSCREEN)) { in getUsageSourcesForMotionArgs()
|
D | PointerChoreographer.cpp | 220 } else if (isFromSource(args.source, AINPUT_SOURCE_TOUCHSCREEN)) { in processMotion() 617 if (isFromSource(sources, AINPUT_SOURCE_TOUCHSCREEN) && mShowTouchesEnabled && in updatePointerControllersLocked()
|
D | InputProcessor.cpp | 72 isFromSource(args.source, AINPUT_SOURCE_TOUCHSCREEN); in isTouchEvent()
|
D | InputCommonConverter.cpp | 35 static_assert(static_cast<common::Source>(AINPUT_SOURCE_TOUCHSCREEN) == in getSource()
|
/frameworks/native/include/android/ |
D | input.h | 973 AINPUT_SOURCE_TOUCHSCREEN = 0x00001000 | AINPUT_SOURCE_CLASS_POINTER, enumerator
|
/frameworks/native/libs/input/rust/ |
D | input.rs | 74 const Touchscreen = input_bindgen::AINPUT_SOURCE_TOUCHSCREEN;
|
/frameworks/native/libs/input/ |
D | Android.bp | 104 "--allowlist-var=AINPUT_SOURCE_TOUCHSCREEN",
|