Home
last modified time | relevance | path

Searched refs:c1 (Results 1 – 25 of 93) 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/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/systemui/src/android/systemui/cts/
DLightBarTestBase.java201 private static boolean isColorSame(int c1, int c2) { in isColorSame() argument
202 return Math.abs(Color.alpha(c1) - Color.alpha(c2)) < COLOR_DIFF_THESHOLDS in isColorSame()
203 && Math.abs(Color.red(c1) - Color.red(c2)) < COLOR_DIFF_THESHOLDS in isColorSame()
204 && Math.abs(Color.green(c1) - Color.green(c2)) < COLOR_DIFF_THESHOLDS in isColorSame()
205 && Math.abs(Color.blue(c1) - Color.blue(c2)) < COLOR_DIFF_THESHOLDS; in isColorSame()
DLightBarTests.java298 private boolean isColorSame(int c1, int c2){ in isColorSame() argument
299 return Math.abs(Color.alpha(c1) - Color.alpha(c2)) < COLOR_COMPONENT_ERROR_MARGIN in isColorSame()
300 && Math.abs(Color.red(c1) - Color.red(c2)) < COLOR_COMPONENT_ERROR_MARGIN in isColorSame()
301 && Math.abs(Color.green(c1) - Color.green(c2)) < COLOR_COMPONENT_ERROR_MARGIN in isColorSame()
302 && Math.abs(Color.blue(c1) - Color.blue(c2)) < COLOR_COMPONENT_ERROR_MARGIN; in isColorSame()
/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/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/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.java259 final ViewStructure c1 = session.newVirtualViewStructure(customViewId, 1); in testVirtualView_multipleLevels()
260 c1.setText("c1"); in testVirtualView_multipleLevels()
261 final AutofillId c1Id = c1.getAutofillId(); in testVirtualView_multipleLevels()
264 session.notifyViewAppeared(c1); in testVirtualView_multipleLevels()
/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/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/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/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/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/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�|…
D01.ts270 Ԝ嵰x�T�Ǿ�7Z�!Bˎ��{2�@��$�:y�x�LW�KZL�([Mo6��c1 ���6k�S"�o� :Ă�if�4��GnD�%�,�i6g������h�; Zt&…

1234