Home
last modified time | relevance | path

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

12345678910>>...26

/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/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/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/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()
49 TestLinkerMethodMinimalArguments.test( in TestLinkerMethodMinimalArguments()
59 TestLinkerMethodMinimalArguments.test( in TestLinkerMethodMinimalArguments()
67 TestLinkerMethodMinimalArguments.test( in TestLinkerMethodMinimalArguments()
73 TestLinkerMethodMinimalArguments.test( in TestLinkerMethodMinimalArguments()
81 TestLinkerUnrelatedBSM.test(); in main()
82 TestInvokeCustomWithConcurrentThreads.test(); in main()
83 TestInvocationKinds.test(); in main()
[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/692-vdex-inmem-loader/src/
DMain.java43 private static void test(ClassLoader loader, in test() method in Main
76 test(singleLoader(), /*hasVdex*/ false, /*backedByOat*/ false, /*invokeMethod*/ true); in main()
83 test(singleLoader(), /*hasVdex*/ featureEnabled, /*backedByOat*/ false, /*invokeMethod*/ true); in main()
84 test(singleLoader(), /*hasVdex*/ featureEnabled, /*backedByOat*/ featureEnabled, in main()
90 test(loaders[0], /*hasVdex*/ featureEnabled, /*backedByOat*/ false, /*invokeMethod*/ false); in main()
91 test(loaders[1], /*hasVdex*/ featureEnabled, /*backedByOat*/ false, /*invokeMethod*/ true); in main()
94 test(loaders[0], /*hasVdex*/ featureEnabled, /*backedByOat*/ featureEnabled, in main()
96 test(loaders[1], /*hasVdex*/ featureEnabled, /*backedByOat*/ featureEnabled, in main()
103 test(loaders[0], /*hasVdex*/ featureEnabled, /*backedByOat*/ false, /*invokeMethod*/ false); in main()
104 test(loaders[1], /*hasVdex*/ featureEnabled, /*backedByOat*/ false, /*invokeMethod*/ true); in main()
[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/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/
DREADME.md1 # VM test harness
18 All tests in either suite can be run using the "art/test.py"
26 $ art/test.py -h
32 $ art/test.py --host
38 $ art/test.py --target
44 $ art/test.py --host -g
50 $ art/test.py --target -g
56 $ art/test.py --host -r
62 $ art/test.py --target -r
65 ## Running one run-test on the build host
[all …]
/art/compiler/utils/mips/
Dmanaged_register_mips.h135 const int test = id_ - kNumberOfCoreRegIds; in IsFRegister() local
136 return (0 <= test) && (test < kNumberOfFRegIds); in IsFRegister()
141 const int test = id_ - (kNumberOfCoreRegIds + kNumberOfFRegIds); in IsDRegister() local
142 return (0 <= test) && (test < kNumberOfDRegIds); in IsDRegister()
148 const int test = id_ - (kNumberOfCoreRegIds + kNumberOfFRegIds); in IsOverlappingDRegister() local
149 return (0 <= test) && (test < kNumberOfOverlappingDRegIds); in IsOverlappingDRegister()
154 const int test = in IsRegisterPair() local
156 return (0 <= test) && (test < kNumberOfPairRegIds); in IsRegisterPair()
/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/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/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/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/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/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/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/compiler/utils/x86_64/
Dmanaged_register_x86_64.h125 const int test = id_ - kNumberOfCpuRegIds; in IsXmmRegister() local
126 return (0 <= test) && (test < kNumberOfXmmRegIds); in IsXmmRegister()
131 const int test = id_ - (kNumberOfCpuRegIds + kNumberOfXmmRegIds); in IsX87Register() local
132 return (0 <= test) && (test < kNumberOfX87RegIds); in IsX87Register()
137 const int test = id_ - in IsRegisterPair() local
139 return (0 <= test) && (test < kNumberOfPairRegIds); in IsRegisterPair()
/art/test/995-breakpoints-throw/src/art/
DTest995.java71 public static Runnable makeTest(String name, Runnable test) {
74 public void run() { test.run(); }
116 for (Runnable test : tests) {
120 test, handler);
121 test.run();
123 test, handler);
126 test, e.getClass().getName(), e.getMessage(), handler);
128 System.out.printf("Test \"%s\": Finished running with handler \"%s\"\n", test, handler);
/art/test/989-method-trace-throw/
Dexpected.txt3 Received no exception as expected for test[class art.Test989$NormalTracer, class art.Test989$doNoth…
6 Received no exception as expected for test[class art.Test989$NormalTracer, class art.Test989$doNoth…
9 Received expected error for test[class art.Test989$NormalTracer, class art.Test989$throwAClass] - a…
12 Received expected error for test[class art.Test989$NormalTracer, class art.Test989$throwANativeClas…
16 Received no exception as expected for test[class art.Test989$NormalTracer, class art.Test989$return…
20 Received no exception as expected for test[class art.Test989$NormalTracer, class art.Test989$return…
24 Received no exception as expected for test[class art.Test989$NormalTracer, class art.Test989$accept…
28 Received no exception as expected for test[class art.Test989$NormalTracer, class art.Test989$accept…
31 Received no exception as expected for test[class art.Test989$NormalTracer, class art.Test989$tryCat…
35 Received no exception as expected for test[class art.Test989$NormalTracer, class art.Test989$return…
[all …]
/art/compiler/utils/x86/
Dmanaged_register_x86.h138 const int test = id_ - kNumberOfCpuRegIds; in IsXmmRegister() local
139 return (0 <= test) && (test < kNumberOfXmmRegIds); in IsXmmRegister()
144 const int test = id_ - (kNumberOfCpuRegIds + kNumberOfXmmRegIds); in IsX87Register() local
145 return (0 <= test) && (test < kNumberOfX87RegIds); in IsX87Register()
150 const int test = id_ - in IsRegisterPair() local
152 return (0 <= test) && (test < kNumberOfPairRegIds); in IsRegisterPair()
/art/test/033-class-init-deadlock/
Dexpected.txt1 Deadlock test starting.
2 Deadlock test interrupting threads.
3 Deadlock test main thread bailing.

12345678910>>...26