Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DParamsTest.java33 private static final float FLOAT_TOLERANCE = .00001f; field in ParamsTest
59 && p.getTolerance() < MAX_DEFAULT_TOLERANCE + FLOAT_TOLERANCE); in testSyncParamsDefaults()
106 assertEquals(f, p.getTolerance(), FLOAT_TOLERANCE);
122 assertEquals(lastValue, p.getTolerance(), FLOAT_TOLERANCE);
145 assertEquals(f, p.getFrameRate(), FLOAT_TOLERANCE);
161 assertEquals(.5f, p.getTolerance(), FLOAT_TOLERANCE);
170 assertEquals(.5f, p.getTolerance(), FLOAT_TOLERANCE);
183 assertEquals(25.f, p.getFrameRate(), FLOAT_TOLERANCE);
192 && p.getTolerance() < MAX_DEFAULT_TOLERANCE + FLOAT_TOLERANCE);
193 assertEquals(25.f, p.getFrameRate(), FLOAT_TOLERANCE);
[all …]
DMediaSyncTest.java67 private static final float FLOAT_TOLERANCE = .00001f; field in MediaSyncTest
194 assertEquals(rate, pbp.getSpeed(), FLOAT_TOLERANCE); in testSetPlaybackParamsSucceed()
DMediaPlayerTest.java74 private static final float FLOAT_TOLERANCE = .0001f; field in MediaPlayerTest
863 FLOAT_TOLERANCE + playbackRate * sync.getTolerance());
874 assertEquals(0.f, pbp.getSpeed(), FLOAT_TOLERANCE);