Skip to content
Commit 72635f67 authored by Lee Shombert's avatar Lee Shombert
Browse files

Binder cache for hasSystemFeature().

System features are build-time constants, so the cache is invalidated only
when the system server restarts.

Bug: 140788621

Test: A special build that puts the PropertyInvalidatedCache in
verification mode was loaded on the device.  Then one iteration of MPTS was
executed.  No cache inconsistencies were found and no SELinux violations
(associated with the binder cache) were found.  The number of cache misses
was approximately 15% of the total binder calls.  98.5% of all binder calls
went through the cache.

Change-Id: Icd23283512ab648ed589d461d2a86e1c3807b45a
parent 310f576b
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