Home
last modified time | relevance | path

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

/hardware/interfaces/sensors/common/vts/utils/include/sensors-vts-utils/
DSensorEventsChecker.h49 class Vec3NormChecker : public SensorEventPerEventChecker {
51 Vec3NormChecker(float min, float max) : mLowerLimit(min), mUpperLimit(max) {} in Vec3NormChecker() function
52 static Vec3NormChecker byNominal(float nominal, float allowedError) { in byNominal()
53 return Vec3NormChecker(nominal - allowedError, nominal + allowedError); in byNominal()
DSensorsHidlTestBase.h124 static const Vec3NormChecker sAccelNormChecker;
125 static const Vec3NormChecker sGyroNormChecker;
/hardware/interfaces/sensors/common/vts/utils/
DSensorsHidlTestBase.cpp35 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*/));