Home
last modified time | relevance | path

Searched refs:getConnection (Results 1 – 25 of 34) sorted by relevance

12

/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
DDriverManagerTest.java162 theConnection = DriverManager.getConnection(validConnectionURL); in testGetConnectionString()
164 assertNotNull(DriverManager.getConnection(invalidConnectionURL1)); in testGetConnectionString()
168 theConnection = DriverManager.getConnection(element); in testGetConnectionString()
181 DriverManager.getConnection("fff", //$NON-NLS-1$ in test_getConnection_LStringLProperties()
189 DriverManager.getConnection(null, new Properties()); in test_getConnection_LStringLProperties()
220 theConnection = DriverManager.getConnection(validURL1, validProps); in testGetConnectionStringProperties()
227 theConnection = DriverManager.getConnection(invalidURLs[i], in testGetConnectionStringProperties()
235 assertNotNull(DriverManager.getConnection(validURL1, invalidProp)); in testGetConnectionStringProperties()
260 theConnection = DriverManager.getConnection(validURL1, validuser1, in testGetConnectionStringStringString()
266 theConnection = DriverManager.getConnection(theData[0], in testGetConnectionStringStringString()
[all …]
/external/apache-http/src/org/apache/http/impl/conn/tsccm/
DConnPoolByRoute.java383 closeConnection(entry.getConnection());
395 idleConnHandler.add(entry.getConnection(), validDuration, timeUnit);
436 boolean valid = idleConnHandler.remove(entry.getConnection());
443 closeConnection(entry.getConnection());
530 closeConnection(entry.getConnection());
539 idleConnHandler.remove(entry.getConnection());// not idle, but dead
651 if (!entry.getConnection().isOpen()) {
678 closeConnection(entry.getConnection());
DThreadSafeClientConnManager.java164 public ManagedClientConnection getConnection( in requestConnection() method in ThreadSafeClientConnManager
181 final Socket socket = entry.getConnection().getSocket(); in requestConnection()
216 final Socket socket = entry.getConnection().getSocket();
DBasicPoolEntry.java73 protected final OperatedClientConnection getConnection() { in getConnection() method in BasicPoolEntry
DRouteSpecificPool.java163 OperatedClientConnection conn = entry.getConnection(); in allocEntry()
DAbstractConnPool.java296 closeConnection(entry.getConnection()); in shutdown()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
DJDWPDebuggeeWrapper.java84 public TransportWrapper getConnection() { in getConnection() method in JDWPDebuggeeWrapper
85 return vmMirror.getConnection(); in getConnection()
/external/smack/src/org/jivesoftware/smackx/bytestreams/socks5/
DSocks5BytestreamRequest.java201 this.bytestreamRequest.getFrom(), this.manager.getConnection().getUser()); in accept()
252 this.manager.getConnection().sendPacket(response); in accept()
276 this.manager.getConnection().sendPacket(errorIQ); in cancelRequest()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DDatabaseTestBase.java353 statement = shadowOf(database).getConnection().createStatement(); in testExecSQL()
358 statement = shadowOf(database).getConnection().createStatement(); in testExecSQL()
374 statement = shadowOf(database).getConnection().createStatement(); in testExecSQLParams()
379 statement = shadowOf(database).getConnection().createStatement(); in testExecSQLParams()
503 Statement statement = shadowOf(database).getConnection().createStatement(); in testSuccessTransaction()
517 Statement statement = shadowOf(database).getConnection().createStatement(); in testFailureTransaction()
528 statement = shadowOf(database).getConnection().createStatement(); in testFailureTransaction()
DSQLiteStatementTest.java52 Statement statement = shadowOf(database).getConnection().createStatement(); in testExecuteInsert()
57 statement = shadowOf(database).getConnection().createStatement(); in testExecuteInsert()
DSQLiteDatabaseTest.java40 Statement statement = shadowOf(database).getConnection().createStatement(); in testReplace()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DHttpTransport.java95 httpEngine.getConnection().getRoute().getProxy().type(), in writeRequestHeaders()
96 httpEngine.getConnection().getHttpMinorVersion()); in writeRequestHeaders()
DHttpURLConnectionImpl.java375 handshake = httpEngine.getConnection() != null in execute()
376 ? httpEngine.getConnection().getHandshake() in execute()
408 Connection connection = httpEngine.getConnection(); in processResponseHeaders()
DSpdyTransport.java93 String version = RequestLine.version(httpEngine.getConnection().getHttpMinorVersion()); in writeRequestHeaders()
/external/apache-http/src/org/apache/http/impl/conn/
DSingleClientConnManager.java188 public ManagedClientConnection getConnection( in requestConnection()
190 return SingleClientConnManager.this.getConnection( in requestConnection()
207 public ManagedClientConnection getConnection(HttpRoute route, Object state) {
/external/apache-http/src/org/apache/http/conn/
DClientConnectionRequest.java64 ManagedClientConnection getConnection(long timeout, TimeUnit tunit) in getConnection() method
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/
DImpl_PooledConnection.java33 public Connection getConnection() throws SQLException { in getConnection() method in Impl_PooledConnection
/external/smack/src/org/jivesoftware/smackx/bytestreams/ibb/
DInBandBytestreamRequest.java70 Connection connection = this.manager.getConnection(); in accept()
DInBandBytestreamManager.java478 protected Connection getConnection() { in getConnection() method in InBandBytestreamManager
/external/robolectric/src/main/java/com/xtremelabs/robolectric/util/
DDatabaseConfig.java69 return DriverManager.getConnection(dbMap.getConnectionString()); in getMemoryConnection()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowSQLiteProgram.java23 connection = Robolectric.shadowOf(db).getConnection(); in init()
DShadowSQLiteCursor.java256 fillRows(sql, result.getStatement().getConnection()); in setResultSet()
/external/javasqlite/src/main/java/SQLite/JDBC2z/
DJDBCStatement.java172 public Connection getConnection() throws SQLException { in getConnection() method in JDBCStatement
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/
DSpdyStream.java124 public SpdyConnection getConnection() { in getConnection() method in SpdyStream
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
DMockWebServer.java739 pushedHeaders.add(new Header(stream.getConnection().getProtocol() == Protocol.SPDY_3 in pushPromises()
758 stream.getConnection().pushStream(stream.getId(), pushedHeaders, pushedBody.length > 0); in pushPromises()

12