3dea629a9e
This change add cache in generated jave code to improve the performance. The cache is a DeviceConfig.Properties. One Properties contains all flag values from the given namesapce. The Properties for a given namespace is initialized as null, and the first call for any flags in that Properties will trigger the call to fetch all the values. After the first call, the flag values are stored in the Properties, so the following calls will directly get the value from the Properties instead from the backup storage. Test: atest aconfig.test.java Bug: 307511846 Change-Id: Ic43626101c28099199b6faa419cf1945bd53b15d |
||
---|---|---|
.. | ||
fake_device_config | ||
overrideflags | ||
printflags | ||
protos | ||
src | ||
templates | ||
tests | ||
.gitignore | ||
Android.bp | ||
build.rs | ||
Cargo.toml | ||
MODULE_LICENSE_APACHE2 | ||
OWNERS | ||
PREUPLOAD.cfg | ||
rustfmt.toml | ||
TEST_MAPPING |