Home
last modified time | relevance | path

Searched refs:c2 (Results 1 – 25 of 86) 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.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.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/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/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.java282 final ViewStructure c2 = session.newVirtualViewStructure(customViewId, 2); in testVirtualView_multipleLevels()
283 c2.setText("c2"); in testVirtualView_multipleLevels()
284 final AutofillId c2Id = c2.getAutofillId(); in testVirtualView_multipleLevels()
287 session.notifyViewAppeared(c2); in testVirtualView_multipleLevels()
/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/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/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/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/media/assets/hls_variant/165340/
D11.ts53 �\�=���lJ��Y�B�]�f�Z©c2�����kӱ1�yv\j���֖��O��"���!�_�(��G� Ϲr���a.O���:0Td�w3}��)����ߒ&��…
D00.ts248 �_����E�#��� �� J?� a ):E�V�>�c2�j�r�� 0�4��_�]̗rE���Jz�ZWK-`>�� �Q c�Ҋ2�.qSFd��-�…
D06.ts686 ×�[c2�>u5���Wx���G<N���������������������������������������������������������������������������…
D03.ts541 �{� a���^�:�{ԅnRׄ:��y�^�@�c2&�.�?�'���h�m��X���ۛ��Ҍ G�|3���_���� C����� 5���������*
/cts/tests/tests/media/res/raw/
Dsegment000001.ts41 …����_Yf�7��;'׵�Eb�wG�T?����@{M;�-���h��$Q��4���l �1�H49d#JÇ�i�n�;��6c2{�5�3_R��Vv�UG���…
1937 ���(���c2�e#=��]�z�˥�
3182 ~�.rM��V�"�3�ʼ��"������cZ���B��%|��BZ�\l5��T>U�{_T��x�c2`��"n��@Nn�q�+�D�����[;� �…

1234