/art/test/990-field-trace/ |
D | expected.txt | 1 MODIFY of int art.Test990$TestClass1.xyz on object of type: class art.Test990$TestClass1 in method … 2 MODIFY of java.lang.Object art.Test990$TestClass1.abc on object of type: class art.Test990$TestClas… 3 MODIFY of static long art.Test990$TestClass2.TOTAL on object of type: null in method art.Test990$Te… 4 MODIFY of int art.Test990$TestClass1.xyz on object of type: class art.Test990$TestClass2 in method … 5 MODIFY of java.lang.Object art.Test990$TestClass1.abc on object of type: class art.Test990$TestClas… 6 MODIFY of long art.Test990$TestClass2.baz on object of type: class art.Test990$TestClass2 in method… 7 MODIFY of int art.Test990$TestClass1.xyz on object of type: class art.Test990$TestClass1 in method … 8 MODIFY of java.lang.Object art.Test990$TestClass1.abc on object of type: class art.Test990$TestClas… 9 MODIFY of int art.Test990$TestClass1.xyz on object of type: class art.Test990$TestClass1 in method … 10 MODIFY of java.lang.Object art.Test990$TestClass1.abc on object of type: class art.Test990$TestClas… [all …]
|
/art/test/980-redefine-object/ |
D | expected.txt | 1 …Initializing and loading the TestWatcher class that will (eventually) be notified of object alloca… 6 Object allocated of type 'java.lang.Object' 8 Object allocated of type 'Transform' 11 Object allocated of type 'java.util.ArrayList' 12 Adding a bunch of stuff to the array list 13 Object allocated of type 'java.lang.Object' 14 Object allocated of type 'java.lang.Object' 15 Object allocated of type 'Transform' 17 Object allocated of type 'java.util.LinkedList' 18 Adding a bunch of stuff to the linked list [all …]
|
/art/test/1979-threaded-structural-transformation/ |
D | expected.txt | 1 Hitting class class art.Test1979$Transform[FOO: value of <FOO FIELD>, BAR: value of <BAR FIELD>] 2 Initial: class art.Test1979$Transform[FOO: value of <FOO FIELD>, BAR: value of <BAR FIELD>] 4 public static java.lang.Object art.Test1979$Transform.BAR = (ID: 0) value of <BAR FIELD> 5 public static java.lang.Object art.Test1979$Transform.FOO = (ID: 1) value of <FOO FIELD> 7 Read BAR field: (ID: 0) value of <BAR FIELD> 8 Read FOO field: (ID: 1) value of <FOO FIELD> 9 Redefined: class art.Test1979$Transform[FOO: value of <FOO FIELD>, BAR: value of <BAR FIELD>, BAZ: … 11 public static java.lang.Object art.Test1979$Transform.BAR = (ID: 0) value of <BAR FIELD> 13 public static java.lang.Object art.Test1979$Transform.FOO = (ID: 1) value of <FOO FIELD> 15 Read FOO field: (ID: 1) value of <FOO FIELD> [all …]
|
/art/test/098-ddmc/ |
D | expected.txt | 2 … number of entries: 0 offset to string table from start of message: 15 number of class name string… 14 … number of entries: 0 offset to string table from start of message: 15 number of class name string… 23 … number of entries: 0 offset to string table from start of message: 15 number of class name string…
|
/art/test/1981-structural-redef-private-method-handles/ |
D | expected_no_mh.txt | 1 Initial: class art.Test1981$Transform[FOO: value of <FOO FIELD>, BAR: value of <BAR FIELD>] 2 Reading field FOO using (ID: 0) MethodHandle()Object = (ID: 1) value of <FOO FIELD> 3 Reading field BAR using (ID: 2) MethodHandle()Object = (ID: 3) value of <BAR FIELD> 5 Post redefinition : class art.Test1981$Transform[FOO: value of <FOO FIELD>, BAR: value of <BAR FIEL… 6 Reading field FOO using (ID: 0) MethodHandle()Object = (ID: 1) value of <FOO FIELD> 7 Reading field BAR using (ID: 2) MethodHandle()Object = (ID: 3) value of <BAR FIELD> 9 Reading new field FOO using (ID: 6) MethodHandle()Object = (ID: 1) value of <FOO FIELD> 10 Reading new field BAR using (ID: 7) MethodHandle()Object = (ID: 3) value of <BAR FIELD> 12 Post set with new mh: class art.Test1981$Transform[FOO: value of <FOO FIELD>, BAR: value of <BAR FI… 14 Post set with old mh: class art.Test1981$Transform[FOO: class art.Test1981$Transform, BAR: value of… [all …]
|
D | expected.txt | 1 Initial: class art.Test1981$Transform[FOO: value of <FOO FIELD>, BAR: value of <BAR FIELD>] 2 Reading field FOO using (ID: 0) MethodHandle()Object = (ID: 1) value of <FOO FIELD> 3 …OO using (ID: 2) java.lang.invoke.FieldVarHandle()->java.lang.Object = (ID: 1) value of <FOO FIELD> 4 Reading field BAR using (ID: 3) MethodHandle()Object = (ID: 4) value of <BAR FIELD> 5 …AR using (ID: 5) java.lang.invoke.FieldVarHandle()->java.lang.Object = (ID: 4) value of <BAR FIELD> 7 Post redefinition : class art.Test1981$Transform[FOO: value of <FOO FIELD>, BAR: value of <BAR FIEL… 8 Reading field FOO using (ID: 0) MethodHandle()Object = (ID: 1) value of <FOO FIELD> 9 …OO using (ID: 2) java.lang.invoke.FieldVarHandle()->java.lang.Object = (ID: 1) value of <FOO FIELD> 10 Reading field BAR using (ID: 3) MethodHandle()Object = (ID: 4) value of <BAR FIELD> 11 …AR using (ID: 5) java.lang.invoke.FieldVarHandle()->java.lang.Object = (ID: 4) value of <BAR FIELD> [all …]
|
/art/ |
D | NOTICE | 23 and distribution as defined by Sections 1 through 9 of this document. 28 "Legal Entity" shall mean the union of the acting entity and all 30 control with that entity. For the purposes of this definition, 32 direction or management of such entity, whether by contract or 33 otherwise, or (ii) ownership of fifty percent (50%) or more of the 34 outstanding shares, or (iii) beneficial ownership of such entity. 44 transformation or translation of a Source form, including but 48 "Work" shall mean the work of authorship, whether in Source or 56 represent, as a whole, an original work of authorship. For the purposes 57 of this License, Derivative Works shall not include works that remain [all …]
|
/art/test/991-field-trace-2/ |
D | expected.txt | 4 …ACCESS of public int art.Test991$TestClass1.xyz on object of type: class art.Test991$TestClass1 in… 7 …MODIFY of public int art.Test991$TestClass1.xyz on object of type: class art.Test991$TestClass1 in… 12 …ACCESS of public int art.Test991$TestClass1.xyz on object of type: class art.Test991$TestClass1 in… 18 …ACCESS of public int art.Test991$TestClass1.xyz on object of type: class art.Test991$TestClass1 in… 21 …MODIFY of public int art.Test991$TestClass1.xyz on object of type: class art.Test991$TestClass1 in… 27 …ACCESS of public int art.Test991$TestClass1.xyz on object of type: class art.Test991$TestClass1 in… 30 …MODIFY of public int art.Test991$TestClass1.xyz on object of type: class art.Test991$TestClass1 in… 35 …ACCESS of public int art.Test991$TestClass1.xyz on object of type: class art.Test991$TestClass1 in… 38 …MODIFY of public int art.Test991$TestClass1.xyz on object of type: class art.Test991$TestClass1 in… 43 …ACCESS of public int art.Test991$TestClass1.xyz on object of type: class art.Test991$TestClass1 in… [all …]
|
/art/test/1982-no-virtuals-structural-redefinition/ |
D | expected.txt | 2 public static java.lang.Object art.Test1982$Transform.BAR on (ID: 0) <NULL> = (ID: 1) value of <BAR… 3 public static java.lang.Object art.Test1982$Transform.FOO on (ID: 0) <NULL> = (ID: 2) value of <FOO… 5 … 3) SuperTransform { id: 2, class: class art.Test1982$SubTransform } = (ID: 1) value of <BAR FIELD> 6 … 3) SuperTransform { id: 2, class: class art.Test1982$SubTransform } = (ID: 2) value of <FOO FIELD> 9 Read BAR field: (ID: 1) value of <BAR FIELD> 10 Read FOO field: (ID: 2) value of <FOO FIELD> 13 Redefined: class art.Test1982$Transform[FOO: value of <FOO FIELD>, BAR: value of <BAR FIELD>, BAZ: … 15 public static java.lang.Object art.Test1982$Transform.BAR on (ID: 0) <NULL> = (ID: 1) value of <BAR… 17 public static java.lang.Object art.Test1982$Transform.FOO on (ID: 0) <NULL> = (ID: 2) value of <FOO… 19 … 3) SuperTransform { id: 2, class: class art.Test1982$SubTransform } = (ID: 1) value of <BAR FIELD> [all …]
|
/art/tools/runtime_memusage/ |
D | README | 4 These set of executables are useful for condensing large amounts of memory reads 5 of Dex Files into smaller, split pieces of information. Two kinds of information 7 1. Visualizing what part of a Dex File is being accessed at what time 10 Both of these kinds of information can be split up further by providing category 12 substring of the symbolized trace. 16 These set of tools work in conjunction with the class 17 DexFileTrackingRegistrar, which marks sections of Dex Files as poisoned. As Dex 19 In addition, when poisoned sections of memory are accesses, their stack trace is 23 in order to give both types of information. The other two are used in some of 38 of a file. Additional options specified below are useful for removing [all …]
|
/art/test/004-JniTest/ |
D | expected.txt | 32 Calling method ConcreteClass->JniCallNonOverridenDefaultMethod on object of type ConcreteClass 34 Calling method ConcreteClass->JniCallOverridenDefaultMethod on object of type ConcreteClass 36 Calling method ConcreteClass->JniCallOverridenDefaultMethodWithSuper on object of type ConcreteClass 39 Calling method ConcreteClass->JniCallOverridenAbstractMethod on object of type ConcreteClass 41 Calling method ConcreteClass->JniCallConflictDefaultMethod on object of type ConcreteClass 43 Calling method ConcreteClass->JniCallSoftConflictMethod on object of type ConcreteClass 45 Calling method DefaultInterface->JniCallNonOverridenDefaultMethod on object of type ConcreteClass 47 Calling method DefaultInterface->JniCallOverridenDefaultMethod on object of type ConcreteClass 49 Calling method DefaultInterface->JniCallOverridenAbstractMethod on object of type ConcreteClass 51 Calling method DefaultInterface->JniCallConflictDefaultMethod on object of type ConcreteClass [all …]
|
/art/tools/jvmti-agents/field-null-percent/ |
D | README.md | 3 fieldnull is a JVMTI agent designed for testing for a given field the number of 19 > `Lname/of/class;.nameOfField:Ltype/of/field;[,...]` 22 …T/lib64/libopenjdkjvmti.so '-agentpath:libfieldnull.so=Lname/of/class;.nameOfField:Ltype/of/field;… 25 * If using `libartd.so`, make sure to use the debug version of jvmti. 34 > `java '-agentpath:libfieldnull.so=Lname/of/class;.nameOfField:Ltype/of/field;' -cp tmp/hellowo… 38 program normally exits. In the case of Android applications, they are always 43 Will initiate a dump of the counts (to logcat). 47 > `dalvikvm32 I 08-30 14:51:20 84818 84818 fieldnull.cc:96] Dumping counts of null fields.`
|
/art/tools/ahat/etc/ |
D | README.txt | 2 A version of the test-dump hprof generated on Android L, with one of the 6 A version of the test-dump hprof generated on Android O. 9 A version of the test-dump hprof generated on the reference implementation.
|
/art/test/531-regression-debugphi/smali/ |
D | TestCase.smali | 5 # You may obtain a copy of the License at 24 # - update inputs of PrimNot PhiA 25 # - set type of PhiB 26 # - left with two PrimNot equivalents of PhiA 51 invoke-static {}, Ljava/lang/System;->nanoTime()J # env use of both PhiA equivalents 60 invoke-static {}, Ljava/lang/System;->nanoTime()J # env use of PhiB 72 # - update inputs of PrimNot PhiB ; add PrimNot PhiA to worklist 76 # - PrimInt PhiA: update inputs, set to PrimNot, use instead of PrimNot PhiA 77 # - add PhiBs to worklist as users of PhiA 100 move-object v1, v0 # create PrimNot equivalent of PhiA [all …]
|
/art/test/565-checker-condition-liveness/ |
D | info.txt | 1 Test the results of liveness analysis e.g. use positions of inputs of non-materialized conditions.
|
/art/tools/dexfuzz/ |
D | README | 4 DexFuzz is primarily a tool for fuzzing DEX files. Fuzzing is the introduction of 6 can be used to test the various modes of execution available to ART (Interpreter, 7 Optimizing compiler) to check for bugs in these modes of execution. 8 This is done by differential testing - each test file is executed with each mode of 9 execution, and any differences between the resulting outputs may be an indication of 10 a bug in one of the modes. 12 For a wider overview of DexFuzz, see: 14 http://community.arm.com/groups/android-community/blog/2014/11/26/the-art-of-fuzz-testing 16 In typical operation, you provide DexFuzz with a set of DEX files that are the "seeds" 24 DexFuzz can run its test programs on either an ADB-connected device, or a host-build of [all …]
|
/art/test/175-alloc-big-bignums/ |
D | info.txt | 1 Allocate large numbers of huge BigIntegers in rapid succession. Most of the 3 the garbage collector often enough to prevent us from running out of memory. 5 The test allocates roughly 10GB of native memory, approximately 1MB of which
|
/art/test/989-method-trace-throw/ |
D | info.txt | 3 This test is sensitive to the internal implementations of: 12 * all super-classes and super-interfaces of the above types. 14 Changes to the internal implementation of these classes might (or might not) 15 change the output of this test.
|
/art/test/988-method-trace/ |
D | info.txt | 3 This test is sensitive to the internal implementations of: 12 * all super-classes and super-interfaces of the above types. 14 Changes to the internal implementation of these classes might (or might not) 15 change the output of this test.
|
/art/tools/ahat/ |
D | README.txt | 17 The weakest reachability of instances to treat as retained. 26 * Have a menu at the top of an object view with links to the sections? 27 * Include ahat version and hprof file in the menu at the top of the page? 41 * That we can open a hprof without an 'app' heap and show a tabulation of 45 * That we can view the list of all objects in a reasonably short amount of 57 Add option for viewing subclass instances of a class. 64 Show progress of heap dump processing. 74 Restore old presentation of sample paths from gc roots. 75 Fix bug in selection of sample paths from gc root. 76 Fix bug in proguard deobfuscation of stack frames. [all …]
|
/art/test/1970-force-early-return-long/ |
D | expected.txt | 5 Will force return of 987000 11 Will force return of 987001 17 Will force return of 987002 23 Will force return of 987003 29 Will force return of 987004 35 Will force return of 987005 37 Test stopped during Method Exit of calledFunction 41 Will force return of 987006 43 Test stopped during Method Enter of calledFunction 47 Will force return of 987007 [all …]
|
/art/tools/hiddenapi/ |
D | README.md | 5 their access flags if their signatures appear on one of two lists - greylist and 19 e.g. "I" for "int", and a "[" prefix denotes an array type. Lists of types do 31 Two bits of information are encoded in the DEX access flags. These are encoded 32 as unsigned LEB128 values in DEX and so as to not increase the size of the DEX, 33 different modifiers were chosen for different kinds of methods/fields. 35 First bit is encoded as the inversion of visibility access flags (bits 2:0). 36 At most one of these flags can be set at any given time. Inverting these bits 38 any loss of information. 40 Second bit is encoded differently for each given type of class member as there 41 is no single unused bit such that setting it would not increase the size of the [all …]
|
/art/tools/class2greylist/test/src/com/android/class2greylist/ |
D | UnsupportedAppUsageAnnotationHandlerTest.java | 95 ImmutableMap.of(ANNOTATION, createGreylistHandler(x -> true, NULL_SDK_MAP)) in testGreylistMethod() 116 ImmutableMap.of(ANNOTATION, createGreylistHandler(x -> true, NULL_SDK_MAP)) in testGreylistConstructor() 137 ImmutableMap.of(ANNOTATION, createGreylistHandler(x -> true, NULL_SDK_MAP)) in testGreylistField() 158 ImmutableMap.of(ANNOTATION, createGreylistHandler(x -> true, NULL_SDK_MAP)) in testGreylistImplicit() 179 ImmutableMap.of(ANNOTATION, createGreylistHandler(x -> true, NULL_SDK_MAP)) in testGreylistImplicit_Invalid_MissingOnClass() 201 ImmutableMap.of(ANNOTATION, createGreylistHandler(x -> true, NULL_SDK_MAP)) in testGreylistImplicit_Invalid_PresentOnMember() 222 ImmutableMap.of(ANNOTATION, createGreylistHandler(x -> true, NULL_SDK_MAP)) in testGreylistMethodExpectedSignature() 243 ImmutableMap.of(ANNOTATION, createGreylistHandler(x -> true, NULL_SDK_MAP)) in testGreylistMethodExpectedSignatureWrong() 263 ImmutableMap.of(ANNOTATION, createGreylistHandler(x -> true, NULL_SDK_MAP)) in testGreylistInnerClassMethod() 282 ImmutableMap.of(ANNOTATION, createGreylistHandler(x -> true, NULL_SDK_MAP)) in testMethodNotGreylisted() [all …]
|
/art/libnativeloader/ |
D | README.md | 11 The most typical use case of this library is calling `System.loadLibrary(name)`. 16 from the namespace. The actual searching, loading, and linking of the library 22 from the namespace, thus preventing an APK from loading JNI libraries of other 26 characteristics of the APK such as whether or not the APK is bundled with the 27 platform. In case of the unbundled, i.e., downloaded or updated APK, only the 29 are available from the platform, whereas in case of the bundled, all libraries 39 The list of public native libraries is not static. The default set of libraries 54 Lastly, libnativeloader is responsible for abstracting the two types of the 61 Implementation wise, libnativeloader consists of four parts: 68 `native_loader.cpp` implements the public interface of this library. It is just [all …]
|
/art/test/1968-force-early-return/ |
D | expected.txt | 5 Will force return of OveriddenReturnValue { id: 0 } 11 Will force return of OveriddenReturnValue { id: 1 } 17 Will force return of OveriddenReturnValue { id: 2 } 23 Will force return of OveriddenReturnValue { id: 3 } 29 Will force return of OveriddenReturnValue { id: 4 } 35 Will force return of OveriddenReturnValue { id: 5 } 37 Test stopped during Method Exit of calledFunction 41 Will force return of OveriddenReturnValue { id: 6 } 43 Test stopped during Method Enter of calledFunction 47 Will force return of OveriddenReturnValue { id: 7 } [all …]
|