Searched refs:isLegalReplacement (Results 1 – 4 of 4) sorted by relevance
932 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.MockCharsetEncoder1034 return super.isLegalReplacement(ba); in isLegalReplacement()
100 public boolean isLegalReplacement(byte[] arg0) { in isLegalReplacement() method in CharsetEncoder2Test.MockCharsetEncoderForHarmony491
55 public boolean isLegalReplacement(byte[] repl) { throw new RuntimeException("Stub!"); } in isLegalReplacement() method in CharsetEncoder
74 public boolean isLegalReplacement(byte[] repl) { in isLegalReplacement() method in CharsetEncoder