问题描述
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 30001 us, sensitivity 156. Compensated exposure time 30001 us, sensitivity 156, 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 30001 us, sensitivity 156. Compensated exposure time 30001 us, sensitivity 156, 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 30001 us, sensitivity 156. Compensated exposure time 30001 us, sensitivity 156, 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 30001 us, sensitivity 166. Compensated exposure time 30001 us, sensitivity 166, 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 30005 us, sensitivity 160. Compensated exposure time 30005 us, sensitivity 160, 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 30005 us, sensitivity 160. Compensated exposure time 30005 us, sensitivity 160, 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 30005 us, sensitivity 161. Compensated exposure time 30005 us, sensitivity 161, 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 30005 us, sensitivity 169. Compensated exposure time 30005 us, sensitivity 169, value 0.25 is out of range [0.8, 1.2])
解决方案
申请ALPS04956049 patch