/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | ConnectionSpecTest.java | 89 CipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA.javaName, in tls_defaultCiphers_noFallbackIndicator() 91 CipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256.javaName, in tls_defaultCiphers_noFallbackIndicator() 94 TlsVersion.TLS_1_2.javaName, in tls_defaultCiphers_noFallbackIndicator() 95 TlsVersion.TLS_1_1.javaName, in tls_defaultCiphers_noFallbackIndicator() 101 assertEquals(set(TlsVersion.TLS_1_2.javaName), set(socket.getEnabledProtocols())); in tls_defaultCiphers_noFallbackIndicator() 105 CipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA.javaName, in tls_defaultCiphers_noFallbackIndicator() 107 CipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256.javaName); in tls_defaultCiphers_noFallbackIndicator() 119 CipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA.javaName, in tls_defaultCiphers_withFallbackIndicator() 121 CipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256.javaName, in tls_defaultCiphers_withFallbackIndicator() 124 TlsVersion.TLS_1_2.javaName, in tls_defaultCiphers_withFallbackIndicator() [all …]
|
/external/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/ |
D | TlsVersion.java | 35 final String javaName; field in TlsVersion 37 private TlsVersion(String javaName) { in TlsVersion() argument 38 this.javaName = javaName; in TlsVersion() 41 public static TlsVersion forJavaName(String javaName) { in forJavaName() argument 42 if ("TLSv1.2".equals(javaName)) { in forJavaName() 44 } else if ("TLSv1.1".equals(javaName)) { in forJavaName() 46 } else if ("TLSv1".equals(javaName)) { in forJavaName() 48 } else if ("SSLv3".equals(javaName)) { in forJavaName() 51 throw new IllegalArgumentException("Unexpected TLS version: " + javaName); in forJavaName() 54 public String javaName() { in javaName() method in TlsVersion [all …]
|
D | CipherSuite.java | 359 final String javaName; field in CipherSuite 370 String javaName, int value, int rfc, int sinceJavaVersion, int sinceAndroidVersion) { in CipherSuite() argument 371 this.javaName = javaName; in CipherSuite() 374 public static CipherSuite forJavaName(String javaName) { in forJavaName() argument 375 return javaName.startsWith("SSL_") in forJavaName() 376 ? valueOf("TLS_" + javaName.substring(4)) in forJavaName() 377 : valueOf(javaName); in forJavaName()
|
D | ConnectionSpec.java | 297 strings[i] = cipherSuites[i].javaName; in cipherSuites() 325 strings[i] = tlsVersions[i].javaName; in tlsVersions()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | TlsVersion.java | 31 final String javaName; field in TlsVersion 33 TlsVersion(String javaName) { in TlsVersion() argument 34 this.javaName = javaName; in TlsVersion() 37 public static TlsVersion forJavaName(String javaName) { in forJavaName() argument 38 switch (javaName) { in forJavaName() 44 throw new IllegalArgumentException("Unexpected TLS version: " + javaName); in forJavaName() 47 public String javaName() { in javaName() method in TlsVersion 48 return javaName; in javaName()
|
D | CipherSuite.java | 355 final String javaName; field in CipherSuite 366 String javaName, int value, int rfc, int sinceJavaVersion, int sinceAndroidVersion) { in CipherSuite() argument 367 this.javaName = javaName; in CipherSuite() 370 public static CipherSuite forJavaName(String javaName) { in forJavaName() argument 371 return javaName.startsWith("SSL_") in forJavaName() 372 ? valueOf("TLS_" + javaName.substring(4)) in forJavaName() 373 : valueOf(javaName); in forJavaName()
|
D | ConnectionSpec.java | 277 strings[i] = cipherSuites[i].javaName; in cipherSuites() 304 strings[i] = tlsVersions[i].javaName; in tlsVersions()
|
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/ |
D | TlsVersion.java | 33 final String javaName; field in TlsVersion 35 TlsVersion(String javaName) { in TlsVersion() argument 36 this.javaName = javaName; in TlsVersion() 39 public static TlsVersion forJavaName(String javaName) { in forJavaName() argument 40 switch (javaName) { in forJavaName() 46 throw new IllegalArgumentException("Unexpected TLS version: " + javaName); in forJavaName() 49 public String javaName() { in javaName() method in TlsVersion 50 return javaName; in javaName()
|
D | CipherSuite.java | 357 final String javaName; field in CipherSuite 368 String javaName, int value, int rfc, int sinceJavaVersion, int sinceAndroidVersion) { in CipherSuite() argument 369 this.javaName = javaName; in CipherSuite() 372 public static CipherSuite forJavaName(String javaName) { in forJavaName() argument 373 return javaName.startsWith("SSL_") in forJavaName() 374 ? valueOf("TLS_" + javaName.substring(4)) in forJavaName() 375 : valueOf(javaName); in forJavaName()
|
D | ConnectionSpec.java | 282 strings[i] = cipherSuites[i].javaName; in cipherSuites() 309 strings[i] = tlsVersions[i].javaName; in tlsVersions()
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
D | EncodingInfo.java | 86 final String javaName; field in EncodingInfo 149 public EncodingInfo(String name, String javaName, char highChar) in EncodingInfo() argument 153 this.javaName = javaName; in EncodingInfo() 340 this(javaName, 0, Integer.MAX_VALUE, (char) 0); in EncodingImpl() 356 if (javaName != null) in EncodingImpl() 362 if ("UTF8".equals(javaName) in EncodingImpl() 363 || "UTF-16".equals(javaName) in EncodingImpl() 364 || "ASCII".equals(javaName) in EncodingImpl() 365 || "US-ASCII".equals(javaName) in EncodingImpl() 366 || "Unicode".equals(javaName) in EncodingImpl() [all …]
|
D | Encodings.java | 75 String javaName = _encodings[i].javaName; in getWriter() local 76 OutputStreamWriter osw = new OutputStreamWriter(output,javaName); in getWriter() 298 return _encodings[i].javaName; in convertMime2JavaEncoding() 342 String javaName = (String) keys.nextElement(); in loadEncodingInfo() local 343 String val = props.getProperty(javaName); in loadEncodingInfo() 351 mimeName = javaName; in loadEncodingInfo() 372 EncodingInfo ei = new EncodingInfo(mimeName, javaName, highChar); in loadEncodingInfo() 376 _encodingTableKeyJava.put(javaName.toUpperCase(), ei); in loadEncodingInfo()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/reflection/util/ |
D | ReflectionUtils.java | 50 public static String javaToDexName(String javaName) { in javaToDexName() argument 51 if (javaName.charAt(0) == '[') { in javaToDexName() 52 return javaName.replace('.', '/'); in javaToDexName() 55 if (primitiveMap.containsKey(javaName)) { in javaToDexName() 56 return primitiveMap.get(javaName); in javaToDexName() 59 return 'L' + javaName.replace('.', '/') + ';'; in javaToDexName()
|
/external/emma/core/java12/com/vladium/util/ |
D | Descriptors.java | 59 public static String javaNameToVMName (final String javaName) in javaNameToVMName() argument 61 if (javaName == null) return null; in javaNameToVMName() 63 return javaName.replace ('.', '/'); in javaNameToVMName()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | MeasureUnitTest.java | 2213 String javaName = toJAVAName(unit); in getUnitsToPerParts() local 2214 String[] nameParts = javaName.split("_PER_"); in getUnitsToPerParts() 2249 String javaName = toJAVAName(unit); in generateCXXHConstants() local 2251 if (isDraft(javaName)) { in generateCXXHConstants() 2258 if (isDraft(javaName)) { in generateCXXHConstants() 2259 System.out.println(" * @draft ICU " + getVersion(javaName, thisVersion)); in generateCXXHConstants() 2261 System.out.println(" * @stable ICU " + getVersion(javaName, thisVersion)); in generateCXXHConstants() 2265 if (isDraft(javaName)) { in generateCXXHConstants() 2294 String javaName = toJAVAName(unit); in updateJAVAVersions() local 2295 checkForDup(seen, javaName, unit); in updateJAVAVersions() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | MeasureUnitTest.java | 2210 String javaName = toJAVAName(unit); in getUnitsToPerParts() local 2211 String[] nameParts = javaName.split("_PER_"); in getUnitsToPerParts() 2246 String javaName = toJAVAName(unit); in generateCXXHConstants() local 2248 if (isDraft(javaName)) { in generateCXXHConstants() 2255 if (isDraft(javaName)) { in generateCXXHConstants() 2256 System.out.println(" * @draft ICU " + getVersion(javaName, thisVersion)); in generateCXXHConstants() 2258 System.out.println(" * @stable ICU " + getVersion(javaName, thisVersion)); in generateCXXHConstants() 2262 if (isDraft(javaName)) { in generateCXXHConstants() 2291 String javaName = toJAVAName(unit); in updateJAVAVersions() local 2292 checkForDup(seen, javaName, unit); in updateJAVAVersions() [all …]
|
/external/emma/core/java12/com/vladium/jcd/lib/ |
D | Types.java | 99 public static String javaNameToVMName (final String javaName) in javaNameToVMName() argument 101 if (javaName == null) return null; in javaNameToVMName() 102 return javaName.replace ('.', '/'); in javaNameToVMName()
|
/external/grpc-grpc-java/okhttp/src/test/java/io/grpc/okhttp/ |
D | UtilsTest.java | 67 assertEquals(TlsVersion.forJavaName(squareTlsVersions.get(i).javaName()), tlsVersions.get(i)); in convertSpecKeepsAllData()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/ |
D | ConnectionSpecSelectorTest.java | 137 protocols[i] = tlsVersions[i].javaName(); in javaNames()
|
/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/ |
D | Utils.java | 73 tlsVersions[i] = tlsVersionList.get(i).javaName(); in convertSpec()
|