Home
last modified time | relevance | path

Searched refs:cs (Results 1 – 17 of 17) sorted by relevance

/cts/tests/tests/content/src/android/content/res/cts/
DPluralResourcesTest.java51 CharSequence cs; in testPlurals() local
54 cs = res.getQuantityText(R.plurals.plurals_test, 0); in testPlurals()
56 Log.d(TAG, "english 0 cs=" + cs); in testPlurals()
58 Assert.assertEquals(cs.toString(), "Some dogs"); in testPlurals()
60 cs = res.getQuantityText(R.plurals.plurals_test, 1); in testPlurals()
62 Log.d(TAG, "english 1 cs=" + cs); in testPlurals()
64 Assert.assertEquals(cs.toString(), "A dog"); in testPlurals()
66 cs = res.getQuantityText(R.plurals.plurals_test, 2); in testPlurals()
67 Assert.assertEquals(cs.toString(), "Some dogs"); in testPlurals()
69 cs = res.getQuantityText(R.plurals.plurals_test, 5); in testPlurals()
[all …]
DResourcesTest.java517 CharSequence cs; in testGetQuantityText() local
520 cs = res.getQuantityText(R.plurals.plurals_test, 0); in testGetQuantityText()
521 assertEquals("Some Czech dogs", cs.toString()); in testGetQuantityText()
523 cs = res.getQuantityText(R.plurals.plurals_test, 1); in testGetQuantityText()
524 assertEquals("A Czech dog", cs.toString()); in testGetQuantityText()
526 cs = res.getQuantityText(R.plurals.plurals_test, 2); in testGetQuantityText()
527 assertEquals("Few Czech dogs", cs.toString()); in testGetQuantityText()
529 cs = res.getQuantityText(R.plurals.plurals_test, 5); in testGetQuantityText()
530 assertEquals("Some Czech dogs", cs.toString()); in testGetQuantityText()
532 cs = res.getQuantityText(R.plurals.plurals_test, 500); in testGetQuantityText()
[all …]
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DDrawable_ConstantStateTest.java27 ConstantState cs = mock; in testNewDrawable() local
29 assertEquals(null, cs.newDrawable()); in testNewDrawable()
33 assertEquals(null, cs.newDrawable(mContext.getResources())); in testNewDrawable()
37 assertEquals(null, cs.newDrawable(mContext.getResources(), mContext.getTheme())); in testNewDrawable()
42 ConstantState cs = new MockConstantState(); in testCanApplyTheme() local
43 assertFalse(cs.canApplyTheme()); in testCanApplyTheme()
DAnimatedStateListDrawableTest.java69 DrawableContainerState cs = (DrawableContainerState) asld.getConstantState(); in testAddState() local
70 assertEquals(0, cs.getChildCount()); in testAddState()
81 assertEquals(1, cs.getChildCount()); in testAddState()
85 assertEquals(2, cs.getChildCount()); in testAddState()
90 DrawableContainerState cs = (DrawableContainerState) asld.getConstantState(); in testAddTransition() local
106 assertEquals(3, cs.getChildCount()); in testAddTransition()
110 assertEquals(4, cs.getChildCount()); in testAddTransition()
114 assertEquals(5, cs.getChildCount()); in testAddTransition()
172 final DrawableContainerState cs = (DrawableContainerState) asld.getConstantState(); in runPreloadDensityTestForDrawableInner() local
173 final int count = cs.getChildCount(); in runPreloadDensityTestForDrawableInner()
[all …]
DDrawableContainerStateTest.java257 DrawableContainerState cs = (DrawableContainerState) dr.getConstantState(); in testCanConstantState() local
258 assertTrue(cs.canConstantState()); in testCanConstantState()
260 cs.addChild(new MockDrawable()); in testCanConstantState()
261 assertFalse(cs.canConstantState()); in testCanConstantState()
266 DrawableContainerState cs = (DrawableContainerState) dr.getConstantState(); in testGrowArray() local
269 cs.growArray(0, 0); in testGrowArray()
271 cs.getChild(10); in testGrowArray()
277 cs.growArray(0, 10); in testGrowArray()
278 cs.getChild(9); in testGrowArray()
DDrawableContainerTest.java82 DrawableContainerState cs = ((DrawableContainerState) container.getConstantState()); in helpTestSetEnterFadeDuration() local
84 assertEquals(enterFadeDuration, cs.getEnterFadeDuration()); in helpTestSetEnterFadeDuration()
94 DrawableContainerState cs = ((DrawableContainerState) container.getConstantState()); in helpTestSetExitFadeDuration() local
96 assertEquals(exitFadeDuration, cs.getExitFadeDuration()); in helpTestSetExitFadeDuration()
DClipDrawableTest.java413 public void setConstantState(ConstantState cs) { in setConstantState() argument
414 mConstantState = cs; in setConstantState()
/cts/tests/tests/media/src/android/media/cts/
DMediaDrmMockTest.java516 CryptoSession cs = md.getCryptoSession(sessionId, "AES/CBC/NoPadding", "HmacSHA256"); in testCryptoSession() local
517 assertFalse(cs == null); in testCryptoSession()
530 CryptoSession cs = md.getCryptoSession(sessionId, "bad", "bad"); in testBadCryptoSession() local
545 CryptoSession cs = md.getCryptoSession(sessionId, "AES/CBC/NoPadding", "HmacSHA256"); in testCryptoSessionEncrypt() local
546 assertFalse(cs == null); in testCryptoSessionEncrypt()
555 byte[] output = cs.encrypt(keyId, input, iv); in testCryptoSessionEncrypt()
571 CryptoSession cs = md.getCryptoSession(sessionId, "AES/CBC/NoPadding", "HmacSHA256"); in testCryptoSessionDecrypt() local
572 assertFalse(cs == null); in testCryptoSessionDecrypt()
581 byte[] output = cs.decrypt(keyId, input, iv); in testCryptoSessionDecrypt()
597 CryptoSession cs = md.getCryptoSession(sessionId, "AES/CBC/NoPadding", "HmacSHA256"); in testCryptoSessionSign() local
[all …]
/cts/libs/vogar-expect/src/vogar/util/
DStrings.java116 private static String escapeCodePoint(CharSequence cs) { in escapeCodePoint() argument
118 for (int i = 0; i < cs.length(); ++i) { in escapeCodePoint()
119 result.append(String.format("U+%04X", (int) cs.charAt(i))); in escapeCodePoint()
/cts/tests/ProcessTest/
DAndroid.mk23 LOCAL_AAPT_FLAGS = -c xx_YY -c cs
/cts/hostsidetests/theme/app/
DAndroid.mk34 LOCAL_AAPT_FLAGS = -c land -c xx_YY -c cs -c small -c normal -c large -c xlarge \
/cts/tests/tests/content/
DAndroid.mk29 LOCAL_AAPT_FLAGS = -c xx_YY -c cs -c small -c normal -c large -c xlarge \
/cts/tests/tests/media/assets/
DfileSequence1.ts128 …�����D$�f�vl E�Lj�T·R`�8��\@(�,7��[ E�q�X$B ��k� ��\�Nu*�:�C��h��e89G� ��cs[��fm� �8�(X
Dsegment000000.ts2799 �N2�y���âP KI��X�a�dQ�A�3.P[���塄ߎi��R0%H��.1�x�/�a�T3�����C�Ԃk�l����$^�i�G�cs]�ޝ��j…
/cts/tests/tests/media/res/raw/
Dfootball_qvga.yuv7 …[\[Z]^_]YWTUUTX[WVWVRLKKKJHFDDDC@>??@CABDC=;?@@=>EHJNPTUSOOSW[`ddbbbbccb]Z\cs�������������zjZSX]dj…
19 …ccbbcdddcdddcddcccdcdcccdccejrusrolmegssvwlcdhlmlnpqsvwvwyz|}{vty������}fW[cs�~ymeeeeeeffffeeeeee…
22cs���������������zz�����������������������ekn]MH:5[x~�����������������vWSVXYX\^__]gw������…8!,RK6…
25 …TXY\\`gijmpprvux~���y��pUI@BFKNNPV\^_acbcbchhfgdadijeb`clronx�{vrlgiib]ZX[]cs�������O;HQSTQYa^bjps…
26 …fghls����~wtx�������������eVV\]`bcbdfedd`_\ZZ]_`ccbb^^_aa]^`_^^^]\]^_][ZWV\cs����[88FD;:8H[`chgfgg…
72 …popjbaSRbjilusplifeeedcbgqz�vir~}[Io�����������������������wgdjrwtswziRU`cs{i\`ilmu{|�����������…
78 …��|vj^\abcddiifaZ\[_cfieacc]ZYQMLHMVYYYYVSVYVURMHGEINQTVX[]^YWXXVV]`_aa_^cs}��|pjn������gV]p}���…
86 …�����}odcgkmonnnljgfggeeeccbabdacjorsttsrmihd`dox}���������������zph`WicZZ[cs���������������������…
110 …����������������� ���ɨ��g<V��X3n{=)<;536KJ2(=zg4T?F~TG;!.453698<??AAGVmvys`cs���������������������…
120 …y�����~QTwqIF���������������j^N0 #$##"#$##"%%(+ G����adllkkmmjjlnme\UUTRW\cs��������������yI6P���…
[all …]
/cts/tools/dex-tools/dex/
Dclasses.out.dex25469 …ontent/res/PluralRules$1;Landroid/content/res/PluralRules$en;Landroid/content/res/PluralRules$cs; )
25488 private static android.content.res.PluralRules cs
25513 @dalvik.annotation.InnerClass (accessFlags =10 name =cs )
25514 class android.content.res.PluralRules$cs extends android.content.res.PluralRules
Dclasses0.out.dex4456 private java.nio.charset.Charset cs
4629 private java.nio.charset.Charset cs
73463 private final java.security.CodeSource cs