问题描述
VTS test request plug in SIMs in all SIM slots from Android P, but they doesn't cover the VSIM case, there is no way to plug in SIM in the vsim only slot. So we enable modem VSIM at the VSIM only slot if there is no MTK framework.
VTS测试从Android P开始要求插卡测试,而Google没有考虑VSIM的情况,因为VSIM only的slot不能插实体卡,造成VTS测试fail。所以判断如果没有上层MTK framework的话,认为是GSI,在VSIM only的操作打开modem VSIM。
Log分析會發現卡槽沒插卡
ModuleListener.testFailed(VtsHalRadioV1_0Target#RadioHidlTest.setGsmBroadcastConfig(se3)_32bit, hardware/interfaces/radio/1.0/vts/functional/radio_hidl_hal_test.cpp:46
Expected equality of these values:
CardState::PRESENT
Which is: 4-byte object <01-00 00-00>
cardStatus.cardState
Which is: 4-byte object <00-00 00-00>)
01-10 14:02:26 I/ConsoleReporter: [1/375 armeabi-v7a VtsHalRadioV1_0Target KB8H624BNPQP003] VtsHalRadioV1_0Target#RadioHidlTest.setGsmBroadcastConfig(se3)_32bit fail: hardware/interfaces/radio/1.0/vts/functional/radio_hidl_hal_test.cpp:46
Expected equality of these values:
CardState::PRESENT
Which is: 4-byte object <01-00 00-00>
cardStatus.cardState
Which is: 4-byte object <00-00 00-00>
解决方案
請申請Patch:ALPS04300660+Modem patch:MOLY00384555