summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Lee Shombert <shombert@google.com> 2024-11-21 10:39:24 -0800
committer Lee Shombert <shombert@google.com> 2024-11-22 08:40:04 -0800
commitc8bebaf2bab50b2297a2e1a1e69716317624856c (patch)
tree9d5bdaf96cb76ab0dfbe88782d4212f80f9ef388 /libs/androidfw/ResourceTimer.cpp
parent7980a97fe0bfcf7a42bc308119995728b1ec41d5 (diff)
Create a PIC nonce-watcher for external clients
This creates a NonceWatcher feature that reports if a PIC nonce has changed its value. The feature is only effective in the same process as the nonce server (e.g., system_server for MODULE_SYSTEM nonces), but it is very fast in-process. Clients wait for a nonce change by blocking on a semaphore. This isolates the PIC invalidation hot path from delays in the client behavior. Flag: android.app.pic_uses_shared_memory Bug: 360897450 Test: atest * FrameworksCoreTests:PropertyInvalidatedCacheTests * FrameworksCoreTests:IpcDataCacheTest * CtsOsTestCases:IpcDataCacheTest Change-Id: I56d89df8301e397860836dd06bf9fed14bc13d45
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions