Home
last modified time | relevance | path

Searched refs:instance (Results 1 – 25 of 115) sorted by relevance

12345

/art/test/906-iterate-heap/
Dexpected.txt29 10000@0 (instance, int, index=2) 0000000000000000
30 10001@0 (instance, byte, index=4) 0000000000000001
31 10002@0 (instance, char, index=5) 0000000000000061
32 10003@0 (instance, int, index=6) 0000000000000003
33 10004@0 (instance, long, index=7) 0000000000000004
34 10005@0 (instance, short, index=9) 0000000000000002
37 10000@0 (instance, int, index=3) 0000000000000000
38 10001@0 (instance, byte, index=5) 0000000000000001
39 10002@0 (instance, char, index=6) 0000000000000061
40 10003@0 (instance, int, index=7) 0000000000000003
[all …]
/art/tools/ahat/src/main/com/android/ahat/heapdump/
DPathElement.java37 public final AhatInstance instance; field in PathElement
64 public PathElement(AhatInstance instance, String field) { in PathElement() argument
65 this.instance = instance; in PathElement()
/art/test/046-reflect/src/
DMain.java62 private void showStrings(Target instance) in showStrings() argument
70 one = (String) field.get(instance); in showStrings()
73 two = (String) field.get(instance); in showStrings()
76 three = (String) field.get(instance); in showStrings()
84 Object instance = new otherpackage.Other(); in checkAccess() local
88 meth.invoke(instance); in checkAccess()
98 instance = otherpackage.Other.getInnerClassInstance(); in checkAccess()
99 target = instance.getClass(); in checkAccess()
103 meth.invoke(instance); in checkAccess()
111 int x = field.getInt(instance); in checkAccess()
[all …]
/art/tools/amm/models/
DGraphics.md5 1. For each `android.view.TextureView` instance:
8 2. For each `android.view.Surface$HwuiContext` instance:
18 `Surface$HwuiContext` and `ThreadedRenderer` instance, with further details
19 about the width and height associated with each instance.
21 For example, an application with a single 64x256 `TextureView` instance will
DBitmap.md5 each instance `x` of `android.graphics.Bitmap`:
10 `android.graphics.Bitmap` instance, including width, height, and ideally a
13 For example, an 800 x 600 bitmap instance using the `ARGB_8888` pixel format
14 with native pixel data will be shown as an 800 x 600 bitmap instance taking up
/art/test/952-invoke-custom/src/
DTestInvocationKinds.java93 private static void setInstanceField(TestInvocationKinds instance, double value) { in setInstanceField() argument
95 instance.instance_field = Double.NaN; in setInstanceField()
116 private static double getInstanceField(TestInvocationKinds instance) { in getInstanceField() argument
134 TestInvocationKinds instance = new TestInvocationKinds(); in testInstanceFieldAccessors() local
135 instance.instance_field = Double.MIN_VALUE; in testInstanceFieldAccessors()
136 setInstanceField(instance, Math.PI); in testInstanceFieldAccessors()
137 assertEquals(Math.PI, instance.instance_field); in testInstanceFieldAccessors()
138 instance.instance_field = Math.E; in testInstanceFieldAccessors()
139 assertEquals(Math.E, getInstanceField(instance)); in testInstanceFieldAccessors()
/art/test/426-monitor/
Dexpected.txt2 In instance method
4 In second instance method
/art/test/800-smali/smali/
Db_22331663.smali10 new-instance v4, Ljava/lang/Object;
13 new-instance v3, Ljava/lang/RuntimeException;
21 new-instance v4, Ljava/lang/Object;
23 new-instance v3, Ljava/lang/RuntimeException;
Db_22777307.smali9 # This is a broken new-instance. It needs to throw at runtime, though. This test is here to
12 new-instance v0, Ljava/lang/Cloneable;
Db_22331663_pass.smali10 new-instance v4, Ljava/lang/Object;
18 new-instance v0, Ljava/lang/Object;
Db_22411633_2.smali12 new-instance v4, Ljava/lang/Object;
21 new-instance v4, Ljava/lang/Object;
26 new-instance v4, Ljava/lang/Integer;
Db_22411633_3.smali12 new-instance v4, Ljava/lang/Object;
18 new-instance v4, Ljava/lang/Object;
Db_26594149_1.smali20 new-instance v0, Ljava/lang/String;
23 instance-of v1, v0, Ljava/lang/String;
/art/test/034-call-null/src/
DMain.java25 Main instance = null; in main() local
26 instance.doStuff(0, null, null, null); in main()
/art/test/708-jit-cache-churn/src/
DJitCacheChurnTest.java151 int instance; field in JitCacheChurnTest.TaskFive
153 instance = instances.getAndIncrement(); in TaskFive()
156 return instance; in $noinline$Call()
162 return instance + 1; in $noinline$Call()
168 return 2 * instance + 1; in $noinline$Call()
174 double a = Math.cosh(2.22 * instance); in $noinline$Call()
202 String number = numbers[instance % numbers.length]; in $noinline$Call()
212 String number = numbers[instance % numbers.length]; in $noinline$Call()
/art/test/563-checker-fakestring/smali/
DTestCase.smali18 # Test that all vregs holding the new-instance are updated after the
28 # Create new instance of String and store it to v0, v1, v2.
29 new-instance v0, Ljava/lang/String;
42 # Test usage of String new-instance before it is initialized.
56 new-instance v0, Ljava/lang/String;
89 new-instance v0, Ljava/lang/String; # HNewInstance(String)
126 new-instance v0, Ljava/lang/String;
130 # Although it looks like we "use" the new-instance v0 here, the optimizing compiler
131 # transforms all uses of the new-instance into uses of the StringFactory invoke.
140 new-instance v0, Ljava/lang/String;
[all …]
/art/test/435-new-instance/smali/
Dinstance.smali27 new-instance v1, LTestInterface;
35 new-instance v1, LTestClass;
43 new-instance v1, Lpkg/ProtectedClass;
51 new-instance v1, LUnknownClass;
/art/test/099-vmdebug/src/
DMain.java279 for (Object instance : instances[0]) { in testGetInstances()
280 mask |= ((ClassD)instance).mask; in testGetInstances()
285 for (Object instance : instances[1]) { in testGetInstances()
286 mask |= ((ClassD)instance).mask; in testGetInstances()
293 for (Object instance : instances[0]) { in testGetInstances()
294 mask |= ((ClassD)instance).mask; in testGetInstances()
299 for (Object instance : instances[1]) { in testGetInstances()
300 mask |= ((ClassD)instance).mask; in testGetInstances()
/art/test/913-heaps/
Dexpected.txt145 10000@0 (instance, int, index=2) 0000000000000000
146 10001@0 (instance, byte, index=4) 0000000000000001
147 10002@0 (instance, char, index=5) 0000000000000061
148 10003@0 (instance, int, index=6) 0000000000000003
149 10004@0 (instance, long, index=7) 0000000000000004
150 10005@0 (instance, short, index=9) 0000000000000002
152 10000@0 (instance, int, index=3) 0000000000000000
153 10001@0 (instance, byte, index=5) 0000000000000001
154 10002@0 (instance, char, index=6) 0000000000000061
155 10003@0 (instance, int, index=7) 0000000000000003
[all …]
/art/test/1939-proxy-frames/
Dinfo.txt1 Test for jvmti get local instance
/art/test/1914-get-local-instance/
Dinfo.txt1 Test for jvmti get local instance
/art/test/606-erroneous-class/smali/
DErrClass.smali22 # Use a new instance before initializing it => hard verifier error.
23 new-instance v0, LSomeClass;
/art/test/174-escaping-instance-of-bad-class/
Dinfo.txt1 Regression test for an escaping instance of an erroneous class.
/art/test/591-new-instance-string/
Dinfo.txt1 Regression test on new-instance that reaches multiple <init> calls.
/art/test/525-checker-arrays-fields2/
Dinfo.txt1 Test on (in)variant instance field and array references in loops.

12345