Home
last modified time | relevance | path

Searched refs:getDecoder (Results 1 – 11 of 11) sorted by relevance

/libcore/ojluni/src/test/java/util/Base64/
DTestBase64.java66 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 …]
DTestBase64Golden.java51 test0(Base64Type.BASIC, Base64.getEncoder(), Base64.getDecoder(), in main()
/libcore/luni/src/test/java/libcore/java/util/
DBase64Test.java112 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 …]
DLibcoreIoDerivedBase64Test.java265 Decoder decoder = Base64.getDecoder(); in decode()
/libcore/ojluni/src/test/java/util/Properties/
DPropertiesSerialization.java86 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/
DSSLServerSocketTest.java397 byte[] bytes = Base64.getDecoder().decode(keys.getBytes()); in getKeyManagers()
DHandshakeCompletedEventTest.java537 byte[] bytes = Base64.getDecoder().decode(keys.getBytes()); in getKeyManagers()
DSSLSocketTest.java602 byte[] bytes = Base64.getDecoder().decode(keys.getBytes()); in getKeyManagers()
DSSLSessionTest.java609 byte[] bytes = Base64.getDecoder().decode(keys.getBytes()); in getKeyStore()
/libcore/ojluni/src/main/java/java/util/
DBase64.java154 public static Decoder getDecoder() { in getDecoder() method in Base64
/libcore/api/
Dcurrent.txt13397 method public static java.util.Base64.Decoder getDecoder();