Home
last modified time | relevance | path

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

12

/art/test/1909-per-agent-tls/src/art/
DTest1909.java88 ThreadWaiter t1 = new ThreadWaiter(); in run() local
94 checkEq(0, t1.getTLS(e1)); in run()
96 checkEq(0, t1.getTLS(e2)); in run()
101 checkEq(0, t1.getTLS(e1)); in run()
103 checkEq(0, t1.getTLS(e2)); in run()
106 t1.setTLS(e1, 2); in run()
108 checkEq(2, t1.getTLS(e1)); in run()
110 checkEq(0, t1.getTLS(e2)); in run()
115 checkEq(2, t1.getTLS(e1)); in run()
117 checkEq(0, t1.getTLS(e2)); in run()
[all …]
/art/test/991-field-trace-2/src/art/
DTest991.java134 public void accept(TestClass1 t1) { in accept() argument
135 int val = t1.xyz; in accept()
137 t1.xyz = val + 1; in accept()
142 public void accept(TestClass1 t1) { in accept() argument
144 Field f = t1.getClass().getDeclaredField("xyz"); in accept()
145 int val = f.getInt(t1); in accept()
147 f.setInt(t1, val + 1); in accept()
157 public void accept(TestClass1 t1) { in accept() argument
158 doNativeReadWrite(t1); in accept()
199 TestClass1 t1 = createTestClassNonTraced(); in run() local
[all …]
/art/test/921-hello-failure/src/
DMultiRedef.java80 public static void doTest(Transform t1, Transform2 t2) { in doTest() argument
81 t1.sayHi("MultiRedef"); in doTest()
89 t1.sayHi("MultiRedef"); in doTest()
97 t1.sayHi("MultiRedef"); in doTest()
DMultiRetrans.java80 public static void doTest(Transform t1, Transform2 t2) { in doTest() argument
81 t1.sayHi("MultiRetrans"); in doTest()
93 t1.sayHi("MultiRetrans"); in doTest()
105 t1.sayHi("MultiRetrans"); in doTest()
/art/test/720-thread-priority/src/
DMain.java55 MyThread t1 = new MyThread(); in main() local
56 t1.start(); in main()
59 t1.setPriority(Thread.MAX_PRIORITY); in main()
61 t1.join(); in main()
/art/compiler/optimizing/
Dreference_type_propagation_test.cc92 ReferenceTypeInfo t1(MergeTypes(InvalidType(), InvalidType())); in TEST_F() local
93 EXPECT_FALSE(t1.IsValid()); in TEST_F()
94 EXPECT_FALSE(t1.IsExact()); in TEST_F()
95 EXPECT_TRUE(t1.IsEqual(InvalidType())); in TEST_F()
124 ReferenceTypeInfo t1(MergeTypes(ObjectType(), ObjectType())); in TEST_F() local
125 EXPECT_TRUE(t1.IsValid()); in TEST_F()
126 EXPECT_TRUE(t1.IsExact()); in TEST_F()
127 EXPECT_TRUE(t1.IsEqual(ObjectType())); in TEST_F()
/art/test/926-multi-obsolescence/src/art/
DTest926.java130 public static void doTest(final Transform t1, final Transform2 t2) throws Exception { in doTest() argument
131 t1.sayHi(() -> { t2.sayHi(() -> { System.out.println("Not doing anything here"); }); }); in doTest()
132 t1.sayHi(() -> { in doTest()
138 t1.sayHi(() -> { t2.sayHi(() -> { System.out.println("Not doing anything here"); }); }); in doTest()
/art/test/127-checker-secondarydex/src/
DMain.java33 Test t1 = new Test(); in testSlowPathDirectInvoke() local
36 t1.test(t2); in testSlowPathDirectInvoke()
37 t1.test(t3); in testSlowPathDirectInvoke()
/art/test/917-fields-transformation/src/art/
DTest917.java90 public static void doTest(Transform t1, Transform t2) { in doTest() argument
91 printTransform(t1); in doTest()
94 printTransform(t1); in doTest()
/art/test/981-dedup-original-dex/src-art/art/
DTest981.java174 Transform t1 = new Transform(); in doTest() local
177 assertSame(null, getOriginalDexFile(t1.getClass())); in doTest()
186 assertSame(getOriginalDexFile(t1.getClass()), getOriginalDexFile(t2.getClass())); in doTest()
189 assertSame(getOriginalDexFile(t1.getClass()).getClass(), Class.forName("java.lang.DexCache")); in doTest()
194 assertSame((new byte[0]).getClass(), getOriginalDexFile(t1.getClass()).getClass()); in doTest()
/art/test/1938-transform-abstract-single-impl/src/
DMain.java82 TransformAbstract t1 = new TransformConcrete(); in main() local
83 t1.doSayHi(); in main()
90 t1.doSayHi(); in main()
/art/test/526-checker-caller-callee-regs/src/
DMain.java80 int t1 = arg + 1; in $opt$LiveInCall() local
82 return t1 - t2; in $opt$LiveInCall()
/art/test/051-thread/src/
DMain.java147 PriorityStoringThread t1 = new PriorityStoringThread(false); in testThreadPriorities() local
148 t1.setPriority(Thread.MAX_PRIORITY); in testThreadPriorities()
149 t1.start(); in testThreadPriorities()
150 t1.join(); in testThreadPriorities()
151 if (supportsThreadPriorities() && (t1.getNativePriority() != Thread.MAX_PRIORITY)) { in testThreadPriorities()
152 System.out.print("thread priority for t1 was " + t1.getNativePriority() + in testThreadPriorities()
/art/test/567-checker-builder-intrinsics/src/
DTestMinMax.java621 int t1 = (x > y) ? x : y; in minmaxCSEScalar() local
628 return t1 + t2 + t3 + t4 + t5 + t6; in minmaxCSEScalar()
657 int t1 = (x[0] > y[0]) ? x[0] : y[0]; in minmaxCSEArray() local
664 return t1 + t2 + t3 + t4 + t5 + t6; in minmaxCSEArray()
679 int t1 = (x > y) ? x : y; in minmaxCSEScalarAndCond() local
682 return t1 + t2; in minmaxCSEScalarAndCond()
686 return t1 + t2 + t3 + t4; in minmaxCSEScalarAndCond()
/art/test/1982-no-virtuals-structural-redefinition/src/art/
DTest1982.java168 Transform t1 = new Transform(1); in doTest() local
176 System.out.println("t1 is " + printGeneric(t1)); in doTest()
189 System.out.println("t1 is " + printGeneric(t1)); in doTest()
198 + printGeneric(t1.getClass().getDeclaredConstructor(Integer.TYPE).newInstance(4))); in doTest()
/art/test/990-field-trace/src/art/
DTest990.java207 TestClass1 t1 = new TestClass1(1, "tc1");
209 TestClass1 t3 = new TestClass1(3, t1);
211 t1.tweak(1);
212 t1.tweak(1);
217 t1.tweak(t3.foobar);
/art/test/168-vmstack-annotated/src/
DMain.java141 Thread t1 = new Thread(new Runner(l1, b1)); in testCluster1() local
142 t1.setDaemon(true); in testCluster1()
143 t1.start(); in testCluster1()
150 waitNotRunnable(t1); in testCluster1()
156 Object[] stack1 = getAnnotatedStack(t1); in testCluster1()
/art/test/1982-no-virtuals-structural-redefinition/
Dexpected.txt11 t1 is (ID: 5) SuperTransform { id: 1, class: class art.Test1982$Transform }
26 t1 is (ID: 5) SuperTransform { id: 1, class: class art.Test1982$Transform }
30 Creating new transform from t1 class = (ID: 7) SuperTransform { id: 1004, class: class art.Test1982…
/art/test/924-threads/src/art/
DTest924.java50 Thread t1 = Thread.currentThread(); in doTest() local
55 t1.setPriority(5); in doTest()
57 if (t1 != t2) { in doTest()
58 throw new RuntimeException("Expected " + t1 + " but got " + t2); in doTest()
62 printThreadInfo(t1); in doTest()
/art/tools/ahat/src/test/com/android/ahat/
DDiffFieldsTest.java34 private static final Type t1 = Type.BOOLEAN; field in DiffFieldsTest
132 b.add(new FieldValue("n1", t1, null)); in basicDiff()
161 a.add(new FieldValue("n1", t1, null)); in reorderedDiff()
170 b.add(new FieldValue("n1", t1, null)); in reorderedDiff()
/art/test/1974-resize-array/src/art/
DTest1974.java262 Thread t1 = new Thread(r.apply(print1)); in runMultiThreadLocal() local
264 t1.start(); in runMultiThreadLocal()
269 t1.join(); in runMultiThreadLocal()
323 Thread t1 = new Thread(r); in runWithLocks() local
344 t1.start(); in runWithLocks()
357 t1.join(); in runWithLocks()
/art/test/925-threadgroups/src/art/
DTest925.java33 Thread t1 = Thread.currentThread(); in doTest() local
34 ThreadGroup curGroup = t1.getThreadGroup(); in doTest()
/art/test/901-hello-ti-agent/
Dbasics.cc185 std::thread t1(CallJvmtiFunction, jvmti_env, Main_klass, &res); in Java_art_Test901_checkUnattached() local
186 t1.join(); in Java_art_Test901_checkUnattached()
/art/test/2031-zygote-compiled-frame-deopt/src/art/
DTest2031.java182 Transform t1 = new Transform(1); in doTest() local
/art/compiler/
Dexception_test.cc139 const dex::TryItem& t1 = accessor.TryItems().begin()[1]; in TEST_F() local
140 EXPECT_LE(t0.start_addr_, t1.start_addr_); in TEST_F()

12