Home
last modified time | relevance | path

Searched refs:c2 (Results 1 – 25 of 88) sorted by relevance

1234

/cts/tests/signature/tests/src/android/signature/cts/tests/
DByteBufferLineSpliteratorTest.java45 int c1 = 0, c2 = 0; in testSplitMostlyMiddle() local
52 c2++; 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/tools/cts-media/
Dget_achievable_rates.py202 c2 = ''
204 c2 += ' N=%d' % N
206 c2 += ' v%d%%=%.1f' % (round(100 - 2 * P), var)
208 c2 += ' E=%s' % (str(quality))
209 if c2:
210 c2 = ' <!--%s -->' % c2
214 if A and A.dbg: yield '<!-- --> %s%s' % (comment, c2)
215c2 = ' <Limit name="measured-frame-rate-%s" range="%d-%d" />%s' % (size, pub_lo, pub_hi…
216 final = Final(comment, c2, var, quality)
224 comment, c2, var, quality = lastFinal
[all …]
/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/graphics/src/android/graphics/cts/
DCameraTest.java160 Canvas c2 = new Canvas(); in testApplyToCanvas() local
163 c2.concat(m); in testApplyToCanvas()
165 assertEquals(c1.getMatrix(), c2.getMatrix()); in testApplyToCanvas()
/cts/tests/tests/widget/src/android/widget/cts/
DAlphabetIndexerTest.java91 Cursor c2 = createCursor("Name", NAMES_LIST); in testAlphabetIndexer() local
93 indexer.setCursor(c2); in testAlphabetIndexer()
/cts/tests/tests/net/src/android/net/http/cts/
DHttpResponseCacheTest.java148 URLConnection c2 = server.getUrl("/").openConnection(); in testStatisticsTracking() local
149 assertEquals('A', c2.getInputStream().read()); in testStatisticsTracking()
/cts/tests/tests/database/src/android/database/sqlite/cts/
DSQLiteStatementTest.java315 char c2 = src.charAt(i*2+1); in parseBlob() local
317 int val2 = Character.digit(c2, 16); in parseBlob()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DCustomViewActivityTest.java291 final ViewStructure c2 = session.newVirtualViewStructure(customViewId, 2); in testVirtualView_multipleLevels()
292 c2.setText("c2"); in testVirtualView_multipleLevels()
293 final AutofillId c2Id = c2.getAutofillId(); in testVirtualView_multipleLevels()
296 session.notifyViewAppeared(c2); in testVirtualView_multipleLevels()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
Dstructs.rsh28 ConstComplex_s *c2;
DScriptGroupTest.java581 ScriptGroup.Closure c2 = in testBuilder2InvokeToKernelDependency() local
586 ScriptGroup group = builder.create("Multiply", c2.getReturn()); in testBuilder2InvokeToKernelDependency()
/cts/tests/tests/webkit/src/android/webkit/cts/
DCookieManagerTest.java77 CookieManager c2 = CookieManager.getInstance(); in testGetInstance() local
79 assertSame(c1, c2); in testGetInstance()
/cts/tests/tests/content/src/android/content/res/cts/
DConfigurationTest.java180 private static void doConfigCompare(int expectedFlags, Configuration c1, Configuration c2) { in doConfigCompare() argument
181 assertEquals(expectedFlags, c1.diff(c2)); in doConfigCompare()
183 assertEquals(expectedFlags, tmpc1.updateFrom(c2)); in doConfigCompare()
184 assertEquals(0, tmpc1.diff(c2)); in doConfigCompare()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DDrawableContainerTest.java812 ColorDrawable c2 = new ColorDrawable(Color.BLUE); in testOpacityChange() local
814 addAndSelectDrawable(c2); in testOpacityChange()
827 ColorDrawable c2 = new ColorDrawable(Color.BLUE); in testStatefulnessChange() local
829 addAndSelectDrawable(c2); in testStatefulnessChange()
DLayerDrawableTest.java1857 ColorDrawable c2 = new ColorDrawable(Color.BLUE); in testOpacityChange() local
1858 LayerDrawable dr = new LayerDrawable(new ColorDrawable[] { c1, c2 }); in testOpacityChange()
1863 c2.setTint(0x800000FF); in testOpacityChange()
1864 c2.setTintMode(PorterDuff.Mode.SRC); in testOpacityChange()
1871 ColorDrawable c2 = new ColorDrawable(Color.BLUE); in testStatefulnessChange() local
1872 LayerDrawable dr = new LayerDrawable(new ColorDrawable[] { c1, c2 }); in testStatefulnessChange()
/cts/tests/tests/os/src/android/os/cts/
DBundleTest.java229 final char c2 = 'i'; in testGetChar2() local
232 mBundle.putChar(KEY, c2); in testGetChar2()
233 assertEquals(c2, mBundle.getChar(KEY, c1)); in testGetChar2()
235 assertEquals(c2, mBundle.getChar(KEY, c1)); in testGetChar2()
/cts/tests/app/src/android/app/cts/
DInstrumentationTest.java234 Context c2 = mInstrumentation.getTargetContext(); in testContext() local
235 assertNotSame(c1.getPackageName(), c2.getPackageName()); in testContext()
/cts/tests/tests/security/res/raw/
Dopenssl_heartbleed_test_cert.pem77 c2:fa:9c:be:c3:da:76:2b:cb:4e:65:4d:b6:98:80:5d:66:d7:
/cts/tests/tests/database/src/android/database/cts/
DDatabaseUtilsTest.java637 char c2 = src.charAt(i*2+1); in parseBlob() local
639 int val2 = Character.digit(c2, 16); in parseBlob()
/cts/tools/vm-tests-tf/src/dot/junit/verify/a5/d/
DT_a5_1.dfh9 // parsed: offset 12, len 20: signature : 60c2...28af
/cts/tests/tests/graphics/res/raw/
Dsample_raf.raf618 …2s����������E����H���_�� �3���#����`Z��������}��O��e>��|nh.����Ҿc2��v��G ����g�D�=���<…
2740 …'��:Xb=�c&�#;^�;��(۳<ib9�3(�s<l�;�3'��;o;�S'��>t�9�C'��;S�9�(�c;^>�#(��:c2;��'�;h�<�S'�S;K";�…
2743 …##,s2R1,3##�3"B1�"�2��10c#.3323"C$&�2R2�$�2�2�#�3b3"c#�2B3#"c2�4S#�1 "3"�#&�1�4…
2780 …U�Oa0�M`�2�T�L1,�R�M!(�YqJ11!`��)�A1S�3�0�2؂2��3c$c2�q.���.��,���R&��"…
2786 …�C'�:��%�&��9�&�s&o�:o�'��%s";n�&e'w�<��&�S%��<w�%�'�2;�"&�S&{�;sr%�s%c2;��%��&�R<��%�'}B=V"…
2816 �!'�3�1�"��1�/�"1c2�Q0S"�23213"�0��2-�"1��/ �"S1��1"�2B2c"�b0�0s!(�0�!0 �")�0�1…
2817c2�1�"�2�1"S0�0!�!�0�Q0 C!��.�0�"�/2.3"S0�0�!�0�1�R#��.�Q/��!�S0�Q/"��/�11s!�…
2824 221�"7S3r2Ms#-�44+s"!C3"2$@�2�2F�"H2�q1!S$.�0�a1"$!S1r/<�#%�2�0 C$c2�1/�#C3 �1'�""�2…
2834 …� 8�4@�2'�!�2410� 5�32�2�!D�/R�0"2�33�3S!+�2Ab2 S1:�2$�&�123-# c2@�1 # $s46�1(!%#3>"1…
2856 …�00�0���/2�1� c1$b/3 �1*�1 �1%"3���0�0� �1"R3��2'20c c2�/�S/+�1*c �0,�2…
/cts/tests/tests/media/assets/hls_variant/165340/
D11.ts53 �\�=���lJ��Y�B�]�f�Z©c2�����kӱ1�yv\j���֖��O��"���!�_�(��G� Ϲr���a.O���:0Td�w3}��)����ߒ&��…
D03.ts541 �{� a���^�:�{ԅnRׄ:��y�^�@�c2&�.�?�'���h�m��X���ۛ��Ҍ G�|3���_���� C����� 5���������*
D06.ts686 ×�[c2�>u5���Wx���G<N���������������������������������������������������������������������������…
D00.ts248 �_����E�#��� �� J?� a ):E�V�>�c2�j�r�� 0�4��_�]̗rE���Jz�ZWK-`>�� �Q c�Ҋ2�.qSFd��-�…

1234