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

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

Make setTestMode() a module API

Publish setTestMode() as a module API so that mainline modules can use
it in their test code.  The API is flagged.

Also, test APIs are now guarded so that they throw if the current
process is not a test.  This behavior is gated by an existing PIC test
flag.

Flag: android.os.ipc_data_cache_test_apis
Flag: android.app.enforce_pic_testmode_protocol
Bug: 396173886
Test: atest
 * FrameworksCoreTests:PropertyInvalidatedCacheTests
 * FrameworksCoreTests:IpcDataCacheTest
 * CtsOsTestCases:IpcDataCacheTest
Change-Id: I1cf9bacb676c12d5821959e4cc672df6339a2d42
parent 85c5b7d8
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