Initial Process and Binder support, with CTS.
The Ravenwood environment doesn't support IPC, but much of the code that developers intend to test (such as AIDL stubs) still relies on baseline same-process behavior to be intact. This change adds UID and PID support to Process and Binder, but we carefully communicate that it's only available when the test author has configured it via a RavenwoodRule. This ensures that tests don't accidentally rely on unexpected defaults, as some tests will want AID_SYSTEM, and others want a normal app UID. Also bring along SystemClock, PatternMatcher, and ParcelUuid along with relevant tests. Finally, now that we have an IgnoreUnderRavenwood annotation, we can pivot back our default failure to be a RuntimeException instead of an AssumptionViolatedException. Bug: 292141694 Test: atest-dev CtsOsTestCasesRavenwood CtsOsTestCases Change-Id: I5f54c3179b2d305b9ab9144c43fd063c6b756e44
Loading
Please register or sign in to comment