Searched refs:Vec3NormChecker (Results 1 – 3 of 3) sorted by relevance
49 class Vec3NormChecker : public SensorEventPerEventChecker {51 Vec3NormChecker(float min, float max) : mLowerLimit(min), mUpperLimit(max) {} in Vec3NormChecker() function52 static Vec3NormChecker byNominal(float nominal, float allowedError) { in byNominal()53 return Vec3NormChecker(nominal - allowedError, nominal + allowedError); in byNominal()
124 static const Vec3NormChecker sAccelNormChecker;125 static const Vec3NormChecker sGyroNormChecker;
35 const Vec3NormChecker SensorsHidlTestBase::sAccelNormChecker(36 Vec3NormChecker::byNominal(GRAVITY_EARTH, 1.0f /*m/s^2*/));37 const Vec3NormChecker SensorsHidlTestBase::sGyroNormChecker(38 Vec3NormChecker::byNominal(0.f, 0.1f /*rad/s*/));