Home
last modified time | relevance | path

Searched refs:tolerance (Results 1 – 4 of 4) sorted by relevance

/hardware/interfaces/automotive/vehicle/2.0/default/tests/
DRecurrentTimer_test.cpp28 #define ASSERT_EQ_WITH_TOLERANCE(val1, val2, tolerance) \ argument
29 ASSERT_LE(val1 - tolerance, val2); \
30 ASSERT_GE(val1 + tolerance, val2); \
/hardware/interfaces/broadcastradio/common/tests/
DWorkerThread_test.cpp35 #define ASSERT_EQ_WITH_TOLERANCE(val1, val2, tolerance) \ argument
36 ASSERT_LE((val1) - (tolerance), (val2)); \
37 ASSERT_GE((val1) + (tolerance), (val2));
/hardware/nxp/nfc/halimpl/self-test/
DphNxpNciHal_SelfTest.cc564 int tolerance = 0; in st_validator_testAntenna_Txldo() local
588 tolerance = (phAntenna_resp.wTxdoMeasuredRangeMax * in st_validator_testAntenna_Txldo()
591 if ((measured_val <= phAntenna_resp.wTxdoMeasuredRangeMax + tolerance)) { in st_validator_testAntenna_Txldo()
592 tolerance = (phAntenna_resp.wTxdoMeasuredRangeMin * in st_validator_testAntenna_Txldo()
596 phAntenna_resp.wTxdoMeasuredRangeMin - tolerance)) { in st_validator_testAntenna_Txldo()
/hardware/qcom/camera/msm8998/QCamera2/HAL/test/
Dqcamera_test.cpp1961 double tolerance = 0.00001; in getPreviewSizeFromVideoSizes() local
1979 if (fabs(videoRatio - previewRatio) < tolerance) { in getPreviewSizeFromVideoSizes()