/external/libbrillo/brillo/http/ |
http_transport_fake.h | 25 class Connection; 69 // can be used to specify the error to be returned when creating a connection. 86 std::shared_ptr<http::Connection> CreateConnection( 97 RequestID StartAsyncTransfer(http::Connection* connection, 245 // of fake::Connection. 246 friend class Connection; 247 // Helper for fake::Connection::GetResponseStatusCode(). 249 // Helper for fake::Connection::GetResponseStatusText(). 251 // Helper for fake::Connection::GetProtocolVersion() [all...] |
http_transport_curl.cc | 31 // This is a class that stores connection data on particular CURL socket 79 // The socket file descriptor for the connection. 88 // connection. 93 // We store a connection here to make sure the object is alive for 95 std::shared_ptr<Connection> connection; member in struct:brillo::http::curl::Transport::AsyncRequestData 116 std::shared_ptr<http::Connection> Transport::CreateConnection( 123 std::shared_ptr<http::Connection> connection; local 129 return connection; 423 Connection* connection = nullptr; local [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
SipPhone.java | 38 import com.android.internal.telephony.Connection; 97 public Connection takeIncomingCall(Object incomingCall) { 128 SipConnection connection = mRingingCall.initIncomingCall(sipAudioCall, local 134 connection = null; 136 return connection; 186 public Connection dial(String dialString, int videoState) throws CallStateException { 192 private Connection dialInternal(String dialString, int videoState) 210 Connection c = mForegroundCall.dial(dialString); 420 slog("illegal connection state: " + sessionState); 475 for (Connection c : mConnections) [all...] |
/system/connectivity/shill/ |
connection_tester.cc | 30 #include "shill/connection.h" 43 static string ObjectID(Connection* c) { return c->interface_name(); } 49 ConnectionRefPtr connection, 52 : connection_(connection),
|
mock_connection.h | 26 #include "shill/connection.h" 30 class MockConnection : public Connection {
|
connection_unittest.cc | 17 #include "shill/connection.h" 84 connection_(new Connection( 126 void ReplaceSingletons(ConnectionRefPtr connection) { 128 connection->resolver_ = &resolver_; 130 connection->dns_server_proxy_factory_ = &dns_server_proxy_factory_; 132 connection->routing_table_ = &routing_table_; 133 connection->rtnl_handler_ = &rtnl_handler_; 144 bool PinHostRoute(ConnectionRefPtr connection, 147 return connection->PinHostRoute(trusted_ip, gateway); 150 const IPAddress& GetLocalAddress(ConnectionRefPtr connection) { 364 ConnectionRefPtr connection = GetNewConnection(); local 708 ConnectionRefPtr connection = GetNewConnection(); local 755 ConnectionRefPtr connection = GetNewConnection(); local 793 ConnectionRefPtr connection = GetNewConnection(); local 834 ConnectionRefPtr connection = GetNewConnection(); local 1014 ConnectionRefPtr connection = GetNewConnection(); local 1061 ConnectionRefPtr connection = GetNewConnection(); local 1078 ConnectionRefPtr connection = GetNewConnection(); local [all...] |
/external/webrtc/webrtc/p2p/base/ |
tcpport.cc | 13 * passive side just waits for an incoming connection. 19 * the connection. 22 * outstanding TCP connection in progress. 24 * - PretendWri: Tracked by |pretending_to_be_writable_|. Marking connection as 25 * WRITE_TIMEOUT will cause the connection be deleted. Instead, we're 35 * | Timeout |Connection is |<----------------+ 126 Connection* TCPPort::CreateConnection(const Candidate& address, 202 // For Connection, this is the code path used by Ping() to establish 223 // Error from this code path for a Connection (instead of from a bare 263 LOG_J(LS_VERBOSE, this) << "Accepted connection from [all...] |
/external/jetty/src/java/org/eclipse/jetty/server/session/ |
JDBCSessionIdManager.java | 24 import java.sql.Connection; 209 public PreparedStatement getLoadStatement (Connection connection, String rowId, String contextPath, String virtualHosts) 216 PreparedStatement statement = connection.prepareStatement("select * from "+_sessionTable+ 227 PreparedStatement statement = connection.prepareStatement("select * from "+_sessionTable+ 252 * Configure jdbc connection information via a jdbc Driver 264 * Configure jdbc connection information via a jdbc Driver 551 * Get a connection from the driver or datasource. 553 * @return the connection for the datasource 556 protected Connection getConnection ( 585 Connection connection = null; local 689 Connection connection = null; local 735 Connection connection = null; local 769 Connection connection = null; local 806 Connection connection = null; local 904 Connection connection = null; local [all...] |
JDBCSessionManager.java | 28 import java.sql.Connection; 815 Connection connection=null; 819 connection = getConnection(); 820 statement = _jdbcSessionIdMgr._dbAdaptor.getLoadStatement(connection, id, canonicalContextPath, vhost); 856 if (connection!=null) 858 try { connection.close();} 894 Connection connection = getConnection(); 901 connection.setAutoCommit(true) 1008 Connection connection = getConnection(); local 1043 Connection connection = getConnection(); local 1088 Connection connection = getConnection(); local [all...] |
/external/libmicrohttpd/src/testspdy/ |
test_notls.c | 86 struct Connection { 88 /* WANT_READ if SSL connection needs more input; or WANT_WRITE if it 93 SSL connection. */ 207 struct Connection *connection; local 209 connection = (struct Connection*)user_data; 210 connection->want_io = IO_NONE; 212 rv = write(connection->fd, 224 connection->want_io = WANT_WRITE 248 struct Connection *connection; local 610 struct Connection connection; local [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/multiprocessing/ |
connection.py | 4 # multiprocessing/connection.py 141 Accept a connection on the bound socket or named pipe of `self`. 143 Returns a `Connection` object. 163 Returns a connection to the address of a `Listener` 185 Returns pair of connection objects at either end of a pipe 191 c1 = _multiprocessing.Connection(os.dup(s1.fileno())) 192 c2 = _multiprocessing.Connection(os.dup(s2.fileno())) 197 c1 = _multiprocessing.Connection(fd1, writable=False) 198 c2 = _multiprocessing.Connection(fd2, readable=False) 207 Returns pair of connection objects at either end of a pip [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/multiprocessing/ |
connection.py | 4 # multiprocessing/connection.py 141 Accept a connection on the bound socket or named pipe of `self`. 143 Returns a `Connection` object. 163 Returns a connection to the address of a `Listener` 185 Returns pair of connection objects at either end of a pipe 191 c1 = _multiprocessing.Connection(os.dup(s1.fileno())) 192 c2 = _multiprocessing.Connection(os.dup(s2.fileno())) 197 c1 = _multiprocessing.Connection(fd1, writable=False) 198 c2 = _multiprocessing.Connection(fd2, readable=False) 207 Returns pair of connection objects at either end of a pip [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/multiprocessing/ |
connection.py | 4 # multiprocessing/connection.py 141 Accept a connection on the bound socket or named pipe of `self`. 143 Returns a `Connection` object. 163 Returns a connection to the address of a `Listener` 185 Returns pair of connection objects at either end of a pipe 191 c1 = _multiprocessing.Connection(os.dup(s1.fileno())) 192 c2 = _multiprocessing.Connection(os.dup(s2.fileno())) 197 c1 = _multiprocessing.Connection(fd1, writable=False) 198 c2 = _multiprocessing.Connection(fd2, readable=False) 207 Returns pair of connection objects at either end of a pip [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/multiprocessing/ |
connection.py | 4 # multiprocessing/connection.py 141 Accept a connection on the bound socket or named pipe of `self`. 143 Returns a `Connection` object. 163 Returns a connection to the address of a `Listener` 185 Returns pair of connection objects at either end of a pipe 191 c1 = _multiprocessing.Connection(os.dup(s1.fileno())) 192 c2 = _multiprocessing.Connection(os.dup(s2.fileno())) 197 c1 = _multiprocessing.Connection(fd1, writable=False) 198 c2 = _multiprocessing.Connection(fd2, readable=False) 207 Returns pair of connection objects at either end of a pip [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
HttpEngine.java | 22 import com.squareup.okhttp.Connection; 114 private Connection connection; field in class:HttpEngine 181 * @param connection the connection used for an intermediate response immediately prior to this 183 * connection and must release it when it is unneeded. 187 boolean callerWritesRequestBody, boolean forWebSocket, Connection connection, 194 this.connection = connection; 282 Internal.instance.recycle(client.getConnectionPool(), connection); local 415 Connection connection = close(); local 484 Connection connection = close(); local 575 Connection connection = this.connection; local 835 @Override public Connection connection() { method in class:HttpEngine.NetworkInterceptorChain [all...] |
/frameworks/base/services/core/jni/ |
com_android_server_tv_TvInputHal.cpp | 250 // Connection between a surface and a stream. 251 class Connection { 253 Connection() {} 290 KeyedVector<int, KeyedVector<int, Connection> > mConnections; 336 KeyedVector<int, Connection>& connections = mConnections.editValueFor(deviceId); 338 connections.add(streamId, Connection()); 340 Connection& connection = connections.editValueFor(streamId); local 341 if (connection.mSurface == surface) { 345 // Clear the surface in the connection 411 Connection& connection = connections.editValueFor(streamId); local 541 Connection& connection = connections.editValueFor(streamId); local [all...] |
/cts/tests/tests/telecom/src/android/telecom/cts/ |
MockConnection.java | 23 import android.telecom.Connection; 32 * {@link Connection} subclass that immediately performs any state changes that are a result of 35 public class MockConnection extends Connection { 187 * Creates a mock video provider for this connection.
|
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
TestHelper_Connection1.java | 24 import java.sql.Connection; 40 * java.sql.Connection interface 42 public class TestHelper_Connection1 implements Connection {
|
/external/curl/tests/ |
http_pipe.py | 253 '200 OK', ['Content-Length: 26', 'Cache-Control: max-age=60', 'Connection: close'], body) 315 status, ['Connection: close', 'Content-Type: text/plain'], error) 326 headers: (List of Strings) Headers (e.g. "Connection: close") 339 """Called on an incoming TCP connection."""
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
CursorAdapterTest.java | 9 import java.sql.Connection; 38 Connection connection = DatabaseConfig.getMemoryConnection(); local 40 Statement statement = connection.createStatement(); 51 connection.createStatement().executeUpdate(insert); 54 statement = connection.createStatement(DatabaseConfig.getResultSetType(), ResultSet.CONCUR_READ_ONLY);
|
/frameworks/opt/net/ims/src/java/com/android/ims/internal/ |
ImsVideoCallProviderWrapper.java | 25 import android.telecom.Connection; 33 * Subclass implementation of {@link Connection.VideoProvider}. This intermediates and 43 public class ImsVideoCallProviderWrapper extends Connection.VideoProvider {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
ImsExternalCallTracker.java | 23 import com.android.internal.telephony.Connection; 57 public void onPullExternalCall(ImsExternalConnection connection) { 58 Log.d(TAG, "onPullExternalCall: connection = " + connection); 59 mCallPuller.pullExternalCall(connection.getAddress(), connection.getVideoState()); 69 * create the connection for the unknown call that we can determine which 150 * Finds an external connection given a call Id. 153 * @return The {@link Connection}, or {@code null} if no match found. 155 public Connection getConnectionById(int callId) 169 ImsExternalConnection connection = new ImsExternalConnection(mPhone, local 177 mExternalConnections.put(connection.getCallId(), connection); local [all...] |
/libcore/luni/src/test/java/tests/java/sql/ |
DeleteFunctionalityTest.java | 20 import java.sql.Connection; 37 private static Connection conn = null;
|
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
Call.java | 25 import android.telecom.Connection; 510 callExtras.containsKey(Connection.EXTRA_CHILD_ADDRESS); 527 if (callExtras.containsKey(Connection.EXTRA_CHILD_ADDRESS)) { 528 String childNumber = callExtras.getString(Connection.EXTRA_CHILD_ADDRESS); 538 if (callExtras.containsKey(Connection.EXTRA_LAST_FORWARDED_NUMBER)) { 540 callExtras.getStringArrayList(Connection.EXTRA_LAST_FORWARDED_NUMBER); 558 if (callExtras.containsKey(Connection.EXTRA_CALL_SUBJECT)) { 559 String callSubject = callExtras.getString(Connection.EXTRA_CALL_SUBJECT); [all...] |
/external/apache-http/android/src/android/net/http/ |
ConnectionThread.java | 40 Connection mConnection;
|