2058f4e38c54d8f6bc0a87e8a143cb6b7b2301b7 |
|
14-Jul-2017 |
David Gross <dgross@google.com> |
Improve Java reflection for 32-bit versus 64-bit differences. Bug: 32780232 Bug: 20260865 Bug: 21597073 This CL goes along with a frameworks/compile/slang change that contains the actual fixes. This CL makes three changes: 1) Adds RenderScript.getPointerSize() method to compatibility library for use by reflected code. 2) Adds UT_reflection3264 test case to tests/java_api/RSUnitTests. 3) Fixes test case apitest.rs to conform to 32-bit/64-bit consistency requirements. Test: many - RsTest aosp_x86_64-eng (aosp, emulator) 32-bit and 64-bit - RSTestBackward - aosp_arm-eng - n9 LMP MR1 Release (LM) - angler MNC DR Release (MD) - aosp_arm64-eng - n9 LMP MR1 Release (LM) - angler MNC DR Release (MD) - RSTest_Backward19 - aosp_arm-eng - n5 KLP MR2 Release (KT) - n9 LMP MR1 Release (LM) - angler MNC DR Release (MD) - RSTest_CompatLib - aosp_arm-eng - n9 LMP MR1 Release (LM) - angler MNC DR Release (MD) - aosp_arm64-eng - n9 LMP MR1 Release (LM) - angler MNC DR Release (MD) - aosp_x86-eng - emulator aosp - aosp_x86_64-eng - emulator aosp - RSTest_Compat19 - aosp_arm-eng - n5 KLP MR2 Release (KT) - n9 LMP MR1 Release (LM) - angler MNC DR Release (MD) - aosp_x86 - emulator aosp (cherry picked from commit a5eaa3f317eca21b72429b0616acc0882852efdc) Change-Id: I101e30c69062a65fde1d928a2396db0fb7d86497
/frameworks/rs/tests/java_api/RSTestBackward19/Android.mk
|
3020398bb0296c065b6224a9dfca09c203973fdb |
|
09-Jun-2017 |
Arthur Eubanks <aeubanks@google.com> |
Add targets that build rs platform/unbundled tests "make ENABLE_RSTESTS=true RSTests" to build all RS continuous tests into zip file "make RSUnbundledTests" to build all RS unbundled continuous tests into zip file Test: make dist ENABLE_RSTESTS=true RSTests Test: make dist RSUnbundledTests Change-Id: I2470d0ac1e03dc287ca0f6b8389379a52890c4b4
/frameworks/rs/tests/java_api/RSTestBackward19/Android.mk
|
6cac172ca1fedbed3a1b2b3ddd82856aa6345393 |
|
12-May-2017 |
Arthur Eubanks <aeubanks@google.com> |
Add tests from RSTest_Compat to RSUnitTests There are tests in a new directory RSUnitTests/supportlibonlysrc/, they will actually be used in a later CL, but for now they are just sitting there. The added tests are copied from RSTest_Compat and modified to follow the conventions of RSUnitTests. UT_alloc_supportlib is UT_alloc from RSTest_Compat. It is different from the existing UT_alloc since the support library API is slightly more lenient, so I can't merge them. Test: make -j50 RSTestBackward RSTestBackward19 RSTestForward Test: adb install -r RSTestBackward.apk RSTestBackward19.apk RSTestForward*.apk Test: adb shell am instrument -w \ com.android.rs.testbackward/android.support.test.runner.AndroidJUnitRunner Test: adb shell am instrument -w \ com.android.rs.testbackward19/android.support.test.runner.AndroidJUnitRunner Test: adb shell am instrument -w \ com.android.rs.testforward/android.support.test.runner.AndroidJUnitRunner Change-Id: Iafd783de3b4d1a9b82079113aa34a5fb962169a1
/frameworks/rs/tests/java_api/RSTestBackward19/Android.mk
|
06af00c4009025b8e652a503c0a47340a239deba |
|
01-May-2017 |
Arthur Eubanks <aeubanks@google.com> |
Add RSTestBackward for API 19 Necessary because if LOCAL_RENDERSCRIPT_TARGET_API is above 19, unit tests will fail on API 19. If LOCAL_RENDERSCRIPT_TARGET_API is 19, a bunch of unit tests will fail to compile, so we need to split post-19 and pre-19 backward compatibility versions. Test: m -j50 RSTestBackward19 Test: adb install -r RSTestBackward19.apk Test: adb shell am instrument -w \ com.android.rs.testbackward19/android.support.test.runner.AndroidJUnitRunner Change-Id: I4e417a2f688e85ced33a1f2e4678cc2deda8f69b
/frameworks/rs/tests/java_api/RSTestBackward19/Android.mk
|