Home
last modified time | relevance | path

Searched refs:a2 (Results 1 – 20 of 20) sorted by relevance

/cts/tests/tests/renderscript/src/android/renderscript/cts/
DVLoadTest.java110 private void verify(byte[] a1, byte[] a2, String s) { in verify() argument
111 outAlloc.copyTo(a2); in verify()
113 if (a1[i] != a2[i]) { in verify()
114 throw new RSRuntimeException(s + a1[i] + ", " + a2[i] + ", at " + i); in verify()
116 a2[i] = 0; in verify()
118 outAlloc.copyFrom(a2); in verify()
121 private void verify(short[] a1, short[] a2, String s) { in verify() argument
122 outAlloc.copyTo(a2); in verify()
124 if (a1[i] != a2[i]) { in verify()
125 throw new RSRuntimeException(s + a1[i] + ", " + a2[i] + ", at " + i); in verify()
[all …]
DGetSetTest.java144 private void verify(byte[] a1, byte[] a2, Allocation alloc, String s, int vsize) { in verify() argument
145 alloc.copyTo(a2); in verify()
147 if (a1[i] != a2[i]) { in verify()
151 throw new RSRuntimeException(s + a1[i] + ", " + a2[i] + ", at " + i); in verify()
153 a2[i] = 0; in verify()
155 alloc.copyFrom(a2); in verify()
158 private void verify(short[] a1, short[] a2, Allocation alloc, String s, int vsize) { in verify() argument
159 alloc.copyTo(a2); in verify()
161 if (a1[i] != a2[i]) { in verify()
165 throw new RSRuntimeException(s + a1[i] + ", " + a2[i] + ", at " + i); in verify()
[all …]
DImageProcessingTest.java70 private Allocation a1, a2; field in ImageProcessingTest
81 a2 = Allocation.createTyped(mRS, t); in setUp()
87 a2.destroy(); in tearDown()
97 a2_copy = Allocation.createTyped(mRS, a2.getType()); in testBlur()
726 a2_copy = Allocation.createTyped(mRS, a2.getType()); in testColorMatrix()
737 a2_copy.copy2DRangeFrom(0, 0, a2.getType().getX(), a2.getType().getY(), a2, 0, 0); in testColorMatrix()
748 a2_copy.copy2DRangeFrom(0, 0, a2.getType().getX(), a2.getType().getY(), a2, 0, 0); in testColorMatrix()
763 a2_copy = Allocation.createTyped(mRS, a2.getType()); in testConvolve3x3()
787 a2_copy = Allocation.createTyped(mRS, a2.getType()); in testConvolve5x5()
813 a2_copy = Allocation.createTyped(mRS, a2.getType()); in testLUT()
[all …]
DLaunchClip.java45 int a0, int a1, int a2, int a3) { in setup() argument
54 mDimA2 = a2; in setup()
/cts/tests/tests/animation/src/android/animation/cts/
DAnimatorSetTest.java299 ValueAnimator a2 = ValueAnimator.ofFloat(0f, 100f); in testPauseAndResume() local
300 a2.setDuration(50); in testPauseAndResume()
308 set.playTogether(a1, a2); in testPauseAndResume()
359 ValueAnimator a2 = ValueAnimator.ofFloat(0f, 100f); in testPauseBeforeStart() local
360 a2.setDuration(50); in testPauseBeforeStart()
362 set.playSequentially(a1, a2); in testPauseBeforeStart()
386 ValueAnimator a2 = ValueAnimator.ofFloat(50, 100f); in testSeekAfterPause() local
387 a2.setDuration(50); in testSeekAfterPause()
388 set.playSequentially(a1, a2); in testSeekAfterPause()
397 assertEquals((float) a2.getAnimatedValue(), 60f, EPSILON); in testSeekAfterPause()
[all …]
DValueAnimatorTest.java390 ValueAnimator a2 = ValueAnimator.ofPropertyValuesHolder(); in testValuesSetterAndGetter() local
393 a2.setValues(p1, p2); in testValuesSetterAndGetter()
394 PropertyValuesHolder[] holders = a2.getValues(); in testValuesSetterAndGetter()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/media/projection/
DMediaProjectionAtomsTests.java138 MediaProjectionStateChanged a2 = in testMediaProjectionStateChanged_stoppedCapture() local
140 assertThat(a2.getState()).isEqualTo(MEDIA_PROJECTION_STATE_CAPTURING_IN_PROGRESS); in testMediaProjectionStateChanged_stoppedCapture()
210 MediaProjectionStateChanged a2 = in testMediaProjectionStateChanged_setupCancelled() local
212 assertThat(a2.getState()).isEqualTo(MEDIA_PROJECTION_STATE_CANCELLED); in testMediaProjectionStateChanged_setupCancelled()
242 MediaProjectionStateChanged a2 = in testMediaProjectionStateChanged_appSelectorShown() local
244 assertThat(a2.getState()).isEqualTo(MEDIA_PROJECTION_STATE_APP_SELECTOR_DISPLAYED); in testMediaProjectionStateChanged_appSelectorShown()
/cts/tests/tests/security/res/raw/
Dopenssl_heartbleed_test_cert.pem44 3d:ca:b1:a2:c4:06:cf:64:d4:bb:18:aa:05:46:7a:
50 7f:dd:5f:7b:eb:7c:a1:39:a2:8b:43:2e:f4:f2:71:
57 65:c1:31:ba:a9:09:e8:b8:8d:a2:4b:99:40:f2:98:
70 b6:a3:40:1d:2a:c6:45:95:4a:4c:de:a2:77:5e:fa:2c:2e:a7:
80 f3:6d:c3:61:9f:a2:ab:3d:a8:7c:ea:45:70:a5:e3:ac:5f:67:
Dcve_2019_2245.ts700 �A���|�K��Fv��&%,0SA1���Z ����wcQA|��3^���.�-�K�[LuD.a2��"3�
2236 G�1�^a2�b� ��(\���K^u�u�+�Ц����1����SH�5;jmNUY�њ���^\���?j$���4�EG]&&�@�����I�'#k���+���…
5341 !�f�����Z�\5e�\~��U���"^� :��a2�O:]P����.��m��G�1
Dcve_2018_13925.ts701 �A���|�K��Fv��&%,0SA1���Z ����wcQA|��3^���.�-�K�[LuD.a2��"3�
2237 G�1�^a2�b� ��(\���K^u�u�+�Ц����1����SH�5;jmNUY�њ���^\���?j$���4�EG]&&�@�����I�'#k���+���…
5399 !�f�����Z�\5e�\~��U���"^� :��a2�O:]P����.��m��G�1
Dcve_2019_2244.ts700 �A���|�K��Fv��&%,0SA1���Z ����wcQA|��3^���.�-�K�[LuD.a2��"3�
2237 G�1�^a2�b� ��(\���K^u�u�+�Ц����1����SH�5;jmNUY�њ���^\���?j$���4�EG]&&�@�����I�'#k���+���…
5402 !�f�����Z�\5e�\~��U���"^� :��a2�O:]P����.��m��G�1
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DNativeDecoderTest.java99 private void compareArrays(String message, int[] a1, int[] a2) { in compareArrays() argument
100 if (a1 == a2) { in compareArrays()
105 assertNotNull(message + ": array 2 is null", a2); in compareArrays()
107 assertEquals(message + ": arraylengths differ", a1.length, a2.length); in compareArrays()
111 if (a1[i] != a2[i]) { in compareArrays()
113 Log.i("@@@@", Arrays.toString(a2)); in compareArrays()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/
DBitmapUtils.java219 final int a2 = Color.alpha(expect); in distance() local
221 multiplyAlpha(Color.red(expect), a2); in distance()
223 multiplyAlpha(Color.green(expect), a2); in distance()
225 multiplyAlpha(Color.blue(expect), a2); in distance()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DBitmapUtils.java249 final int a2 = Color.alpha(expect); in distance() local
251 multiplyAlpha(Color.red(expect), a2); in distance()
253 multiplyAlpha(Color.green(expect), a2); in distance()
255 multiplyAlpha(Color.blue(expect), a2); in distance()
/cts/tests/sensor/src/android/hardware/cts/
DSensorManagerStaticTest.java474 int a1, a2; // AXIS_X/Y/Z in testRemapCoordinateSystem() local
489 a2 = j%3 + 1; in testRemapCoordinateSystem()
492 if (a1 == a2) continue; in testRemapCoordinateSystem()
497 b2 = a2 | (((k & 1) != 0) ? 0x80 : 0); in testRemapCoordinateSystem()
499 b3 = (6 - a1 -a2) | in testRemapCoordinateSystem()
500 ( (((a2 + 3 - a1) % 3 == 2) ? 0x80 : 0) ^ (b1 & 0x80) ^ (b2 & 0x80)); in testRemapCoordinateSystem()
/cts/tests/tests/virtualdevice/camera/src/android/virtualdevice/cts/camera/
DVirtualCameraUtils.java153 float a2 = ((colorB >> 24) & 0xff) / 255f; in areColorsAlmostIdentical() local
158 float mse = ((a1 - a2) * (a1 - a2) in areColorsAlmostIdentical()
/cts/tests/rollback/src/com/android/cts/rollback/
DRollbackManagerTest.java457 Install a2 = Install.single(TestApp.A2) in testRollbackDataPolicy() local
463 Install.multi(a2, b2, c2).setEnableRollback().commit(); in testRollbackDataPolicy()
491 Install a2 = Install.single(TestApp.ARollbackWipe2).setEnableRollback(); in testRollbackDataPolicy_Manifest() local
494 Install.multi(a2, b2, c2).setEnableRollback().commit(); in testRollbackDataPolicy_Manifest()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/appcompatstate/
DAppCompatStateStatsTests.java215 try (AutoCloseable a2 = DeviceUtils.withActivity(getDevice(), in testAppCompatFlow() argument
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/fill_array_data/d/
DT_fill_array_data_9.dfh9 // parsed: offset 12, len 20: signature : 38a2...97b7
/cts/apps/CameraITS/utils/
Dimage_processing_utils.py1467 a2 = area_of_triangle(x1, y1, xp, yp, x3, y3)
1469 return math.isclose(a, (a1 + a2 + a3), abs_tol=abs_tol)