a5eaa3f317eca21b72429b0616acc0882852efdc |
|
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 Change-Id: If65a3b7fbe281d24e9707a02304a1e676bf3a072
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/UT_reflection3264.java
|