Home
last modified time | relevance | path

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

12345678910>>...77

/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DExpressionTest.java41 assertEquals("hello", mBinder.textView0.getText().toString()); in testOr()
44 assertEquals("hello", mBinder.textView0.getText().toString()); in testOr()
48 assertEquals("hello", mBinder.textView0.getText().toString()); in testOr()
51 assertEquals("world", mBinder.textView0.getText().toString()); in testOr()
60 assertEquals("hello", mBinder.textView1.getText().toString()); in testAnd()
63 assertEquals("world", mBinder.textView1.getText().toString()); in testAnd()
67 assertEquals("world", mBinder.textView1.getText().toString()); in testAnd()
70 assertEquals("world", mBinder.textView1.getText().toString()); in testAnd()
78 assertEquals("0", mBinder.textView2.getText().toString()); // var1 & var2 in testBinary()
79 assertEquals("0", mBinder.textView3.getText().toString()); // var1 | var2 in testBinary()
[all …]
DMultiArgAdapterTest.java47 assertEquals(mBinder.merged.getText().toString(), join(obj1, obj2)); in testMultiArgIsCalled()
48 assertEquals(mBinder.view2.getText().toString(), join(obj2)); in testMultiArgIsCalled()
49 assertEquals(mBinder.view3.getText().toString(), join(obj3)); in testMultiArgIsCalled()
50 assertEquals(mBinder.view4.getText().toString(), join(obj4)); in testMultiArgIsCalled()
51 String prev2 = mBinder.view2.getText().toString(); in testMultiArgIsCalled()
52 String prevValue = mBinder.merged.getText().toString(); in testMultiArgIsCalled()
55 assertEquals(prevValue, mBinder.merged.getText().toString()); in testMultiArgIsCalled()
58 assertEquals(prevValue, mBinder.merged.getText().toString()); in testMultiArgIsCalled()
61 String prev3 = mBinder.view3.getText().toString(); in testMultiArgIsCalled()
62 String prev4 = mBinder.view4.getText().toString(); in testMultiArgIsCalled()
[all …]
DFindMethodTest.java33 assertEquals("no arg", textView.getText().toString()); in testNoArg()
38 assertEquals("1", textView.getText().toString()); in testIntArg()
43 assertEquals("1.25", textView.getText().toString()); in testFloatArg()
48 assertEquals("hello", textView.getText().toString()); in testStringArg()
53 assertEquals("1", textView.getText().toString()); in testBoxedArg()
58 assertEquals("base", textView.getText().toString()); in testInheritedMethod()
63 assertEquals("base 2", textView.getText().toString()); in testInheritedMethodInt()
68 assertEquals("world", textView.getText().toString()); in testStaticMethod()
73 assertEquals("hello world", textView.getText().toString()); in testStaticField()
78 assertEquals("world", textView.getText().toString()); in testImportStaticMethod()
[all …]
DIncludeTagTest.java39 assertEquals("modified 3a", innerText.getText().toString()); in testIncludeTag()
44 assertEquals("a hello 3a", textView1.getText().toString()); in testIncludeTag()
45 assertEquals("b hello 3a", textView2.getText().toString()); in testIncludeTag()
49 assertEquals("a goodbye 3a", mergeLayoutBinding.innerTextView1.getText().toString()); in testIncludeTag()
50 assertEquals("b goodbye 3a", mergeLayoutBinding.innerTextView2.getText().toString()); in testIncludeTag()
54 assertEquals("a 1 third 3a", merge1.innerTextView1.getText().toString()); in testIncludeTag()
55 assertEquals("b 1 third 3a", merge1.innerTextView2.getText().toString()); in testIncludeTag()
56 assertEquals("a 2 third 3a", merge2.innerTextView1.getText().toString()); in testIncludeTag()
57 assertEquals("b 2 third 3a", merge2.innerTextView2.getText().toString()); in testIncludeTag()
64 assertEquals("modified 5b", innerText.getText().toString()); in testIncludeTag()
[all …]
DMultiArgAdapterEvaluationTest.java42 assertEquals(mBinder.merged.getText().toString(), join(obj1.getValue(), obj2.getValue())); in testMultiArgIsCalled()
43 assertEquals(mBinder.view2.getText().toString(), join(obj2.getValue())); in testMultiArgIsCalled()
44 assertEquals(mBinder.view2text.getText().toString(), obj2.getValue()); in testMultiArgIsCalled()
46 String prev2 = mBinder.view2.getText().toString(); in testMultiArgIsCalled()
47 String prevValue = mBinder.merged.getText().toString(); in testMultiArgIsCalled()
50 assertEquals(prevValue, mBinder.merged.getText().toString()); in testMultiArgIsCalled()
53 assertEquals(prevValue, mBinder.merged.getText().toString()); in testMultiArgIsCalled()
57 assertEquals(join(obj1, obj2), mBinder.merged.getText().toString()); in testMultiArgIsCalled()
58 assertEquals("obj2 should not be re-evaluated", prev2, mBinder.view2.getText().toString()); in testMultiArgIsCalled()
60 mBinder.view2text.getText().toString()); in testMultiArgIsCalled()
DInstanceAdapterTest.java54 assertEquals("Hello World foo bar baz", mBinder.textView1.getText().toString()); in testOneAttr()
62 assertEquals("Hello World baz foo bar", mBinder.textView2.getText().toString()); in testTwoAttr()
70 assertEquals("Hello null World foo bar", mBinder.textView3.getText().toString()); in testOneAttrOld()
73 assertEquals("Hello World Android foo bar", mBinder.textView3.getText().toString()); in testOneAttrOld()
81 assertEquals("Hello null baz World baz", mBinder.textView4.getText().toString()); in testTwoAttrOld()
84 assertEquals("Hello World baz Android baz", mBinder.textView4.getText().toString()); in testTwoAttrOld()
105 … assertEquals("Hello World foo bar baz", binding.includedLayout.textView1.getText().toString()); in testInclude()
119 assertEquals("Hello World foo bar baz", view.getText().toString()); in testViewStub()
127 assertEquals("World component", mBinder.textView6.getText().toString()); in testOneAttrWithComponentStatic()
135 assertEquals("Hello World component bar baz", mBinder.textView7.getText().toString()); in testOneAttrWithComponentInstance()
[all …]
DDefaultBindingTest.java27 assertEquals("Hello World", binding.textView1.getText().toString()); in testDefaultValue()
28 assertEquals("Hello World", binding.textView2.getText().toString()); in testDefaultValue()
29 assertEquals("TestApp", binding.textView3.getText().toString()); in testDefaultValue()
30 assertEquals("Hello ` \"World\"", binding.textView4.getText().toString()); in testDefaultValue()
31 assertEquals("Hello World", binding.textView5.getText().toString()); in testDefaultValue()
33 binding.textView6.getText().toString()); in testDefaultValue()
DResourceTest.java48 assertEquals("Mrs. Doubtfire", view.getText().toString()); in testStringFormat()
52 assertEquals("Mr. Doubtfire", view.getText().toString()); in testStringFormat()
58 assertEquals("oranges", view.getText().toString()); in testQuantityString()
62 assertEquals("orange", view.getText().toString()); in testQuantityString()
68 assertEquals("1.5", view.getText().toString()); in testFractionNoParameters()
74 assertEquals("3.0", view.getText().toString()); in testFractionOneParameter()
80 assertEquals("9.0", view.getText().toString()); in testFractionTwoParameters()
/frameworks/base/wifi/java/android/net/wifi/
DWifiLinkLayerStats.java114 public String toString() { in toString() method in WifiLinkLayerStats
125 sbuf.append(" my bss beacon rx: ").append(Integer.toString(this.beacon_rx)).append('\n'); in toString()
126 sbuf.append(" RSSI mgmt: ").append(Integer.toString(this.rssi_mgmt)).append('\n'); in toString()
127 sbuf.append(" BE : ").append(" rx=").append(Long.toString(this.rxmpdu_be)) in toString()
128 .append(" tx=").append(Long.toString(this.txmpdu_be)) in toString()
129 .append(" lost=").append(Long.toString(this.lostmpdu_be)) in toString()
130 .append(" retries=").append(Long.toString(this.retries_be)).append('\n'); in toString()
131 sbuf.append(" BK : ").append(" rx=").append(Long.toString(this.rxmpdu_bk)) in toString()
132 .append(" tx=").append(Long.toString(this.txmpdu_bk)) in toString()
133 .append(" lost=").append(Long.toString(this.lostmpdu_bk)) in toString()
[all …]
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/
DWapPushTest.java499 Integer.toString(mAppIdValue), in utAddPackage()
500 Integer.toString(mContentTypeValue), in utAddPackage()
509 assertTrue(wpman.verifyData(Integer.toString(mAppIdValue), in utAddPackage()
510 Integer.toString(mContentTypeValue), in utAddPackage()
536 iwapman.deletePackage(Integer.toString(mAppIdValue), in testAddPackage1()
537 Integer.toString(mContentTypeValue), mPackageName, mClassName); in testAddPackage1()
539 iwapman.deletePackage(Integer.toString(mAppIdValue), in testAddPackage1()
540 Integer.toString(mContentTypeValue), mPackageName, mClassName); in testAddPackage1()
542 iwapman.deletePackage(Integer.toString(mAppIdValue), in testAddPackage1()
543 Integer.toString(mContentTypeValue), mPackageName, mClassName); in testAddPackage1()
[all …]
DClientTest.java70 app_id.getText().toString(), in onCreate()
71 cont.getText().toString(), in onCreate()
72 pkg.getText().toString(), in onCreate()
73 cls.getText().toString(), in onCreate()
80 app_id.getText().toString(), in onCreate()
81 cont.getText().toString(), in onCreate()
82 pkg.getText().toString(), in onCreate()
83 cls.getText().toString(), in onCreate()
105 app_id.getText().toString(), in onCreate()
106 cont.getText().toString(), in onCreate()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNativeDaemonConnectorTest.java39 assertEquals("", builder.toString()); in testArgumentNormal()
43 assertEquals("foo", builder.toString()); in testArgumentNormal()
47 assertEquals("foo\\\"bar", builder.toString()); in testArgumentNormal()
51 assertEquals("foo\\\\bar\\\\\\\"baz", builder.toString()); in testArgumentNormal()
59 assertEquals("\"foo bar\"", builder.toString()); in testArgumentWithSpaces()
63 assertEquals("\"foo\\\"bar\\\\baz foo\"", builder.toString()); in testArgumentWithSpaces()
71 assertEquals("\"caf\u00E9 c\u00F6ffee\"", builder.toString()); in testArgumentWithUtf()
81 assertEquals("1 foo bar baz\0", rawBuilder.toString()); in testSensitiveArgs()
82 assertEquals("1 foo bar baz", logBuilder.toString()); in testSensitiveArgs()
87 assertEquals("1 foo bar baz\0", rawBuilder.toString()); in testSensitiveArgs()
[all …]
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
DNetworkState.java125 mTransitionTarget.toString(), in validateNetworkStates()
126 mStateDepository.get(0).toString())); in validateNetworkStates()
128 mTransitionTarget.toString(), in validateNetworkStates()
129 mStateDepository.get(0).toString()); in validateNetworkStates()
146 mReason = str.toString(); in validateNetworkDisconnection()
153 mReason = str.toString(); in validateNetworkDisconnection()
168 preState.toString(), curState.toString())); in validateNetworkDisconnection()
169 mReason = str.toString(); in validateNetworkDisconnection()
173 mReason = str.toString(); in validateNetworkDisconnection()
187 mReason = str.toString(); in validateNetworkConnection()
[all …]
/frameworks/opt/chips/tests/src/com/android/ex/chips/
DChipsTest.java117 public String toString() { in toString() method in ChipsTest.MockRecipientEditTextView
118 return mEditable != null ? mEditable.toString() : ""; in toString()
189 int firstStart = mEditable.toString().indexOf(first); in testSanitizeBetween()
191 int secondStart = mEditable.toString().indexOf(second); in testSanitizeBetween()
196 String editableString = mEditable.toString(); in testSanitizeBetween()
207 firstStart = mEditable.toString().indexOf(first); in testSanitizeBetween()
211 assertEquals(mEditable.toString(), first); in testSanitizeBetween()
226 int firstStart = mEditable.toString().indexOf(first); in testSanitizeEnd()
228 int secondStart = mEditable.toString().indexOf(second); in testSanitizeEnd()
233 String editableString = mEditable.toString(); in testSanitizeEnd()
[all …]
/frameworks/base/core/tests/coretests/src/android/provider/
DSmsProviderTest.java42 Long.toString(new GregorianCalendar(1970, 1, 1, 0, 0, 0).getTimeInMillis()), in testProvider()
43 Long.toString(new GregorianCalendar(1971, 2, 13, 16, 35, 3).getTimeInMillis()), in testProvider()
44 Long.toString(new GregorianCalendar(1978, 10, 22, 0, 1, 0).getTimeInMillis()), in testProvider()
45 Long.toString(new GregorianCalendar(1980, 1, 11, 10, 22, 30).getTimeInMillis()), in testProvider()
46 Long.toString(now - (5 * 24 * 60 * 60 * 1000)), in testProvider()
47 Long.toString(now - (2 * 24 * 60 * 60 * 1000)), in testProvider()
48 Long.toString(now - (5 * 60 * 60 * 1000)), in testProvider()
49 Long.toString(now - (30 * 60 * 1000)), in testProvider()
50 Long.toString(now - (5 * 60 * 1000)), in testProvider()
51 Long.toString(now) in testProvider()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DAccessibilityNodeInfoDumper.java88 serializer.attribute("", "rotation", Integer.toString(rotation)); in dumpWindowToFile()
92 writer.write(stringWriter.toString()); in dumpWindowToFile()
105 serializer.attribute("", "NAF", Boolean.toString(true)); in dumpNodeRec()
106 serializer.attribute("", "index", Integer.toString(index)); in dumpNodeRec()
112 serializer.attribute("", "checkable", Boolean.toString(node.isCheckable())); in dumpNodeRec()
113 serializer.attribute("", "checked", Boolean.toString(node.isChecked())); in dumpNodeRec()
114 serializer.attribute("", "clickable", Boolean.toString(node.isClickable())); in dumpNodeRec()
115 serializer.attribute("", "enabled", Boolean.toString(node.isEnabled())); in dumpNodeRec()
116 serializer.attribute("", "focusable", Boolean.toString(node.isFocusable())); in dumpNodeRec()
117 serializer.attribute("", "focused", Boolean.toString(node.isFocused())); in dumpNodeRec()
[all …]
DUiObject.java150 throw new UiObjectNotFoundException(getSelector().toString()); in getChildCount()
396 throw new UiObjectNotFoundException(getSelector().toString()); in click()
436 throw new UiObjectNotFoundException(getSelector().toString()); in clickAndWaitForNewWindow()
454 throw new UiObjectNotFoundException(getSelector().toString()); in clickTopLeft()
471 throw new UiObjectNotFoundException(getSelector().toString()); in longClickBottomRight()
488 throw new UiObjectNotFoundException(getSelector().toString()); in clickBottomRight()
505 throw new UiObjectNotFoundException(getSelector().toString()); in longClick()
522 throw new UiObjectNotFoundException(getSelector().toString()); in longClickTopLeft()
539 throw new UiObjectNotFoundException(getSelector().toString()); in getText()
557 throw new UiObjectNotFoundException(getSelector().toString()); in getClassName()
[all …]
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/debug/
DLog.java53 public String toString() { in toString() method in Log.Tag
60 android.util.Log.d(tag.toString(), msg); in d()
66 android.util.Log.d(tag.toString(), msg, tr); in d()
72 android.util.Log.e(tag.toString(), msg); in e()
78 android.util.Log.e(tag.toString(), msg, tr); in e()
84 android.util.Log.i(tag.toString(), msg); in i()
90 android.util.Log.i(tag.toString(), msg, tr); in i()
96 android.util.Log.v(tag.toString(), msg); in v()
102 android.util.Log.v(tag.toString(), msg, tr); in v()
108 android.util.Log.w(tag.toString(), msg); in w()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DCharSequencesTest.java31 String copy = toString(forAsciiBytes(bytes)); in testCharSequences()
34 copy = toString(forAsciiBytes(bytes, 0, s.length())); in testCharSequences()
37 String crazy = toString(forAsciiBytes(bytes, 0, 5)); in testCharSequences()
40 String a = toString(forAsciiBytes(bytes, 0, 3).subSequence(2, 3)); in testCharSequences()
43 String empty = toString(forAsciiBytes(bytes, 0, 3).subSequence(3, 3)); in testCharSequences()
55 static String toString(CharSequence charSequence) { in toString() method in CharSequencesTest
56 return new StringBuilder().append(charSequence).toString(); in toString()
/frameworks/base/tools/aapt/tests/
DAaptConfig_test.cpp55 EXPECT_EQ(String8(""), config.toString()); in TEST()
58 EXPECT_EQ(String8("fr-land"), config.toString()); in TEST()
63 "xhdpi-keyssoft-qwerty-navexposed-nonav-v13"), config.toString()); in TEST()
69 EXPECT_EQ(String8("en-rUS"), config.toString()); in TEST()
75 EXPECT_EQ(String8("sw600dp-v13"), config.toString()); in TEST()
78 EXPECT_EQ(String8("sw600dp-v13"), config.toString()); in TEST()
93 EXPECT_EQ(String8("round-v23"), config.toString()); in TEST()
99 EXPECT_EQ(String8("notround-v23"), config.toString()); in TEST()
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
DEventRecurrenceTest.java684 + ": correct=" + Arrays.toString(correct) in cmp()
685 + " actual=" + Arrays.toString(v)); in cmp()
698 + ": correct=" + Arrays.toString(correct) in cmp()
699 + " actual=" + Arrays.toString(v)); in cmp()
704 + ": correct=" + Arrays.toString(correct) in cmp()
705 + " actual=" + Arrays.toString(v)); in cmp()
740 System.out.println(" bysecond=" + Arrays.toString(bysecond)); in verifyRecurType()
741 System.out.println(" byminute=" + Arrays.toString(byminute)); in verifyRecurType()
742 System.out.println(" byhour=" + Arrays.toString(byhour)); in verifyRecurType()
743 System.out.println(" byday=" + Arrays.toString(byday)); in verifyRecurType()
[all …]
/frameworks/base/core/tests/coretests/src/android/content/
DContentProviderOperationTest.java58 assertEquals(sTestUri1.toString(), uri.toString()); in testInsert()
59 assertEquals(sTestValues1.toString(), values.toString()); in testInsert()
63 assertEquals(sTestUri1.buildUpon().appendPath("19").toString(), result.uri.toString()); in testInsert()
71 assertEquals(sTestUri1.toString(), uri.toString()); in testInsertNoValues()
76 assertEquals(sTestUri1.buildUpon().appendPath("19").toString(), result.uri.toString()); in testInsertNoValues()
86 assertEquals(sTestUri1.toString(), uri.toString()); in testInsertFailed()
87 assertEquals(sTestValues1.toString(), values.toString()); in testInsertFailed()
110 assertEquals(sTestUri1.toString(), uri.toString()); in testInsertWithBackRefs()
114 assertEquals(expected.toString(), values.toString()); in testInsertWithBackRefs()
118 assertEquals(sTestUri1.buildUpon().appendPath("19").toString(), result.uri.toString()); in testInsertWithBackRefs()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DEriManager.java80 public String toString() { in toString() method in EriManager.EriDisplayInformation
304 mContext.getText(com.android.internal.R.string.roamingText0).toString()); in getEriDisplayInformation()
311 mContext.getText(com.android.internal.R.string.roamingText1).toString()); in getEriDisplayInformation()
318 mContext.getText(com.android.internal.R.string.roamingText2).toString()); in getEriDisplayInformation()
327 mContext.getText(com.android.internal.R.string.roamingText3).toString()); in getEriDisplayInformation()
334 mContext.getText(com.android.internal.R.string.roamingText4).toString()); in getEriDisplayInformation()
341 mContext.getText(com.android.internal.R.string.roamingText5).toString()); in getEriDisplayInformation()
348 mContext.getText(com.android.internal.R.string.roamingText6).toString()); in getEriDisplayInformation()
355 mContext.getText(com.android.internal.R.string.roamingText7).toString()); in getEriDisplayInformation()
362 mContext.getText(com.android.internal.R.string.roamingText8).toString()); in getEriDisplayInformation()
[all …]
/frameworks/base/core/tests/coretests/src/android/text/
DTextUtilsTest.java55 assertEquals("foo", TextUtils.concat(foo).toString()); in testBasic()
56 assertEquals("foobar", TextUtils.concat(foo, bar).toString()); in testBasic()
57 assertEquals("foobarbaz", TextUtils.concat(foo, bar, baz).toString()); in testBasic()
79 result.toString()); in testTemplateString()
84 result.toString()); in testTemplateString()
87 assertEquals("^", result.toString()); in testTemplateString()
90 assertEquals("^", result.toString()); in testTemplateString()
93 assertEquals("^^", result.toString()); in testTemplateString()
96 assertEquals("shorter a values .", result.toString()); in testTemplateString()
113 assertEquals("one value given, and nine used.", result.toString()); in testTemplateString()
[all …]
/frameworks/base/tools/aapt2/
DFlag.cpp37 name.toString(), description.toString(), wrap(action), in optionalFlag()
43 sFlags.push_back(Flag{ name.toString(), description.toString(), wrap(action), in requiredFlag()
49 sFlags.push_back(Flag{ name.toString(), description.toString(), action, in requiredFlag()
56 name.toString(), description.toString(), {}, in optionalSwitch()
85 sArgs.push_back(arg.toString()); in parse()

12345678910>>...77