Home
last modified time | relevance | path

Searched refs:defaultCharset (Results 1 – 22 of 22) sorted by relevance

/external/apache-commons-compress/src/test/java/org/apache/commons/compress/utils/
DCharsetsTest.java34 Assert.assertEquals(Charset.defaultCharset(), Charsets.toCharset((String) null)); in testToCharset()
35 Assert.assertEquals(Charset.defaultCharset(), Charsets.toCharset((Charset) null)); in testToCharset()
36 Assert.assertEquals(Charset.defaultCharset(), Charsets.toCharset(Charset.defaultCharset())); in testToCharset()
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/java/security/cert/
DCertificateFactoryTest.java136 .getBytes(Charset.defaultCharset());
156 .getBytes(Charset.defaultCharset());
159 .getBytes(Charset.defaultCharset());
236 byte[] valid = VALID_CERTIFICATE_PEM.getBytes(Charset.defaultCharset()); in test_generateCertificate()
242 byte[] valid = VALID_CERTIFICATE_PEM_CRLF.getBytes(Charset.defaultCharset()); in test_generateCertificate()
254 byte[] invalid = INVALID_CERTIFICATE_PEM.getBytes(Charset.defaultCharset()); in test_generateCertificate()
339 "-----BEGIN CERTIFICATE-----".getBytes(Charset.defaultCharset()))); in test_generateCertificate_InputStream_InvalidStart_Failure()
353 byte[] valid = VALID_CERTIFICATE_PEM.getBytes(Charset.defaultCharset()); in test_generateCertificate_InputStream_Offset_Correct()
467 byte[] valid = VALID_CERTIFICATE_PEM.getBytes(Charset.defaultCharset()); in test_generateCertificate_PartialInput()
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/java/security/cert/
DCertificateFactoryTest.java140 .getBytes(Charset.defaultCharset());
160 .getBytes(Charset.defaultCharset());
163 .getBytes(Charset.defaultCharset());
240 byte[] valid = VALID_CERTIFICATE_PEM.getBytes(Charset.defaultCharset()); in test_generateCertificate()
246 byte[] valid = VALID_CERTIFICATE_PEM_CRLF.getBytes(Charset.defaultCharset()); in test_generateCertificate()
258 byte[] invalid = INVALID_CERTIFICATE_PEM.getBytes(Charset.defaultCharset()); in test_generateCertificate()
342 "-----BEGIN CERTIFICATE-----".getBytes(Charset.defaultCharset()))); in test_generateCertificate_InputStream_InvalidStart_Failure()
356 byte[] valid = VALID_CERTIFICATE_PEM.getBytes(Charset.defaultCharset()); in test_generateCertificate_InputStream_Offset_Correct()
470 byte[] valid = VALID_CERTIFICATE_PEM.getBytes(Charset.defaultCharset()); in test_generateCertificate_PartialInput()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/utils/
DCharsets.java73 return charset == null ? Charset.defaultCharset() : charset; in toCharset()
88 return charset == null ? Charset.defaultCharset() : Charset.forName(charset); in toCharset()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/
DZipEncodingHelper.java55 Charset cs = Charset.defaultCharset(); in getZipEncoding()
74 charsetName = Charset.defaultCharset().name(); in isUTF8()
/external/apache-http/src/org/apache/http/util/
DEntityUtils.java113 … final HttpEntity entity, final String defaultCharset) throws IOException, ParseException { in toString() argument
130 charset = defaultCharset; in toString()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/
DZipEncodingTest.java61 Assert.assertEquals(Charset.defaultCharset(), hasCharset.getCharset()); in testGetNonexistentEncodng()
69 …Assert.assertEquals(Charset.defaultCharset().name().equals("UTF-8"), ZipEncodingHelper.isUTF8(null… in testIsUTF8()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/comments/
DCommentsParser.java44 InputStream in = new ByteArrayInputStream(source.getBytes(Charset.defaultCharset())); in parse()
45 return parse(in, Charset.defaultCharset().name()); in parse()
/external/volley/src/main/java/com/android/volley/toolbox/
DHttpHeaderParser.java162 public static String parseCharset(Map<String, String> headers, String defaultCharset) { in parseCharset() argument
176 return defaultCharset; in parseCharset()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_expected_output/
Dcom_github_javaparser_ast_comments_CommentsParser.txt5 …Line 44) InputStream in = new ByteArrayInputStream(source.getBytes(Charset.defaultCharset())) ==> …
6 …Line 44) new ByteArrayInputStream(source.getBytes(Charset.defaultCharset())) ==> java.io.ByteArray…
7 …Line 45) parse(in, Charset.defaultCharset().name()) ==> com.github.javaparser.ast.comments.Comment…
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/
DNewInstanceStringDebuggee.java32 public static final Charset CHARSET = Charset.defaultCharset();
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DEnvironmentGetter.java104 List<String> lines = Files.readLines(new File(file), Charset.defaultCharset()); in propertiesFromLinuxFile()
DStreamService.java158 Charset processCharset = Charset.defaultCharset(); in doStart()
/external/opencensus-java/exporters/trace/instana/src/main/java/io/opencensus/exporter/trace/instana/
DInstanaExporterHandler.java199 outputStream.write(json.getBytes(Charset.defaultCharset())); in export()
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/validator/
DSdkStore.java88 new BufferedReader(new InputStreamReader(resIn, Charset.defaultCharset())); in loadFromSdksFile()
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/service/
DTerminalBridge.java310 manager.getStringParameter(PreferenceConstants.ENCODING, Charset.defaultCharset().name()); in updateCharset()
/external/icu/tools/srcgen/currysrc/libs/
Dorg.eclipse.core.contenttype_3.7.0.v20180426-1644.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_ ...
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/java/security/
DSignatureTest.java3074 Charset.defaultCharset());
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/java/security/
DSignatureTest.java3078 Charset.defaultCharset());
/external/grpc-grpc-java/netty/shaded/
Dgrpc-netty-shaded-1.14.0.jarMETA-INF/ META-INF/MANIFEST.MF io/ io/grpc/ io/ ...
/external/kotlinc/lib/
Dkotlin-compiler.jarMETA-INF/MANIFEST.MF org/jetbrains/kotlin/utils/JavaSdkUtil.class JavaSdkUtil ...
/external/dagger2/lib/
Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...