/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | HttpsURLConnectionTest.java | 73 HttpsURLConnection con = new MyHttpsURLConnection(new URL("https://www.fortify.net/")); in test_getCipherSuite() local 74 assertEquals("CipherSuite", con.getCipherSuite()); in test_getCipherSuite() 89 … HttpsURLConnection con = new MyHttpsURLConnection(new URL("https://www.fortify.net/"), "X.508"); in test_getLocalCertificates() local 90 assertNull(con.getLocalCertificates()); in test_getLocalCertificates() 91 con = new MyHttpsURLConnection(new URL("https://www.fortify.net/"), "X.509"); in test_getLocalCertificates() 92 Certificate[] cert = con.getLocalCertificates(); in test_getLocalCertificates() 111 HttpsURLConnection con = new MyHttpsURLConnection( in test_getHostnameVerifier() local 113 HostnameVerifier verifyer = con.getHostnameVerifier(); in test_getHostnameVerifier() 131 … HttpsURLConnection con = new MyHttpsURLConnection(new URL("https://www.fortify.net/"), "X.508"); in test_getLocalPrincipal() local 132 assertNull(con.getLocalPrincipal()); in test_getLocalPrincipal() [all …]
|
/libcore/ojluni/src/main/java/javax/sql/ |
D | ConnectionEvent.java | 55 public ConnectionEvent(PooledConnection con) { in ConnectionEvent() argument 56 super(con); in ConnectionEvent() 68 public ConnectionEvent(PooledConnection con, SQLException ex) { in ConnectionEvent() argument 69 super(con); in ConnectionEvent()
|
D | StatementEvent.java | 61 public StatementEvent(PooledConnection con, in StatementEvent() argument 64 super(con); in StatementEvent() 84 public StatementEvent(PooledConnection con, in StatementEvent() argument 88 super(con); in StatementEvent()
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | OCSP.java | 223 HttpURLConnection con = (HttpURLConnection)url.openConnection(); in check() local 224 con.setConnectTimeout(CONNECT_TIMEOUT); in check() 225 con.setReadTimeout(CONNECT_TIMEOUT); in check() 226 con.setDoOutput(true); in check() 227 con.setDoInput(true); in check() 228 con.setRequestMethod("POST"); in check() 229 con.setRequestProperty in check() 231 con.setRequestProperty in check() 233 out = con.getOutputStream(); in check() 238 con.getResponseCode() != HttpURLConnection.HTTP_OK) { in check() [all …]
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldURLTest.java | 608 URLConnection con = arg0.openConnection(); in openConnection() local 609 con.setDoInput(true); in openConnection() 610 con.connect(); in openConnection() 611 return con; in openConnection() 639 URLConnection con = arg0.openConnection(); in openConnection() local 640 con.setDoInput(true); in openConnection() 641 con.connect(); in openConnection() 642 return con; in openConnection()
|
/libcore/ojluni/src/main/java/java/sql/ |
D | DriverManager.java | 580 Connection con = aDriver.driver.connect(url, info); in getConnection() local 581 if (con != null) { in getConnection() 584 return (con); in getConnection()
|
/libcore/ojluni/src/main/java/java/security/ |
D | Provider.java | 1634 Constructor<?> con = clazz.getConstructor(empty); in newInstance() local 1635 return con.newInstance(); in newInstance() 1705 Constructor<?> con = clazz.getConstructor(empty); in newInstanceGeneric() local 1706 return con.newInstance(); in newInstanceGeneric() 1716 for (Constructor<?> con : cons) { in newInstanceGeneric() 1717 Class<?>[] paramTypes = con.getParameterTypes(); in newInstanceGeneric() 1724 return con.newInstance(constructorParameter); in newInstanceGeneric()
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKOffsetTime.java | 470 …Constructor<OffsetTime> con = OffsetTime.class.getDeclaredConstructor(LocalTime.class, ZoneOffset.… 471 con.setAccessible(true); 473 con.newInstance(null, OFFSET_PONE); 481 …Constructor<OffsetTime> con = OffsetTime.class.getDeclaredConstructor(LocalTime.class, ZoneOffset.… 482 con.setAccessible(true); 484 con.newInstance(LocalTime.of(11, 30, 0, 0), null);
|
D | TCKOffsetDateTime.java | 478 …Constructor<OffsetDateTime> con = OffsetDateTime.class.getDeclaredConstructor(LocalDateTime.class,… 479 con.setAccessible(true); 481 con.newInstance(null, OFFSET_PONE); 489 …Constructor<OffsetDateTime> con = OffsetDateTime.class.getDeclaredConstructor(LocalDateTime.class,… 490 con.setAccessible(true); 492 … con.newInstance(LocalDateTime.of(LocalDate.of(2008, 6, 30), LocalTime.of(11, 30)), null);
|
/libcore/luni/src/test/java/tests/java/sql/ |
D | DatabaseMetaDataTest.java | 430 Connection con = meta.getConnection(); in test_getConnection() local 431 assertTrue(con.isClosed()); in test_getConnection()
|