Home
last modified time | relevance | path

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

/art/test/022-interface/src/
DMain.java55 public String toString() { in objectOverrideTests()
59 return toString().length(); in objectOverrideTests()
62 return toString().charAt(i); in objectOverrideTests()
65 return toString().subSequence(s, e); in objectOverrideTests()
87 return i.toString(); in subObjectOverrideTests()
93 check(o.toString().equals("Mallet's Mallet")); in doObjectOverrideTests()
DObjectOverridingInterface.java23 public String toString(); in toString() method
/art/test/100-reflect2/src/
DMain.java161 System.out.println(Arrays.toString(String.class.getDeclaredConstructors())); in testMethodReflection()
162 System.out.println(Arrays.toString(String.class.getDeclaredFields())); in testMethodReflection()
163 System.out.println(Arrays.toString(String.class.getDeclaredMethods())); in testMethodReflection()
165 System.out.println(Arrays.toString(Main.class.getInterfaces())); in testMethodReflection()
166 System.out.println(Arrays.toString(String.class.getInterfaces())); in testMethodReflection()
180 System.out.println(Arrays.toString(m.getParameterTypes())); in testMethodReflection()
182 System.out.println(Arrays.toString(m.getParameterTypes())); in testMethodReflection()
185 System.out.println(Arrays.toString(m.getParameterTypes())); in testMethodReflection()
189 System.out.println(Arrays.toString(m.getParameterTypes())); in testMethodReflection()
193 System.out.println(Arrays.toString(m.getParameterTypes())); in testMethodReflection()
[all …]
/art/test/011-array-copy/src/
DMain.java33 stringArray[i] = new String(Integer.toString(i)); in testObjectCopy()
95 Arrays.toString(byteArray)); in makeCopies()
99 Arrays.toString(shortArray)); in makeCopies()
103 Arrays.toString(longArray)); in makeCopies()
109 ": " + Arrays.toString(intArray)); in makeCopies()
/art/test/407-arrays/src/
DMain.java107 assertTrue(exception.toString().contains(Integer.toString(index))); in ensureThrows()
117 assertTrue(exception.toString().contains(Integer.toString(index))); in ensureThrows()
/art/test/092-locale/src/
DMain.java111 System.out.println(usa.toString() + ": " + dollars.toString() in testCurrency()
117 System.out.println(japan.toString() + ": " + yen.toString() in testCurrency()
/art/test/022-interface/classes/
DObjectOverridingInterface.classObjectOverridingInterface.java package ObjectOverridingInterface extends java.lang.Object implements java.lang.CharSequence { public ...
DMain$1.classMain.java package Main$1 extends java.lang.Object implements ObjectOverridingInterface { void <init ...
/art/test/036-finalizer/src/
DMain.java76 s[0] = ref.toString(); in wimpString()
136 public String toString() { in toString() method in Main.FinalizerTest
/art/test/085-old-style-inner-class/src/
DMain.java38 return (meth == null) ? "(null)" : meth.toString(); in nameOf()
/art/test/031-class-attributes/src/
DClassAttrs.java51 System.out.println(Modifier.toString(c.getModifiers()) + " " + c.getName()); in showModifiers()
338 stb.append(t.toString()); in stringifyTypeArray()
341 return stb.toString(); in stringifyTypeArray()
/art/test/094-pattern/src/
DMain.java93 return sb.toString(); in getStringAsHex()
/art/test/005-annotations/src/android/test/anno/
DTestAnnotations.java109 System.out.println(field + ": " + annotations[0].toString()); in testArrays()
113 System.out.println(field + ": " + annotations[0].toString()); in testArrays()
/art/test/122-npe/src/
DMain.java68 ((Value) null).objectField.toString(); in methodTwo()
194 ((Value) null).volatileObjectField.toString(); in methodTwo()
320 ((Object[]) null)[0].toString(); in methodTwo()
518 o.toString(); // Test null on invokevirtual. in methodTwo()
/art/test/045-reflect-array/src/
DMain.java262 System.out.println(arrayOfAbstractClasses.getClass().toString() + " modifiers: " + in testAbstract()
265 System.out.println(arrayOfAbstractClasses.getClass().toString() + " modifiers: " + in testAbstract()
/art/test/079-phantom/src/
DBitmap.java45 public String toString() { in toString() method in Bitmap
/art/test/044-proxy/
Dexpected.txt54 …inal int $Proxy1.square(int,int), public final java.lang.String $Proxy1.toString(), public final i…
87 …roxy3.foo(), public final int $Proxy3.hashCode(), public final java.lang.String $Proxy3.toString()]
/art/test/098-ddmc/src/
DMain.java115 public String toString() { in toString() method in Main.Allocations
/art/test/004-ThreadStress/src/
DMain.java258 throw new AssertionError(operation.toString()); in run()
/art/test/044-proxy/src/
DWrappedThrow.java198 return super.toString(); in invoke()
DBasicTest.java249 return super.toString(); in invoke()
/art/test/046-reflect/src/
DMain.java541 stb.append(t.toString()); in stringifyTypeArray()
544 return stb.toString(); in stringifyTypeArray()
/art/test/100-reflect2/
Dexpected.txt36 …toLowerCase(java.util.Locale), public java.lang.String java.lang.String.toString(), public java.la…
/art/test/083-compiler-regressions/src/
DMain.java9822 System.out.println("testIfCcz fails for" + fails.toString()); in testIfCcz()