HomeSort by relevance Sort by last modified time
    Searched full:tostring (Results 301 - 325 of 4246) sorted by null

<<11121314151617181920>>

  /frameworks/base/core/tests/coretests/src/android/text/
HtmlTest.java 74 String spanned = Html.fromHtml("&copy; &gt; &lt").toString();
108 assertEquals(c.toString(), colors[0].getTextColor().toString());
113 assertEquals(c.toString(), colors[0].getTextColor().toString());
118 assertEquals(c.toString(), colors[0].getTextColor().toString());
123 assertEquals(c.toString(), colors[0].getTextColor().toString());
129 assertEquals(c.toString(), colors[0].getTextColor().toString())
    [all...]
  /cts/tests/tests/content/src/android/content/pm/cts/
ResolveInfoTest.java 72 notes = "Test toString",
73 method = "toString",
85 // Test loadLabel, loadIcon, getIconResource, toString, describeContents
87 assertEquals(expectedLabel, resolveInfo.loadLabel(pm).toString());
90 assertNotNull(resolveInfo.toString());
  /cts/tests/tests/view/src/android/view/cts/
View_MeasureSpecTest.java 75 notes = "Test View.MeasureSpec#toString(int)",
76 method = "toString",
81 View.MeasureSpec.toString(mUnspecifiedMeasureSpec));
83 View.MeasureSpec.toString(mExactlyMeasureSpec));
85 View.MeasureSpec.toString(mAtMostMeasureSpec));
  /dalvik/libcore/concurrent/src/test/java/tests/api/java/util/concurrent/
AtomicBooleanTest.java 137 * toString returns current value.
141 assertEquals(ai.toString(), Boolean.toString(false));
143 assertEquals(ai.toString(), Boolean.toString(true));
AtomicReferenceTest.java 133 * toString returns current value.
137 assertEquals(ai.toString(), one.toString());
139 assertEquals(ai.toString(), two.toString());
  /dalvik/libcore/luni/src/test/java/java/nio/charset/
CharsetDecoderTest.java 38 assertFalse(coderResult.toString(), coderResult.isError());
41 assertEquals(SAMPLE_STRING, outBuffer.toString().trim());
54 assertFalse(coderResult.toString(), coderResult.isError());
57 assertEquals(SAMPLE_STRING, outBuffer.toString().trim());
67 assertEquals(SAMPLE_STRING, outBuffer.toString().trim());
  /dalvik/libcore/security/src/main/java/java/security/
PermissionCollection.java 99 public String toString() {
102 String superStr = super.toString();
106 String el = elenum.nextElement().toString();
116 result.append("\n ").append(elist.get(i).toString()); //$NON-NLS-1$
118 return result.append("\n)\n").toString(); //$NON-NLS-1$
  /dalvik/libcore/security/src/main/java/org/apache/harmony/security/utils/
Array.java 44 public static String toString(byte[] array, String prefix) {
46 // in <code>String toString(byte[], String)</code> method
88 sb.append(charForm.toString());
102 sb.append(charForm.toString());
105 return sb.toString();
  /external/apache-http/src/org/apache/http/message/
ParserCursor.java 90 public String toString() {
93 buffer.append(Integer.toString(this.lowerBound));
95 buffer.append(Integer.toString(this.pos));
97 buffer.append(Integer.toString(this.upperBound));
99 return buffer.toString();
  /external/proguard/src/proguard/classfile/attribute/preverification/
FullFrame.java 180 public String toString()
182 StringBuffer buffer = new StringBuffer(super.toString()).append("Var: ");
187 .append(variables[index].toString())
196 .append(stack[index].toString())
200 return buffer.toString();
  /external/proguard/src/proguard/classfile/instruction/
BranchInstruction.java 108 throw new IllegalArgumentException("Branch instruction can't be widened ("+this.toString()+")");
125 throw new IllegalArgumentException("Instruction has invalid branch offset size ("+this.toString(offset)+")");
144 public String toString(int offset)
146 return "["+offset+"] "+toString()+" (target="+(offset+branchOffset)+")";
152 public String toString()
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/Array/
15.4.2.1-1.js 67 array[item++] = new TestCase( SECTION, "(new Array(1,2)).toString", Array.prototype.toString, (new Array(1,2)).toString );
69 "var arr = new Array(1,2,3); arr.getClass = Object.prototype.toString; arr.getClass()",
71 eval("var arr = new Array(1,2,3); arr.getClass = Object.prototype.toString; arr.getClass()") );
  /external/webkit/WebCore/bindings/js/
JSDOMApplicationCacheCustom.cpp 52 const KURL& url = frame->loader()->completeURL(args.at(0).toString(exec));
65 const KURL& url = frame->loader()->completeURL(args.at(0).toString(exec));
78 const KURL& url = frame->loader()->completeURL(args.at(0).toString(exec));
94 impl()->addEventListener(args.at(0).toString(exec), JSEventListener::create(asObject(listener), this, false, currentWorld(exec)), args.at(2).toBoolean(exec));
104 impl()->removeEventListener(args.at(0).toString(exec), JSEventListener::create(asObject(listener), this, false, currentWorld(exec)).get(), args.at(2).toBoolean(exec));
  /frameworks/base/core/java/android/bluetooth/
AtCommandResult.java 31 * int enum, converted to a string when toString() is called. Only a single
87 appendWithCrlf(mResponse, result.mResponse.toString());
95 public String toString() {
96 StringBuilder result = new StringBuilder(mResponse.toString());
105 return result.toString();
  /frameworks/base/telephony/java/com/android/internal/telephony/cdma/
EriManager.java 82 public String toString() {
308 mContext.getText(com.android.internal.R.string.roamingText0).toString());
315 mContext.getText(com.android.internal.R.string.roamingText1).toString());
322 mContext.getText(com.android.internal.R.string.roamingText2).toString());
331 mContext.getText(com.android.internal.R.string.roamingText3).toString());
338 mContext.getText(com.android.internal.R.string.roamingText4).toString());
345 mContext.getText(com.android.internal.R.string.roamingText5).toString());
352 mContext.getText(com.android.internal.R.string.roamingText6).toString());
359 mContext.getText(com.android.internal.R.string.roamingText7).toString());
366 mContext.getText(com.android.internal.R.string.roamingText8).toString());
    [all...]
  /frameworks/base/core/java/android/text/util/
Rfc822Tokenizer.java 66 out.add(new Rfc822Token(name.toString(),
67 address.toString(),
68 comment.toString()));
71 name.toString(),
72 comment.toString()));
147 out.add(new Rfc822Token(name.toString(),
148 address.toString(),
149 comment.toString()));
152 name.toString(),
153 comment.toString()));
    [all...]
  /dalvik/libcore/luni/src/test/java/tests/api/java/net/
ProxyTest.java 176 * @tests java.net.Proxy#toString()
181 method = "toString",
187 assertTrue(proxy.toString().indexOf(proxy.type().toString()) != -1);
189 assertTrue(proxy.toString().indexOf(proxy.address().toString()) != -1);
193 assertTrue(proxy.toString().indexOf(proxy.type().toString()) != -1);
195 assertTrue(proxy.toString().indexOf(proxy.address().toString()) != -1)
    [all...]
  /dalvik/libcore/xml/src/test/java/tests/api/javax/xml/parsers/
DocumentBuilderTest.java 155 fail("unexpected exception " + e.toString());
172 fail("Unexpected ParserConfigurationException " + pce.toString());
174 fail("Unexpected SAXException " + sax.toString());
308 fail("Unexpected IOException " + ioe.toString());
310 fail("Unexpected SAXException " + sax.toString());
320 fail("Unexpected IOException " + ioe.toString());
322 fail("Unexpected SAXException " + sax.toString());
332 fail("Unexpected SAXException " + sax.toString());
341 fail("Unexpected IOException " + ioe.toString());
374 fail("Unexpected IOException " + ioe.toString());
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/Date/
15.9.3.8-1.js 114 addNewTestCase( new Date( (new Date(0)).toString() ),
115 "new Date(\""+ (new Date(0)).toString()+"\" )",
124 addNewTestCase( new Date((new Date(1)).toString()),
125 "new Date(\""+ (new Date(1)).toString()+"\" )",
132 addNewTestCase( new Date((new Date(TZ_ADJUST)).toString()),
133 "new Date(\""+ (new Date(TZ_ADJUST)).toString()+"\")",
152 addNewTestCase( new Date( (new Date(TIME_2000+TZ_ADJUST)).toString()),
153 "new Date(\"" +(new Date(TIME_2000+TZ_ADJUST)).toString()+"\")",
156 addNewTestCase( new Date((new Date(TIME_2000)).toString()),
157 "new Date(\"" +(new Date(TIME_2000)).toString()+"\")"
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/String/
15.5.4.8-1.js 77 "var s = new String('this is a string object'); Array.prototype.getClass = Object.prototype.toString; (s.split()).getClass()",
79 eval("var s = new String('this is a string object'); Array.prototype.getClass = Object.prototype.toString; (s.split()).getClass()") );
98 "var obj = new Object(); obj.split = String.prototype.split; Array.prototype.getClass = Object.prototype.toString; obj.getClass()",
100 eval("var obj = new Object(); obj.split = String.prototype.split; Array.prototype.getClass = Object.prototype.toString; obj.split().getClass()") );
119 "var obj = new Function(); obj.split = String.prototype.split; Array.prototype.getClass = Object.prototype.toString; obj.getClass()",
121 eval("var obj = new Function(); obj.split = String.prototype.split; Array.prototype.getClass = Object.prototype.toString; obj.split().getClass()") );
129 "var obj = new Function(); obj.split = String.prototype.split; obj.toString = Object.prototype.toString; obj.split()[0]",
131 eval("var obj = new Function(); obj.split = String.prototype.split; obj.toString = Object.prototype.toString; obj.split()[0]") )
    [all...]
  /dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/
ByteTest.java 159 * @tests java.lang.Byte#toString()
164 method = "toString",
168 assertEquals("-1", new Byte((byte) -1).toString());
169 assertEquals("0", new Byte((byte) 0).toString());
170 assertEquals("1", new Byte((byte) 1).toString());
171 assertEquals("-1", new Byte((byte) 0xFF).toString());
175 * @tests java.lang.Byte#toString(byte)
180 method = "toString",
184 assertEquals("-1", Byte.toString((byte) -1));
185 assertEquals("0", Byte.toString((byte) 0))
    [all...]
  /dalvik/libcore/security/src/main/java/org/apache/harmony/security/pkcs7/
SignedData.java 107 public String toString() {
113 res.append(digestAlgorithms.toString());
115 res.append(contentInfo.toString());
118 res.append(certificates.toString());
122 res.append(crls.toString());
125 res.append(signerInfos.toString());
127 return res.toString();
  /dalvik/libcore/security/src/test/java/org/apache/harmony/security/tests/java/security/
CodeSignerTest.java 171 * Tests CodeSigner.toString()
176 method = "toString",
180 assertTrue(new CodeSigner(cpath, null).toString().contains(""));
181 assertTrue(new CodeSigner(cpath, ts).toString().contains(""));
183 assertTrue(new CodeSigner(cpath, null).toString().contains("Signer"));
184 assertTrue(new CodeSigner(cpath, ts).toString().contains(ts.toString()));
  /dalvik/libcore/security/src/test/java/tests/security/acl/
IAclEntryTest.java 171 assertEquals(v.elementAt(0).toString(), perm.toString());
178 * @tests java.security.acl.AclEntry#toString()
183 method = "toString",
189 String res = ae.toString();
208 assertEquals("Objects are not equal", ae.toString(), ae.clone().toString());
  /external/webkit/JavaScriptCore/runtime/
ObjectPrototype.cpp 48 putDirectFunctionWithoutTransition(exec, new (exec) NativeFunctionWrapper(exec, prototypeFunctionStructure, 0, exec->propertyNames().toString, objectProtoFuncToString), DontEnum);
91 return jsBoolean(thisValue.toThisObject(exec)->hasOwnProperty(exec, Identifier(exec, args.at(0).toString(exec))));
118 thisValue.toThisObject(exec)->defineGetter(exec, Identifier(exec, args.at(0).toString(exec)), asObject(args.at(1)));
127 thisValue.toThisObject(exec)->defineSetter(exec, Identifier(exec, args.at(0).toString(exec)), asObject(args.at(1)));
133 return thisValue.toThisObject(exec)->lookupGetter(exec, Identifier(exec, args.at(0).toString(exec)));
138 return thisValue.toThisObject(exec)->lookupSetter(exec, Identifier(exec, args.at(0).toString(exec)));
143 return jsBoolean(thisValue.toThisObject(exec)->propertyIsEnumerable(exec, Identifier(exec, args.at(0).toString(exec))));

Completed in 315 milliseconds

<<11121314151617181920>>