Searched refs:ClassifierEvent (Results 1 – 2 of 2) sorted by relevance
36 struct ClassifierEvent { struct40 ClassifierEvent(ClassifierEventType type, std::optional<NotifyArgs> args); argument41 ClassifierEvent(const NotifyMotionArgs& args);42 ClassifierEvent(const NotifyDeviceResetArgs& args);43 ClassifierEvent(ClassifierEvent&& other) = default;44 ClassifierEvent& operator=(ClassifierEvent&& other); argument47 static ClassifierEvent createHalResetEvent();49 static ClassifierEvent createExitEvent();170 BlockingQueue<ClassifierEvent> mEvents;174 void enqueueEvent(ClassifierEvent&& event);
127 ClassifierEvent::ClassifierEvent(const NotifyMotionArgs& args) in ClassifierEvent() function in android::ClassifierEvent130 ClassifierEvent::ClassifierEvent(const NotifyDeviceResetArgs& args) in ClassifierEvent() function in android::ClassifierEvent133 ClassifierEvent::ClassifierEvent(ClassifierEventType type, std::optional<NotifyArgs> args) in ClassifierEvent() function in android::ClassifierEvent136 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 …]