diff options
| author | 2024-11-14 12:47:27 -0800 | |
|---|---|---|
| committer | 2024-11-15 18:12:22 +0000 | |
| commit | d24ac92c6db9144f07433d98142e9e921a827977 (patch) | |
| tree | 623057de632f9df5529fac44759be9c0fbf07ae4 /libs/androidfw/FileStream.cpp | |
| parent | e60636fec5618b4980e9f649632dbb59f47a25bc (diff) | |
Cache null binder results in PIC
PropertyInvalidatedCache treated a null binder result as a cache miss.
This changes that behavior to always cache a null result as a normal
result. This also provides an override so that individual caches can
revert to legacy behavior. A new counter is part of dumpsys cacheinfo
that reports the number of null binder results.
Flag: android.app.pic_cache_nulls
Bug: 378762206
Bug: 372923336
Test: atest
* FrameworksCoreTests:PropertyInvalidatedCacheTests
* FrameworksCoreTests:IpcDataCacheTest
* CtsOsTestCases:IpcDataCacheTest
Change-Id: Ia8e102600b59b61b435b258559803a8d8518368d
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions