Home
last modified time | relevance | path

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

12345678910>>...51

/art/
DTEST_MAPPING1 // Generated by `regen-test-files`. Do not edit manually.
15 "name": "art-run-test-001-HelloWorld"
18 "name": "art-run-test-001-Main"
21 "name": "art-run-test-002-sleep"
24 "name": "art-run-test-004-checker-UnsafeTest18"
27 "name": "art-run-test-004-InterfaceTest"
30 "name": "art-run-test-006-args"
33 "name": "art-run-test-007-count10"
36 "name": "art-run-test-009-instanceof"
39 "name": "art-run-test-010-instance"
[all …]
/art/test/010-instance/src/
DInstanceTest.java36 Object test; in main() local
38 test = x; in main()
39 System.out.println("x instanceof X (true): " + (test instanceof X)); in main()
40 System.out.println("x instanceof Y (false): " + (test instanceof Y)); in main()
41 test = y; in main()
42 System.out.println("y instanceof X (true): " + (test instanceof X)); in main()
43 System.out.println("y instanceof Y (true): " + (test instanceof Y)); in main()
45 test = xar; in main()
47 + (test instanceof Object)); in main()
49 + (test instanceof X)); in main()
[all …]
/art/test/005-annotations/
Dexpected.txt2 java.lang.String android.test.anno.TestAnnotations.thing1: @android.test.anno.AnnoArrayField(bb=[],…
3 java.lang.String android.test.anno.TestAnnotations.thing2: @android.test.anno.AnnoArrayField(bb=[-1…
4 mapping is class [Landroid.test.anno.IntToString;
5 0='@android.test.anno.IntToString(from=0, to=NORMAL_FOCUS)'
6 1='@android.test.anno.IntToString(from=2, to=WEAK_FOCUS)'
11 annotations on TYPE class android.test.anno.SimplyNoted(2):
12 @android.test.anno.AnnoSimpleType()
13 interface android.test.anno.AnnoSimpleType
14 @android.test.anno.AnnoSimpleType2()
15 interface android.test.anno.AnnoSimpleType2
[all …]
/art/test/1927-exception-event/
Dexception_event.cc42 static void CallMethod(JNIEnv* env, jclass test, const char* name) { in CallMethod() argument
43 jmethodID m = env->GetStaticMethodID(test, name, "()V"); in CallMethod()
44 env->CallStaticVoidMethod(test, m); in CallMethod()
47 static void ClearAndPrintException(JNIEnv* env, jclass test) { in ClearAndPrintException() argument
50 jmethodID m = env->GetStaticMethodID(test, "printException", "(Ljava/lang/Throwable;)V"); in ClearAndPrintException()
51 env->CallStaticVoidMethod(test, m, e); in ClearAndPrintException()
58 extern "C" JNIEXPORT void JNICALL Java_art_Test1927_test_1N(JNIEnv* env, jclass test) { in Java_art_Test1927_test_1N() argument
60 ClearAndPrintException(env, test); in Java_art_Test1927_test_1N()
63 extern "C" JNIEXPORT void JNICALL Java_art_Test1927_test_1N_1J(JNIEnv* env, jclass test) { in Java_art_Test1927_test_1N_1J() argument
64 CallMethod(env, test, "terminal_J"); in Java_art_Test1927_test_1N_1J()
[all …]
/art/test/952-invoke-custom/src/
DMain.java42 TestLinkerMethodMultipleArgumentTypes.test(33, 67); in TestLinkerMethodMultipleArgumentTypes()
43 TestLinkerMethodMultipleArgumentTypes.test(-10000, 1000); in TestLinkerMethodMultipleArgumentTypes()
44 TestLinkerMethodMultipleArgumentTypes.test(-1000, 10000); in TestLinkerMethodMultipleArgumentTypes()
48 TestLinkerMethodWithRange.test(0, 1, 2, 3, 4, 5); in TestLinkerMethodWithRange()
49 TestLinkerMethodWithRange.test(-101, -79, 113, 9, 17, 229); in TestLinkerMethodWithRange()
50 TestLinkerMethodWithRange.test(811, 823, 947, 967, 1087, 1093); in TestLinkerMethodWithRange()
52 TestLinkerMethodWithRange.test(null, null, null, null, null, null); in TestLinkerMethodWithRange()
53 TestLinkerMethodWithRange.test(Double.valueOf(1.0), null, Double.valueOf(3.0), null, in TestLinkerMethodWithRange()
55 TestLinkerMethodWithRange.test(null, Double.valueOf(3.0), null, in TestLinkerMethodWithRange()
57 TestLinkerMethodWithRange.test(Double.valueOf(1.0), Double.valueOf(2.0), in TestLinkerMethodWithRange()
[all …]
/art/test/162-method-resolution/
Dexpected.txt1 Calling Test1Derived.test():
3 Calling Test1User.test():
6 Calling Test1User2.test():
9 Calling Test2User.test():
12 Calling Test2User2.test():
14 Calling Test3User.test():
17 Calling Test4User.test():
19 Calling Test5User.test():
21 Calling Test5User2.test():
24 Calling Test6User.test():
[all …]
/art/test/137-cfi/
Dexpected.txt1 args: --test-local --test-remote
7 args: --test-local --test-remote --secondary
11 args: --test-local --test-remote
17 args: --test-local --test-remote --secondary
21 args: --test-remote
25 args: --test-remote --secondary
/art/test/dexdump/
Dbytecodes.lst2 0x000009a0 8 com.google.android.test.BuildConfig <init> ()V BuildConfig.java 4
3 0x000009b8 8 com.google.android.test.R$attr <init> ()V R.java 11
4 0x000009d0 8 com.google.android.test.R$drawable <init> ()V R.java 13
5 0x000009e8 8 com.google.android.test.R <init> ()V R.java 10
6 0x00000a00 148 com.google.android.test.Test <clinit> ()V Test.java 7
7 0x00000aa4 468 com.google.android.test.Test <init> ()V Test.java 43
8 0x00000ca4 478 com.google.android.test.Test add (Ljava/lang/Object;)Ljava/lang/Object; Test.java 179
9 0x00000ea0 236 com.google.android.test.Test adds (Ljava/lang/Object;)Ljava/lang/Object; Test.java 2…
10 0x00000f9c 342 com.google.android.test.Test copies ()V Test.java 216
11 0x00001104 156 com.google.android.test.Test doit (I)V Test.java 98
[all …]
Dbytecodes.txt112 Class descriptor : 'Lcom/google/android/test/BuildConfig;'
117 #0 : (in Lcom/google/android/test/BuildConfig;)
123 #0 : (in Lcom/google/android/test/BuildConfig;)
132 000990: |[000990] com.google.android.test.BuildConfig.<init>…
139 0x0000 - 0x0004 reg=0 this Lcom/google/android/test/BuildConfig;
159 VISIBILITY_SYSTEM Ldalvik/annotation/EnclosingClass; value=Lcom/google/android/test/R;
163 Class descriptor : 'Lcom/google/android/test/R$attr;'
170 #0 : (in Lcom/google/android/test/R$attr;)
179 0009a8: |[0009a8] com.google.android.test.R$attr.<init>:()V
186 0x0000 - 0x0004 reg=0 this Lcom/google/android/test/R$attr;
[all …]
/art/test/600-verifier-fails/src/
DMain.java27 private static void test(String name) throws Exception { in test() method in Main
37 test("A"); in main()
38 test("B"); in main()
39 test("C"); in main()
40 test("D"); in main()
41 test("E"); in main()
42 test("F"); in main()
/art/test/
DREADME.md19 The run-tests are identified by directories in this `test` directory, named with
28 The run-tests logic lives in the `test/run-test` Bash script. The execution of a
29 run-test has three main parts: building the test, running the test, and checking
30 the test's output. By default, these three steps are implemented by three Bash
31 scripts located in the `test/etc` directory (`default-build`, `default-run`, and
33 `test/run-test`.
36 if the test's directory contains a Bash script named after the step
38 is actually implemented in the "JAR runner" (`test/etc/run-test-jar`), invoked
39 by `test/etc/default-run`.
41 After the execution of a run-test, the check step's default behavior
[all …]
/art/compiler/utils/arm/
Dmanaged_register_arm.h144 const int test = id_ - kNumberOfCoreRegIds; in IsSRegister() local
145 return (0 <= test) && (test < kNumberOfSRegIds); in IsSRegister()
150 const int test = id_ - (kNumberOfCoreRegIds + kNumberOfSRegIds); in IsDRegister() local
151 return (0 <= test) && (test < kNumberOfDRegIds); in IsDRegister()
157 const int test = id_ - (kNumberOfCoreRegIds + kNumberOfSRegIds); in IsOverlappingDRegister() local
158 return (0 <= test) && (test < kNumberOfOverlappingDRegIds); in IsOverlappingDRegister()
163 const int test = in IsRegisterPair() local
165 return (0 <= test) && (test < kNumberOfPairRegIds); in IsRegisterPair()
168 constexpr bool IsSameType(ArmManagedRegister test) const { in IsSameType() argument
169 CHECK(IsValidManagedRegister() && test.IsValidManagedRegister()); in IsSameType()
[all …]
/art/test/692-vdex-inmem-loader/src/
DMain.java43 private static void test(ClassLoader loader, in test() method in Main
83 test(singleLoader(), /*hasVdex*/ false, /*backedByOat*/ false, /*invokeMethod*/ true); in main()
90 test(singleLoader(), /*hasVdex*/ featureEnabled, /*backedByOat*/ false, /*invokeMethod*/ true); in main()
91 test(singleLoader(), /*hasVdex*/ featureEnabled, /*backedByOat*/ featureEnabled, in main()
97 test(loaders[0], /*hasVdex*/ featureEnabled, /*backedByOat*/ false, /*invokeMethod*/ false); in main()
98 test(loaders[1], /*hasVdex*/ featureEnabled, /*backedByOat*/ false, /*invokeMethod*/ true); in main()
101 test(loaders[0], /*hasVdex*/ featureEnabled, /*backedByOat*/ featureEnabled, in main()
103 test(loaders[1], /*hasVdex*/ featureEnabled, /*backedByOat*/ featureEnabled, in main()
110 test(loaders[0], /*hasVdex*/ featureEnabled, /*backedByOat*/ false, /*invokeMethod*/ false); in main()
111 test(loaders[1], /*hasVdex*/ featureEnabled, /*backedByOat*/ false, /*invokeMethod*/ true); in main()
[all …]
/art/compiler/utils/arm64/
Dmanaged_register_arm64.h108 const int test = id_ - kNumberOfXRegIds; in IsWRegister() local
109 return (0 <= test) && (test < kNumberOfWRegIds); in IsWRegister()
114 const int test = id_ - (kNumberOfXRegIds + kNumberOfWRegIds); in IsDRegister() local
115 return (0 <= test) && (test < kNumberOfDRegIds); in IsDRegister()
120 const int test = id_ - (kNumberOfXRegIds + kNumberOfWRegIds + kNumberOfDRegIds); in IsSRegister() local
121 return (0 <= test) && (test < kNumberOfSRegIds); in IsSRegister()
132 constexpr bool IsSameType(Arm64ManagedRegister test) const { in IsSameType() argument
133 CHECK(IsValidManagedRegister() && test.IsValidManagedRegister()); in IsSameType()
135 (IsXRegister() && test.IsXRegister()) || in IsSameType()
136 (IsWRegister() && test.IsWRegister()) || in IsSameType()
[all …]
/art/test/067-preemptive-unpark/src/
DMain.java27 ParkTester test = new ParkTester(); in main() local
31 test.start(); in main()
32 UNSAFE.unpark(test); in main()
40 test.parkNow = true; in main()
50 if (test.success) { in main()
54 test.printTimes(); in main()
55 System.out.println("Value of success = " + test.success); in main()
57 System.out.println("Value of success after sleeping = " + test.success); in main()
58 test.printTimes(); // In case they weren't ready the first time. in main()
/art/test/050-sync-test/
DAndroid.bp1 // Generated by `regen-test-files`. Do not edit manually.
3 name: "art-run-test-050-sync-test",
4 defaults: ["art-run-test-defaults"],
/art/test/507-boolean-test/
DAndroid.bp1 // Generated by `regen-test-files`. Do not edit manually.
3 name: "art-run-test-507-boolean-test",
4 defaults: ["art-run-test-defaults"],
/art/test/087-gc-after-link/
Dinfo.txt1 This test causes a linkage error, which calls dvmFreeClassInnards on
4 This is a regression test for a defect in Dalvik, which was assuming
7 This test is a modified version of test 086.
8 This test is not expected to work for the reference implementation.
/art/test/071-dexfile-get-static-size/src/
DMain.java32 private static void test(String resource) throws Exception { in test() method in Main
39 test("test1.dex"); in main()
40 test("test2.dex"); in main()
41 test("test-jar.jar"); in main()
42 test("multi-jar.jar"); in main()
/art/test/1932-monitor-events-misc/
Dexpected.txt70 Locker thread 17 for NamedLock[test testWaitEnterInterleaving] start-monitor-wait NamedLock[test te…
71 Locker thread 17 for NamedLock[test testWaitEnterInterleaving] monitor-waited NamedLock[test testWa…
75 Locker thread 20 for NamedLock[test testWaitMonitorEnter] start-monitor-wait NamedLock[test testWai…
76 … usage: MonitorUsage{ monitor: NamedLock[test testWaitMonitorEnter], owner: Locker thread 20 for N…
77 …e sync: MonitorUsage{ monitor: NamedLock[test testWaitMonitorEnter], owner: Locker thread 20 for N…
78 Locker thread 20 for NamedLock[test testWaitMonitorEnter] monitor-waited NamedLock[test testWaitMon…
80 Locker thread 22 for NamedLock[test testWaitedMonitorEnter] start-monitor-wait NamedLock[test testW…
81 Locker thread 22 for NamedLock[test testWaitedMonitorEnter] monitor-waited NamedLock[test testWaite…
82 In waited monitor usage: MonitorUsage{ monitor: NamedLock[test testWaitedMonitorEnter], owner: <NUL…
83 … sync: MonitorUsage{ monitor: NamedLock[test testWaitedMonitorEnter], owner: Locker thread 22 for …
[all …]
/art/test/123-compiler-regressions-mt/src/
DMain.java30 final B17689750TestVolatile test = new B17689750TestVolatile(); in b17689750TestVolatile() local
33 test.thread1(); in b17689750TestVolatile()
37 test.thread2(); in b17689750TestVolatile()
44 final B17689750TestMonitor test = new B17689750TestMonitor(); in b17689750TestMonitor() local
47 test.thread1(); in b17689750TestMonitor()
51 test.thread2(); in b17689750TestMonitor()
/art/test/954-invoke-polymorphic-verifier/smali/
DMain.smali16 # This is the test suite runner. It is written in smali rather than
34 invoke-static {v0}, LMain;->test(Ljava/lang/String;)V
36 invoke-static {v0}, LMain;->test(Ljava/lang/String;)V
38 invoke-static {v0}, LMain;->test(Ljava/lang/String;)V
40 invoke-static {v0}, LMain;->test(Ljava/lang/String;)V
42 invoke-static {v0}, LMain;->test(Ljava/lang/String;)V
44 invoke-static {v0}, LMain;->test(Ljava/lang/String;)V
46 invoke-static {v0}, LMain;->test(Ljava/lang/String;)V
48 invoke-static {v0}, LMain;->test(Ljava/lang/String;)V
50 invoke-static {v0}, LMain;->test(Ljava/lang/String;)V
[all …]
/art/test/1922-owned-monitors-info/
Dexpected.txt5 Owned monitors: [NamedLock("Lock 1"), NamedLock("Lock 2"), Target("Current thread test: owned-monit…
9 Owned monitors: [NamedLock("Lock 1"), Target("Current thread test: owned-monitor")]
13 Owned monitors: [NamedLock("Lock 1"), Target("Current thread test: owned-monitor")]
15 Owned monitors: [NamedLock("Lock 1"), NamedLock("Lock 2"), Target("Current thread test: owned-monit…
17 …("Lock 1"), NamedLock("Lock 2"), NamedLock("Lock 3"), Target("Current thread test: owned-monitor")]
19 Owned monitors: [NamedLock("Lock 1"), NamedLock("Lock 2"), Target("Current thread test: owned-monit…
21 Owned monitors: [NamedLock("Lock 1"), NamedLock("Lock 2"), Target("Current thread test: owned-monit…
23 Owned monitors: [NamedLock("Lock 1"), NamedLock("Lock 2"), Target("Current thread test: owned-monit…
27 Owned monitors: [NamedLock("Lock 1"), NamedLock("Lock 3"), Target("Current thread test: owned-monit…
31 Owned monitors: [NamedLock("Lock 1"), NamedLock("Lock 3"), Target("Current thread test: owned-monit…
[all …]
/art/test/909-attach-agent/
Dexpected.txt3 Attached Agent for test 909-attach-agent
5 Attached Agent for test 909-attach-agent
10 Attached Agent for test 909-attach-agent
12 Attached Agent for test 909-attach-agent
17 Attached Agent for test 909-attach-agent
20 Attached Agent for test 909-attach-agent
/art/test/178-app-image-native-method/
Dexpected.txt2 test
9 test
20 test
27 test

12345678910>>...51