summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author Ludovic Barman <ludovicb@google.com> 2024-11-29 15:57:34 +0000
committer Ludovic Barman <ludovicb@google.com> 2024-12-02 18:04:22 +0000
commit49fe79bc03c51a4f925d085a4ed3fb3c938c36e7 (patch)
tree1c911ae1b2c96f1a96ac3ccf733c4389a3a9ebf8 /libs/androidfw/misc.cpp
parentdc5236d9f1a819d479994e85fd2c6ebcfba2806e (diff)
Population Density Provider: add cache hint
Adds a parameter to indicate the desired answer size when querying the coarsened cells. This allows the framework to indicate its cache size, and the provider to answer with the right amount of cells. Tests: - atest CtsLocationNoneTestCases:PopulationDensityProviderBaseTest - atest FrameworksMockingServicesTests:LocationProviderManagerTest - atest FrameworksMockingServicesTests:LocationFudgerTest - atest FrameworksMockingServicesTests:LocationFudgerCacheTest Test: manual atest on Pixel 7 pro (see above) Bug: 381286551 Flag: android.location.flags.density_based_coarse_locations Change-Id: Ib0d26e8ce0e1164ff30b45e2d3deddb67f68a83b
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions