Home
last modified time | relevance | path

Searched refs:c1 (Results 1 – 25 of 95) sorted by relevance

1234

/cts/tests/signature/tests/src/android/signature/cts/tests/
DByteBufferLineSpliteratorTest.java45 int c1 = 0, c2 = 0; in testSplitMostlyMiddle() local
48 c1++; in testSplitMostlyMiddle()
54 assertEquals(c1 + " + " + c2 + " != 100", 100, c1 + c2); in testSplitMostlyMiddle()
55 assertTrue("c1=" + c1 + ", c2=" + c2, Math.abs(c1 - c2) < 10); in testSplitMostlyMiddle()
/cts/tests/tests/systemui/src/android/systemui/cts/
DLightBarTestBase.java143 private static boolean isColorSame(int c1, int c2) { in isColorSame() argument
144 return Math.abs(Color.alpha(c1) - Color.alpha(c2)) < COLOR_DIFF_THESHOLDS in isColorSame()
145 && Math.abs(Color.red(c1) - Color.red(c2)) < COLOR_DIFF_THESHOLDS in isColorSame()
146 && Math.abs(Color.green(c1) - Color.green(c2)) < COLOR_DIFF_THESHOLDS in isColorSame()
147 && Math.abs(Color.blue(c1) - Color.blue(c2)) < COLOR_DIFF_THESHOLDS; in isColorSame()
DLightBarTests.java301 private boolean isColorSame(int c1, int c2){ in isColorSame() argument
302 return Math.abs(Color.alpha(c1) - Color.alpha(c2)) < COLOR_COMPONENT_ERROR_MARGIN in isColorSame()
303 && Math.abs(Color.red(c1) - Color.red(c2)) < COLOR_COMPONENT_ERROR_MARGIN in isColorSame()
304 && Math.abs(Color.green(c1) - Color.green(c2)) < COLOR_COMPONENT_ERROR_MARGIN in isColorSame()
305 && Math.abs(Color.blue(c1) - Color.blue(c2)) < COLOR_COMPONENT_ERROR_MARGIN; in isColorSame()
/cts/tests/tests/content/src/android/content/res/cts/
DColorStateListTest.java92 final ColorStateList c1 = c.withAlpha(alpha); in testWithAlpha() local
93 assertNotSame(Color.RED, c1.getDefaultColor()); in testWithAlpha()
94 assertEquals(alpha, c1.getDefaultColor() >>> 24); in testWithAlpha()
95 assertEquals(Color.RED & 0x00FF0000, c1.getDefaultColor() & 0x00FF0000); in testWithAlpha()
DConfigurationTest.java180 private static void doConfigCompare(int expectedFlags, Configuration c1, Configuration c2) { in doConfigCompare() argument
181 assertEquals(expectedFlags, c1.diff(c2)); in doConfigCompare()
182 Configuration tmpc1 = new Configuration(c1); in doConfigCompare()
/cts/tests/tests/graphics/src/android/graphics/cts/
DCameraTest.java157 Canvas c1 = new Canvas(); in testApplyToCanvas() local
158 mCamera.applyToCanvas(c1); in testApplyToCanvas()
165 assertEquals(c1.getMatrix(), c2.getMatrix()); in testApplyToCanvas()
/cts/tests/tests/widget/src/android/widget/cts/
DAlphabetIndexerTest.java52 Cursor c1 = createCursor("Country", COUNTRIES_LIST); in testAlphabetIndexer() local
54 AlphabetIndexer indexer = new AlphabetIndexer(c1, SORTED_COLUMN_INDEX, ALPHABET); in testAlphabetIndexer()
/cts/tests/tests/net/src/android/net/http/cts/
DHttpResponseCacheTest.java139 URLConnection c1 = server.getUrl("/").openConnection(); in testStatisticsTracking() local
140 InputStream inputStream1 = c1.getInputStream(); in testStatisticsTracking()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DDrawableContainerTest.java811 ColorDrawable c1 = new ColorDrawable(Color.RED); in testOpacityChange() local
813 addAndSelectDrawable(c1); in testOpacityChange()
818 c1.setTint(0x80FF0000); in testOpacityChange()
819 c1.setTintMode(PorterDuff.Mode.SRC); in testOpacityChange()
826 ColorDrawable c1 = new ColorDrawable(Color.RED); in testStatefulnessChange() local
828 addAndSelectDrawable(c1); in testStatefulnessChange()
836 c1.setTintList(csl); in testStatefulnessChange()
DLayerDrawableTest.java1856 ColorDrawable c1 = new ColorDrawable(Color.RED); in testOpacityChange() local
1858 LayerDrawable dr = new LayerDrawable(new ColorDrawable[] { c1, c2 }); in testOpacityChange()
1861 c1.setTint(0x80FF0000); in testOpacityChange()
1862 c1.setTintMode(PorterDuff.Mode.SRC); in testOpacityChange()
1870 ColorDrawable c1 = new ColorDrawable(Color.RED); in testStatefulnessChange() local
1872 LayerDrawable dr = new LayerDrawable(new ColorDrawable[] { c1, c2 }); in testStatefulnessChange()
1878 c1.setTintList(csl); in testStatefulnessChange()
/cts/tests/tests/database/src/android/database/sqlite/cts/
DSQLiteStatementTest.java314 char c1 = src.charAt(i*2); in parseBlob() local
316 int val1 = Character.digit(c1, 16); in parseBlob()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DCustomViewActivityTest.java268 final ViewStructure c1 = session.newVirtualViewStructure(customViewId, 1); in testVirtualView_multipleLevels()
269 c1.setText("c1"); in testVirtualView_multipleLevels()
270 final AutofillId c1Id = c1.getAutofillId(); in testVirtualView_multipleLevels()
273 session.notifyViewAppeared(c1); in testVirtualView_multipleLevels()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
Dstructs.rsh18 ConstMatrix_s *c1;
DScriptGroupTest.java387 ScriptGroup.Closure c1 = in testBuilder2PointWiseKernelToKernelDependency() local
392 ScriptGroup group = builder.create("IncAndDbl", c1.getReturn()); in testBuilder2PointWiseKernelToKernelDependency()
578 ScriptGroup.Closure c1 = in testBuilder2InvokeToKernelDependency() local
/cts/tests/tests/os/src/android/os/cts/
DBundleTest.java228 final char c1 = 'l'; in testGetChar2() local
231 assertEquals(c1, mBundle.getChar(KEY, c1)); in testGetChar2()
233 assertEquals(c2, mBundle.getChar(KEY, c1)); in testGetChar2()
235 assertEquals(c2, mBundle.getChar(KEY, c1)); in testGetChar2()
/cts/tests/tests/webkit/src/android/webkit/cts/
DCookieManagerTest.java76 CookieManager c1 = CookieManager.getInstance(); in testGetInstance() local
79 assertSame(c1, c2); in testGetInstance()
/cts/tests/app/src/android/app/cts/
DInstrumentationTest.java233 Context c1 = mInstrumentation.getContext(); in testContext() local
235 assertNotSame(c1.getPackageName(), c2.getPackageName()); in testContext()
/cts/tests/tests/security/res/raw/
Dopenssl_heartbleed_test_cert.pem57 65:c1:31:ba:a9:09:e8:b8:8d:a2:4b:99:40:f2:98:
/cts/tests/tests/database/src/android/database/cts/
DDatabaseUtilsTest.java636 char c1 = src.charAt(i*2); in parseBlob() local
638 int val1 = Character.digit(c1, 16); in parseBlob()
/cts/tests/tests/media/assets/hls_variant/165340/
D09.ts41 …n��t >�B�_ �����> �' �g�����C�ZOb:��O���J0{;/f�)��]}� @�v��c1���b�`�8F.��۷��Pz…
122 ��2?c1�ͩ`��i�$��_�aڕkډ��8�Ո��L�� ��{C_�9PV���̃��.!�~�71XH���([5�}�Q�x\����U�u7������v��v��ld��…
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/if_ltz/d/
DT_if_ltz_8.dfh9 // parsed: offset 12, len 20: signature : 2cbc...44c1
/cts/tests/tests/graphics/res/raw/
Dsample_raf.raf2554 …��w죤��g�H ?�$��^��Ľ��nz�7nw�O�?6i�Inx��KI�;�������������e�zװ~|C�r��Kw�c1�}=j/���h'���qL�=q�
2743 …Q:�#q<6�!01=a!�9�<1�31;�qHq1�"A>�KaF� e��0�1(�#c1 b2$s"1�2�1�#�3�4…
2753 …$`!/�11W1.�5P2�0aP�$�2�U�+�4AS�'A.1b�-�31U�2Q91c12�7�[�/�%_�.�…
2770c1/�s�i�3^!f�4AT�[�/�[�f.qh�fa(�\�iq6a_A]�%�[Q_�9�^aX�1�Wqe!6�h�…
2776 �07�"�1��2s$&c1�3#S1B2�"�0�0�"!�0
2777 R13"C1�A0�"�2�2$S#c1�/$3"1�.S#s0�0" �0��2"S"�1R1$"1��0�"�1�!1&�"�0 1��"-�0"…
2780 …-#!4�2)2 3 0S2@�3!4�4+�2.�!3�3-b0,s '�3321"�9s0L23#!=�11�2.# �1+�1(�!=c34�2#"K�1)�1#3c120
2782 c21r2� 331"1S #2�1�2 �2'r0��c19�2� c1R0$�S1+1 � #1,R/ �0!�0S!s1+�20!�061� …
2786 …8�[13!8`�6�5�dA?�1aeQ8A=1V�9Q?�_�;a<�`�4�7Q]�6Q8ac1419�]�<q=Ad!@�…
2836 cC1�1S !�12�1#��2;�0�bc1 �0$C �/�0C ��1 �1� �/'b1 � c0 �0;� �00�0�Rc1b13 ��.*"/…
[all …]
/cts/tests/tests/media/assets/hls_variant/387360/
D21.ts310 +�P��3��n�?#�u���tZ|�3�ފ�:�rq�Z����oF���ξ�?A7��j\w��䉓l����zx�h^͎�U@�!� ���Jr�c1Ѭ�sCz�…
1168 …�s p���ҁ��[���dz#���G��Ejw�cnw�%�CPe1=�S.E�����C�Dq�V��i�Q���e��c1��ƈKDb%/�(�F̹N}q'…
1430 ���)s4�� ��93Vڄ)��M�ôG��fr=�G���c1?ʟ�����t��ad���='L�.y��[��{���oQ��Э~�Ԑ�+��R�ř��ۈqsȐ…
D15.ts1254 �6c1����G�f�3����*,{HʌGs�X��(�#�Q����ŋ�F^���.Sy���"��gBiN�G�2E������������������������������…
1279 …��Vy#��%�l���BN$�c�#�ـP��aZ���s�zL�/��t���^rc�=MD����v4xԓ���R�Yqh䙄~Wx@c1(���`��Po�g�Fϴ� �M�…
/cts/tests/tests/media/assets/hls_variant/344388/
D11.ts1372 ���=� ��p3�Kt(�|��c1��g���ϥ�O����Q�e0C�]��bG���� ����'��|���'�S�̐ɢ弽g�
1396 D&G�:&�����������������������������������������3�!�����T� ���3���G @d�G����rYY)��0�c1�G]�ů�A�|…

1234