问题描述
CtsSecureElementAccessControlTestCases1[instant]
android.omapi.accesscontrol1.cts.AccessControlTest#testAuthorizedAPDUAID40
android.omapi.accesscontrol1.cts.AccessControlTest#testAuthorizedAPDUAID41
android.omapi.accesscontrol1.cts.AccessControlTest#testUnauthorizedAID
android.omapi.accesscontrol1.cts.AccessControlTest#testUnauthorisedAPDUAID40
android.omapi.accesscontrol1.cts.AccessControlTest#testUnauthorisedAPDUAID41
android.omapi.accesscontrol1.cts.AccessControlTest#testAuthorizedAID
android.omapi.accesscontrol1.cts.AccessControlTest#testAuthorizedAPDUAID41
android.omapi.accesscontrol1.cts.AccessControlTest#testUnauthorizedAID
android.omapi.accesscontrol1.cts.AccessControlTest#testUnauthorisedAPDUAID40
android.omapi.accesscontrol1.cts.AccessControlTest#testUnauthorisedAPDUAID41
android.omapi.accesscontrol1.cts.AccessControlTest#testAuthorizedAID
fail
java.lang.AssertionError
java.lang.AssertionError
解决方案
确认是否支持NFC和OMAPI(MTK_OMAPI_SUPPORT)
若不支持请关闭MTK_OMAPI_SUPPORT
若支持OMAPI和NFC,需要使用特殊的支持OMAPI的UICC卡就可以测试pass
请和卡商确认贵司测试用的白卡是否支持OMAPI
官网关于此类OMAPI 专用测试卡的说明:
https://source.android.com/compatibility/cts/secure-element