Hi,
I am also facing the same CTS Testcase failure for Android 4.2.2 (CTS Version 4.2_r4) on iMX6 (SABRESD-MX6DQ):
10-10 21:17:38 I/0123456789ABCDEF: android.view.cts.DisplayRefreshRateTest#testRefreshRate FAIL
junit.framework.AssertionFailedError
at android.view.cts.DisplayRefreshRateTest.testRefreshRate(DisplayRefreshRateTest.java:198)
at java.lang.reflect.Method.invokeNative(Native Method)
at android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:214)
at android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:199)
at android.test.ActivityInstrumentationTestCase2.runTest(ActivityInstrumentationTestCase2.java:192)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:190)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:175)
at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:555)
at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1661)
Testcase is failing because, the claimed display referesh rate is ~60FPS (59 FPS), but the achieved display refresh rate for the test is only 30 FPS.
When the disparity is not lower than the threshold (2FPS) specified by then test application, it asserts.
Did any one found solution to avoid this failure ?
Thanks in advance for any help/suggestion.