Home
last modified time | relevance | path

Searched refs:getField (Results 1 – 20 of 20) 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.java459 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/575-checker-string-init-alias/src/
DMain.java49 Field field = c.getField("staticField"); in main()
64 Field field = c.getField("staticField"); in main()
/art/test/684-select-condition/src/
DMain.java64 static int $noinline$getField() { return staticField; }
70 int one = $noinline$getField();
/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()
430 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/160-read-barrier-stress/src/
DMain.java184 unsafe.objectFieldOffset(ManyFields.class.getField("testField0000")); in testUnsafeGet()
186 unsafe.objectFieldOffset(ManyFields.class.getField("testField0001")); in testUnsafeGet()
188 unsafe.objectFieldOffset(ManyFields.class.getField("testField1024")); in testUnsafeGet()
190 unsafe.objectFieldOffset(ManyFields.class.getField("testField4444")); in testUnsafeGet()
192 unsafe.objectFieldOffset(ManyFields.class.getField("testField4998")); in testUnsafeGet()
194 unsafe.objectFieldOffset(ManyFields.class.getField("testField4999")); in testUnsafeGet()
221 unsafe.objectFieldOffset(ManyFields.class.getField("testField0000")); in testUnsafeCas()
223 unsafe.objectFieldOffset(ManyFields.class.getField("testField0001")); in testUnsafeCas()
225 unsafe.objectFieldOffset(ManyFields.class.getField("testField1024")); in testUnsafeCas()
227 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
345 return classData.getField(obfuscatedField); in getFieldName()
/art/test/674-hiddenapi/src-ex/
DReflection.java44 klass.getField(name); in canDiscoverWithGetField()
DChildClass.java184 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.java494 Field publicField = UnreflectTester.class.getField("publicField"); in testUnreflects()
504 Field publicStaticField = UnreflectTester.class.getField("publicStaticField"); in testUnreflects()
1722 Field field = UnreflectTester.class.getField("publicStaticField"); in testRevealDirect()
1745 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/tools/ahat/etc/
Dahat_api.txt83 method public com.android.ahat.heapdump.Value getField(java.lang.String);