/frameworks/base/core/tests/coretests/src/android/util/ |
JsonWriterTest.java | 20 import java.io.StringWriter; 28 StringWriter stringWriter = new StringWriter(); 29 JsonWriter jsonWriter = new JsonWriter(stringWriter); 38 StringWriter stringWriter = new StringWriter(); 39 JsonWriter jsonWriter = new JsonWriter(stringWriter); 50 StringWriter stringWriter = new StringWriter() [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
StringWriterTest.java | 21 import java.io.StringWriter; 25 StringWriter sw; 28 * @tests java.io.StringWriter#StringWriter() 31 // Test for method java.io.StringWriter() 36 * @tests java.io.StringWriter#close() 39 // Test for method void java.io.StringWriter.close() 43 fail("IOException closing StringWriter : " + e.getMessage()); 48 * @tests java.io.StringWriter#flush() 51 // Test for method void java.io.StringWriter.flush( [all...] |
/external/junit/src/junit/framework/ |
TestFailure.java | 4 import java.io.StringWriter; 46 StringWriter stringWriter= new StringWriter(); 47 PrintWriter writer= new PrintWriter(stringWriter); 49 StringBuffer buffer= stringWriter.getBuffer();
|
TestSuite.java | 4 import java.io.StringWriter; 106 StringWriter stringWriter= new StringWriter(); 107 PrintWriter writer= new PrintWriter(stringWriter); 109 return stringWriter.toString();
|
/external/junit/src/org/junit/runner/notification/ |
Failure.java | 5 import java.io.StringWriter; 65 StringWriter stringWriter= new StringWriter(); 66 PrintWriter writer= new PrintWriter(stringWriter); 68 StringBuffer buffer= stringWriter.getBuffer();
|
/external/guava/guava/src/com/google/common/base/ |
Throwables.java | 24 import java.io.StringWriter; 212 StringWriter stringWriter = new StringWriter(); 213 throwable.printStackTrace(new PrintWriter(stringWriter)); 214 return stringWriter.toString();
|
/libcore/luni/src/test/java/libcore/xml/ |
DomSerializationTest.java | 19 import java.io.StringWriter; 62 StringWriter stringWriter = new StringWriter(); 63 transformer.transform(new DOMSource(document), new StreamResult(stringWriter)); 64 return stringWriter.toString();
|
KxmlSerializerTest.java | 21 import java.io.StringWriter; 33 StringWriter stringWriter = new StringWriter(); 35 serializer.setOutput(stringWriter); 45 stringWriter.toString()); 49 StringWriter stringWriter = new StringWriter(); 51 serializer.setOutput(stringWriter); [all...] |
/external/junit/src/junit/runner/ |
BaseTestRunner.java | 11 import java.io.StringWriter; 272 StringWriter stringWriter= new StringWriter(); 273 PrintWriter writer= new PrintWriter(stringWriter); 275 StringBuffer buffer= stringWriter.getBuffer(); 294 StringWriter sw= new StringWriter();
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/bytecode/ |
ShadowWranglerTest.java | 17 import java.io.StringWriter; 138 StringWriter stringWriter = new StringWriter(); 139 e.printStackTrace(new PrintWriter(stringWriter)); 140 String stackTrace = stringWriter.getBuffer().toString();
|
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/ |
AccessibilityNodeInfoDumper.java | 30 import java.io.StringWriter; 84 StringWriter stringWriter = new StringWriter(); 85 serializer.setOutput(stringWriter); 92 writer.write(stringWriter.toString());
|
/libnativehelper/ |
JNIHelp.cpp | 154 scoped_local_ref<jclass> stringWriterClass(env, findClass(env, "java/io/StringWriter")); 171 scoped_local_ref<jobject> stringWriter(env, 173 if (stringWriter.get() == NULL) { 178 (*env)->NewObject(e, printWriterClass.get(), printWriterCtor, stringWriter.get()); 193 (jstring) (*env)->CallObjectMethod(e, stringWriter.get(), stringWriterToStringMethod));
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/adaptivestreaming/ |
FlatManifestWriterImpl.java | 44 import java.io.StringWriter; 177 StringWriter stringWriter = new StringWriter(); 178 Result result = new StreamResult(stringWriter); 190 return stringWriter.getBuffer().toString();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
TestNode.java | 46 import java.io.StringWriter; 278 StringWriter stringWriter = new StringWriter(); 283 new org.apache.xml.serialize.XMLSerializer(stringWriter, outputFormat); 287 return stringWriter.toString();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
PaletteControl.java | 104 import java.io.StringWriter; [all...] |
/libcore/support/src/test/java/tests/resources/ |
junit4-4.3.1.jar | |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/ |
GridModel.java | 63 import java.io.StringWriter; [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
RelativeLayoutConversionHelper.java | 81 import java.io.StringWriter; [all...] |
/cts/tools/vm-tests-tf/lib/ |
junit.jar | |
/external/dexmaker/lib/ |
junit.jar | |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.junit_3.8.2.v3_8_2_v20100427-1100/ |
junit.jar | |
/prebuilts/devtools/adt/lib/ |
junit-3.8.1.jar | |
/prebuilts/tools/common/m2/internal/junit/junit/3.8.1/ |
junit-3.8.1.jar | |
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
SIPDialog.java | 66 import java.io.StringWriter; 557 StringWriter stringWriter = new StringWriter(); 558 PrintWriter writer = new PrintWriter(stringWriter); 560 this.stackTrace = stringWriter.getBuffer().toString(); [all...] |
/external/robolectric/lib/main/ |
commons-logging-1.1.1.jar | |