diff options
| author | 2025-01-06 16:04:44 -0800 | |
|---|---|---|
| committer | 2025-01-09 15:12:11 -0800 | |
| commit | 6be42fd17763f3bc1bc6f500661c1af55eccb62a (patch) | |
| tree | b21cf22ee82bdc89b4ee45f5baee52b30ee94d34 /ravenwood/scripts/extract-last-soong-commands.py | |
| parent | 9bac2457b63bb35f893d3ee544c5e1a6f5f99f90 (diff) | |
Remove TestApi annotation from PIC
The TestApi annotation in PropertyInvalidatedCache was added to expose
APIs to a CTS test, in preparation for making the APIs SystemApi.
However, the API review requested that the APIs be encapsulated in a
new class (IpcDataCache), rendering the PIC annotations superfluous.
The following IpcDataCache APIs are now TestApi:
 * forgetDisableLocal()
 * isDisabled()
 * getDisabledState()
 * disableInstance()
 * disableSystemWide()
 * setTestMode()
All TestApi annotations are removed from PropertyInvalidatedCache.
The APIs are visible through IpcDataCache, or are not required by CTS.
(Some APIs are used in unit testing; these are now marked
VisibleForTesting).
Flag: EXEMPT refactor
Bug: 385198070
Test: atest
 * FrameworksCoreTests:PropertyInvalidatedCacheTests
 * FrameworksCoreTests:IpcDataCacheTest
 * CtsOsTestCases:IpcDataCacheTest
Change-Id: I01c88359a784d8bcf788c046eb973cbee0392b24
Diffstat (limited to 'ravenwood/scripts/extract-last-soong-commands.py')
0 files changed, 0 insertions, 0 deletions