summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author lpeter <lpeter@google.com> 2025-01-10 07:50:10 +0000
committer lpeter <lpeter@google.com> 2025-01-16 07:49:58 +0000
commit9d5eed31576b368c9e526d34d232c45556cc542c (patch)
tree875023ed56509356d3e6a3467d4fa113d1767a95 /libs/androidfw/FileStream.cpp
parent3356c5c5c88a3e899fc8c8042a4dab99b2a1fd99 (diff)
Update optimizing RegisteredServicesCache ServiceInfo parsing
1.Use component name as the cache key instead of an ad-hoc constructed string. 2.If no services are asked within 30 seconds, the cache will be cleared. If the services are asked within 30 seconds, it will reset the timer to 30 seconds again. 3.Move the logic to read or update the cache in generateServicesMap. Flag: android.content.pm.optimize_parsing_in_registered_services_cache Bug: 319137634 Test: atest RegisteredServicesCacheTest Change-Id: Id2dc224796d8259d5274237e40c2db3a89448889
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions