summaryrefslogtreecommitdiff
path: root/camera/common/1.0/default/CameraModule.cpp
diff options
context:
space:
mode:
authorTim Lin <timtmlin@google.com>2022-03-31 21:06:57 +0800
committerTim Lin <timtmlin@google.com>2022-04-02 00:58:38 +0800
commitfd854fe699f057171901ef3581bee6c892ee59b9 (patch)
tree87c5cd29466c767c57cdbbb0e1df118bbc56865e /camera/common/1.0/default/CameraModule.cpp
parent89d877e914f4d134f607372e16f5a20f9cb6dbf3 (diff)
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
Diffstat (limited to 'camera/common/1.0/default/CameraModule.cpp')
0 files changed, 0 insertions, 0 deletions