Searched refs:tolerance (Results 1 – 7 of 7) sorted by relevance
/hardware/interfaces/graphics/mapper/4.0/utils/vts/include/mapper-vts/4.0/ |
D | MapperVts.h | 64 enum Tolerance tolerance = Tolerance::kToleranceStrict, uint32_t* outStride = nullptr); 67 bool import, enum Tolerance tolerance, uint32_t* outStride); 75 bool import, enum Tolerance tolerance) { in allocate() argument 76 return allocate(descriptorInfo, import, tolerance, nullptr); in allocate() 90 const native_handle_t* importBuffer(const hidl_handle& rawHandle, enum Tolerance tolerance); 128 bool canTolerate(Tolerance tolerance, Error error) { in canTolerate() argument 129 return (std::underlying_type_t<Tolerance>(tolerance) & in canTolerate() 137 const native_handle_t* cloneBuffer(const hidl_handle& rawHandle, enum Tolerance tolerance);
|
/hardware/interfaces/automotive/vehicle/2.0/default/tests/ |
D | RecurrentTimer_test.cpp | 28 #define ASSERT_EQ_WITH_TOLERANCE(val1, val2, tolerance) \ argument 29 ASSERT_LE(val1 - tolerance, val2); \ 30 ASSERT_GE(val1 + tolerance, val2); \
|
/hardware/interfaces/graphics/mapper/4.0/utils/vts/ |
D | MapperVts.cpp | 88 enum Tolerance tolerance, in allocate() argument 94 if (canTolerate(tolerance, tmpError)) { in allocate() 105 bufferHandle = importBuffer(tmpBuffers[i], tolerance)); in allocate() 108 bufferHandle = cloneBuffer(tmpBuffers[i], tolerance)); in allocate() 128 bool import, enum Tolerance tolerance, in allocate() argument 135 auto buffers = allocate(descriptor, 1, import, tolerance, outStride); in allocate() 161 enum Tolerance tolerance) { in importBuffer() argument 164 if (!canTolerate(tolerance, tmpError)) { in importBuffer()
|
/hardware/interfaces/broadcastradio/common/tests/ |
D | WorkerThread_test.cpp | 35 #define ASSERT_EQ_WITH_TOLERANCE(val1, val2, tolerance) \ argument 36 ASSERT_LE((val1) - (tolerance), (val2)); \ 37 ASSERT_GE((val1) + (tolerance), (val2));
|
/hardware/nxp/nfc/snxxx/halimpl/self-test/ |
D | phNxpNciHal_SelfTest.cc | 556 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/ |
D | phNxpNciHal_SelfTest.cc | 556 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/qcom/camera/msm8998/QCamera2/HAL/test/ |
D | qcamera_test.cpp | 1961 double tolerance = 0.00001; in getPreviewSizeFromVideoSizes() local 1979 if (fabs(videoRatio - previewRatio) < tolerance) { in getPreviewSizeFromVideoSizes()
|