summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2019-02-28 04:00:52 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2019-02-28 04:00:52 +0000
commitae62eb83488c6dba58ed3ba7ce83fdadc7c203a5 (patch)
tree951fc00e6ef2a8576c9f6c0a6d7601cd93283199 /test/ProfileTestMultiDex
parent425027c107270221d99690de992a436fa6f259cb (diff)
parent9d88872f9478f4062563b8e897d8cdc7d68203e3 (diff)
Snap for 5342135 from 9d88872f9478f4062563b8e897d8cdc7d68203e3 to qt-release
Change-Id: I104b95d7a1b7847a756ace1e0800cd3bb2ea0729
Diffstat (limited to 'test/ProfileTestMultiDex')
-rw-r--r--test/ProfileTestMultiDex/Second.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/ProfileTestMultiDex/Second.java b/test/ProfileTestMultiDex/Second.java
index 4b3c7a479b..9f5dc66742 100644
--- a/test/ProfileTestMultiDex/Second.java
+++ b/test/ProfileTestMultiDex/Second.java
@@ -30,3 +30,11 @@ class SubC extends Super {
int getValue() { return 24; }
}
+class TestIntrinsicOatdump {
+ Integer valueOf(int i) {
+ // ProfileTestMultiDex is used also for testing oatdump for apps.
+ // This is a regression test that oatdump can handle .data.bimg.rel.ro
+ // entries pointing to the middle of the "boot image live objects" array.
+ return Integer.valueOf(i);
+ }
+}