Home
last modified time | relevance | path

Searched refs:getEncoding (Results 1 – 25 of 26) sorted by relevance

12

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/
DInputSourceTest.java35 assertNull(i.getEncoding()); in testInputSource()
45 assertNull(i.getEncoding()); in testInputSourceString()
58 assertNull(i.getEncoding()); in testInputSourceInputStream()
67 assertNull(i.getEncoding()); in testInputSourceInputStream()
80 assertNull(i.getEncoding()); in testInputSourceReader()
89 assertNull(i.getEncoding()); in testInputSourceReader()
136 assertEquals("Klingon", i.getEncoding()); in testSetEncodingGetEncoding()
141 assertNull(i.getEncoding()); in testSetEncodingGetEncoding()
154 assertNull(i.getEncoding()); in testSetCharacterStreamGetCharacterStream()
163 assertNull(i.getEncoding()); in testSetCharacterStreamGetCharacterStream()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/ext/
DLocator2ImplTest.java47 assertEquals(null, l.getEncoding()); in testLocatorImpl()
70 assertEquals(ENC, outer.getEncoding()); in testLocatorImplLocator()
81 assertEquals(null, outer.getEncoding()); in testLocatorImplLocator()
107 assertEquals(ENC, l.getEncoding()); in testSetEncodingGetEncoding()
110 assertEquals(null, l.getEncoding()); in testSetEncodingGetEncoding()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DInputStreamReaderTest.java184 assertEquals(cs, Charset.forName(reader.getEncoding())); in test_close()
241 assertEquals(Charset.forName(reader2.getEncoding()), Charset in test_ConstructorLjava_io_InputStreamLjava_lang_String()
245 assertEquals(Charset.forName(reader2.getEncoding()), Charset in test_ConstructorLjava_io_InputStreamLjava_lang_String()
270 assertEquals(Charset.forName(reader2.getEncoding()), cs); in test_ConstructorLjava_io_InputStreamLjava_nio_charset_Charset()
294 assertEquals(Charset.forName(reader2.getEncoding()), decoder.charset()); in test_ConstructorLjava_io_InputStreamLjava_nio_charset_CharsetDecoder()
304 assertEquals("ISO-8859-1", isr.getEncoding()); in test_getEncoding()
307 assertEquals("ISO-8859-1", isr.getEncoding()); in test_getEncoding()
312 assertNull(isr.getEncoding()); in test_getEncoding()
319 assertEquals("UTF-16BE", isr.getEncoding()); in test_getEncoding()
DOutputStreamWriterTest.java343 .getEncoding())); in testOutputStreamWriterOutputStreamString()
365 assertEquals(cs, Charset.forName(writer2.getEncoding())); in testOutputStreamWriterOutputStreamCharset()
389 assertEquals(cs, Charset.forName(writer2.getEncoding())); in testOutputStreamWriterOutputStreamCharsetEncoder()
395 assertEquals(cs, Charset.forName(writer.getEncoding())); in testGetEncoding()
640 .getEncoding()); in test_getEncoding()
647 String result = out.getEncoding(); in test_getEncoding()
657 result = out.getEncoding(); in test_getEncoding()
/libcore/luni/src/main/java/org/xml/sax/ext/
DLocator2Impl.java59 encoding = l2.getEncoding (); in Locator2Impl()
84 public String getEncoding () in getEncoding() method in Locator2Impl
DLocator2.java74 public String getEncoding (); in getEncoding() method
/libcore/ojluni/src/main/java/java/io/
DInputStreamReader.java155 public String getEncoding() { in getEncoding() method in InputStreamReader
156 return sd.getEncoding(); in getEncoding()
DOutputStreamWriter.java175 public String getEncoding() { in getEncoding() method in OutputStreamWriter
176 return se.getEncoding(); in getEncoding()
/libcore/luni/src/test/java/libcore/java/io/
DOldAndroidInputStreamReaderTest.java41 assertEquals("ISO-8859-1", a.getEncoding()); in testAscii()
61 assertEquals("UTF-8", a.getEncoding()); in testUtf8()
DOldOutputStreamWriterTest.java75 Charset.forName(writer.getEncoding())); in test_ConstructorLjava_io_OutputStream()
119 Charset.forName(osw.getEncoding())); in test_ConstructorLjava_io_OutputStreamLjava_lang_String()
144 cs, Charset.forName(writer.getEncoding())); in test_ConstructorLjava_io_OutputStreamLjava_nio_charset_Charset()
171 cs, Charset.forName(writer.getEncoding())); in test_ConstructorLjava_io_OutputStreamLjava_nio_charset_CharsetEncoder()
331 Charset.forName(writer.getEncoding())); in test_getEncoding()
335 writer.getEncoding()); in test_getEncoding()
DOldAndroidOutputStreamWriterTest.java38 assertEquals("ISO-8859-1", a.getEncoding()); in testOutputStreamWriter()
/libcore/luni/src/main/java/org/w3c/dom/ls/
DLSOutput.java95 public String getEncoding(); in getEncoding() method
DLSInput.java192 public String getEncoding(); in getEncoding() method
/libcore/luni/src/test/java/libcore/java/util/logging/
DOldFileHandlerTest.java98 "iso-8859-1", handler.getEncoding()); in testFileHandler()
121 "iso-8859-1", handler.getEncoding()); in testFileHandler_1params()
207 "iso-8859-1", handler.getEncoding()); in testFileHandler_2params()
245 "iso-8859-1", handler.getEncoding()); in testFileHandler_3params()
293 "iso-8859-1", handler.getEncoding()); in testFileHandler_4params()
DOldMemoryHandlerTest.java78 assertNull("character encoding should be null", handler.getEncoding()); in testMemoryHandler()
/libcore/luni/src/main/java/org/xml/sax/
DInputSource.java289 public String getEncoding () in getEncoding() method in InputSource
/libcore/ojluni/src/main/java/java/util/logging/
DHandler.java170 public String getEncoding() { in getEncoding() method in Handler
DStreamHandler.java144 String encoding = getEncoding(); in setOutputStream()
DXMLFormatter.java237 encoding = h.getEncoding(); in getHead()
/libcore/ojluni/annotations/hiddenapi/java/util/logging/
DHandler.java57 public java.lang.String getEncoding() { in getEncoding() method in Handler
/libcore/luni/src/main/java/org/apache/harmony/xml/
DExpatReader.java284 String encoding = input.getEncoding(); in parse()
/libcore/ojluni/src/main/java/sun/nio/cs/
DStreamDecoder.java108 public String getEncoding() { in getEncoding() method in StreamDecoder
DStreamEncoder.java95 public String getEncoding() { in getEncoding() method in StreamEncoder
/libcore/luni/src/main/java/org/apache/harmony/xml/parsers/
DDocumentBuilderImpl.java99 String inputEncoding = source.getEncoding(); in parse()
/libcore/xml/src/main/java/org/xmlpull/v1/sax2/
DDriver.java280 final String encoding = source.getEncoding(); in parse()

12