Home
last modified time | relevance | path

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

12345678910>>...32

/art/test/921-hello-failure/
Dexpected.txt2 Transformation error : java.lang.Exception(Failed to redefine class <LTransform;> due to JVMTI_ERRO…
5 Transformation error : java.lang.Exception(Failed to redefine class <LTransform;> due to JVMTI_ERRO…
8 Transformation error : java.lang.Exception(Failed to redefine class <LTransform;> due to JVMTI_ERRO…
11 Transformation error : java.lang.Exception(Failed to redefine class <LTransform2;> due to JVMTI_ERR…
14 Transformation error : java.lang.Exception(Failed to redefine class <LTransform2;> due to JVMTI_ERR…
17 Transformation error : java.lang.Exception(Failed to redefine class <LTransform2;> due to JVMTI_ERR…
21 …ransformation error : java.lang.Exception(Failed to redefine classes <LTransform2;, LTransform;> d…
24 …ransformation error : java.lang.Exception(Failed to redefine classes <LTransform;, LTransform2;> d…
29 …ansformation error : java.lang.Exception(Failed to retransform classes <LTransform2;, LTransform;>…
32 …ansformation error : java.lang.Exception(Failed to retransform classes <LTransform;, LTransform2;>…
[all …]
/art/test/922-properties/
Dexpected.txt3 Setting value to "abc": !!!JVMTI_ERROR_NOT_AVAILABLE
5 Setting value to "abc": !!!JVMTI_ERROR_NOT_AVAILABLE
7 Setting value to "abc": !!!JVMTI_ERROR_NOT_AVAILABLE
9 Setting value to "abc": !!!JVMTI_ERROR_NOT_AVAILABLE
11 Setting value to "abc": !!!JVMTI_ERROR_NOT_AVAILABLE
13 Setting value to "abc": !!!JVMTI_ERROR_NOT_AVAILABLE
17 Setting value to "abc": !!!JVMTI_ERROR_NOT_AVAILABLE
19 Setting value to "abc": !!!JVMTI_ERROR_NOT_AVAILABLE
21 Setting value to "abc": !!!JVMTI_ERROR_NOT_AVAILABLE
23 Setting value to "abc": !!!JVMTI_ERROR_NOT_AVAILABLE
[all …]
/art/tools/jfuzz/
DREADME.md11 JFuzz can be combined with DexFuzz to get multi-layered fuzz testing.
13 How to run JFuzz
36 The current version of JFuzz sends all output to stdout, and uses
45 How to start JFuzz testing
60 --num_tests : number of tests to run (10000 by default)
61 --device : target device serial number (passed to adb -s)
69 --report_script : path to script called for each divergence
72 --dexer=DEXER : use either dx or d8 to obtain dex files
75 How to start JFuzz nightly testing
83 --num_proc : number of run_jfuzz_test.py instances to run (8 by default)
[all …]
/art/test/136-daemon-jni-shutdown/
Dexpected.txt2 About to call exception check
3 About to call exception check
4 About to call exception check
5 About to call exception check
/art/runtime/
Dmethod_handles_test.cc64 Handle<mirror::Class> to, in TryConversion() argument
69 Handle<mirror::MethodType> to_mt = hs.NewHandle(CreateVoidMethodType(self, to)); in TryConversion()
70 return ConvertJValueCommon(from_mt, to_mt, from.Get(), to.Get(), value); in TryConversion()
85 Handle<mirror::Class> to = hs.NewHandle(cl->FindPrimitiveClass('I')); in TEST_F() local
87 ASSERT_TRUE(TryConversion(soa.Self(), from, to, &value)); in TEST_F()
97 Handle<mirror::Class> to = hs.NewHandle(cl->FindPrimitiveClass('J')); in TEST_F() local
100 ASSERT_TRUE(TryConversion(soa.Self(), from, to, &value)); in TEST_F()
110 Handle<mirror::Class> to = hs.NewHandle(cl->FindPrimitiveClass('F')); in TEST_F() local
112 ASSERT_TRUE(TryConversion(soa.Self(), from, to, &value)); in TEST_F()
122 Handle<mirror::Class> to = hs.NewHandle(cl->FindPrimitiveClass('C')); in TEST_F() local
[all …]
/art/tools/dexfuzz/
DREADME5 subtle changes ("mutations") to a file to produce a new test case. These test cases
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.
21 How to run DexFuzz
32 having DEX files pushed to it and executed with the dalvikvm command.
36 that are mutated to form new tests.
37 5. Create a directory on your device that mutated test files can be pushed to and
58 Note that if you wanted to test both ARM and ARM64 on an ARM64 device, you can use
59 --allarm. Also in this case only one backend is needed, if i.e., you wanted to test
67 Add in --device=<device name, e.g. device:generic> if you want to specify a device.
[all …]
/art/tools/jvmti-agents/jit-load/
DREADME.md3 Jitload is an art-specific agent allowing one to count the number of classes
10 The libraries will be built for 32-bit, 64-bit, host and target. Below examples assume you want to
15 * `-Xplugin` and `-agentpath` need to be used, otherwise libtitrace agent will fail during init.
16 * If using `libartd.so`, make sure to use the debug version of jvmti and agent.
17 * Pass the '=fatal' option to the agent to cause it to abort if any classes are
30 killed, so we need to manually print the results.
34 Will initiate a dump of the counts (to logcat).
/art/test/600-verifier-fails/
Dinfo.txt6 not hide the hard verification failure (on the type mismatch) to
10 bail immediately and not allow soft verification failures to pile up
11 behind it to avoid fatal message later on
13 access validation on field should occur prior to null reference check
16 verification failure (non-reference type) to avoid a compiler crash
19 access validation on method should occur prior to null reference check
21 new-instance of java.lang.Class should throw an IllegalAccessError to
/art/tools/jvmti-agents/titrace/
DREADME.md9 The libraries will be built for 32-bit, 64-bit, host and target. Below examples assume you want to
14 * `-Xplugin` and `-agentpath` need to be used, otherwise libtitrace agent will fail during init.
15 * If using `libartd.so`, make sure to use the debug version of jvmti.
19 Only needs `-agentpath` to be specified.
23 Normal applications require that `debuggable=true` to be set in their AndroidManifest.xml.
29 Then restart the runtime to pick it up.
33 #### Deploy agent to device
38 Upload to device first (it gets shell/root permissions).
44 #### Attach agent to application
49 Note: To determine the arguments to `am start`, launch the application manually first and then look…
[all …]
/art/tools/jvmti-agents/simple-force-redefine/
DREADME.md4 allows one to force classes to be redefined by writing to a fifo or give a process a list of
5 classes to try redefining. Currently the redefinition is limited to adding (or removing) a single
13 assume you want to use the 64-bit version.
26 Since the agent has no static state it can be attached multiple times to the same process.
32 One can also use fifos to send classes interactively to the process. (TODO: Have the agent
/art/test/954-invoke-polymorphic-verifier/
Dexpected.txt1 …ed class MethodHandleNotInvoke: void MethodHandleNotInvoke.<init>() failed to verify: void MethodH…
2 …cted class MethodHandleToString: void MethodHandleToString.<init>() failed to verify: void MethodH…
3 …nce: void NonReference.<init>() failed to verify: void NonReference.<init>(): void NonReference.<i…
4 …ifier rejected class TooFewArguments: void TooFewArguments.<init>() failed to verify: void TooFewA…
5 …ier rejected class TooManyArguments: void TooManyArguments.<init>() failed to verify: void TooMany…
6 java.lang.VerifyError: Verifier rejected class BadThis: void BadThis.<init>() failed to verify: voi…
7 …ss FakeSignaturePolymorphic: void FakeSignaturePolymorphic.<init>() failed to verify: void FakeSig…
8 …eSignaturePolymorphic: void BetterFakeSignaturePolymorphic.<init>() failed to verify: void BetterF…
10 java.lang.VerifyError: Verifier rejected class Unresolved: void Unresolved.<init>() failed to verif…
12 ….compareAndExchange(java.lang.invoke.VarHandle, java.lang.Object[]) failed to verify: void VarHand…
[all …]
/art/test/1912-get-set-local-primitive/
Dexpected.txt5 "GetLong" on public static void art.Test1912.IntMethod(java.lang.Runnable) failed due to JVMTI_ERRO…
8 "GetFloat" on public static void art.Test1912.IntMethod(java.lang.Runnable) failed due to JVMTI_ERR…
11 "GetDouble" on public static void art.Test1912.IntMethod(java.lang.Runnable) failed due to JVMTI_ER…
17 …c void art.Test1912.IntMethod(java.lang.Runnable) failed to set value 9223372036854775807 due to J…
20 …ic static void art.Test1912.IntMethod(java.lang.Runnable) failed to set value 9.2 due to JVMTI_ERR…
23 …c static void art.Test1912.IntMethod(java.lang.Runnable) failed to set value 12.4 due to JVMTI_ERR…
26 "GetInt" on public static void art.Test1912.LongMethod(java.lang.Runnable) failed due to JVMTI_ERRO…
32 "GetFloat" on public static void art.Test1912.LongMethod(java.lang.Runnable) failed due to JVMTI_ER…
35 "GetDouble" on public static void art.Test1912.LongMethod(java.lang.Runnable) failed due to JVMTI_E…
38 …atic void art.Test1912.LongMethod(java.lang.Runnable) failed to set value 2147483647 due to JVMTI_…
[all …]
/art/test/1957-error-ext/
Dexpected.txt2 Got class java.lang.Exception: Failed to redefine class <Lart/Test1957$Transform;> due to JVMTI_ERR…
3 …LURE TO REDEFINE Unable to perform redefinition of 'Lart/Test1957$Transform;': Total number of dec…
/art/cmdline/
DREADME.md7 long term goal is eventually for all `art` command-line tools to be using these helpers.
15 The `CmdlineParser` class provides a fluent interface using a domain-specific language to quickly
17 it can parse a string into a `VariantMap`, although in the future it might be desirable to parse
24 For example, to save the values into a user-defined variant map:
33 // See variant_map_test.cc for how to completely define a custom map.
80 The simplest kind of argument just tests for presence, but we often want to parse out a particular
82 _wildcard_ must be used to denote the location within the token that the type will be parsed out of.
84 For example with `-orange:_` the parse would know to check all tokens in an `argv` list for the
85 `-orange:` prefix and then strip it, leaving only the remains to be parsed.
88 After an argument definition is provided, the parser builder needs to know what type the argument
[all …]
/art/runtime/interpreter/mterp/arm/
Dfloating_point.S23 GOTO_OPCODE ip @ jump to next instruction
43 SET_VREG_FLOAT_BY_ADDR s2, r9 @ vAA<- s2 No need to clear as it's 2addr
341 b __aeabi_d2lz @ tail call to convert double to long
347 adds r1, r1, r1 @ sign bit to carry
351 adc r1, r1, #0 @ convert maxlong to minlong if exp negative
382 b __aeabi_f2lz @ tail call to convert float to long
387 adds r0, r0, r0 @ sign bit to carry
391 adc r1, r1, #0 @ convert maxlong to minlong if exp negative
/art/libartbase/base/unix_file/
DREADME3 This is intended to be lightweight and easy to use, similar to Java's
8 it's trivial to add new implementations.
14 of multiple sub-operations, it will return the errno corresponding to the most
/art/
DNOTICE7 Unless required by applicable law or agreed to in writing, software
31 "control" means (i) the power, direct or indirect, to cause the
40 including but not limited to software source code, documentation
45 not limited to compiled object code, generated documentation,
46 and conversions to other media types.
50 copyright notice that is included in or attached to the work
58 separable from, or merely link (or bind by name) to the interfaces of,
63 to that Work or Derivative Works thereof, that is intentionally
64 submitted to Licensor for inclusion in the Work by the copyright owner
65 or by an individual or Legal Entity authorized to submit on behalf of
[all …]
/art/runtime/interpreter/mterp/
DREADME.txt4 All the architecture-specific template files are concatenated to create
5 one big python script. This generated python script is then executed to
7 * Lines starting with % are python code. They will be copied as-is to
16 The best way to become familiar with the interpreter is to look at the
40 is easy to work with, on others this you will need to count bytes.
47 restricted, as simple macros are used to massage it for use with both C
56 If you change any of the source file fragments, you need to rebuild the
63 The ultimate goal is to have the build system generate the necessary
65 ready to require Python in the build.
71 transitioning from one Dalvik bytecode to the next. Mterp for ARM targets
[all …]
/art/test/674-hiddenapi/
Dinfo.txt3 tries to access them with reflection/JNI/MethodHandles or link against them.
7 The test then proceeds to exercise the following combinations of class loading:
10 the parent does not belong to boot class path.
11 (b) Parent is appended to boot class path, child is loaded with PathClassLoader.
12 In this situation child should not be able to access hidden methods/fields
14 (c) Both parent and child are appended to boot class path. Restrictions should
/art/tools/jvmti-agents/wrapagentproperties/
DREADME.md11 assume you want to use the 64-bit version.
15 …agentpath:$ANDROID_HOST_OUT/lib64/libwrapagentproperties.so=/path/to/prop.file,/path/to/agent=agen…
17 * `-Xplugin` and `-agentpath` need to be used, otherwise libtitrace agent will fail during init.
18 * If using `libartd.so`, make sure to use the debug version of jvmti.
23 wish to override. The format is property=value on each line. Blank lines and
/art/tools/jvmti-agents/dump-jvmti-state/
DREADME.md4 allows one to use SIGQUIT to dump information about the current JVMTI state to logcat. It does
12 assume you want to use the 64-bit version.
18 * `-Xplugin` and `-agentpath` need to be used, otherwise the agent will fail during init.
19 * If using `libartd.so`, make sure to use the debug version of jvmti.
/art/test/998-redefine-use-after-free/
Dinfo.txt3 It was possible for the JVMTI class redefinition to encounter a use-after-free
4 bug if there had been an attempted redefinition that failed due to a
6 required that a later redefinition happen to get the same native pointer for its
10 to segfaults to incorrect redefinition failures (for example on buggy builds
/art/tools/ahat/
DREADME.txt9 Serve pages on the given port. Defaults to 7100.
11 Use the proguard map FILE to deobfuscate the heap dump.
15 Use the proguard map FILE to deobfuscate the baseline heap dump.
17 The weakest reachability of instances to treat as retained.
18 Defaults to soft
26 * Have a menu at the top of an object view with links to the sections?
33 * Show somewhere where to send bugs.
34 * Include a link to /objects in the overview and menu?
38 truncated. Is there any way to manually line them up in that case?
40 Things to Test:
[all …]
/art/build/apex/
Dld.config.txt20 # odex files are in /system/framework. dalvikvm has to be able to dlopen the
24 # TODO(b/119867084): Restrict fallback to platform namespace to PALette library.
41 # TODO(b/122876336): Remove libpac.so once it's migrated to Webview
44 # /system/lib/libc.so, etc are symlinks to
45 # /apex/com.android.runtime/lib/bionic/libc.so, etc. Add the path to the
46 # permitted paths because linker uses realpath(3) to check the accessibility
47 # of the lib. We could add this to search.paths instead but that makes the
51 # /system/lib but fails to pass the accessibility test because of its realpath.
52 # It's better to not depend on the ordering if possible.
56 # Note that we don't need to link the default namespace with conscrypt:
[all …]
/art/dt_fd_forward/
DREADME.md6 It allows one to handle and proxy JDWP traffic by supplying the implementation
22 When this transport accepts or attaches to a connection it will read from the
24 order, an fd that will be read from to get incoming JDWP packets (read\_fd\_),
25 an fd that outgoing JDWP packets will be written to (write\_fd\_), and an
27 to writing any data to write\_fd\_ the transport will _read_ from the
28 write\_lock\_fd\_ and after finishing the write it will _write_ to it. This
29 allows one to safely multiplex data on the write\_fd\_.

12345678910>>...32