Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 81b70500 authored by Calvin Pan's avatar Calvin Pan
Browse files

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
parent c46a1044
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment