summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Lee Shombert <shombert@google.com> 2025-03-02 09:28:12 -0800
committer Lee Shombert <shombert@google.com> 2025-03-04 12:05:35 -0800
commitf272aff2656214ca6a550377f03cd9d913d5037c (patch)
treee9d245c092d98608daeb5767f54cb5398f246c45 /libs/androidfw/FileStream.cpp
parent85c5b7d80b956edcd72aafa083b6ad69c114c6f7 (diff)
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
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions