/cts/tools/vm-tests-tf/src/dot/junit/opcodes/monitor_enter/ |
D | Test_monitor_enter.java | 34 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/ |
D | TransformationTest.java | 47 final Transformation t1 = new Transformation(); in testCompose() local 49 t1.setAlpha(0.5f); in testCompose() 51 t1.getMatrix().setScale(3, 1); in testCompose() 53 t1.setTransformationType(Transformation.TYPE_MATRIX); in testCompose() 55 t2.compose(t1); in testCompose() 63 t1.setTransformationType(Transformation.TYPE_IDENTITY); in testCompose() 64 t2.compose(t1); in testCompose() 74 final Transformation t1 = new Transformation(); in testClear() local 76 t2.set(t1); in testClear() 77 assertTransformationEquals(t1, t2); in testClear() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/ |
D | DspFftServer.java | 54 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/controls/src/android/controls/cts/ |
D | CtsControlsServiceTest.java | 409 private void assertToggleTemplate(ToggleTemplate t1, ToggleTemplate t2) { in assertToggleTemplate() argument 410 assertEquals(t1.isChecked(), t2.isChecked()); in assertToggleTemplate() 411 assertEquals(t1.getContentDescription(), t2.getContentDescription()); in assertToggleTemplate() 414 private void assertRangeTemplate(RangeTemplate t1, RangeTemplate t2) { in assertRangeTemplate() argument 415 assertEquals(t1.getMinValue(), t2.getMinValue(), 0.0f); in assertRangeTemplate() 416 assertEquals(t1.getMaxValue(), t2.getMaxValue(), 0.0f); in assertRangeTemplate() 417 assertEquals(t1.getCurrentValue(), t2.getCurrentValue(), 0.0f); in assertRangeTemplate() 418 assertEquals(t1.getStepValue(), t2.getStepValue(), 0.0f); in assertRangeTemplate() 419 assertEquals(t1.getFormatString(), t2.getFormatString()); in assertRangeTemplate() 422 private void assertTemperatureControlTemplate(TemperatureControlTemplate t1, in assertTemperatureControlTemplate() argument [all …]
|
/cts/tests/app/src/android/app/cts/ |
D | ActionBarTest.java | 54 Tab t1 = createTab("Tab 1"); in testAddTab() local 55 mBar.addTab(t1); in testAddTab() 57 assertEquals(t1, mBar.getSelectedTab()); in testAddTab() 58 assertEquals(t1, mBar.getTabAt(0)); in testAddTab() 63 assertEquals(t1, mBar.getSelectedTab()); in testAddTab() 83 assertEquals(t1, mBar.getTabAt(1)); in testAddTab()
|
D | AppTaskTests.java | 214 final ActivityManager.AppTask t1 = appTasks.get(0); in testSetExcludeFromRecents() local 215 t1.setExcludeFromRecents(true); in testSetExcludeFromRecents() 216 assertTrue((t1.getTaskInfo().baseIntent.getFlags() & FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS) in testSetExcludeFromRecents() 218 t1.setExcludeFromRecents(false); in testSetExcludeFromRecents() 219 assertTrue((t1.getTaskInfo().baseIntent.getFlags() & FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS) in testSetExcludeFromRecents() 231 final ActivityManager.AppTask t1 = appTasks.get(0); in testBaseIntentHasExtras() local 232 assertTrue(t1.getTaskInfo().baseIntent.getStringExtra(EXTRA_KEY).equals(EXTRA_VALUE)); in testBaseIntentHasExtras()
|
D | ActivityManagerTest.java | 721 final ActivityManager.ProcessErrorStateInfo t1 = holder[0].get(1); local 722 final ActivityManager.ProcessErrorStateInfo info0 = t0.uid == stubInfo.uid ? t0 : t1; 723 final ActivityManager.ProcessErrorStateInfo info1 = t1.uid == app1Info.uid ? t1 : t0;
|
/cts/tests/openglperf2/jni/reference/ |
D | GLReference.cpp | 47 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/widget/src/android/widget/cts/util/ |
D | ListItemFactory.java | 246 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/hostsidetests/securitybulletin/securityPatch/CVE-2020-0243/ |
D | poc.cpp | 71 pthread_t t1, t2; in main() local 75 pthread_create(&t1, nullptr, thread_getParameter, params); in main() 93 pthread_join(t1, nullptr); in main()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | TypeTest.java | 193 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()
|
D | GetSetTest.java | 119 Type t1 = Type.createX(mRS, e, gWidth * gHeight * gDepth / vs); in testSetup() local 120 in1DAlloc = Allocation.createTyped(mRS, t1); in testSetup() 121 out1DAlloc = Allocation.createTyped(mRS, t1); in testSetup()
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
D | CodecTest.java | 105 long t1=0; in getCurrentPosition() local 113 t1=SystemClock.uptimeMillis(); in getCurrentPosition() 124 Log.v(TAG, "mp currentPositon = " + currentPosition + " play duration = " + (t2-t1)); in getCurrentPosition() 126 if ((currentPosition < ((t2-t1) *1.2)) && (currentPosition > 0)) in getCurrentPosition() 159 long t1 =0; in setLooping() local 172 t1=SystemClock.uptimeMillis(); in setLooping() 180 Log.v(TAG, "looping position " + currentPosition + "duration = " + (t2-t1)); in setLooping() 188 if ((currentPosition < ((t2-t1-5000)*1.2)) && currentPosition > 0) in setLooping() 198 long t1=0; in pause() local 205 t1=SystemClock.uptimeMillis(); in pause() [all …]
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | ResourcesTest.java | 1264 Resources.Theme t1 = mResources.newTheme(); in testThemeCompare() local 1266 assertTrue(t1.equals(t1)); in testThemeCompare() 1267 assertTrue(t1.equals(t2)); in testThemeCompare() 1268 assertTrue(t1.hashCode() == t2.hashCode()); in testThemeCompare() 1269 assertFalse(t1.equals(null)); in testThemeCompare() 1270 assertFalse(t1.equals(this)); in testThemeCompare() 1272 t1.applyStyle(1, false); in testThemeCompare() 1273 assertFalse(t1.equals(t2)); in testThemeCompare() 1274 assertFalse(t1.hashCode() == t2.hashCode()); in testThemeCompare() 1276 assertTrue(t1.equals(t2)); in testThemeCompare() [all …]
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-2025/ |
D | poc.cpp | 165 pthread_t t1, t2, t3; in main() local 169 pthread_create(&t1, NULL, bcfree_helper, NULL); in main() 172 pthread_join(t1, NULL); in main()
|
/cts/tests/sensor/src/android/hardware/cts/ |
D | SensorManagerStaticTest.java | 82 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/security/jni/ |
D | android_security_cts_cve_2019_2213_Test.c | 1317 txn_t t1, t2; in race_cycle() local 1318 recv_txn(bnd1, &t1); in race_cycle() 1319 free_ptr = txn_buf(&t1); in race_cycle() 1857 txn_t t1, t2; in set_up_w128() local 1858 place_bnd_buf(0, 0, &t1); in set_up_w128() 1860 free_txn(&t1); in set_up_w128()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | ParcelTest.java | 2293 Throwable t1 = (Throwable) object; 2294 assertEquals("test", t1.getMessage());
|
/cts/tests/tests/security/res/raw/ |
D | cve_2019_2245.ts | 1379 DB����Ϊ)+#O�־��i�"bUG1�>�y�;����J ��E� m��w�Tt���t1��Tץ�&έ7+��l��\�U 2097 …��j�9c�Pv�(�kvȖ�B�/Rc!*�*�G1�K-ˡ!SД�h�1�cMD�]hA��{fx�q�Njc�l�Ǡ�t1$ʏ��c4B��Z��j'%�~]�… 2112 ���Ul��]l�*���t1����ҏ������g]�U&Z]ov���Y+���QK�Hf�U�+��7w���i�G68|��45��l|���{�O`��M�~*c�]�…
|
D | cve_2018_13925.ts | 1380 DB����Ϊ)+#O�־��i�"bUG1�>�y�;����J ��E� m��w�Tt���t1��Tץ�&έ7+��l��\�U 2098 …��j�9c�Pv�(�kvȖ�B�/Rc!*�*�G1�K-ˡ!SД�h�1�cMD�]hA��{fx�q�Njc�l�Ǡ�t1$ʏ��c4B��Z��j'%�~]�… 2113 ���Ul��]l�*���t1����ҏ������g]�U&Z]ov���Y+���QK�Hf�U�+��7w���i�G68|��45��l|���{�O`��M�~*c�]�…
|
D | cve_2019_2244.ts | 1380 DB����Ϊ)+#O�־��i�"bUG1�>�y�;����J ��E� m��w�Tt���t1��Tץ�&έ7+��l��\�U 2098 …��j�9c�Pv�(�kvȖ�B�/Rc!*�*�G1�K-ˡ!SД�h�1�cMD�]hA��{fx�q�Njc�l�Ǡ�t1$ʏ��c4B��Z��j'%�~]�… 2113 ���Ul��]l�*���t1����ҏ������g]�U&Z]ov���Y+���QK�Hf�U�+��7w���i�G68|��45��l|���{�O`��M�~*c�]�…
|