ravenwood/junit-impl-src/android/platform/test/ravenwood/RavenwoodExperimentalApiChecker.java
0 → 100644
+81
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
To enable experimental API, use ``` export RAVENWOOD_ENABLE_EXP_API=1 # enable experimental api for all tests. ``` or ``` export RAVENWOOD_ENABLE_EXP_API_TestModuleName=1 ``` Also rename the env flag to enable sysprop reads to `RAVENWOOD_ALLOW_ANY_SYSPROP_READ` with support of per-module flag, like `RAVENWOOD_ALLOW_ANY_SYSPROP_READ_TestModuleName=1`. Bug: 292141694 Flag: TEST_ONLY Test: $ANDROID_BUILD_TOP/frameworks/base/ravenwood/scripts/run-ravenwood-tests.sh -s Change-Id: I7ac83640d4cfce78ace9fc407eb57a50e370d777