Lines Matching refs:MotionClassification

60 static MotionClassification getMotionClassification(common::V1_0::Classification classification) {  in getMotionClassification()
61 static_assert(MotionClassification::NONE == in getMotionClassification()
62 static_cast<MotionClassification>(common::V1_0::Classification::NONE)); in getMotionClassification()
63 static_assert(MotionClassification::AMBIGUOUS_GESTURE == in getMotionClassification()
64 static_cast<MotionClassification>(common::V1_0::Classification::AMBIGUOUS_GESTURE)); in getMotionClassification()
65 static_assert(MotionClassification::DEEP_PRESS == in getMotionClassification()
66 static_cast<MotionClassification>(common::V1_0::Classification::DEEP_PRESS)); in getMotionClassification()
67 return static_cast<MotionClassification>(classification); in getMotionClassification()
231 MotionClassification classification) { in updateClassification()
244 void MotionClassifier::setClassification(int32_t deviceId, MotionClassification classification) { in setClassification()
254 MotionClassification MotionClassifier::getClassification(int32_t deviceId) { in getClassification()
256 return getValueForKey(mClassifications, deviceId, MotionClassification::NONE); in getClassification()
262 mClassifications[deviceId] = MotionClassification::NONE; in updateLastDownTime()
271 MotionClassification MotionClassifier::classify(const NotifyMotionArgs& args) { in classify()
325 const MotionClassification classification = in dump()
326 getValueForKey(mClassifications, deviceId, MotionClassification::NONE); in dump()