Searched refs:toString (Results 1 - 25 of 2669) sorted by relevance

1234567891011>>

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DLastCallFailCause.java24 public String toString() { method in class:LastCallFailCause
25 return super.toString()
H A DCallForwardInfo.java33 public String toString() { method in class:CallForwardInfo
34 return super.toString() + (status == 0 ? " not active " : " active ")
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
H A DBracketTest.java66 assertEquals("Hello World", mBinder.arrayText.getText().toString());
67 assertEquals("Hello", mBinder.sparseArrayText.getText().toString());
68 assertEquals("World", mBinder.longSparseArrayText.getText().toString());
69 assertEquals("100", mBinder.sparseIntArrayText.getText().toString());
70 assertEquals("true", mBinder.sparseBooleanArrayText.getText().toString());
71 assertEquals("5", mBinder.sparseLongArrayText.getText().toString());
78 assertEquals("", mBinder.arrayText.getText().toString());
79 assertEquals("", mBinder.sparseArrayText.getText().toString());
80 assertEquals("", mBinder.longSparseArrayText.getText().toString());
81 assertEquals("0", mBinder.sparseIntArrayText.getText().toString());
[all...]
H A DExpressionTest.java38 assertEquals("hello", mBinder.textView0.getText().toString());
41 assertEquals("hello", mBinder.textView0.getText().toString());
45 assertEquals("hello", mBinder.textView0.getText().toString());
48 assertEquals("world", mBinder.textView0.getText().toString());
57 assertEquals("hello", mBinder.textView1.getText().toString());
60 assertEquals("world", mBinder.textView1.getText().toString());
64 assertEquals("world", mBinder.textView1.getText().toString());
67 assertEquals("world", mBinder.textView1.getText().toString());
75 assertEquals("0", mBinder.textView2.getText().toString()); // var1 & var2
76 assertEquals("0", mBinder.textView3.getText().toString()); // var
[all...]
H A DIncludeTagTest.java42 assertEquals("modified 3a", innerText.getText().toString());
47 assertEquals("a hello 3a", textView1.getText().toString());
48 assertEquals("b hello 3a", textView2.getText().toString());
52 assertEquals("a goodbye 3a", mergeLayoutBinding.innerTextView1.getText().toString());
53 assertEquals("b goodbye 3a", mergeLayoutBinding.innerTextView2.getText().toString());
57 assertEquals("a 1 third 3a", merge1.innerTextView1.getText().toString());
58 assertEquals("b 1 third 3a", merge1.innerTextView2.getText().toString());
59 assertEquals("a 2 third 3a", merge2.innerTextView1.getText().toString());
60 assertEquals("b 2 third 3a", merge2.innerTextView2.getText().toString());
67 assertEquals("modified 5b", innerText.getText().toString());
[all...]
H A DDefaultBindingTest.java27 assertEquals("Hello World", binding.textView1.getText().toString());
28 assertEquals("Hello World", binding.textView2.getText().toString());
29 assertEquals("TestApp", binding.textView3.getText().toString());
30 assertEquals("Hello ` \"World\"", binding.textView4.getText().toString());
31 assertEquals("Hello World", binding.textView5.getText().toString());
33 binding.textView6.getText().toString());
H A DMultiArgAdapterTest.java47 assertEquals(mBinder.merged.getText().toString(), join(obj1, obj2));
48 assertEquals(mBinder.view2.getText().toString(), join(obj2));
49 assertEquals(mBinder.view3.getText().toString(), join(obj3));
50 assertEquals(mBinder.view4.getText().toString(), join(obj4));
51 String prev2 = mBinder.view2.getText().toString();
52 String prevValue = mBinder.merged.getText().toString();
55 assertEquals(prevValue, mBinder.merged.getText().toString());
58 assertEquals(prevValue, mBinder.merged.getText().toString());
61 String prev3 = mBinder.view3.getText().toString();
62 String prev4 = mBinder.view4.getText().toString();
[all...]
H A DFindMethodTest.java33 assertEquals("no arg", textView.getText().toString());
38 assertEquals("1", textView.getText().toString());
43 assertEquals("1.25", textView.getText().toString());
48 assertEquals("hello", textView.getText().toString());
53 assertEquals("1", textView.getText().toString());
58 assertEquals("base", textView.getText().toString());
63 assertEquals("base 2", textView.getText().toString());
68 assertEquals("world", textView.getText().toString());
73 assertEquals("hello world", textView.getText().toString());
78 assertEquals("world", textView.getText().toString());
[all...]
H A DGenericAdapterTest.java40 assertEquals("Hello World", getBinder().textView1.getText().toString());
41 assertEquals("Hello World", getBinder().textView2.getText().toString());
42 assertEquals("Hello World", getBinder().textView3.getText().toString());
43 assertEquals("Hello World", getBinder().textView4.getText().toString());
46 assertEquals("Hello World", getBinder().textView7.getText().toString());
H A DMultiArgAdapterEvaluationTest.java42 assertEquals(mBinder.merged.getText().toString(), join(obj1.getValue(), obj2.getValue()));
43 assertEquals(mBinder.view2.getText().toString(), join(obj2.getValue()));
44 assertEquals(mBinder.view2text.getText().toString(), obj2.getValue());
46 String prev2 = mBinder.view2.getText().toString();
47 String prevValue = mBinder.merged.getText().toString();
50 assertEquals(prevValue, mBinder.merged.getText().toString());
53 assertEquals(prevValue, mBinder.merged.getText().toString());
57 assertEquals(join(obj1, obj2), mBinder.merged.getText().toString());
58 assertEquals("obj2 should not be re-evaluated", prev2, mBinder.view2.getText().toString());
60 mBinder.view2text.getText().toString());
[all...]
H A DResourceTest.java48 assertEquals("Mrs. Doubtfire", view.getText().toString());
52 assertEquals("Mr. Doubtfire", view.getText().toString());
58 assertEquals("oranges", view.getText().toString());
62 assertEquals("orange", view.getText().toString());
68 assertEquals("1.5", view.getText().toString());
74 assertEquals("3.0", view.getText().toString());
80 assertEquals("9.0", view.getText().toString());
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiLinkLayerStats.java118 public String toString() { method in class:WifiLinkLayerStats
129 sbuf.append(" my bss beacon rx: ").append(Integer.toString(this.beacon_rx)).append('\n');
130 sbuf.append(" RSSI mgmt: ").append(Integer.toString(this.rssi_mgmt)).append('\n');
131 sbuf.append(" BE : ").append(" rx=").append(Long.toString(this.rxmpdu_be))
132 .append(" tx=").append(Long.toString(this.txmpdu_be))
133 .append(" lost=").append(Long.toString(this.lostmpdu_be))
134 .append(" retries=").append(Long.toString(this.retries_be)).append('\n');
135 sbuf.append(" BK : ").append(" rx=").append(Long.toString(this.rxmpdu_bk))
136 .append(" tx=").append(Long.toString(this.txmpdu_bk))
137 .append(" lost=").append(Long.toString(thi
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DNativeDaemonConnectorTest.java39 assertEquals("", builder.toString());
43 assertEquals("foo", builder.toString());
47 assertEquals("foo\\\"bar", builder.toString());
51 assertEquals("foo\\\\bar\\\\\\\"baz", builder.toString());
59 assertEquals("\"foo bar\"", builder.toString());
63 assertEquals("\"foo\\\"bar\\\\baz foo\"", builder.toString());
71 assertEquals("\"caf\u00E9 c\u00F6ffee\"", builder.toString());
81 assertEquals("1 foo bar baz\0", rawBuilder.toString());
82 assertEquals("1 foo bar baz", logBuilder.toString());
87 assertEquals("1 foo bar baz\0", rawBuilder.toString());
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipCallBase.java38 public String toString() { method in class:SipCallBase
39 return mState.toString() + ":" + super.toString();
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DLogcatLogTest.java52 assertEquals("hello world", logMessage.toString());
60 assertEquals("", logMessage.toString());
68 assertEquals("1", logMessage.toString());
79 assertEquals("%", logMessage.toString());
87 assertEquals("1stuff", logMessage.toString());
95 assertEquals("s1uff", logMessage.toString());
103 assertEquals("stuff1", logMessage.toString());
111 assertEquals("hello world", logMessage.toString());
119 assertEquals("first:hello second:world", logMessage.toString());
127 assertEquals("helloworld", logMessage.toString());
[all...]
/frameworks/base/core/java/android/os/
H A DServiceSpecificException.java44 public String toString() { method in class:ServiceSpecificException
45 return super.toString() + " (code " + errorCode + ")";
/frameworks/base/packages/Osu/src/com/android/hotspot2/asn1/
H A DDecodeException.java14 public String toString() { method in class:DecodeException
15 return super.toString() + " at " + mOffset;
H A DAsn1Constructed.java30 private void toString(int level, StringBuilder sb) { method in class:Asn1Constructed
31 sb.append(indent(level)).append(super.toString()).append(":\n");
34 ((Asn1Constructed) child).toString(level + 1, sb);
36 sb.append(indent(level + 1)).append(child.toString()).append('\n');
48 public String toString() { method in class:Asn1Constructed
50 toString(0, sb);
51 return sb.toString();
H A DAsn1Boolean.java28 public String toString() { method in class:Asn1Boolean
29 return super.toString() + "=" + Boolean.toString(mBoolean);
/frameworks/base/media/java/android/media/
H A DAudioPatch.java64 public String toString() { method in class:AudioPatch
67 s.append(mHandle.toString());
71 s.append(source.toString());
76 s.append(sink.toString());
81 return s.toString();
/frameworks/base/core/tests/coretests/src/android/provider/
H A DSmsProviderTest.java44 Long.toString(new GregorianCalendar(1970, 1, 1, 0, 0, 0).getTimeInMillis()),
45 Long.toString(new GregorianCalendar(1971, 2, 13, 16, 35, 3).getTimeInMillis()),
46 Long.toString(new GregorianCalendar(1978, 10, 22, 0, 1, 0).getTimeInMillis()),
47 Long.toString(new GregorianCalendar(1980, 1, 11, 10, 22, 30).getTimeInMillis()),
48 Long.toString(now - (5 * 24 * 60 * 60 * 1000)),
49 Long.toString(now - (2 * 24 * 60 * 60 * 1000)),
50 Long.toString(now - (5 * 60 * 60 * 1000)),
51 Long.toString(now - (30 * 60 * 1000)),
52 Long.toString(now - (5 * 60 * 1000)),
53 Long.toString(no
[all...]
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
H A DCharSequencesTest.java31 String copy = toString(forAsciiBytes(bytes));
34 copy = toString(forAsciiBytes(bytes, 0, s.length()));
37 String crazy = toString(forAsciiBytes(bytes, 0, 5));
40 String a = toString(forAsciiBytes(bytes, 0, 3).subSequence(2, 3));
43 String empty = toString(forAsciiBytes(bytes, 0, 3).subSequence(3, 3));
55 static String toString(CharSequence charSequence) { method in class:CharSequencesTest
56 return new StringBuilder().append(charSequence).toString();
/frameworks/base/core/java/android/provider/
H A DSearchIndexableResource.java70 public String toString() { method in class:SearchIndexableResource
73 sb.append(super.toString());
79 return sb.toString();
/frameworks/base/location/lib/java/com/android/location/provider/
H A DActivityChangedEvent.java45 public String toString() { method in class:ActivityChangedEvent
50 builder.append(event.toString());
54 return builder.toString();
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/
H A DSoftDeleteTest.java64 mEditable = new SpannableStringBuilder(mTestString.toString());
77 assertEquals(mTestString.toString(), mEditable.toString());
89 assertEquals(mTestString.toString(), mEditable.toString());
99 assertEquals(mTestString.toString(), mEditable.toString());
109 assertEquals(mTestString.toString(), mEditable.toString());
121 assertEquals(mTestString.toString(), mEditabl
[all...]

Completed in 403 milliseconds

1234567891011>>