Searched refs:getDecoder (Results 1 – 11 of 11) sorted by relevance
/libcore/ojluni/src/test/java/util/Base64/ |
D | TestBase64.java | 66 test(Base64.getEncoder(), Base64.getDecoder(), numRuns, numBytes); in main() 105 testNull(Base64.getDecoder()); in main() 118 testIOE(Base64.getDecoder(), decoded); in main() 130 checkIAE(() -> Base64.getDecoder().decode(decoded)); in main() 131 checkIAE(() -> Base64.getDecoder().decode(decoded, new byte[1024])); in main() 132 checkIAE(() -> Base64.getDecoder().decode(ByteBuffer.wrap(decoded))); in main() 149 testDecoderKeepsAbstinence(Base64.getDecoder()); in main() 373 Base64.Decoder dec = Base64.getDecoder(); in testDecodeIgnoredAfterPadding() 415 Base64.getDecoder(), in testMalformedPadding() 450 checkIAE(() -> Base64.getDecoder().decode("AA==\u00D2")); in testMalformedPadding() [all …]
|
D | TestBase64Golden.java | 51 test0(Base64Type.BASIC, Base64.getEncoder(), Base64.getDecoder(), in main()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | Base64Test.java | 112 Decoder basicDecoder = Base64.getDecoder(); // uses Table 1 in testDecoder_extraChars_basic() 297 checkDecoder_nonPrintableBytes_table1(Base64.getDecoder()); in testDecoder_nonPrintableBytes_basic() 366 InputStream result = Base64.getDecoder().wrap(new ByteArrayInputStream(new byte[0])); in closedDecodeStream() 380 Decoder decoder = Base64.getDecoder(); in testDecoder_decodeArrayToArray() 417 Decoder decoder = Base64.getDecoder(); in testDecoder_decodeByteBuffer() 459 Decoder decoder = Base64.getDecoder(); in testDecoder_decodeByteBuffer_invalidData() 494 checkDecoder_nullArgs(Base64.getDecoder()); in testDecoder_nullArgs() 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 | 265 Decoder decoder = Base64.getDecoder(); in decode()
|
/libcore/ojluni/src/test/java/util/Properties/ |
D | PropertiesSerialization.java | 86 ByteArrayInputStream(Base64.getDecoder().decode(TEST_SER_BASE64)); in main() 117 new ByteArrayInputStream(Base64.getDecoder().decode(base64)); in main()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | SSLServerSocketTest.java | 397 byte[] bytes = Base64.getDecoder().decode(keys.getBytes()); in getKeyManagers()
|
D | HandshakeCompletedEventTest.java | 537 byte[] bytes = Base64.getDecoder().decode(keys.getBytes()); in getKeyManagers()
|
D | SSLSocketTest.java | 602 byte[] bytes = Base64.getDecoder().decode(keys.getBytes()); in getKeyManagers()
|
D | SSLSessionTest.java | 609 byte[] bytes = Base64.getDecoder().decode(keys.getBytes()); in getKeyStore()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Base64.java | 154 public static Decoder getDecoder() { in getDecoder() method in Base64
|
/libcore/api/ |
D | current.txt | 13397 method public static java.util.Base64.Decoder getDecoder();
|