fix SIM related VTS failures
1. Add 6s delay after setSimSlotsMapping because modem needs time to process SIM configuration change. The next TC could fail at checking SIM status if there is no delay. The default SIM configuration on my test device is that physical#0 maps to logical#1 and physical#1 maps to logical#0. When running setSimSlotsMapping, it then becomes physical#0 maps to logical#0 and physical#1 maps to logical#1. 2. Support DSDS case and TSTS case for setSimSlotsMapping. The original code only set for 1 slot and it caused 2nd slot SIM absent when testing with DSDS enabled. 3. Set slotStatus from corresponding physical slot for setSimCardPower. Bug: 227579281 Test: run vts -m VtsHalRadioTargetTest Change-Id: I8c12cb1dbc439655f9de88b1e217b3f34e44ebeb Merged-In: I8c12cb1dbc439655f9de88b1e217b3f34e44ebeb
Loading
Please register or sign in to comment