Home
last modified time | relevance | path

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

/hardware/interfaces/sensors/common/vts/utils/include/sensors-vts-utils/
DSensorEventsChecker.h50 class Vec3NormChecker : public SensorEventPerEventChecker<EventType> {
52 Vec3NormChecker(float min, float max) : mLowerLimit(min), mUpperLimit(max) {} in Vec3NormChecker() function
53 static Vec3NormChecker<EventType> byNominal(float nominal, float allowedError) { in byNominal()
54 return Vec3NormChecker<EventType>(nominal - allowedError, nominal + allowedError); in byNominal()
DSensorsHidlTestBase.h160 : mAccelNormChecker(Vec3NormChecker<EventType>::byNominal(GRAVITY_EARTH, 1.0f /*m/s^2*/)), in SensorsHidlTestBase()
161 mGyroNormChecker(Vec3NormChecker<EventType>::byNominal(0.f, 0.1f /*rad/s*/)) {} in SensorsHidlTestBase()
658 Vec3NormChecker<EventType> mAccelNormChecker;
659 Vec3NormChecker<EventType> mGyroNormChecker;