问题描述
android.hardware.camera2.cts.StillCaptureTest#testAeCompensation fail:
java.lang.Exception: There were 8 errors:
java.lang.Throwable(Test failed for camera 0: Exposure compensation ratio exceeds error tolerence: expected(0.250000) observed(1.000000). Normal exposure time 49996 us, sensitivity 211. Compensated exposure time 49996 us, sensitivity 211, value 4.0 is out of range [0.8, 1.2])
java.lang.Throwable(Test failed for camera 0: Exposure compensation ratio exceeds error tolerence: expected(0.500000) observed(1.000000). Normal exposure time 49996 us, sensitivity 211. Compensated exposure time 49996 us, sensitivity 211, value 2.0 is out of range [0.8, 1.2])
java.lang.Throwable(Test failed for camera 0: Exposure compensation ratio exceeds error tolerence: expected(2.000000) observed(1.000000). Normal exposure time 49996 us, sensitivity 211. Compensated exposure time 49996 us, sensitivity 211, value 0.5 is out of range [0.8, 1.2])
java.lang.Throwable(Test failed for camera 0: Exposure compensation ratio exceeds error tolerence: expected(4.000000) observed(1.000000). Normal exposure time 49996 us, sensitivity 211. Compensated exposure time 49996 us, sensitivity 211, value 0.25 is out of range [0.8, 1.2])
java.lang.Throwable(Test failed for camera 1: Exposure compensation ratio exceeds error tolerence: expected(0.250000) observed(1.000000). Normal exposure time 20000 us, sensitivity 113. Compensated exposure time 20000 us, sensitivity 113, value 4.0 is out of range [0.8, 1.2])
java.lang.Throwable(Test failed for camera 1: Exposure compensation ratio exceeds error tolerence: expected(0.500000) observed(1.000000). Normal exposure time 20000 us, sensitivity 113. Compensated exposure time 20000 us, sensitivity 113, value 2.0 is out of range [0.8, 1.2])
java.lang.Throwable(Test failed for camera 1: Exposure compensation ratio exceeds error tolerence: expected(2.000000) observed(1.000000). Normal exposure time 20000 us, sensitivity 113. Compensated exposure time 20000 us, sensitivity 113, value 0.5 is out of range [0.8, 1.2])
java.lang.Throwable(Test failed for camera 1: Exposure compensation ratio exceeds error tolerence: expected(4.000000) observed(1.000000). Normal exposure time 20000 us, sensitivity 113. Compensated exposure time 20000 us, sensitivity 113, value 0.25 is out of range [0.8, 1.2])
java.lang.Exception: There were 8 errors:
java.lang.Throwable(Test failed for camera 0: Exposure compensation ratio exceeds error tolerence: expected(0.250000) observed(1.000000). Normal exposure time 49996 us, sensitivity 211. Compensated exposure time 49996 us, sensitivity 211, value 4.0 is out of range [0.8, 1.2])
java.lang.Throwable(Test failed for camera 0: Exposure compensation ratio exceeds error tolerence: expected(0.500000) observed(1.000000). Normal exposure time 49996 us, sensitivity 211. Compensated exposure time 49996 us, sensitivity 211, value 2.0 is out of range [0.8, 1.2])
java.lang.Throwable(Test failed for camera 0: Exposure compensation ratio exceeds error tolerence: expected(2.000000) observed(1.000000). Normal exposure time 49996 us, sensitivity 211. Compensated exposure time 49996 us, sensitivity 211, value 0.5 is out of range [0.8, 1.2])
java.lang.Throwable(Test failed for camera 0: Exposure compensation ratio exceeds error tolerence: expected(4.000000) observed(1.000000). Normal exposure time 49996 us, sensitivity 211. Compensated exposure time 49996 us, sensitivity 211, value 0.25 is out of range [0.8, 1.2])
java.lang.Throwable(Test failed for camera 1: Exposure compensation ratio exceeds error tolerence: expected(0.250000) observed(1.000000). Normal exposure time 20000 us, sensitivity 113. Compensated exposure time 20000 us, sensitivity 113, value 4.0 is out of range [0.8, 1.2])
java.lang.Throwable(Test failed for camera 1: Exposure compensation ratio exceeds error tolerence: expected(0.500000) observed(1.000000). Normal exposure time 20000 us, sensitivity 113. Compensated exposure time 20000 us, sensitivity 113, value 2.0 is out of range [0.8, 1.2])
java.lang.Throwable(Test failed for camera 1: Exposure compensation ratio exceeds error tolerence: expected(2.000000) observed(1.000000). Normal exposure time 20000 us, sensitivity 113. Compensated exposure time 20000 us, sensitivity 113, value 0.5 is out of range [0.8, 1.2])
java.lang.Throwable(Test failed for camera 1: Exposure compensation ratio exceeds error tolerence: expected(4.000000) observed(1.000000). Normal exposure time 20000 us, sensitivity 113. Compensated exposure time 20000 us, sensitivity 113, value 0.25 is out of range [0.8, 1.2])
解决方案
patch: alps-mp-p0.mp1 ALPS04276085