Android P HAL3 版本,camera 如何配置成FF

例如,配置sub sensor s5k2t7sp 成FF
 1、配置projectconfig.mk文件
     1)CUSTOM_HAL_LENS = lc898212xdaf bu6424af ak7371af dummy_lens
     2)CUSTOM_HAL_SUB_LENS = dummy_lens
 2、/vendor/mediatek/proprietary/custom/mtXXXX/hal/lens/src/lenslist.cpp文件中,LensList_sub数组sensor id对应的lens id 配置成dummy如 1),或者只配dummy如2)

继续阅读“Android P HAL3 版本,camera 如何配置成FF”

Android O/P版本更新patch后刷GSI后无法开机问题

问题描述

     近期大量更新patch后,客户VTS 和 CTS-on-GSI测试,刷GSI无法开机问题,都是由于hidl的改动造成的。这个需要google出新的GSI来解决。
[Related Patch]
o1.mp1 ALPS04304953
o1.mp2 ALPS04308385
     上述两笔patch都有涉及hidl的修改,请客户确认是否上述两笔Patch导致的。

继续阅读“Android O/P版本更新patch后刷GSI后无法开机问题”

[cts9.0r6] android.jni.cts.JniStaticTest#test_linker_namespaces

问题描述

 [cts9.0 r6]
CtsJniTestCases
android.jni.cts.JniStaticTest#test_linker_namespaces
fail
 junit.framework.AssertionFailedError: The library “/vendor/lib/libMcClient.so” is a public library but it cannot be loaded: dlopen failed: library “/vendor/lib/libMcClient.so” not found

继续阅读“[cts9.0r6] android.jni.cts.JniStaticTest#test_linker_namespaces”

Google CTS 9.0_r6 CtsIncidentHostTestCases模块有四条case不过

问题描述

  Google CTS 9.0_r6 CtsIncidentHostTestCases模块有四条case不过
1.com.android.server.cts.AlarmManagerIncidentTest#testAlarmManagerServiceDump
2.com.android.server.cts.IncidentdTest#testIncidentReportDumpAuto
3.com.android.server.cts.IncidentdTest#testIncidentReportDumpExplicit
4.com.android.server.cts.IncidentdTest#testIncidentReportDumpLocal

继续阅读“Google CTS 9.0_r6 CtsIncidentHostTestCases模块有四条case不过”

CTS9.0R6 造成3筆 location test cases: GNSS Measurement Before Location Test 、Measurement Values Test , testGnssStatusValues测试不通过

问题描述

 CTS9.0R6 造成3筆 location test cases: GNSS Measurement Before Location Test 、Measurement Values Test , testGnssStatusValues测试不通过

解决方案

继续阅读“CTS9.0R6 造成3筆 location test cases: GNSS Measurement Before Location Test 、Measurement Values Test , testGnssStatusValues测试不通过”

[CTS 9.0R5]com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testKeyManagement fail

问题描述

 com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testKeyManagement
fail
java.lang.AssertionError: On-device tests failed:

解决方案

继续阅读“[CTS 9.0R5]com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testKeyManagement fail”

[CTS 9.0R5]android.hardware.camera2.cts.StillCaptureTest#testAeCompensation fail

问题描述

 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])

继续阅读“[CTS 9.0R5]android.hardware.camera2.cts.StillCaptureTest#testAeCompensation fail”

[CTS 9.0R5]com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testKeyManagement fail

问题描述

 com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testKeyManagement
fail
java.lang.AssertionError: On-device tests failed:

继续阅读“[CTS 9.0R5]com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testKeyManagement fail”

【VTS_P version】VtsTrebleVendorVintfTest 跟hash相关fail

问题描述

 VtsTrebleVendorVintfTest测试时可能会遭遇以下两种情况报hash的错误:
Case1:
01-05 12:25:53 D/ModuleListener: ModuleListener.testStarted(VtsTrebleVendorVintfTest#DeviceManifest/SingleManifestTest.InterfacesAreReleased/0_32bit)
01-05 12:25:53 D/ModuleListener: ModuleListener.testFailed(VtsTrebleVendorVintfTest#DeviceManifest/SingleManifestTest.InterfacesAreReleased/0_32bit, test/vts-testcase/hal/treble/vintf/SingleManifestTest.cpp:57
Failed
vendor.sw.swfingerprint@1.0::ISwfingerprint has an empty hash. This is because it was compiled without being frozen in a corresponding current.txt file.
test/vts-testcase/hal/treble/vintf/SingleManifestTest.cpp:57
Failed
Case2:

vendor.oppo.hardware.biometrics.fingerprint@2.1::IBiometricsFingerprint has an empty hash. This is because it was compiled without being frozen in a corresponding current.txt file.

继续阅读“【VTS_P version】VtsTrebleVendorVintfTest 跟hash相关fail”

P版本上 fileManager上不能新建的问题

问题描述

 在P版本上,进文件管理APP, 进SD卡,或者手机内部存储 无法创建文件:
**MTK 内部机器也存在这个问题
O版本:
进SD卡,或者进入手机内部存储, 都可以创建文件
P版本:
进SD卡,或者进入手机内部存储 ,都不可以创建文件

继续阅读“P版本上 fileManager上不能新建的问题”

【cts_P】CtsLibcoreTestCases libcore.libcore.icu.DateIntervalFormatTest#testEndAtMidnight

问题描述


run cts -m CtsLibcoreTestCases -t libcore.libcore.icu.DateIntervalFormatTest#testEndAtMidnight -o
 01-07 16:35:46 I/ModuleListener: [1/1] libcore.libcore.icu.DateIntervalFormatTest#testEndAtMidnight fail:
junit.framework.ComparisonFailure: expected:<February 27, []04:00 – 00:00> but was:<February 27, [2018, ]04:00 – 00:00>
at junit.framework.Assert.assertEquals(Assert.java:85)
at junit.framework.Assert.assertEquals(Assert.java:91)
at libcore.libcore.icu.DateIntervalFormatTest.testEndAtMidnight(DateIntervalFormatTest.java:442)
at java.lang.reflect.Method.invoke(Native Method)

 

Android P HAL3 metadata中的BLOB stream size配置

问题描述


Android P HAL3版本,camera sensor metadata scaler.h中的BLOB stream size配置

 

解决方案


目前hal3,API2架构camera preview,capture时,default吃的是capture mode(scenario id=1).
相关camera cts测试pass的conditions有:
1.不能超过sensor full resolution (capture mode时的size).
2.能达到30fps.

继续阅读“Android P HAL3 metadata中的BLOB stream size配置”