Home
last modified time | relevance | path

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

/cts/tools/vm-tests-tf/src/dot/junit/opcodes/monitor_enter/
DTest_monitor_enter.java36 Runnable r2 = new TestRunnable(t1); in testN1() local
38 Thread tr2 = new Thread(r2); in testN1()
56 Runnable r2 = new TestRunnable2(t1, 20); in testN2() local
58 Thread tr2 = new Thread(r2); in testN2()
/cts/tests/tests/graphics/src/android/graphics/cts/
DColorSpaceTest.java703 float[] r2 = connector.transform(source[0], source[1], source[2]); in testLab() local
704 assertNotNull(r2); in testLab()
705 assertEquals(3, r2.length); in testLab()
706 assertArrayEquals(expected, r2, 1e-3f); in testLab()
722 r2 = connector.transform(source[0], source[1], source[2]); in testLab()
723 assertNotNull(r2); in testLab()
724 assertEquals(3, r2.length); in testLab()
725 assertArrayEquals(expected, r2, 1e-3f); in testLab()
745 float[] r2 = connector.transform(source[0], source[1], source[2]); in testOkLab() local
746 assertNotNull(r2); in testOkLab()
[all …]
DMatrixTest.java497 RectF r2 = new RectF(); in testSetRectToRect() local
499 assertTrue(mMatrix.setRectToRect(r1, r2, ScaleToFit.CENTER)); in testSetRectToRect()
501 mMatrix.setRectToRect(r1, r2, ScaleToFit.END); in testSetRectToRect()
504 mMatrix.setRectToRect(r1, r2, ScaleToFit.FILL); in testSetRectToRect()
506 mMatrix.setRectToRect(r1, r2, ScaleToFit.START); in testSetRectToRect()
509 assertFalse(mMatrix.setRectToRect(r2, r1, ScaleToFit.CENTER)); in testSetRectToRect()
512 assertFalse(mMatrix.setRectToRect(r2, r1, ScaleToFit.FILL)); in testSetRectToRect()
514 assertFalse(mMatrix.setRectToRect(r2, r1, ScaleToFit.START)); in testSetRectToRect()
516 assertFalse(mMatrix.setRectToRect(r2, r1, ScaleToFit.END)); in testSetRectToRect()
/cts/tests/tests/database/src/android/database/cts/
DCursorWindowTest.java71 int r2 = col.get(j); in testWriteCursorToWindow() local
73 assertEquals(r2, r1); in testWriteCursorToWindow()
85 int r2 = col.get(j); in testWriteCursorToWindow() local
87 assertEquals(r2, r1); in testWriteCursorToWindow()
/cts/tests/tests/widget/src/android/widget/cts/
DAbsListViewTest.java347 Rect r2 = new Rect(); in testGetFocusedRect() local
348 mListView.getFocusedRect(r2); in testGetFocusedRect()
349 assertTrue(r2.top > 0); in testGetFocusedRect()
350 assertTrue(r2.bottom > 0); in testGetFocusedRect()
351 assertEquals(0, r2.left); in testGetFocusedRect()
352 assertTrue(r2.right > 0); in testGetFocusedRect()
354 assertTrue(r2.top > r1.top); in testGetFocusedRect()
355 assertEquals(r1.bottom - r1.top, r2.bottom - r2.top); in testGetFocusedRect()
356 assertEquals(r1.right, r2.right); in testGetFocusedRect()
DRemoteViewsTest.java883 float r2 = (pix2 & 0xFF0000) >> 17; in compareImages() local
886 sqr_sum += (r1 - r2) * (r1 - r2); in compareImages()
/cts/tests/tests/virtualdevice/camera/src/android/virtualdevice/cts/camera/
DVirtualCameraUtils.java154 float r2 = ((colorB >> 16) & 0xff) / 255f; in areColorsAlmostIdentical() local
159 + (r1 - r2) * (r1 - r2) in areColorsAlmostIdentical()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DDrawableTest.java114 Rect r2 = new Rect(); in testCopyBounds() local
115 mockDrawable.copyBounds(r2); in testCopyBounds()
120 assertEquals(100, r2.bottom); in testCopyBounds()
121 assertEquals(10, r2.left); in testCopyBounds()
122 assertEquals(100, r2.right); in testCopyBounds()
123 assertEquals(10, r2.top); in testCopyBounds()
/cts/tests/tests/notification/src/android/app/notification/current/cts/
DNotificationManagerZenTest.java2275 private void assertRulesEqual(AutomaticZenRule r1, AutomaticZenRule r2) { in assertRulesEqual() argument
2278 assertThat(r1.getConditionId()).isEqualTo(r2.getConditionId()); in assertRulesEqual()
2279 assertThat(r1.getConfigurationActivity()).isEqualTo(r2.getConfigurationActivity()); in assertRulesEqual()
2280 assertThat(r1.getInterruptionFilter()).isEqualTo(r2.getInterruptionFilter()); in assertRulesEqual()
2281 assertThat(r1.getName()).isEqualTo(r2.getName()); in assertRulesEqual()
2282 assertThat(r1.getOwner()).isEqualTo(r2.getOwner()); in assertRulesEqual()
2283 assertThat(r1.isEnabled()).isEqualTo(r2.isEnabled()); in assertRulesEqual()
2286 assertThat(r1.getDeviceEffects()).isEqualTo(r2.getDeviceEffects()); in assertRulesEqual()
2287 assertThat(doPoliciesMatchWithDefaults(r1.getZenPolicy(), r2.getZenPolicy())).isTrue(); in assertRulesEqual()
2289 assertThat(r1.getIconResId()).isEqualTo(r2.getIconResId()); in assertRulesEqual()
[all …]
/cts/tests/tests/os/src/android/os/cts/
DHandlerTest.java249 MockRunnable r2 = new MockRunnable(); in testRemoveCallbacksWithObject() local
253 mHandler.removeCallbacks(r2, token); in testRemoveCallbacksWithObject()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DRenderNodeTests.java371 final RenderNode r2 = new RenderNode(null); in testGetUniqueId() local
372 assertNotEquals(r1.getUniqueId(), r2.getUniqueId()); in testGetUniqueId()
375 assertTrue(usedIds.add(r2.getUniqueId())); in testGetUniqueId()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java3042 public int compare(Range<Integer> r1, Range<Integer> r2) { in getDescendingTargetFpsRanges()
3043 return r2.getUpper() - r1.getUpper(); in getDescendingTargetFpsRanges()
/cts/tests/tests/security/res/raw/
Dcve_2018_13925.ts1975 (g�$��F@�#5d ��ڴ�@�B���j�"uV��ª�:��*�x�̺$G�13����`;�7&�ҷ˚XHB��r2�`��� x1�&�!�u
3325 �cp�I��r2����7~�[�b���P��R�y]�}-���Ҋ�*7۟l9�P�N�Pcx ��cz�wd�k"6q�Z��?����H���L���[�ʱ�V�W�կ�ˎV…
4605 …ƚ������h����y�H�D��aqQӯHB|�Zj&&���,}��蟰B���Q���k��I�W�OZ����k��"��r2���} �"|�9��40��…
Dcve_2019_2244.ts1975 (g�$��F@�#5d ��ڴ�@�B���j�"uV��ª�:��*�x�̺$G�13����`;�7&�ҷ˚XHB��r2�`��� x1�&�!�u
3326 �cp�I��r2����7~�[�b���P��R�y]�}-���Ҋ�*7۟l9�P�N�Pcx ��cz�wd�k"6q�Z��?����H���L���[�ʱ�V�W�կ�ˎV…
4607 …ƚ������h����y�H�D��aqQӯHB|�Zj&&���,}��蟰B���Q���k��I�W�OZ����k��"��r2���} �"|�9��40��…
Dcve_2019_2245.ts1974 (g�$��F@�#5d ��ڴ�@�B���j�"uV��ª�:��*�x�̺$G�13����`;�7&�ҷ˚XHB��r2�`��� x1�&�!�u
3324 �cp�I��r2����7~�[�b���P��R�y]�}-���Ҋ�*7۟l9�P�N�Pcx ��cz�wd�k"6q�Z��?����H���L���[�ʱ�V�W�կ�ˎV…