Home
last modified time | relevance | path

Searched refs:getField (Results 1 – 25 of 27) sorted by relevance

12

/art/test/660-store-8-16/src/
DMain.java28 expectEquals(1, cls.getField("staticByteField").getByte(null)); in main()
31 expectEquals(0x101, cls.getField("staticShortField").getShort(null)); in main()
34 expectEquals(0x101, cls.getField("staticCharField").getChar(null)); in main()
55 expectEquals(1, cls.getField("staticByteField").getByte(args[0])); in main()
58 expectEquals(0x101, cls.getField("staticShortField").getShort(args[0])); in main()
61 expectEquals(0x101, cls.getField("staticCharField").getChar(args[0])); in main()
/art/test/832-cha-recursive/src/
DMain.java38 expectEquals(0, m.getField()); in $noinline$callRecursiveMethod()
42 public int getField() { in getField() method in Main
50 public int getField() { in getField() method in LoadedLater
/art/tools/ahat/src/main/com/android/ahat/heapdump/
DAhatClassInstance.java66 @Override public Value getField(String fieldName) { in getField() method in AhatClassInstance
76 Value value = getField(fieldName); in getRefField()
90 Value value = getField(fieldName); in getIntField()
107 Value value = getField(fieldName); in getLongField()
159 Value value = getField("value"); in asString()
197 Value value = inst.getField("mRemote"); in getBinderProxyInterfaceName()
261 Value value = getField("mDescriptor");; in getBinderDescriptor()
279 Value vthunk = getField("thunk"); in asRegisteredNativeAllocation()
290 Value vregistry = thunk.getField("this$0"); in asRegisteredNativeAllocation()
300 Value size = registry.getField("size"); in asRegisteredNativeAllocation()
[all …]
DAhatInstance.java480 public Value getField(String fieldName) { in getField() method in AhatInstance
/art/test/183-rmw-stress-test/src/
DMain.java210 unsafe.objectFieldOffset(FourInts.class.getField("i1")), in $noinline$testUnsafeInts()
211 unsafe.objectFieldOffset(FourInts.class.getField("i2")), in $noinline$testUnsafeInts()
212 unsafe.objectFieldOffset(FourInts.class.getField("i3")), in $noinline$testUnsafeInts()
213 unsafe.objectFieldOffset(FourInts.class.getField("i4")) in $noinline$testUnsafeInts()
251 unsafe.objectFieldOffset(FourLongs.class.getField("l1")), in $noinline$testUnsafeLongs()
252 unsafe.objectFieldOffset(FourLongs.class.getField("l2")), in $noinline$testUnsafeLongs()
253 unsafe.objectFieldOffset(FourLongs.class.getField("l3")), in $noinline$testUnsafeLongs()
254 unsafe.objectFieldOffset(FourLongs.class.getField("l4")) in $noinline$testUnsafeLongs()
297 unsafe.objectFieldOffset(FourReferences.class.getField("r1")), in $noinline$testUnsafeReferences()
298 unsafe.objectFieldOffset(FourReferences.class.getField("r2")), in $noinline$testUnsafeReferences()
[all …]
/art/test/046-reflect/src/
DMain.java69 field = target.getField("string1"); in showStrings()
72 field = target.getField("string2"); in showStrings()
75 field = target.getField("string3"); in showStrings()
109 Field field = target.getField("innerField"); in checkAccess()
179 field = target.getField("string1"); in run()
205 field = target.getField("string4"); in run()
218 field = target.getField("string3"); in run()
252 field = target.getField("pubLong"); in run()
262 field = target.getField("superInt"); in run()
310 field = target.getField("superClassInt"); in run()
[all …]
/art/test/684-select-condition/src/
DMain.java64 static int $noinline$getField() { return staticField; }
70 int one = $noinline$getField();
/art/test/575-checker-string-init-alias/src/
DMain.java49 Field field = c.getField("staticField"); in main()
66 Field field = c.getField("staticField"); in main()
/art/tools/ahat/src/test/com/android/ahat/
DInstanceTest.java231 AhatInstance soft1 = strong1.getField("referent").asAhatInstance(); in reachability()
232 AhatInstance strong2 = soft1.getField("referent").asAhatInstance(); in reachability()
233 AhatInstance weak1 = strong2.getField("referent").asAhatInstance(); in reachability()
234 AhatInstance soft2 = weak1.getField("referent").asAhatInstance(); in reachability()
235 AhatInstance phantom1 = soft2.getField("referent").asAhatInstance(); in reachability()
236 AhatInstance obj = phantom1.getField("referent").asAhatInstance(); in reachability()
310 AhatInstance strong2 = strong1.getField("referent").asAhatInstance(); in gcRootPathNotWeak()
311 AhatInstance strong3 = strong2.getField("referent").asAhatInstance(); in gcRootPathNotWeak()
312 AhatInstance object = strong3.getField("referent").asAhatInstance(); in gcRootPathNotWeak()
475 AhatInstance root = ref.getField("referent").asAhatInstance();
[all …]
DTestDump.java191 return stuff.getField(name); in getDumpedValue()
/art/test/468-checker-bool-simplif-regression/src/
DMain.java24 Field f = c.getField("value"); in runTest()
/art/test/140-field-packing/src/
DGapOrder.java48 field = GapOrder.class.getField(fieldName); in CheckField()
/art/test/1940-ddms-ext/src-art/art/
DTest1940.java117 Field f = Chunk.class.getField("length"); in length()
126 Field f = Chunk.class.getField("data"); in data()
135 Field f = Chunk.class.getField("offset"); in offset()
/art/test/201-built-in-except-detail-messages/src/
DMain.java361 Field field = A.class.getField("b"); in reflection()
371 Field field = A.class.getField("i"); in reflection()
380 Field field = A.class.getField("i"); in reflection()
/art/test/1975-hello-structural-transformation/src/art/
DTest1975.java150 public Field getField() { in getField() method in Test1975.MethodHandleWrapper
173 … System.out.println(printGeneric(h) + " (" + h.getField() + ") = " + printGeneric(h.invoke())); in readMethodHandles()
/art/test/160-read-barrier-stress/src/
DMain.java191 unsafe.objectFieldOffset(ManyFields.class.getField("testField0000")); in $noinline$testUnsafeGet()
193 unsafe.objectFieldOffset(ManyFields.class.getField("testField0001")); in $noinline$testUnsafeGet()
195 unsafe.objectFieldOffset(ManyFields.class.getField("testField1024")); in $noinline$testUnsafeGet()
197 unsafe.objectFieldOffset(ManyFields.class.getField("testField4444")); in $noinline$testUnsafeGet()
199 unsafe.objectFieldOffset(ManyFields.class.getField("testField4998")); in $noinline$testUnsafeGet()
201 unsafe.objectFieldOffset(ManyFields.class.getField("testField4999")); in $noinline$testUnsafeGet()
228 unsafe.objectFieldOffset(ManyFields.class.getField("testField0000")); in $noinline$testUnsafeCas()
230 unsafe.objectFieldOffset(ManyFields.class.getField("testField0001")); in $noinline$testUnsafeCas()
232 unsafe.objectFieldOffset(ManyFields.class.getField("testField1024")); in $noinline$testUnsafeCas()
234 unsafe.objectFieldOffset(ManyFields.class.getField("testField4444")); in $noinline$testUnsafeCas()
[all …]
/art/test/044-proxy/src/
DReturnsAndArgPassing.java84 return returnType.getField("MAX_VALUE").get(null); in invoke()
87 return returnType.getField("MIN_VALUE").get(null); in invoke()
/art/tools/ahat/src/main/com/android/ahat/proguard/
DProguardMap.java126 public String getField(String obfuscatedName) { in getField() method in ProguardMap.ClassData
438 return classData.getField(obfuscatedField); in getFieldName()
/art/test/674-hiddenapi/src-ex/
DReflection.java45 klass.getField(name); in canDiscoverWithGetField()
DChildClass.java191 klass.getField(name); in checkMemberCallback()
/art/test/031-class-attributes/src/
DClassAttrs.java137 field = MemberClass.class.getField("mWha"); in main()
/art/test/956-methodhandles/src/
DMain.java503 Field publicField = UnreflectTester.class.getField("publicField"); in testUnreflects()
513 Field publicStaticField = UnreflectTester.class.getField("publicStaticField"); in testUnreflects()
1795 Field field = UnreflectTester.class.getField("publicStaticField"); in testRevealDirect()
1818 field = UnreflectTester.class.getField("publicField"); in testRevealDirect()
/art/test/710-varhandle-creation/src/
DMain.java2359 Field publicField = LookupCheckA.class.getField("fieldA");
2362 Field protectedField = LookupCheckA.class.getField("fieldC");
2367 Field privateField = LookupCheckA.class.getField("fieldD");
2372 Field privateField = LookupCheckA.class.getField("fieldD");
2378 Field staticPublicField = LookupCheckA.class.getField("staticFieldA");
2381 Field protectedField = LookupCheckA.class.getField("staticFieldC");
2386 Field privateField = LookupCheckA.class.getField("staticFieldD");
2391 Field privateField = LookupCheckA.class.getField("staticFieldD");
/art/test/1980-obsolete-object-cleared/
Dexpected-stdout.txt138 Calling public java.lang.reflect.Field java.lang.Class.getField(java.lang.String) throws java.lang.…
139 public java.lang.reflect.Field java.lang.Class.getField(java.lang.String) throws java.lang.NoSuchFi…
140 public java.lang.reflect.Field java.lang.Class.getField(java.lang.String) throws java.lang.NoSuchFi…
141 public java.lang.reflect.Field java.lang.Class.getField(java.lang.String) throws java.lang.NoSuchFi…
410 Calling public java.lang.reflect.Field java.lang.Class.getField(java.lang.String) throws java.lang.…
411 public java.lang.reflect.Field java.lang.Class.getField(java.lang.String) throws java.lang.NoSuchFi…
412 public java.lang.reflect.Field java.lang.Class.getField(java.lang.String) throws java.lang.NoSuchFi…
413 public java.lang.reflect.Field java.lang.Class.getField(java.lang.String) throws java.lang.NoSuchFi…
/art/tools/ahat/etc/
Dahat_api.txt87 method public com.android.ahat.heapdump.Value getField(String);

12