Home
last modified time | relevance | path

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

12

/external/deqp/framework/platform/lnx/X11/
DtcuLnxX11Xcb.cpp79 xcb_connection_t* connection = m_display.getConnection(); in XcbWindow()
120 xcb_flush (m_display.getConnection()); in ~XcbWindow()
121 xcb_free_colormap(m_display.getConnection(), m_colormap); in ~XcbWindow()
122 xcb_destroy_window(m_display.getConnection(), m_window); in ~XcbWindow()
131 xcb_map_window(m_display.getConnection(), m_window); in setVisibility()
133 xcb_unmap_window(m_display.getConnection(), m_window); in setVisibility()
136 xcb_flush (m_display.getConnection()); in setVisibility()
149 …geom = xcb_get_geometry_reply(m_display.getConnection(), xcb_get_geometry(m_display.getConnection(… in getDimensions()
159 xcb_connection_t* display = m_display.getConnection(); in setDimensions()
DtcuLnxX11Xcb.hpp43 xcb_connection_t* getConnection (void) { return m_connection; } in getConnection() function in tcu::lnx::x11::XcbDisplay
/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/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
DRouteSpecificPool.java168 OperatedClientConnection conn = entry.getConnection(); in allocEntry()
DAbstractConnPool.java301 closeConnection(entry.getConnection()); in shutdown()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
DBluetoothSocketConnFacade.java72 private BluetoothConnection getConnection(String connID) throws IOException { in getConnection() method in BluetoothSocketConnFacade
248 BluetoothConnection conn = getConnection(connID); in bluetoothSocketConnGetConnectedDeviceName()
349 BluetoothConnection conn = getConnection(connID); in bluetoothSocketConnWrite()
372 BluetoothConnection conn = getConnection(connID); in bluetoothSocketConnRead()
395 BluetoothConnection conn = getConnection(connID); in bluetoothSocketConnWriteBinary()
419 BluetoothConnection conn = getConnection(connID); in bluetoothSocketConnReadBinary()
440 BluetoothConnection conn = getConnection(connID); in bluetoothSocketConnReadReady()
461 BluetoothConnection conn = getConnection(connID); in bluetoothSocketConnReadLine()
517 BluetoothConnection conn = getConnection(connID); in bluetoothConnectionThroughputSend()
551 BluetoothConnection conn = getConnection(connID); in bluetoothConnectionThroughputRead()
[all …]
/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/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
DConnectionThread.java106 mConnection = mConnectionManager.getConnection(mContext, in run()
DIdleCache.java94 synchronized Connection getConnection(HttpHost host) { in getConnection() method in IdleCache
/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/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowSQLiteConnection.java362 SQLiteConnection getConnection(final long connectionPtr) { in getConnection() method in ShadowSQLiteConnection.Connections
376 getConnection(connectionPtr); in getStatement()
416 final SQLiteConnection connection = getConnection(connectionPtr); in prepareStatement()
432 final SQLiteConnection connection = getConnection(connectionPtr); in close()
500 getConnection(connectionPtr); // check connection in cancel()
649 final SQLiteConnection connection = getConnection(connectionPtr);
664 final SQLiteConnection connection = getConnection(connectionPtr);
/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/caliper/caliper/src/main/java/com/google/caliper/runner/
DTrialModule.java87 return serverSocketService.getConnection(trialId); in provideTrialSocket()
DServerSocketService.java132 public ListenableFuture<OpenedSocket> getConnection(UUID id) { in getConnection() method in ServerSocketService
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowSQLiteConnectionTest.java178 return CONNECTIONS.getConnection(ptr); in getSQLiteConnection()
/external/javasqlite/src/main/java/SQLite/JDBC2z/
DJDBCStatement.java172 public Connection getConnection() throws SQLException { in getConnection() method in JDBCStatement
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
DMockWebServer.java921 stream.getConnection().setSettings(settings);
959 pushedHeaders.add(new Header(stream.getConnection().getProtocol() == Protocol.SPDY_3
974 stream.getConnection().pushStream(stream.getId(), pushedHeaders, hasBody);
/external/deqp/framework/platform/lnx/
DtcuLnxVulkanPlatform.cpp123 …:XcbDisplayInterface (vk::pt::XcbConnectionPtr(((x11::XcbDisplay*)display.get())->getConnection())) in VulkanDisplayXcb()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
DFramedStream.java124 public FramedConnection getConnection() { in getConnection() method in FramedStream

12