Home
last modified time | relevance | path

Searched refs:ClassifierEvent (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/inputflinger/
DInputProcessor.h36 struct ClassifierEvent { struct
40 ClassifierEvent(ClassifierEventType type, std::optional<NotifyArgs> args); argument
41 ClassifierEvent(const NotifyMotionArgs& args);
42 ClassifierEvent(const NotifyDeviceResetArgs& args);
43 ClassifierEvent(ClassifierEvent&& other) = default;
44 ClassifierEvent& operator=(ClassifierEvent&& other); argument
47 static ClassifierEvent createHalResetEvent();
49 static ClassifierEvent createExitEvent();
170 BlockingQueue<ClassifierEvent> mEvents;
174 void enqueueEvent(ClassifierEvent&& event);
DInputProcessor.cpp127 ClassifierEvent::ClassifierEvent(const NotifyMotionArgs& args) in ClassifierEvent() function in android::ClassifierEvent
130 ClassifierEvent::ClassifierEvent(const NotifyDeviceResetArgs& args) in ClassifierEvent() function in android::ClassifierEvent
133 ClassifierEvent::ClassifierEvent(ClassifierEventType type, std::optional<NotifyArgs> args) in ClassifierEvent() function in android::ClassifierEvent
136 ClassifierEvent& ClassifierEvent::operator=(ClassifierEvent&& other) { in operator =()
142 ClassifierEvent ClassifierEvent::createHalResetEvent() { in createHalResetEvent()
143 return ClassifierEvent(ClassifierEventType::HAL_RESET, std::nullopt); in createHalResetEvent()
146 ClassifierEvent ClassifierEvent::createExitEvent() { in createExitEvent()
147 return ClassifierEvent(ClassifierEventType::EXIT, std::nullopt); in createExitEvent()
150 std::optional<int32_t> ClassifierEvent::getDeviceId() const { in getDeviceId()
177 mEvents.push(ClassifierEvent::createHalResetEvent()); in MotionClassifier()
[all …]