Home
last modified time | relevance | path

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

/cts/tools/vm-tests-tf/src/dot/junit/opcodes/monitor_enter/
DTest_monitor_enter.java34 final T_monitor_enter_1 t1 = new T_monitor_enter_1(); in testN1() local
35 Runnable r1 = new TestRunnable(t1); in testN1()
36 Runnable r2 = new TestRunnable(t1); in testN1()
44 assertEquals(2, t1.counter); in testN1()
54 final T_monitor_enter_2 t1 = new T_monitor_enter_2(); in testN2() local
55 Runnable r1 = new TestRunnable2(t1, 10); in testN2()
56 Runnable r2 = new TestRunnable2(t1, 20); in testN2()
64 assertTrue(t1.result); in testN2()
124 private T_monitor_enter_1 t1; field in TestRunnable
125 TestRunnable(T_monitor_enter_1 t1) { in TestRunnable() argument
[all …]
/cts/tests/tests/view/src/android/view/animation/cts/
DTransformationTest.java30 final Transformation t1 = new Transformation(); in testCompose() local
32 t1.setAlpha(0.5f); in testCompose()
34 t1.getMatrix().setScale(3, 1); in testCompose()
36 t1.setTransformationType(Transformation.TYPE_MATRIX); in testCompose()
38 t2.compose(t1); in testCompose()
46 t1.setTransformationType(Transformation.TYPE_IDENTITY); in testCompose()
47 t2.compose(t1); in testCompose()
56 final Transformation t1 = new Transformation(); in testClear() local
58 t2.set(t1); in testClear()
59 assertTransformationEquals(t1, t2); in testClear()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/
DDspFftServer.java54 double cc, ss, t1, t2; in fft() local
68 t1 = r.mReal[ii]; in fft()
70 r.mReal[jj] = t1; in fft()
71 t1 = r.mImag[ii]; in fft()
73 r.mImag[jj] = t1; in fft()
90 t1 = cc * r.mReal[kk + n1] - ss * r.mImag[kk + n1]; in fft()
92 r.mReal[kk + n1] = r.mReal[kk] - t1; in fft()
94 r.mReal[kk] = r.mReal[kk] + t1; in fft()
/cts/tests/app/src/android/app/cts/
DActionBarTest.java49 Tab t1 = createTab("Tab 1"); in testAddTab() local
50 mBar.addTab(t1); in testAddTab()
52 assertEquals(t1, mBar.getSelectedTab()); in testAddTab()
53 assertEquals(t1, mBar.getTabAt(0)); in testAddTab()
58 assertEquals(t1, mBar.getSelectedTab()); in testAddTab()
78 assertEquals(t1, mBar.getTabAt(1)); in testAddTab()
/cts/tests/tests/widget/src/android/widget/cts/util/
DListItemFactory.java246 TextView t1 = new TextView(context); in doubleText() local
247 t1.setHeight(desiredHeight); in doubleText()
248 t1.setText(text); in doubleText()
249 t1.setGravity(Gravity.LEFT | Gravity.CENTER_VERTICAL); in doubleText()
253 ll.addView(t1, lp1); in doubleText()
279 TextView t1 = (TextView) ((LinearLayout) convertView).getChildAt(0); in convertDoubleText() local
281 t1.setText(text); in convertDoubleText()
/cts/tests/openglperf2/jni/reference/
DGLReference.cpp47 double t1 = GLUtils::currentTimeMillis(); in Java_android_opengl2_cts_reference_GLGameActivity_startBenchmark() local
50 updates[i] = t1 - t0; in Java_android_opengl2_cts_reference_GLGameActivity_startBenchmark()
51 renders[i] = t2 - t1; in Java_android_opengl2_cts_reference_GLGameActivity_startBenchmark()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DTypeTest.java193 Type t1 = b1.setX(5).setY(5).create(); in testEquals() local
198 assertTrue(t1.equals(t2)); in testEquals()
199 assertTrue(t2.equals(t1)); in testEquals()
200 assertTrue(t1.hashCode() == t2.hashCode()); in testEquals()
203 assertFalse(t1.equals(t2)); in testEquals()
204 assertFalse(t2.equals(t1)); in testEquals()
DGetSetTest.java93 Type t1 = Type.createX(mRS, e, gWidth * gHeight * gDepth / vs); in testSetup() local
94 in1DAlloc = Allocation.createTyped(mRS, t1); in testSetup()
95 out1DAlloc = Allocation.createTyped(mRS, t1); in testSetup()
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DCodecTest.java99 long t1=0; in getCurrentPosition() local
107 t1=SystemClock.uptimeMillis(); in getCurrentPosition()
118 Log.v(TAG, "mp currentPositon = " + currentPosition + " play duration = " + (t2-t1)); in getCurrentPosition()
120 if ((currentPosition < ((t2-t1) *1.2)) && (currentPosition > 0)) in getCurrentPosition()
153 long t1 =0; in setLooping() local
166 t1=SystemClock.uptimeMillis(); in setLooping()
174 Log.v(TAG, "looping position " + currentPosition + "duration = " + (t2-t1)); in setLooping()
182 if ((currentPosition < ((t2-t1-5000)*1.2)) && currentPosition > 0) in setLooping()
192 long t1=0; in pause() local
199 t1=SystemClock.uptimeMillis(); in pause()
[all …]
/cts/apps/CameraITS/tools/
Drun_all_tests.py152 t1 = time.time()
167 msg = "%s %s/%s [%.1fs]" % (retstr, scene, testname, t1-t0)
/cts/tests/tests/hardware/src/android/hardware/cts/
DSensorManagerStaticTest.java82 float t1 = SensorManager.getAltitude(p0, p); in testGetAltitude() local
88 p0, p, t1, t2), in testGetAltitude()
89 t1, t2, 100.f); in testGetAltitude()
/cts/tests/tests/graphics/src/android/graphics/cts/
DCanvasTest.java1779 final String t1 = "android"; in testDrawText4() local
1780 mCanvas.drawText(t1, 0, 7, 10, 30, mPaint); in testDrawText4()
1782 final SpannedString t2 = new SpannedString(t1); in testDrawText4()
1788 final SpannableStringBuilder t4 = new SpannableStringBuilder(t1); in testDrawText4()
1791 final StringBuffer t5 = new StringBuffer(t1); in testDrawText4()
/cts/tests/tests/media/assets/
Dsegment000001.ts684 …G�y��X���(��X�c�@nA�``�^6�MF��is ��w�# � �\��A������'�/H����6�z���t1�uJA)�7�ҷpΨѱM4����…
/cts/tests/tests/media/res/raw/
Dtestmp3_3.raw1 …1iySW0k7qU7MvrMubAW4zshZ+0ONnOOREoF8o3m+rJz1e4u1QZGZqP6t5fvUlRpdfv9v/t6fX0/t1+dqMwyX2COFW17gwMpPbf…
Dfootball_qvga.yuv56 …��ȍ@E��Ê>#)+,),,+,,**,,+-./1///+1mrv������������zDKs`K`eo����γ�������·���t1)LbwwZXmjm`;&;E/+-.-…
59 …U���ì����������Ü��������������պaBNSNC:-9n���fb���������ʦ��vKOQBKcO2n�V/m��t1'..-0366565896;=-5���…