Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/tests/
DInputProcessor_test.cpp170 std::unique_ptr<MotionClassifierInterface> mMotionClassifier; member in android::MotionClassifierTest
174 mMotionClassifier = MotionClassifier::create(std::move(service)); in SetUp()
187 mMotionClassifier = nullptr; in TEST_F()
199 ASSERT_NO_FATAL_FAILURE(mMotionClassifier->classify(motionArgs)); in TEST_F()
215 ASSERT_NO_FATAL_FAILURE(mMotionClassifier->classify(motionArgs)); in TEST_F()
236 ASSERT_NO_FATAL_FAILURE(mMotionClassifier->classify(motionArgs)); in TEST_F()
243 ASSERT_NO_FATAL_FAILURE(mMotionClassifier->reset()); in TEST_F()
251 ASSERT_NO_FATAL_FAILURE(mMotionClassifier->reset(args)); in TEST_F()
/frameworks/native/services/inputflinger/
DInputProcessor.cpp438 const bool sendToMotionClassifier = mMotionClassifier && isTouchEvent(args); in notifyMotion()
443 const MotionClassification newClassification = mMotionClassifier->classify(newArgs); in notifyMotion()
477 if (mMotionClassifier) { in notifyDeviceReset()
478 mMotionClassifier->reset(args); in notifyDeviceReset()
500 mMotionClassifier = std::move(motionClassifier); in setMotionClassifierLocked()
507 if (mMotionClassifier) { in dump()
508 mMotionClassifier->dump(dump); in dump()
517 if (mMotionClassifier) mMotionClassifier->monitor(); in monitor()
DInputProcessor.h272 std::unique_ptr<MotionClassifierInterface> mMotionClassifier GUARDED_BY(mLock);