Home
last modified time | relevance | path

Searched refs:TestClass (Results 1 – 21 of 21) sorted by relevance

/art/test/530-checker-lse/src/
DMain.java32 class TestClass { class
34 sTestClassObj = new TestClass(-1, -2);
36 TestClass() { in TestClass() method in TestClass
38 TestClass(int i, int j) { in TestClass() method in TestClass
45 TestClass next;
48 static TestClass sTestClassObj;
51 class SubTestClass extends TestClass {
112 static int test1(TestClass obj1, TestClass obj2) { in test1()
130 static int test2(TestClass obj) { in test2()
159 static int test3(TestClass obj) { in test3()
[all …]
/art/test/1963-add-to-dex-classloader-in-memory/
Dexpected.txt3 Hello from TestClass sayHi function
4 Goodbye from TestClass!
6 -- Redefine the TestClass
7 -- call TestClass again, now with NewClass refs
8 Hello again from TestClass sayHi function
10 Goodbye again from TestClass!
13 Hello from TestClass sayHi function
14 Goodbye from TestClass!
15 -- Redefine the TestClass
16 -- call TestClass again, now with NewClass refs
[all …]
/art/test/1964-add-to-dex-classloader-file/
Dexpected.txt3 Hello from TestClass sayHi function
4 Goodbye from TestClass!
6 -- Redefine the TestClass
7 -- call TestClass again, now with NewClass refs
8 Hello again from TestClass sayHi function
14 public static void foobar.TestClass.sayHi()(line: 5)
17 Hello from TestClass sayHi function
18 Goodbye from TestClass!
19 -- Redefine the TestClass
20 -- call TestClass again, now with NewClass refs
[all …]
/art/test/647-jni-get-field-id/src/
DMain.java24 testGetFieldId(TestClass.class, "intField", ""); in main()
25 testGetFieldId(TestClass.class, "intField", "I"); in main()
26 testGetFieldId(TestClass.class, "intField", "int"); in main()
27 testGetFieldId(TestClass.class, "intField", "Lint;"); in main()
28 testGetFieldId(TestClass.class, "stringField", "I"); in main()
29 testGetFieldId(TestClass.class, "stringField", "Ljava/lang/String;"); in main()
30 testGetFieldId(TestClass.class, "stringField", "java/lang/String"); in main()
31 testGetFieldId(TestClass.class, "stringField", "Ljava.lang.String;"); in main()
32 testGetFieldId(TestClass.class, "stringField", "java.lang.String"); in main()
53 get.invoke(null, TestClass.class, "bogus", signature); in testClassLoading()
[all …]
/art/test/647-jni-get-field-id/
Dexpected.txt2 getFieldId(class TestClass, "intField", "")
4 getFieldId(class TestClass, "intField", "I")
6 getFieldId(class TestClass, "intField", "int")
9 getFieldId(class TestClass, "intField", "Lint;")
12 getFieldId(class TestClass, "stringField", "I")
14 getFieldId(class TestClass, "stringField", "Ljava/lang/String;")
16 getFieldId(class TestClass, "stringField", "java/lang/String")
19 getFieldId(class TestClass, "stringField", "Ljava.lang.String;")
22 getFieldId(class TestClass, "stringField", "java.lang.String")
/art/libartbase/base/
Dlogging_test.cc46 class TestClass { class
50 DEFINE_RUNTIME_DEBUG_FLAG(TestClass, kFlag);
54 EXPECT_TRUE(TestClass::kFlag); in TEST_F()
57 EXPECT_FALSE(TestClass::kFlag); in TEST_F()
/art/test/555-UnsafeGetLong-regression/src/
DMain.java42 TestClass test = new TestClass(); in testUnsafeGetLong()
43 Field longField = TestClass.class.getDeclaredField("longVar"); in testUnsafeGetLong()
49 private static class TestClass { class in Main
/art/test/128-reg-spill-on-implicit-nullcheck/src/
DMain.java26 TestClass f = null; in main()
41 class TestClass { class
/art/test/177-visibly-initialized-deadlock/src/
DMain.java50 class TestClass { class
53 Main.isVisiblyInitialized(TestClass.class); // Native call, discard result.
/art/test/530-checker-lse/smali/
DMain.smali21 ## CHECK-START: int Main2.test4(TestClass, boolean) load_store_elimination (before)
27 ## CHECK-START: int Main2.test4(TestClass, boolean) load_store_elimination (after)
38 # static int test4(TestClass obj, boolean b) {
74 ## CHECK-START: int Main2.test5(TestClass, boolean) load_store_elimination (before)
80 ## CHECK-START: int Main2.test5(TestClass, boolean) load_store_elimination (after)
89 # static int test5(TestClass obj, boolean b) {
127 ## CHECK-START: int Main2.test10(TestClass) load_store_elimination (before)
133 ## CHECK-START: int Main2.test10(TestClass) load_store_elimination (after)
143 # static int test10(TestClass obj) {
144 # TestClass.si += obj.i;
[all …]
/art/test/172-app-image-twice/src/
DTestClass.java17 public class TestClass { class
/art/test/435-new-instance/src/
DTestClass.java17 public abstract class TestClass { class
/art/test/004-UnsafeTest/src/
DMain.java113 TestClass t = new TestClass(); in testGetAndPutAndCAS()
116 Field intField = TestClass.class.getDeclaredField("intVar"); in testGetAndPutAndCAS()
124 Field longField = TestClass.class.getDeclaredField("longVar"); in testGetAndPutAndCAS()
132 Field objectField = TestClass.class.getDeclaredField("objectVar"); in testGetAndPutAndCAS()
287 private static class TestClass { class in Main
/art/test/924-threads/
Dthreads.cc44 JNIEnv* env, jclass TestClass ATTRIBUTE_UNUSED) { in Java_art_Test924_nativeWaiterStructAlloc()
58 JNIEnv* env ATTRIBUTE_UNUSED, jclass TestClass ATTRIBUTE_UNUSED, jlong waiter_struct) { in Java_art_Test924_nativeWaiterStructWaitForNative()
64 JNIEnv* env ATTRIBUTE_UNUSED, jclass TestClass ATTRIBUTE_UNUSED, jlong waiter_struct) { in Java_art_Test924_nativeWaiterStructFinish()
70 jclass TestClass ATTRIBUTE_UNUSED, in Java_art_Test924_nativeLoop()
/art/test/971-iface-super/util-src/
Dgenerate_smali.py225 class TestClass(mixins.DumpMixin, mixins.Named, mixins.NameComparableMixin, mixins.SmaliFileMixin): class
451 SUPER_CALL_TEMPLATE = TestClass.SUPER_CALL_TEMPLATE
452 OUTPUT_PREFIX = TestClass.OUTPUT_PREFIX
644 yield TestClass(supers)
/art/test/180-native-default-method/jasmin/
DTestClass.j15 .class public TestClass
/art/test/964-default-iface-init-gen/util-src/
Dgenerate_java.py167 class TestClass(mixins.DumpMixin, mixins.Named, mixins.NameComparableMixin, mixins.JavaFileMixin): class
369 yield TestClass(clone_all(supers))
373 yield TestClass(tuple([selected] + list(ns)))
/art/test/161-final-abstract-class/smali/
DMain.smali19 # // Verification of TestClass.test() used to crash when processing
21 # Class<?> tc = Class.forName("TestClass");
96 const-string p0, "TestClass"
/art/test/970-iface-super-resolution-gen/util-src/
Dgenerate_smali.py214 class TestClass(mixins.DumpMixin, mixins.Named, mixins.NameComparableMixin, mixins.SmaliFileMixin): class
361 return TestClass([i.get_initial_build_version() for i in self.ifaces], self.class_name)
565 yield TestClass(supers)
/art/test/961-default-iface-resolution-gen/util-src/
Dgenerate_java.py157 class TestClass(mixins.DumpMixin, mixins.Named, mixins.NameComparableMixin, mixins.JavaFileMixin): class
360 test_class = TestClass(tree)
/art/test/968-default-partial-compile-gen/util-src/
Dgenerate_smali.py252 class TestClass(mixins.DumpMixin, mixins.Named, mixins.NameComparableMixin, mixins.SmaliFileMixin): class
556 yield TestClass(iface)