Home
last modified time | relevance | path

Searched refs:getMimeEncoder (Results 1 – 6 of 6) 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/test/java/util/Base64/
DTestBase64.java68 test(Base64.getMimeEncoder(), Base64.getMimeDecoder(), numRuns, numBytes); in main()
75 test(Base64.getMimeEncoder(len, nl_1), in main()
78 test(Base64.getMimeEncoder(len, nl_2), in main()
81 test(Base64.getMimeEncoder(len, nl_3), in main()
88 test(Base64.getMimeEncoder(len, nl_1), in main()
92 test(Base64.getMimeEncoder(len, nl_2), in main()
96 test(Base64.getMimeEncoder(len, nl_3), in main()
103 testNull(Base64.getMimeEncoder()); in main()
104 testNull(Base64.getMimeEncoder(10, new byte[]{'\n'})); in main()
108 checkNull(() -> Base64.getMimeEncoder(10, null)); in main()
[all …]
DTestBase64Golden.java57 test0(Base64Type.MIME, Base64.getMimeEncoder(), Base64.getMimeDecoder(), in main()
162 Encoder encoder = Base64.getMimeEncoder(49, new byte[] { 0x7e }); in test1()
DBase64GetEncoderTest.java47 final Base64.Encoder encoder = Base64.getMimeEncoder(maxlen, "$$$".getBytes(US_ASCII)); in main()
/libcore/ojluni/src/main/java/java/util/
DBase64.java110 public static Encoder getMimeEncoder() { in getMimeEncoder() method in Base64
132 public static Encoder getMimeEncoder(int lineLength, byte[] lineSeparator) { in getMimeEncoder() method in Base64
/libcore/api/
Dcurrent.txt13400 method public static java.util.Base64.Encoder getMimeEncoder();
13401 method public static java.util.Base64.Encoder getMimeEncoder(int, byte[]);