Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

Builder-style args for PIC

To quell the proliferation of constructor parameters, a new
builder-style Args class is provided.  This conveys the same
parameters as IpcDataCache.Config.  All existing constructors have
been reflowed to call the constructor that uses Args.

IpcDataCache has been changed to call the new Args-style constructor.

Unit tests have been added for the new constructor.

This refactor is starting to deconstruct the well-known property names
into a module and an api name.  This organization is already present
in IpcDataCache.

Dump methods are marked @NeverCompile, in response to an earlier CL
commit.

A minor reflow makes the query() marginally faster when a cache is
disabled.

Flag: EXEMPT refactor
Bug: 373752556
Test: atest
 * FrameworksCoreTests:PropertyInvalidatedCacheTests
 * FrameworksCoreTests:IpcDataCacheTest
 * CtsOsTestCases:IpcDataCacheTest
 * ServiceBluetoothTests
Change-Id: Id90462431feea858dc8f416a56062d8d66df0c12
parent 61f8d76a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment