Ensure Build is always usable on Ravenwood ...
... even without a RavenwoodRule. There are situation where android APIs are called outside of a RavenwoodRule, but some of the APIs require a RavenwoodRule to initialize them. Since Build and SystemProperties are critical and often used by the test infra code (e.g. test runner or other junit rules), make sure they're always accessible. Fix: 341735388 Test: atest CtsOsTestCases Test: $ANDROID_BUILD_TOP/frameworks/base/ravenwood/scripts/run-ravenwood-tests.sh Change-Id: Iedcfae7e75c5ee9f2c7fb87c61262c2b33450d04
Showing
- core/java/android/os/Build.java 6 additions, 0 deletionscore/java/android/os/Build.java
- core/java/com/android/internal/ravenwood/RavenwoodEnvironment.java 25 additions, 1 deletion.../com/android/internal/ravenwood/RavenwoodEnvironment.java
- ravenwood/bivalenttest/test/com/android/ravenwoodtest/bivalenttest/RavenwoodRuleTest.java 9 additions, 0 deletions...android/ravenwoodtest/bivalenttest/RavenwoodRuleTest.java
- ravenwood/junit-impl-src/android/platform/test/ravenwood/RavenwoodRuleImpl.java 18 additions, 5 deletions...rc/android/platform/test/ravenwood/RavenwoodRuleImpl.java
- ravenwood/junit-src/android/platform/test/ravenwood/RavenwoodSystemProperties.java 35 additions, 5 deletions...id/platform/test/ravenwood/RavenwoodSystemProperties.java
- ravenwood/runtime-helper-src/framework/com/android/platform/test/ravenwood/nativesubstitution/RavenwoodEnvironment_host.java 57 additions, 0 deletions...venwood/nativesubstitution/RavenwoodEnvironment_host.java
- ravenwood/runtime-helper-src/framework/com/android/platform/test/ravenwood/nativesubstitution/SystemProperties_host.java 15 additions, 0 deletions...t/ravenwood/nativesubstitution/SystemProperties_host.java
Loading
Please register or sign in to comment