Home
last modified time | relevance | path

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

/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/tools/ahat/src/main/com/android/ahat/heapdump/
DAhatClassInstance.java52 @Override public Value getField(String fieldName) { in getField() method in AhatClassInstance
62 Value value = getField(fieldName); in getRefField()
73 Value value = getField(fieldName); in getIntField()
87 Value value = getField(fieldName); in getLongField()
115 Value value = getField("value"); in asString()
153 Value value = inst.getField("mRemote"); in getBinderProxyInterfaceName()
217 Value value = getField("mDescriptor");; in getBinderDescriptor()
312 Value vthunk = getField("thunk"); in asRegisteredNativeAllocation()
323 Value vregistry = thunk.getField("this$0"); in asRegisteredNativeAllocation()
333 Value size = registry.getField("size"); in asRegisteredNativeAllocation()
[all …]
DAhatInstance.java462 public Value getField(String fieldName) { in getField() method in AhatInstance
/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.java52 Field field = c.getField("staticField"); in main()
69 Field field = c.getField("staticField"); in main()
/art/tools/ahat/src/test/com/android/ahat/
DInstanceTest.java228 AhatInstance soft1 = strong1.getField("referent").asAhatInstance(); in reachability()
229 AhatInstance strong2 = soft1.getField("referent").asAhatInstance(); in reachability()
230 AhatInstance weak1 = strong2.getField("referent").asAhatInstance(); in reachability()
231 AhatInstance soft2 = weak1.getField("referent").asAhatInstance(); in reachability()
232 AhatInstance phantom1 = soft2.getField("referent").asAhatInstance(); in reachability()
233 AhatInstance obj = phantom1.getField("referent").asAhatInstance(); in reachability()
307 AhatInstance strong2 = strong1.getField("referent").asAhatInstance(); in gcRootPathNotWeak()
308 AhatInstance strong3 = strong2.getField("referent").asAhatInstance(); in gcRootPathNotWeak()
309 AhatInstance object = strong3.getField("referent").asAhatInstance(); in gcRootPathNotWeak()
439 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/201-built-in-except-detail-messages/src/
DMain.java357 Field field = A.class.getField("b"); in reflection()
367 Field field = A.class.getField("i"); in reflection()
376 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 testUnsafeGet()
193 unsafe.objectFieldOffset(ManyFields.class.getField("testField0001")); in testUnsafeGet()
195 unsafe.objectFieldOffset(ManyFields.class.getField("testField1024")); in testUnsafeGet()
197 unsafe.objectFieldOffset(ManyFields.class.getField("testField4444")); in testUnsafeGet()
199 unsafe.objectFieldOffset(ManyFields.class.getField("testField4998")); in testUnsafeGet()
201 unsafe.objectFieldOffset(ManyFields.class.getField("testField4999")); in testUnsafeGet()
228 unsafe.objectFieldOffset(ManyFields.class.getField("testField0000")); in testUnsafeCas()
230 unsafe.objectFieldOffset(ManyFields.class.getField("testField0001")); in testUnsafeCas()
232 unsafe.objectFieldOffset(ManyFields.class.getField("testField1024")); in testUnsafeCas()
234 unsafe.objectFieldOffset(ManyFields.class.getField("testField4444")); in 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.java99 public String getField(String obfuscatedName) { in getField() method in ProguardMap.ClassData
352 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()
1773 Field field = UnreflectTester.class.getField("publicStaticField"); in testRevealDirect()
1796 field = UnreflectTester.class.getField("publicField"); in testRevealDirect()
/art/test/710-varhandle-creation/src/
DMain.java2354 Field publicField = LookupCheckA.class.getField("fieldA");
2357 Field protectedField = LookupCheckA.class.getField("fieldC");
2362 Field privateField = LookupCheckA.class.getField("fieldD");
2367 Field privateField = LookupCheckA.class.getField("fieldD");
2373 Field staticPublicField = LookupCheckA.class.getField("staticFieldA");
2376 Field protectedField = LookupCheckA.class.getField("staticFieldC");
2381 Field privateField = LookupCheckA.class.getField("staticFieldD");
2386 Field privateField = LookupCheckA.class.getField("staticFieldD");
/art/test/1980-obsolete-object-cleared/
Dexpected-stdout.txt119 Calling public java.lang.reflect.Field java.lang.Class.getField(java.lang.String) throws java.lang.…
120 public java.lang.reflect.Field java.lang.Class.getField(java.lang.String) throws java.lang.NoSuchFi…
121 public java.lang.reflect.Field java.lang.Class.getField(java.lang.String) throws java.lang.NoSuchFi…
122 public java.lang.reflect.Field java.lang.Class.getField(java.lang.String) throws java.lang.NoSuchFi…
332 Calling public java.lang.reflect.Field java.lang.Class.getField(java.lang.String) throws java.lang.…
333 public java.lang.reflect.Field java.lang.Class.getField(java.lang.String) throws java.lang.NoSuchFi…
334 public java.lang.reflect.Field java.lang.Class.getField(java.lang.String) throws java.lang.NoSuchFi…
335 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);
/art/build/boot/
Dboot-image-profile.txt1620 HSPLjava/io/ObjectStreamClass;->getField(Ljava/lang/String;Ljava/lang/Class;)Ljava/io/ObjectStreamF…
1668 HSPLjava/io/ObjectStreamField;->getField()Ljava/lang/reflect/Field;
1966 HSPLjava/lang/Class;->getField(Ljava/lang/String;)Ljava/lang/reflect/Field;
4111 HSPLjava/security/spec/EllipticCurve;->getField()Ljava/security/spec/ECField;
4226 HSPLjava/text/FieldPosition;->getField()I
/art/build/boot/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt2093 Ljava/io/ObjectStreamClass;->getField(Ljava/lang/String;Ljava/lang/Class;)Ljava/io/ObjectStreamFiel…