summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Jeff Sharkey <jsharkey@google.com> 2023-11-30 11:16:40 -0700
committer Jeff Sharkey <jsharkey@google.com> 2023-12-04 10:00:17 -0700
commit013400fab4a1f34cf3d58343d657cb1c6e1e08e4 (patch)
treedc222372c275d510be5d9e7b239fb366ef721e9c /libs/androidfw/FileStream.cpp
parent7812cce9adbe283cf84b18584fdd52eb4d703958 (diff)
`PackageManager` info objects under Ravenwood.
Many tests across the OS are already writing tests where they "mock" their own responses from `PackageManager`, primarily by filling in the "info" objects that it returns. Since these are simple data structures that primarily hold static data, let's opt-in under Ravenwood, so that other tests can construct for their own internal uses. Complex dynamic operations, such as loading drawables, remain opted-out. This change brings along relevant CTS, but ignores several tests that currently depend on a fully-running PackageManager service. To ensure we have solid coverage, new `testSimple` is added. Bug: 292141694 Test: atest CtsContentTestCasesRavenwood Change-Id: Ie9682184cb5250f649426947bcf353802918ce50
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions