Home
last modified time | relevance | path

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

123

/external/deqp/framework/platform/X11/
DtcuX11Xcb.cpp60 xcb_connection_t* connection = m_display.getConnection(); in XcbWindow()
101 xcb_flush (m_display.getConnection()); in ~XcbWindow()
102 xcb_free_colormap(m_display.getConnection(), m_colormap); in ~XcbWindow()
103 xcb_destroy_window(m_display.getConnection(), m_window); in ~XcbWindow()
112 xcb_map_window(m_display.getConnection(), m_window); in setVisibility()
114 xcb_unmap_window(m_display.getConnection(), m_window); in setVisibility()
117 xcb_flush (m_display.getConnection()); in setVisibility()
130 …geom = xcb_get_geometry_reply(m_display.getConnection(), xcb_get_geometry(m_display.getConnection(… in getDimensions()
140 xcb_connection_t* display = m_display.getConnection(); in setDimensions()
DtcuX11Xcb.hpp41 xcb_connection_t* getConnection (void) { return m_connection; } in getConnection() function in tcu::x11::XcbDisplay
DtcuX11VulkanPlatform.cpp110 …:wsi::XcbDisplayInterface (vk::pt::XcbConnectionPtr(((XcbDisplay*)display.get())->getConnection())) in VulkanDisplayXcb()
/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/
DBluetoothRfcommFacade.java75 private BluetoothConnection getConnection(String connID) throws IOException { in getConnection() method in BluetoothRfcommFacade
194 BluetoothConnection conn = getConnection(connID); in bluetoothRfcommGetConnectedDeviceName()
216 BluetoothConnection conn = getConnection(connID); in bluetoothRfcommWrite()
231 BluetoothConnection conn = getConnection(connID); in bluetoothRfcommRead()
249 BluetoothConnection conn = getConnection(connID); in bluetoothRfcommWriteBinary()
266 BluetoothConnection conn = getConnection(connID); in bluetoothRfcommReadBinary()
280 BluetoothConnection conn = getConnection(connID); in bluetoothRfcommReadReady()
294 BluetoothConnection conn = getConnection(connID); in bluetoothRfcommReadLine()
310 conn = getConnection(connID); in bluetoothRfcommStop()
/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()
DSQLiteDatabaseTest.java40 Statement statement = shadowOf(database).getConnection().createStatement(); in testReplace()
/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/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/robolectric/v1/src/main/java/com/xtremelabs/robolectric/util/
DDatabaseConfig.java69 return DriverManager.getConnection(dbMap.getConnectionString()); in getMemoryConnection()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowSQLiteProgram.java23 connection = Robolectric.shadowOf(db).getConnection(); in init()
/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

123