Home
last modified time | relevance | path

Searched refs:toString (Results 1 – 25 of 722) sorted by relevance

12345678910>>...29

/cts/tests/tests/text/src/android/text/method/cts/
DDigitsKeyListenerTest.java55 assertEquals(destString, dest.toString()); in testFilter1()
59 dest, 0, dest.length())).toString()); in testFilter1()
60 assertEquals(destString, dest.toString()); in testFilter1()
64 dest, 0, dest.length())).toString()); in testFilter1()
65 assertEquals(destString, dest.toString()); in testFilter1()
69 dest, 0, dest.length())).toString()); in testFilter1()
70 assertEquals(destString, dest.toString()); in testFilter1()
77 assertEquals("123", filtered.toString()); in testFilter1()
83 assertEquals(destString, dest.toString()); in testFilter1()
112 assertEquals(destString, dest.toString()); in testFilter2()
[all …]
DBaseKeyListenerTest.java49 assertEquals("123456", content.toString()); in testBackspace()
54 assertEquals("456", content.toString()); in testBackspace()
59 assertEquals("46", content.toString()); in testBackspace()
61 assertEquals("6", content.toString()); in testBackspace()
69 assertEquals(testText, content.toString()); in testBackspace()
74 assertEquals("\u05E9\u05DC\u05D5\u05DD", content.toString()); in testBackspace()
79 assertEquals("\u05E9\u05D5\u05DD", content.toString()); in testBackspace()
87 assertEquals(content.toString(), content.toString()); in testBackspace()
92 assertEquals("\u05D6\u05D4\u0020Android\u0020\u05E2\u05D5\u05D1", content.toString()); in testBackspace()
96 assertEquals("\u05D6\u05D4\u0020Anroid\u0020\u05E2\u05D5\u05D1", content.toString()); in testBackspace()
[all …]
DQwertyKeyListenerTest.java46 assertEquals("h", mTextView.getText().toString()); in testOnKeyDown_capitalizeNone()
49 assertEquals("he", mTextView.getText().toString()); in testOnKeyDown_capitalizeNone()
52 assertEquals("hel", mTextView.getText().toString()); in testOnKeyDown_capitalizeNone()
55 assertEquals("hell", mTextView.getText().toString()); in testOnKeyDown_capitalizeNone()
58 assertEquals("hello", mTextView.getText().toString()); in testOnKeyDown_capitalizeNone()
68 assertEquals("H", mTextView.getText().toString()); in testOnKeyDown_capitalizeCharacters()
71 assertEquals("HE", mTextView.getText().toString()); in testOnKeyDown_capitalizeCharacters()
74 assertEquals("HEL", mTextView.getText().toString()); in testOnKeyDown_capitalizeCharacters()
77 assertEquals("HELL", mTextView.getText().toString()); in testOnKeyDown_capitalizeCharacters()
80 assertEquals("HELLO", mTextView.getText().toString()); in testOnKeyDown_capitalizeCharacters()
[all …]
DMultiTapKeyListenerTest.java83 assertEquals("h", mTextView.getText().toString()); in testOnKeyDown_capitalizeNone()
86 assertEquals("he", mTextView.getText().toString()); in testOnKeyDown_capitalizeNone()
89 assertEquals("hel", mTextView.getText().toString()); in testOnKeyDown_capitalizeNone()
92 assertEquals("hell", mTextView.getText().toString()); in testOnKeyDown_capitalizeNone()
95 assertEquals("hello", mTextView.getText().toString()); in testOnKeyDown_capitalizeNone()
105 assertEquals("H", mTextView.getText().toString()); in testOnKeyDown_capitalizeCharacters()
108 assertEquals("HE", mTextView.getText().toString()); in testOnKeyDown_capitalizeCharacters()
111 assertEquals("HEL", mTextView.getText().toString()); in testOnKeyDown_capitalizeCharacters()
114 assertEquals("HELL", mTextView.getText().toString()); in testOnKeyDown_capitalizeCharacters()
117 assertEquals("HELLO", mTextView.getText().toString()); in testOnKeyDown_capitalizeCharacters()
[all …]
DDateKeyListenerTest.java69 assertEquals("", mTextView.getText().toString()); in testDateTimeKeyListener()
73 assertEquals("1", mTextView.getText().toString()); in testDateTimeKeyListener()
77 assertEquals("12", mTextView.getText().toString()); in testDateTimeKeyListener()
83 assertEquals("12", mTextView.getText().toString()); in testDateTimeKeyListener()
88 assertEquals("12-", mTextView.getText().toString()); in testDateTimeKeyListener()
92 assertEquals("12-/", mTextView.getText().toString()); in testDateTimeKeyListener()
96 assertEquals("12-/", mTextView.getText().toString()); in testDateTimeKeyListener()
100 assertEquals("12-/", mTextView.getText().toString()); in testDateTimeKeyListener()
DDateTimeKeyListenerTest.java71 assertEquals(expectedText, mTextView.getText().toString()); in testDateTimeKeyListener()
76 assertEquals(expectedText, mTextView.getText().toString()); in testDateTimeKeyListener()
81 assertEquals(expectedText, mTextView.getText().toString()); in testDateTimeKeyListener()
88 assertEquals(expectedText, mTextView.getText().toString()); in testDateTimeKeyListener()
95 assertEquals(expectedText, mTextView.getText().toString()); in testDateTimeKeyListener()
102 assertEquals(expectedText, mTextView.getText().toString()); in testDateTimeKeyListener()
109 assertEquals(expectedText, mTextView.getText().toString()); in testDateTimeKeyListener()
114 assertEquals(expectedText, mTextView.getText().toString()); in testDateTimeKeyListener()
117 assertEquals(expectedText, mTextView.getText().toString()); in testDateTimeKeyListener()
DTimeKeyListenerTest.java67 assertEquals(expectedText, mTextView.getText().toString()); in testTimeKeyListener()
72 assertEquals(expectedText, mTextView.getText().toString()); in testTimeKeyListener()
77 assertEquals("12", mTextView.getText().toString()); in testTimeKeyListener()
84 assertEquals(expectedText, mTextView.getText().toString()); in testTimeKeyListener()
91 assertEquals(expectedText, mTextView.getText().toString()); in testTimeKeyListener()
98 assertEquals(expectedText, mTextView.getText().toString()); in testTimeKeyListener()
105 assertEquals(expectedText, mTextView.getText().toString()); in testTimeKeyListener()
112 assertEquals(expectedText, mTextView.getText().toString()); in testTimeKeyListener()
/cts/tests/tests/provider/src/android/provider/cts/
DContacts_PhonesTest.java27 Phones.TYPE_CUSTOM, label).toString(); in testGetDisplayLabel()
33 Phones.TYPE_HOME, label).toString(); in testGetDisplayLabel()
37 Phones.TYPE_MOBILE, label).toString(); in testGetDisplayLabel()
41 Phones.TYPE_WORK, label).toString(); in testGetDisplayLabel()
45 Phones.TYPE_FAX_WORK, label).toString(); in testGetDisplayLabel()
49 Phones.TYPE_FAX_HOME, label).toString(); in testGetDisplayLabel()
53 Phones.TYPE_PAGER, label).toString(); in testGetDisplayLabel()
57 Phones.TYPE_OTHER, label).toString(); in testGetDisplayLabel()
73 Phones.TYPE_CUSTOM, label, labelArray).toString(); in testGetDisplayLabelCharSequenceArray()
77 Phones.TYPE_HOME, label, labelArray).toString(); in testGetDisplayLabelCharSequenceArray()
[all …]
DContacts_ContactMethodsTest.java57 ContactMethods.TYPE_CUSTOM, label).toString(); in test()
63 ContactMethods.TYPE_HOME, label).toString(); in test()
67 ContactMethods.TYPE_OTHER, label).toString(); in test()
71 ContactMethods.TYPE_WORK, label).toString(); in test()
76 ContactMethods.TYPE_CUSTOM, label).toString(); in test()
80 ContactMethods.TYPE_CUSTOM, label).toString(); in test()
84 ContactMethods.TYPE_CUSTOM, label).toString(); in test()
88 ContactMethods.TYPE_CUSTOM, label).toString(); in test()
94 ContactMethods.TYPE_HOME, label).toString(); in test()
98 ContactMethods.TYPE_OTHER, label).toString(); in test()
[all …]
/cts/tests/tests/rscpp/src/android/cts/rscpp/
DRSAllocationTest.java32 assertTrue(typedTest(this.getContext().getCacheDir().toString())); in testRSAllocationTypes()
37 assertTrue(test1DCopy(this.getContext().getCacheDir().toString())); in testRSAllocationCopy1D()
42 assertTrue(test2DCopy(this.getContext().getCacheDir().toString())); in testRSAllocationCopy2D()
47 assertTrue(test3DCopy(this.getContext().getCacheDir().toString())); in testRSAllocationCopy3D()
52 assertTrue(test1DCopyPadded(this.getContext().getCacheDir().toString())); in testRSAllocationCopy1DPadded()
57 assertTrue(test2DCopyPadded(this.getContext().getCacheDir().toString())); in testRSAllocationCopy2DPadded()
62 assertTrue(test3DCopyPadded(this.getContext().getCacheDir().toString())); in testRSAllocationCopy3DPadded()
67 assertTrue(testSetElementAt(this.getContext().getCacheDir().toString())); in testRSAllocationSetElementAt()
DRSObjectTest.java32 assertTrue(testClearObjectElement(this.getContext().getCacheDir().toString())); in testRSObjectTestClearObjectElement()
37 assertTrue(testClearObjectType(this.getContext().getCacheDir().toString())); in testRSObjectTestClearObjectType()
42 assertTrue(testClearObjectAllocation(this.getContext().getCacheDir().toString())); in testRSObjectTestClearObjectAllocation()
47 assertTrue(testClearObjectSampler(this.getContext().getCacheDir().toString())); in testRSObjectTestClearObjectSampler()
52 assertTrue(testClearObjectScript(this.getContext().getCacheDir().toString())); in testRSObjectTestClearObjectScript()
DRSElementTest.java32 assertTrue(testCreatePixel(this.getContext().getCacheDir().toString())); in testRSElementTestCreatePixel()
37 assertTrue(testCreateVector(this.getContext().getCacheDir().toString())); in testRSElementTestCreateVector()
42 assertTrue(testPrebuiltElements(this.getContext().getCacheDir().toString())); in testRSElementTestPrebuiltElements()
47 assertTrue(testIsCompatible(this.getContext().getCacheDir().toString())); in testRSElementTestIsCompatible()
52 assertTrue(testElementBuilder(this.getContext().getCacheDir().toString())); in testRSElementElementBuilder()
/cts/tests/tests/widget/src/android/widget/cts/
DDialerFilterTest.java97 assertEquals("", mDialerFilter.getLetters().toString()); in testOnKeyUpDown()
98 assertEquals("123", mDialerFilter.getDigits().toString()); in testOnKeyUpDown()
118 assertEquals("ADG", mDialerFilter.getLetters().toString()); in testOnKeyUpDown()
119 assertEquals("", mDialerFilter.getDigits().toString()); in testOnKeyUpDown()
137 assertEquals("ADG", mDialerFilter.getLetters().toString()); in testOnKeyUpDown()
150 assertEquals("123", mDialerFilter.getDigits().toString()); in testOnKeyUpDown()
167 assertEquals("", mDialerFilter.getLetters().toString()); in testGetLetters()
171 assertEquals("ANDROID", mDialerFilter.getLetters().toString()); in testGetLetters()
176 assertEquals("", mDialerFilter.getDigits().toString()); in testGetDigits()
180 assertEquals("12345", mDialerFilter.getDigits().toString()); in testGetDigits()
[all …]
DTextSwitcherTest.java70 assertEquals(viewText1, (tvChild1.getText().toString())); in testSetText()
71 assertEquals(viewText2, (tvChild2.getText().toString())); in testSetText()
76 assertEquals(viewText1, (tvChild1.getText().toString())); in testSetText()
77 assertEquals(changedText, (tvChild2.getText().toString())); in testSetText()
82 assertEquals(changedText, (tvChild1.getText().toString())); in testSetText()
83 assertEquals(changedText, (tvChild2.getText().toString())); in testSetText()
88 assertEquals(changedText, (tvChild1.getText().toString())); in testSetText()
89 assertEquals("", (tvChild2.getText().toString())); in testSetText()
110 assertEquals(viewText1, (tvChild1.getText().toString())); in testSetCurrentText()
111 assertEquals(viewText2, (tvChild2.getText().toString())); in testSetCurrentText()
[all …]
/cts/tests/tests/net/src/android/net/cts/
DMailToTest.java47 Log.d("Trace", mailTo_1.toString()); in testParseMailToURI()
53 assertEquals("mailto:?to=chris%40example.com&", mailTo_1.toString()); in testParseMailToURI()
57 Log.d("Trace", mailTo_2.toString()); in testParseMailToURI()
63 String stringUrl = mailTo_2.toString(); in testParseMailToURI()
70 Log.d("Trace", mailTo_3.toString()); in testParseMailToURI()
76 stringUrl = mailTo_3.toString(); in testParseMailToURI()
83 Log.d("Trace", mailTo_4.toString() + " " + mailTo_4.getBody()); in testParseMailToURI()
89 stringUrl = mailTo_4.toString(); in testParseMailToURI()
97 Log.d("Trace", mailTo_5.toString() + mailTo_5.getHeaders().toString() in testParseMailToURI()
104 stringUrl = mailTo_5.toString(); in testParseMailToURI()
[all …]
/cts/tests/tests/content/src/android/content/res/cts/
DPluralResourcesTest.java58 Assert.assertEquals(cs.toString(), "Some dogs"); in testPlurals()
64 Assert.assertEquals(cs.toString(), "A dog"); in testPlurals()
67 Assert.assertEquals(cs.toString(), "Some dogs"); in testPlurals()
70 Assert.assertEquals(cs.toString(), "Some dogs"); in testPlurals()
73 Assert.assertEquals(cs.toString(), "Some dogs"); in testPlurals()
85 Assert.assertEquals(cs.toString(), "Some Czech dogs"); in testCzech()
91 Assert.assertEquals(cs.toString(), "A Czech dog"); in testCzech()
97 Assert.assertEquals(cs.toString(), "Few Czech dogs"); in testCzech()
100 Assert.assertEquals(cs.toString(), "Some Czech dogs"); in testCzech()
103 Assert.assertEquals(cs.toString(), "Some Czech dogs"); in testCzech()
/cts/tests/tests/media/src/android/media/cts/
DMediaItemTest.java38 assertEquals(description.toString(), mediaItem.getDescription().toString()); in testBrowsableMediaItem()
49 assertEquals(description.toString(), in testBrowsableMediaItem()
50 MediaDescription.CREATOR.createFromParcel(p).toString()); in testBrowsableMediaItem()
60 assertEquals(description.toString(), mediaItem.getDescription().toString()); in testPlayableMediaItem()
71 assertEquals(description.toString(), in testPlayableMediaItem()
72 MediaDescription.CREATOR.createFromParcel(p).toString()); in testPlayableMediaItem()
/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/
DTestClz.java51 …hrow new RSRuntimeException("RenderScript. Can't invoke forEach_testClzCharChar: " + e.toString()); in checkClzCharChar()
58 …hrow new RSRuntimeException("RenderScript. Can't invoke forEach_testClzCharChar: " + e.toString()); in checkClzCharChar()
101 message.append(Integer.toString(i)); in verifyResultsClzCharChar()
103 message.append(Integer.toString(j)); in verifyResultsClzCharChar()
109 (relaxed ? "_relaxed" : "") + ":\n" + message.toString(), errorFound); in verifyResultsClzCharChar()
119 …ow new RSRuntimeException("RenderScript. Can't invoke forEach_testClzChar2Char2: " + e.toString()); in checkClzChar2Char2()
126 …ow new RSRuntimeException("RenderScript. Can't invoke forEach_testClzChar2Char2: " + e.toString()); in checkClzChar2Char2()
169 message.append(Integer.toString(i)); in verifyResultsClzChar2Char2()
171 message.append(Integer.toString(j)); in verifyResultsClzChar2Char2()
177 (relaxed ? "_relaxed" : "") + ":\n" + message.toString(), errorFound); in verifyResultsClzChar2Char2()
[all …]
DTestAbs.java51 …row new RSRuntimeException("RenderScript. Can't invoke forEach_testAbsCharUchar: " + e.toString()); in checkAbsCharUchar()
58 …row new RSRuntimeException("RenderScript. Can't invoke forEach_testAbsCharUchar: " + e.toString()); in checkAbsCharUchar()
101 message.append(Integer.toString(i)); in verifyResultsAbsCharUchar()
103 message.append(Integer.toString(j)); in verifyResultsAbsCharUchar()
109 (relaxed ? "_relaxed" : "") + ":\n" + message.toString(), errorFound); in verifyResultsAbsCharUchar()
119 …w new RSRuntimeException("RenderScript. Can't invoke forEach_testAbsChar2Uchar2: " + e.toString()); in checkAbsChar2Uchar2()
126 …w new RSRuntimeException("RenderScript. Can't invoke forEach_testAbsChar2Uchar2: " + e.toString()); in checkAbsChar2Uchar2()
169 message.append(Integer.toString(i)); in verifyResultsAbsChar2Uchar2()
171 message.append(Integer.toString(j)); in verifyResultsAbsChar2Uchar2()
177 (relaxed ? "_relaxed" : "") + ":\n" + message.toString(), errorFound); in verifyResultsAbsChar2Uchar2()
[all …]
DTestIlogb.java51 …ow new RSRuntimeException("RenderScript. Can't invoke forEach_testIlogbFloatInt: " + e.toString()); in checkIlogbFloatInt()
58 …ow new RSRuntimeException("RenderScript. Can't invoke forEach_testIlogbFloatInt: " + e.toString()); in checkIlogbFloatInt()
94 message.append(Integer.toString(i)); in verifyResultsIlogbFloatInt()
96 message.append(Integer.toString(j)); in verifyResultsIlogbFloatInt()
102 (relaxed ? "_relaxed" : "") + ":\n" + message.toString(), errorFound); in verifyResultsIlogbFloatInt()
112 … new RSRuntimeException("RenderScript. Can't invoke forEach_testIlogbFloat2Int2: " + e.toString()); in checkIlogbFloat2Int2()
119 … new RSRuntimeException("RenderScript. Can't invoke forEach_testIlogbFloat2Int2: " + e.toString()); in checkIlogbFloat2Int2()
155 message.append(Integer.toString(i)); in verifyResultsIlogbFloat2Int2()
157 message.append(Integer.toString(j)); in verifyResultsIlogbFloat2Int2()
163 (relaxed ? "_relaxed" : "") + ":\n" + message.toString(), errorFound); in verifyResultsIlogbFloat2Int2()
[all …]
/cts/tools/signature-tools/src/signature/model/impl/
DSigParameter.java39 public String toString() { in toString() method in SigParameter
41 builder.append(super.toString()); in toString()
43 builder.append(getType().toString()); in toString()
44 return builder.toString(); in toString()
DSigArrayType.java59 public String toString() { in toString() method in SigArrayType
60 return SigArrayType.toString(this); in toString()
63 public static String toString(IArrayType type) { in toString() method in SigArrayType
65 builder.append(type.getComponentType().toString()); in toString()
67 return builder.toString(); in toString()
/cts/tools/dex-tools/src/dex/reader/
DDexFileImpl.java72 public String toString() { in toString() method in DexFileImpl
74 b.append("StringPool:\n").append(Arrays.toString(stringPool)); in toString()
79 b.append("\nProtos:\n").append(Arrays.toString(protoIdItems)); in toString()
80 b.append("\nFields:\n").append(Arrays.toString(fieldIdItems)); in toString()
81 b.append("\nMethods:\n").append(Arrays.toString(methodIdItems)); in toString()
82 b.append("\nClasses:\n").append(Arrays.toString(classDefItems)); in toString()
83 return b.toString(); in toString()
/cts/tests/tests/text/src/android/text/cts/
DSpannableStringBuilderTest.java166 assertEquals("hi, world!", builder.toString()); in testReplace1()
170 assertEquals("hello, google!", builder.toString()); in testReplace1()
198 assertEquals("abc, world", builder.toString()); in testReplace2()
202 assertEquals("helabc, world", builder.toString()); in testReplace2()
206 assertEquals("ahiabc, world", builder.toString()); in testReplace2()
211 assertEquals("hell world", builder.toString()); in testReplace2()
215 assertEquals("hell world", builder.toString()); in testReplace2()
220 assertEquals("hello, world", builder.toString()); in testReplace2()
224 assertEquals("hello, nice world", builder.toString()); in testReplace2()
228 assertEquals("ay hello, world", builder.toString()); in testReplace2()
[all …]
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/
DSensorStats.java170 return Arrays.toString((boolean[]) value); in getValueString()
172 return Arrays.toString((byte[]) value); in getValueString()
174 return Arrays.toString((char[]) value); in getValueString()
176 return Arrays.toString((double[]) value); in getValueString()
178 return Arrays.toString((float[]) value); in getValueString()
180 return Arrays.toString((int[]) value); in getValueString()
182 return Arrays.toString((long[]) value); in getValueString()
184 return Arrays.toString((short[]) value); in getValueString()
186 return Arrays.toString((Object[]) value); in getValueString()
188 return value.toString(); in getValueString()

12345678910>>...29