Searched refs:getEncoder (Results 1 – 8 of 8) sorted by relevance
/libcore/luni/src/test/java/libcore/java/util/ |
D | Base64Test.java | 71 checkAlphabet(TABLE_1, "", Base64.getEncoder()); in testAlphabet_plain() 391 assertRoundTrip(Base64.getEncoder(), decoder, inputString, decodedBytes); in testDecoder_decodeArrayToArray() 508 checkEncoder_nullArgs(Base64.getEncoder()); in testEncoder_nullArgs() 512 checkEncoder_nullArgs(Base64.getEncoder().withoutPadding()); in testEncoder_nullArgs() 623 OutputStream result = Base64.getEncoder().wrap(new ByteArrayOutputStream()); in closedEncodeStream() 637 Encoder encoder = Base64.getEncoder(); in testEncoder_encodeArrayToArray() 670 Encoder encoder = Base64.getEncoder(); in testEncoder_encodeByteBuffer() 714 checkRoundTrip_empty(Base64.getEncoder(), Base64.getDecoder()); in testRoundTrip_empty() 739 checkRoundTrip_allBytes_singleLine(Base64.getEncoder(), Base64.getDecoder()); in testRoundTrip_allBytes_plain() 775 checkRoundTrip_simple(Base64.getEncoder(), Base64.getDecoder()); in testRoundTrip_simple_basic() [all …]
|
D | LibcoreIoDerivedBase64Test.java | 274 return Base64.getEncoder().encodeToString(data); in encode()
|
/libcore/ojluni/src/test/java/util/Base64/ |
D | TestBase64.java | 66 test(Base64.getEncoder(), Base64.getDecoder(), numRuns, numBytes); in main() 101 testNull(Base64.getEncoder()); in main() 110 testIOE(Base64.getEncoder()); in main() 117 final byte[] decoded = Base64.getEncoder().encode(src); in main() 144 testEncoderKeepsSilence(Base64.getEncoder()); in main() 372 Base64.Encoder enc = Base64.getEncoder(); in testDecodeIgnoredAfterPadding()
|
D | TestBase64Golden.java | 51 test0(Base64Type.BASIC, Base64.getEncoder(), Base64.getDecoder(), in main()
|
/libcore/ojluni/src/test/java/util/Properties/ |
D | PropertiesSerialization.java | 114 final String base64 = Base64.getEncoder().encodeToString(byteArray); in main()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | PrintStreamTest.java | 763 String message = "Expected " + Base64.getEncoder().encodeToString(expected) + ", got: " in assertByteArraysEqual() 764 + Base64.getEncoder().encodeToString(actual); in assertByteArraysEqual()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Base64.java | 89 public static Encoder getEncoder() { in getEncoder() method in Base64
|
/libcore/api/ |
D | current.txt | 13398 method public static java.util.Base64.Encoder getEncoder();
|