Improve carrier id GTS performance
In some lower CPU/memory devices, carrier id GTS will exceed the TelephonyHostTest timeout(20 mins). The setCarrierId() have some DB operators and it takes nearly 70% of the time. The carrier id GTS will execute updateCarrierIdAndName() more than 10,000 times, so if the carrierResoler receives the SIM loading event triggered by test override, then skip setCarrierId() to improve. Bug: 191729329 Test: atest --iterations 10. On pixel, execution time from 4.5 mins to 1 min. Change-Id: I7f2b6e8b3befd657a2d22a0bad453c5b63929bbd
Loading
Please register or sign in to comment