Home
last modified time | relevance | path

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

123

/external/jetty/src/java/org/eclipse/jetty/websocket/
DFragmentExtension.java49 if (getConnection().isControl(opcode)) in addFrame()
60 … super.addFrame((byte)(flags&~getConnection().finMask()),opcode,content,offset,_maxLength); in addFrame()
63 opcode=getConnection().continuationOpcode(); in addFrame()
73 opcode=getConnection().continuationOpcode(); in addFrame()
76 super.addFrame((byte)(flags|getConnection().finMask()),opcode,content,offset,length); in addFrame()
DWebSocketClient.java417 connection.getConnection().setMaxTextMessageSize(_client.getMaxTextMessageSize()); in onConnection()
418 … connection.getConnection().setMaxBinaryMessageSize(_client.getMaxBinaryMessageSize()); in onConnection()
431 … ((WebSocket.OnFrame)_websocket).onHandshake((WebSocket.FrameConnection)con.getConnection()); in onConnection()
433 _websocket.onOpen(con.getConnection()); in onConnection()
584 connection=_connection.getConnection(); in get()
DDeflateFrameExtension.java71 if (getConnection().isControl(opcode) || !isFlag(flags,1)) in onFrame()
108 getConnection().close(WebSocketConnectionRFC6455.CLOSE_BAD_PAYLOAD,e.toString()); in onFrame()
118 if (getConnection().isControl(opcode) || length<_minLength) in addFrame()
DWebSocketConnection.java33 WebSocket.Connection getConnection(); in getConnection() method
/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/caliper/caliper/src/test/java/com/google/caliper/runner/
DServerSocketServiceTest.java59 ListenableFuture<OpenedSocket> pendingServerConnection = service.getConnection(id); in getConnectionId_requestComesInFirst()
70 ListenableFuture<OpenedSocket> pendingServerConnection = service.getConnection(id); in getConnectionIdTwice_acceptComesFirst()
76 service.getConnection(id).get(); in getConnectionIdTwice_acceptComesFirst()
83 ListenableFuture<OpenedSocket> pendingServerConnection = service.getConnection(id); in getConnectionStoppedService()
96 service.getConnection(UUID.randomUUID()); in getConnectionStoppedService()
/external/jetty/src/java/org/eclipse/jetty/server/
DLocalConnector.java44 public Object getConnection() in getConnection() method in LocalConnector
118 if (getConnection()!=null && connection!=getConnection()) in run()
119 connectionUpgraded(getConnection(),connection); in run()
136 final Connection con = endPoint.getConnection(); in run()
/external/apache-http/src/org/apache/http/impl/conn/tsccm/
DConnPoolByRoute.java388 closeConnection(entry.getConnection());
400 idleConnHandler.add(entry.getConnection(), validDuration, timeUnit);
441 boolean valid = idleConnHandler.remove(entry.getConnection());
448 closeConnection(entry.getConnection());
535 closeConnection(entry.getConnection());
544 idleConnHandler.remove(entry.getConnection());// not idle, but dead
656 if (!entry.getConnection().isOpen()) {
683 closeConnection(entry.getConnection());
DThreadSafeClientConnManager.java169 public ManagedClientConnection getConnection( in requestConnection() method in ThreadSafeClientConnManager
186 final Socket socket = entry.getConnection().getSocket(); in requestConnection()
221 final Socket socket = entry.getConnection().getSocket();
DBasicPoolEntry.java78 protected final OperatedClientConnection getConnection() { in getConnection() method in BasicPoolEntry
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
DBluetoothRfcommFacade.java74 private BluetoothConnection getConnection(String connID) throws IOException { in getConnection() method in BluetoothRfcommFacade
157 BluetoothConnection conn = getConnection(connID); in bluetoothRfcommGetConnectedDeviceName()
188 BluetoothConnection conn = getConnection(connID); in bluetoothRfcommWrite()
203 BluetoothConnection conn = getConnection(connID); in bluetoothRfcommRead()
221 BluetoothConnection conn = getConnection(connID); in bluetoothRfcommWriteBinary()
238 BluetoothConnection conn = getConnection(connID); in bluetoothRfcommReadBinary()
252 BluetoothConnection conn = getConnection(connID); in bluetoothRfcommReadReady()
266 BluetoothConnection conn = getConnection(connID); in bluetoothRfcommReadLine()
282 conn = getConnection(connID); in bluetoothRfcommStop()
/external/jetty/src/java/org/eclipse/jetty/server/nio/
DSelectChannelConnector.java158 public synchronized Object getConnection() in getConnection() method in SelectChannelConnector
279 connectionClosed(endpoint.getConnection()); in endPointClosed()
313 connectionOpened(endpoint.getConnection()); in endPointOpened()
319 connectionUpgraded(oldConnection,endpoint.getConnection()); in endPointUpgraded()
/external/jetty/src/java/org/eclipse/jetty/server/session/
DJDBCSessionIdManager.java556 protected Connection getConnection () in getConnection() method in JDBCSessionIdManager
560 return _datasource.getConnection(); in getConnection()
562 return DriverManager.getConnection(_connectionUrl); in getConnection()
589 connection = getConnection(); in prepareTables()
694 connection = getConnection(); in insert()
739 connection = getConnection(); in delete()
773 connection = getConnection(); in exists()
815 connection = getConnection(); in scavenge()
911 connection = getConnection(); in cleanExpiredSessions()
DJDBCSessionManager.java819 connection = getConnection(); in loadSession()
894 Connection connection = getConnection(); in storeSession()
957 Connection connection = getConnection(); in updateSession()
1008 Connection connection = getConnection(); in updateSessionNode()
1043 Connection connection = getConnection(); in updateSessionAccessTime()
1088 Connection connection = getConnection(); in deleteSession()
1119 private Connection getConnection () in getConnection() method in JDBCSessionManager
1122 return ((JDBCSessionIdManager)getSessionIdManager()).getConnection(); in getConnection()
/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/robolectric/v1/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()
/external/apache-http/android/src/android/net/http/
DRequestQueue.java166 public Connection getConnection(Context context, HttpHost host) { in getConnection() method in RequestQueue.ActivePool
168 Connection con = mIdleCache.getConnection(host); in getConnection()
171 con = Connection.getConnection(mContext, host, mProxyHost, in getConnection()
379 Connection conn = Connection.getConnection(mContext, host, mProxyHost, in queueSynchronousRequest()
536 Connection getConnection(Context context, HttpHost host); in getConnection() method
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DHttpTransport.java74 httpEngine.getConnection().getRoute().getProxy().type(), in writeRequestHeaders()
75 httpEngine.getConnection().getProtocol()); in writeRequestHeaders()
/external/apache-http/src/org/apache/http/impl/conn/
DSingleClientConnManager.java193 public ManagedClientConnection getConnection( in requestConnection()
195 return SingleClientConnManager.this.getConnection( in requestConnection()
212 public ManagedClientConnection getConnection(HttpRoute route, Object state) {
/external/jetty/src/java/org/eclipse/jetty/io/
DConnectedEndPoint.java23 Connection getConnection(); in getConnection() method
/external/apache-http/src/org/apache/http/conn/
DClientConnectionRequest.java69 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/jetty/src/java/org/eclipse/jetty/client/
DSelectConnector.java262 AsyncHttpConnection connection = (AsyncHttpConnection)_endp.getConnection(); in upgrade()
274 public Connection getConnection() in getConnection() method in SelectConnector.UpgradableEndPoint
276 return _endp.getConnection(); in getConnection()
/external/jetty/src/java/org/eclipse/jetty/servlets/
DCloseableDoSFilter.java46 base_request.getConnection().getEndPoint().close(); in closeConnection()

123