Home
last modified time | relevance | path

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

12345678910>>...67

/art/test/990-field-trace/
Dexpected-stdout.txt1 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/
Dexpected-stdout.txt1 …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/
Dexpected-stdout.txt1 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/libartservice/service/javatests/com/android/server/art/
DDexUseManagerTest.java181 mSnapshot, OWNING_PKG_NAME, Map.of(BASE_APK, "CLC")); in testPrimaryDexOwned()
196 mSnapshot, OWNING_PKG_NAME, Map.of(BASE_APK, "CLC")); in testPrimaryDexOwnedIsolated()
211 mSnapshot, OWNING_PKG_NAME, Map.of(SPLIT_APK, "CLC")); in testPrimaryDexOwnedSplitIsolated()
224 mSnapshot, LOADING_PKG_NAME, Map.of(BASE_APK, "CLC")); in testPrimaryDexOthers()
276 mSnapshot, Utils.PLATFORM_PACKAGE_NAME, Map.of(BASE_APK, "CLC")); in verifyPrimaryDexMultipleEntries()
278 Map.of("/somewhere/app/" + OWNING_PKG_NAME + "/non-existing.apk", "CLC")); in verifyPrimaryDexMultipleEntries()
282 mSnapshot, OWNING_PKG_NAME, Map.of(BASE_APK, "CLC", SPLIT_APK, "CLC")); in verifyPrimaryDexMultipleEntries()
284 mSnapshot, OWNING_PKG_NAME, Map.of(BASE_APK, "CLC", SPLIT_APK, "CLC")); in verifyPrimaryDexMultipleEntries()
287 mSnapshot, LOADING_PKG_NAME, Map.of(BASE_APK, "CLC")); in verifyPrimaryDexMultipleEntries()
289 mSnapshot, LOADING_PKG_NAME, Map.of(BASE_APK, "CLC")); in verifyPrimaryDexMultipleEntries()
[all …]
DDexoptHelperTest.java189 List.of(mPrimaryResults, mSecondaryResults)); in testDexopt()
191 List.of(mPrimaryResults, mSecondaryResults)); in testDexopt()
193 List.of(partialFailureResults, mSecondaryResults)); in testDexopt()
195 List.of(mPrimaryResults, mSecondaryResults)); in testDexopt()
197 List.of(mPrimaryResults, mSecondaryResults)); in testDexopt()
199 List.of(mPrimaryResults, mSecondaryResults)); in testDexopt()
247 List.of(mPrimaryResults, mSecondaryResults)); in testDexoptNoDependencies()
249 List.of(mPrimaryResults, mSecondaryResults)); in testDexoptNoDependencies()
251 List.of(mPrimaryResults, mSecondaryResults)); in testDexoptNoDependencies()
270 List.of(mPrimaryResults)); in testDexoptPrimaryOnly()
[all …]
/art/test/1981-structural-redef-private-method-handles/
Dexpected_no_mh.txt1 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 …]
Dexpected-stdout.txt1 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 …ng (ID: 2) java.lang.invoke.StaticFieldVarHandle()->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 …ng (ID: 5) java.lang.invoke.StaticFieldVarHandle()->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 …ng (ID: 2) java.lang.invoke.StaticFieldVarHandle()->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 …ng (ID: 5) java.lang.invoke.StaticFieldVarHandle()->java.lang.Object = (ID: 4) value of <BAR FIELD>
[all …]
/art/
DNOTICE23 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/
Dexpected-stdout.txt4 …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/
Dexpected-stdout.txt2 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/runtime/
Dnative_gc_triggering.md9 collector's processing of `java.lang.ref.Reference`s.
11 Historically, we have encountered issues when large volumes of such "native" objects are owned by
12 Java objects of significantly smaller size. The Java garbage collector normally decides when to
13 collect based on occupancy of the Java heap. It would not collect if there are few bytes of newly
14 allocated Java objects in the Java heap, even if they "own" large amounts of C++ memory, which
17 This led to the development of the `VMRuntime.registerNativeAllocation` API, and eventually the
18 `NativeAllocationRegistry` API. Both of these allow the programmer to inform the ART GC that a
19 certain amount of C++ memory had been allocated, and could only be reclaimed as the result of a
23 owned by Java objects. However, its major problem was that registering the exact size of such
25 single native object, but instead owns a complex native data structure composed of many objects in
[all …]
/art/tools/runtime_memusage/
DREADME4 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/061-out-of-memory/
DAndroid.bp3 // Build rules for ART run-test `061-out-of-memory`.
8 // all of the 'license_kinds' from "art_license"
16 name: "art-run-test-061-out-of-memory",
21 ":art-run-test-061-out-of-memory-expected-stdout",
22 ":art-run-test-061-out-of-memory-expected-stderr",
28 name: "art-run-test-061-out-of-memory-expected-stdout",
29 out: ["art-run-test-061-out-of-memory-expected-stdout.txt"],
36 name: "art-run-test-061-out-of-memory-expected-stderr",
37 out: ["art-run-test-061-out-of-memory-expected-stderr.txt"],
/art/test/667-out-of-bounds/
DAndroid.bp3 // Build rules for ART run-test `667-out-of-bounds`.
8 // all of the 'license_kinds' from "art_license"
16 name: "art-run-test-667-out-of-bounds",
21 ":art-run-test-667-out-of-bounds-expected-stdout",
22 ":art-run-test-667-out-of-bounds-expected-stderr",
28 name: "art-run-test-667-out-of-bounds-expected-stdout",
29 out: ["art-run-test-667-out-of-bounds-expected-stdout.txt"],
36 name: "art-run-test-667-out-of-bounds-expected-stderr",
37 out: ["art-run-test-667-out-of-bounds-expected-stderr.txt"],
/art/test/717-integer-value-of/
DAndroid.bp3 // Build rules for ART run-test `717-integer-value-of`.
8 // all of the 'license_kinds' from "art_license"
16 name: "art-run-test-717-integer-value-of",
21 ":art-run-test-717-integer-value-of-expected-stdout",
22 ":art-run-test-717-integer-value-of-expected-stderr",
28 name: "art-run-test-717-integer-value-of-expected-stdout",
29 out: ["art-run-test-717-integer-value-of-expected-stdout.txt"],
36 name: "art-run-test-717-integer-value-of-expected-stderr",
37 out: ["art-run-test-717-integer-value-of-expected-stderr.txt"],
/art/test/174-escaping-instance-of-bad-class/
DAndroid.bp3 // Build rules for ART run-test `174-escaping-instance-of-bad-class`.
8 // all of the 'license_kinds' from "art_license"
16 name: "art-run-test-174-escaping-instance-of-bad-class",
21 ":art-run-test-174-escaping-instance-of-bad-class-expected-stdout",
22 ":art-run-test-174-escaping-instance-of-bad-class-expected-stderr",
28 name: "art-run-test-174-escaping-instance-of-bad-class-expected-stdout",
29 out: ["art-run-test-174-escaping-instance-of-bad-class-expected-stdout.txt"],
36 name: "art-run-test-174-escaping-instance-of-bad-class-expected-stderr",
37 out: ["art-run-test-174-escaping-instance-of-bad-class-expected-stderr.txt"],
/art/test/921-hello-failure/
Dexpected-stdout.txt2 …ROR_FAILS_VERIFICATION (FAILURE TO REDEFINE Unable to perform redefinition of 'LTransform;': Faile…
5 …ERROR_NAMES_DONT_MATCH (FAILURE TO REDEFINE Unable to perform redefinition of 'LTransform;': expec…
8 …D (FAILURE TO REDEFINE Unable to perform redefinition of 'LTransform;': Cannot change modifiers of
11 …TION_HIERARCHY_CHANGED (FAILURE TO REDEFINE Unable to perform redefinition of 'LTransform2;': Inte…
14 …TION_HIERARCHY_CHANGED (FAILURE TO REDEFINE Unable to perform redefinition of 'LTransform2;': Inte…
17 …TION_HIERARCHY_CHANGED (FAILURE TO REDEFINE Unable to perform redefinition of 'LTransform2;': Inte…
21 …ERROR_NAMES_DONT_MATCH (FAILURE TO REDEFINE Unable to perform redefinition of 'LTransform;': expec…
24 …ERROR_NAMES_DONT_MATCH (FAILURE TO REDEFINE Unable to perform redefinition of 'LTransform;': expec…
29 …OR_NAMES_DONT_MATCH (FAILURE TO RETRANSFORM Unable to perform redefinition of 'LTransform;': expec…
32 …OR_NAMES_DONT_MATCH (FAILURE TO RETRANSFORM Unable to perform redefinition of 'LTransform;': expec…
[all …]
/art/test/004-JniTest/
Dexpected-stdout.txt32 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/
DREADME.md3 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/dexfuzz/
DREADME4 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/531-regression-debugphi/smali/
DTestCase.smali5 # 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/tools/hiddenapi/
DREADME.md5 their access flags if their signatures appear on one of two lists - unsupported and
9 lists are assumed to be part of the SDK and left accessible by all code.
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
[all …]
/art/tools/ahat/etc/
DREADME.txt2 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/175-alloc-big-bignums/
Dinfo.txt1 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/1970-force-early-return-long/
Dexpected-stdout.txt5 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 …]

12345678910>>...67