Home
last modified time | relevance | path

Searched refs:isLegalReplacement (Results 1 – 5 of 5) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
DCharsetEncoderTest.java932 encoder.isLegalReplacement(null); in test_isLegalReplacement_null()
939 assertTrue(encoder.isLegalReplacement(specifiedReplacement)); in test_isLegalReplacement_good()
943 assertTrue(encoder.isLegalReplacement(new byte[200])); in test_isLegalReplacement_bad()
946 assertFalse(encoder.isLegalReplacement(ba)); in test_isLegalReplacement_bad()
953 assertTrue(encoder.isLegalReplacement(new byte[0])); in test_isLegalReplacement_empty_array()
1030 public boolean isLegalReplacement(byte[] ba) { in isLegalReplacement() method in CharsetEncoderTest.MockCharsetEncoder
1034 return super.isLegalReplacement(ba); in isLegalReplacement()
DCharsetEncoder2Test.java100 public boolean isLegalReplacement(byte[] arg0) { in isLegalReplacement() method in CharsetEncoder2Test.MockCharsetEncoderForHarmony491
/libcore/ojluni/src/main/java/java/nio/charset/
DCharsetEncoder.java319 if (!isLegalReplacement(newReplacement)) in replaceWith()
359 public boolean isLegalReplacement(byte[] repl) { in isLegalReplacement() method in CharsetEncoder
/libcore/ojluni/annotations/mmodule/java/nio/charset/
DCharsetEncoder.annotated.java55 public boolean isLegalReplacement(byte[] repl) { throw new RuntimeException("Stub!"); } in isLegalReplacement() method in CharsetEncoder
/libcore/ojluni/annotations/hiddenapi/java/nio/charset/
DCharsetEncoder.java74 public boolean isLegalReplacement(byte[] repl) { in isLegalReplacement() method in CharsetEncoder