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

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

Refactor native store for PIC nonces

This change shuffles code for the native PIC nonces.  Implementation
details are moved out of the native PIC header file.  This is in
preparation of adding futex operations on nonces; we do not want all
the logic for futexs in this header file.

The native class is also broken into a base class with methods and a
template that creates a subclass with variable storage.  All methods
are against the base class, which means that modules like
ApplicationSharedMemory and PropertyInvalidatedCache can talk to each
other in terms of the base class.  One day, we may have more than one
instance of the nonce block.

Flag: EXEMPT refactor
Bug: 373752556
Test: atest
 * FrameworksCoreTests:PropertyInvalidatedCacheTests
 * FrameworksCoreTests:IpcDataCacheTest
 * CtsOsTestCases:IpcDataCacheTest
 * ServiceBluetoothTests
Change-Id: I7155898581ea98178ab80c07b4b2d5a8f2df2a16
parent 9176f4a7
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