Home
last modified time | relevance | path

Searched refs:getMimeEncoder (Results 1 – 2 of 2) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/
DBase64Test.java75 checkAlphabet(TABLE_1, "\r\n", Base64.getMimeEncoder()); in testAlphabet_mime()
509 checkEncoder_nullArgs(Base64.getMimeEncoder()); in testEncoder_nullArgs()
511 checkEncoder_nullArgs(Base64.getMimeEncoder(20, new byte[] { '*' })); in testEncoder_nullArgs()
513 checkEncoder_nullArgs(Base64.getMimeEncoder().withoutPadding()); in testEncoder_nullArgs()
515 checkEncoder_nullArgs(Base64.getMimeEncoder(20, new byte[] { '*' }).withoutPadding()); in testEncoder_nullArgs()
556 Encoder encoder = Base64.getMimeEncoder(); in testEncoder_lineLength()
579 Base64.getMimeEncoder(20, invalidLineSeparator); in testGetMimeEncoder_invalidLineSeparator()
585 Base64.getMimeEncoder(0, invalidLineSeparator); in testGetMimeEncoder_invalidLineSeparator()
591 Base64.getMimeEncoder(20, null); in testGetMimeEncoder_invalidLineSeparator()
597 Base64.getMimeEncoder(0, null); in testGetMimeEncoder_invalidLineSeparator()
[all …]
/libcore/ojluni/src/main/java/java/util/
DBase64.java108 public static Encoder getMimeEncoder() { in getMimeEncoder() method in Base64
130 public static Encoder getMimeEncoder(int lineLength, byte[] lineSeparator) { in getMimeEncoder() method in Base64