Home
last modified time | relevance | path

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

/hardware/interfaces/graphics/mapper/4.0/utils/vts/include/mapper-vts/4.0/
DMapperVts.h92 enum Tolerance tolerance = Tolerance::kToleranceStrict, uint32_t* outStride = nullptr);
95 bool import, enum Tolerance tolerance, uint32_t* outStride);
103 bool import, enum Tolerance tolerance) { in allocate() argument
104 return allocate(descriptorInfo, import, tolerance, nullptr); in allocate()
122 const native_handle_t* importBuffer(const hidl_handle& rawHandle, enum Tolerance tolerance);
164 bool canTolerate(Tolerance tolerance, Error error) { in canTolerate() argument
165 return (std::underlying_type_t<Tolerance>(tolerance) & in canTolerate()
176 const native_handle_t* cloneBuffer(const hidl_handle& rawHandle, enum Tolerance tolerance);
/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/interfaces/graphics/mapper/4.0/utils/vts/
DMapperVts.cpp102 enum Tolerance tolerance, in allocate() argument
109 if (canTolerate(tolerance, error)) { in allocate()
121 ASSERT_NO_FATAL_FAILURE(bufferHandle = importBuffer(buffers[i], tolerance)); in allocate()
123 ASSERT_NO_FATAL_FAILURE(bufferHandle = cloneBuffer(buffers[i], tolerance)); in allocate()
145 bool import, enum Tolerance tolerance, in allocate() argument
152 auto buffers = allocate(descriptor, 1, import, tolerance, outStride); in allocate()
191 enum Tolerance tolerance) { in importBuffer() argument
194 if (!canTolerate(tolerance, tmpError)) { in importBuffer()
/hardware/nxp/nfc/snxxx/halimpl/self-test/
DphNxpNciHal_SelfTest.cc556 int tolerance = 0; in st_validator_testAntenna_Txldo() local
580 tolerance = (phAntenna_resp.wTxdoMeasuredRangeMax * in st_validator_testAntenna_Txldo()
583 if ((measured_val <= phAntenna_resp.wTxdoMeasuredRangeMax + tolerance)) { in st_validator_testAntenna_Txldo()
584 tolerance = (phAntenna_resp.wTxdoMeasuredRangeMin * in st_validator_testAntenna_Txldo()
588 phAntenna_resp.wTxdoMeasuredRangeMin - tolerance)) { in st_validator_testAntenna_Txldo()
/hardware/nxp/nfc/pn8x/halimpl/self-test/
DphNxpNciHal_SelfTest.cc556 int tolerance = 0; in st_validator_testAntenna_Txldo() local
580 tolerance = (phAntenna_resp.wTxdoMeasuredRangeMax * in st_validator_testAntenna_Txldo()
583 if ((measured_val <= phAntenna_resp.wTxdoMeasuredRangeMax + tolerance)) { in st_validator_testAntenna_Txldo()
584 tolerance = (phAntenna_resp.wTxdoMeasuredRangeMin * in st_validator_testAntenna_Txldo()
588 phAntenna_resp.wTxdoMeasuredRangeMin - tolerance)) { in st_validator_testAntenna_Txldo()
/hardware/google/gfxstream/
DREADME.md75 (isolation / fault tolerance use case)
/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()
/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dtinyexr.h9493 double tolerance; member
9500 tolerance = 0.0f; in ZFPCompressionParam()
9542 param->tolerance = *(reinterpret_cast<double *>(attributes[i].value)); in FindZFPCompressionParam()
9586 zfp_stream_set_accuracy(zfp, param.tolerance, zfp_type_float); in DecompressZfp()
9649 zfp_stream_set_accuracy(zfp, param.tolerance, zfp_type_float); in CompressZfp()