/external/libbrillo/brillo/http/ |
http_connection_fake.h | 20 // This is a fake implementation of http::Connection for unit testing. 21 class Connection : public http::Connection { 23 Connection(const std::string& url, 26 ~Connection() override; 28 // Overrides from http::Connection. 55 DISALLOW_COPY_AND_ASSIGN(Connection);
|
mock_transport.h | 23 std::shared_ptr<Connection>(const std::string&, 31 MOCK_METHOD3(StartAsyncTransfer, RequestID(Connection*,
|
http_transport_curl.h | 21 class Connection; 43 std::shared_ptr<http::Connection> CreateConnection( 54 RequestID StartAsyncTransfer(http::Connection* connection, 89 void OnTransferComplete(http::curl::Connection* connection, 93 // on a connection. 94 void CleanAsyncConnection(http::curl::Connection* connection); 118 // A map to find a corresponding Connection* using a request ID [all...] |
/external/python/cpython2/Lib/multiprocessing/dummy/ |
connection.py | 2 # Analogue of `multiprocessing.connection` which uses queues instead of sockets 4 # multiprocessing/dummy/connection.py 49 return Connection(*self._backlog_queue.get()) 60 return Connection(_in, _out) 65 return Connection(a, b), Connection(b, a) 68 class Connection(object):
|
/prebuilts/gdb/darwin-x86/lib/python2.7/multiprocessing/dummy/ |
connection.py | 2 # Analogue of `multiprocessing.connection` which uses queues instead of sockets 4 # multiprocessing/dummy/connection.py 49 return Connection(*self._backlog_queue.get()) 60 return Connection(_in, _out) 65 return Connection(a, b), Connection(b, a) 68 class Connection(object):
|
/prebuilts/gdb/linux-x86/lib/python2.7/multiprocessing/dummy/ |
connection.py | 2 # Analogue of `multiprocessing.connection` which uses queues instead of sockets 4 # multiprocessing/dummy/connection.py 49 return Connection(*self._backlog_queue.get()) 60 return Connection(_in, _out) 65 return Connection(a, b), Connection(b, a) 68 class Connection(object):
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/multiprocessing/dummy/ |
connection.py | 2 # Analogue of `multiprocessing.connection` which uses queues instead of sockets 4 # multiprocessing/dummy/connection.py 49 return Connection(*self._backlog_queue.get()) 60 return Connection(_in, _out) 65 return Connection(a, b), Connection(b, a) 68 class Connection(object):
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/multiprocessing/dummy/ |
connection.py | 2 # Analogue of `multiprocessing.connection` which uses queues instead of sockets 4 # multiprocessing/dummy/connection.py 49 return Connection(*self._backlog_queue.get()) 60 return Connection(_in, _out) 65 return Connection(a, b), Connection(b, a) 68 class Connection(object):
|
/external/webrtc/webrtc/base/ |
httpserver.cc | 48 Connection* connection = new Connection(connection_id, this); local 49 connections_.insert(ConnectionMap::value_type(connection_id, connection)); 50 connection->BeginProcess(stream); 57 if (Connection* connection = Find(connection_id)) { 58 connection->Respond(transaction); 62 // connection still exists. 68 if (Connection* connection = Find(connection_id)) 106 Connection* connection = it->second; local [all...] |
httpserver.h | 69 // Stop processing the connection indicated by connection_id. 80 class Connection : private IHttpNotify { 82 Connection(int connection_id, HttpServer* server); 83 ~Connection() override; 103 Connection* Find(int connection_id); 106 friend class Connection; 107 typedef std::map<int,Connection*> ConnectionMap;
|
/external/webrtc/webrtc/p2p/base/ |
p2ptransportchannel.h | 11 // P2PTransportChannel wraps up the state management of the connection between 15 // Bob are used to make a connection, repeat to make many connections). 63 // P2PTransportChannel manages the candidates and connection process to keep 105 const Connection* best_connection() const { return best_connection_; } 171 Connection* FindNextPingableConnection(); 174 const std::vector<Connection*>& connections() const { return connections_; } 190 // A transport channel is weak if the current best connection is either 191 // not receiving or not writable, or if there is no best connection at all. 196 void SwitchBestConnectionTo(Connection* conn); 202 Connection* GetBestConnectionOnNetwork(rtc::Network* network) const [all...] |
/cts/tests/tests/telecom/src/android/telecom/cts/ |
WiredHeadsetTest.java | 21 import android.telecom.Connection; 44 final MockConnection connection = verifyConnectionForIncomingCall(); local 48 assertConnectionState(connection, Connection.STATE_RINGING); 52 assertConnectionState(connection, Connection.STATE_ACTIVE); 61 final MockConnection connection = verifyConnectionForIncomingCall(); local 65 assertConnectionState(connection, Connection.STATE_RINGING); 69 assertConnectionState(connection, Connection.STATE_DISCONNECTED) 78 final MockConnection connection = verifyConnectionForOutgoingCall(); local 100 final MockConnection connection = verifyConnectionForOutgoingCall(); local [all...] |
RemoteConferenceTest.java | 25 import android.telecom.Connection; 51 public static final int CONF_CAPABILITIES = Connection.CAPABILITY_SEPARATE_FROM_CONFERENCE | 52 Connection.CAPABILITY_DISCONNECT_FROM_CONFERENCE | Connection.CAPABILITY_HOLD | 53 Connection.CAPABILITY_MERGE_CONFERENCE | Connection.CAPABILITY_SWAP_CONFERENCE; 84 assertConnectionState(mConnection1, Connection.STATE_ACTIVE); 85 assertConnectionState(mConnection2, Connection.STATE_ACTIVE); 86 assertConnectionState(mRemoteConnection1, Connection.STATE_ACTIVE); 87 assertConnectionState(mRemoteConnection2, Connection.STATE_ACTIVE) [all...] |
CtsConnectionService.java | 23 import android.telecom.Connection; 43 * sConnectionService: Contains the connection service object provided by the current test in 45 * Telecom framework to the test connection service. 46 * sTelecomConnectionService: Contains the connection service object registered to the Telecom 48 * test connection service to the Telecom framework. After Telecom 54 // This is the connection service implemented by the test 56 // This is the connection service registered with Telecom 86 public Connection onCreateOutgoingConnection(PhoneAccountHandle connectionManagerPhoneAccount, 99 public Connection onCreateIncomingConnection(PhoneAccountHandle connectionManagerPhoneAccount, 112 public void onConference(Connection connection1, Connection connection2) [all...] |
MockConference.java | 21 import android.telecom.Connection; 46 // a is the primary connection, so inherit the properties from it. 55 for (Connection c : getConnections()) { 66 public void onSeparate(Connection connection) { 67 super.onSeparate(connection); 68 if (getConnections().contains(connection)) { 69 removeConnection(connection); 72 mRemoteConference.separate(((MockConnection)connection).getRemoteConnection()); 79 // Let's just change the connection display name for testing that onMerge was invoked [all...] |
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/ |
Impl_PooledConnection.java | 20 import java.sql.Connection; 33 public Connection getConnection() throws SQLException {
|
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/ |
SimulatorConnection.java | 19 import android.telecom.Connection; 24 final class SimulatorConnection extends Connection {
|
/packages/services/Telephony/src/com/android/services/telephony/ |
CdmaConferenceController.java | 22 import android.telecom.Connection; 38 * say that we are in a conference call with {@link Connection#PROPERTY_GENERIC_CONFERENCE}. 51 private final Connection.Listener mConnectionListener = new Connection.Listener() { 53 public void onStateChanged(Connection c, int state) { 58 public void onDisconnected(Connection c, DisconnectCause disconnectCause) { 63 public void onDestroyed(Connection c) { 89 /** The CDMA conference connection object. */ 92 void add(final CdmaConnection connection) { 93 if (mCdmaConnections.contains(connection)) { [all...] |
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
TestConnectionService.java | 30 import android.telecom.Connection; 66 private final Connection.Listener mConnectionListener = new Connection.Listener() { 68 public void onDestroyed(Connection c) { 77 public TestConference(Connection a, Connection b) { 80 Connection.CAPABILITY_SUPPORT_HOLD | 81 Connection.CAPABILITY_HOLD | 82 Connection.CAPABILITY_MUTE | 83 Connection.CAPABILITY_MANAGE_CONFERENCE) [all...] |
/frameworks/native/services/surfaceflinger/ |
EventThread.cpp | 97 sp<EventThread::Connection> EventThread::createEventConnection() const { 98 return new Connection(const_cast<EventThread*>(this)); 102 const sp<EventThread::Connection>& connection) { 104 mDisplayEventConnections.add(connection); 110 const wp<EventThread::Connection>& connection) { 112 mDisplayEventConnections.remove(connection); 116 const sp<EventThread::Connection>& connection) { 380 sp<Connection> connection = local [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
Interceptor.java | 31 Connection connection(); method in interface:Interceptor.Chain
|
/libcore/ojluni/src/main/java/java/sql/ |
Driver.java | 38 * find and then for any given connection request, it will ask each 53 * @see Connection 58 * Attempts to make a database connection to the given URL. 69 * arbitrary string tag/value pairs as connection arguments. 75 * connection arguments. Normally at least a "user" and 77 * @return a <code>Connection</code> object that represents a 78 * connection to the URL 81 Connection connect(String url, java.util.Properties info) 85 * Retrieves whether the driver thinks that it can open a connection
|
/libcore/ojluni/src/main/java/javax/sql/ |
RowSetInternal.java | 53 * Retrieves the <code>Connection</code> object that was passed to this 56 * @return the <code>Connection</code> object passed to the rowset 60 Connection getConnection() throws SQLException;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/ |
CtsConnectionService.java | 21 import android.telecom.Connection; 41 void onDestroyed(CtsConnection connection) { 43 mConnections.remove(connection); 106 public Connection onCreateOutgoingConnection(PhoneAccountHandle connectionManagerAccount, 113 public Connection onCreateIncomingConnection(PhoneAccountHandle connectionManagerPhoneAccount, 129 private Connection createManagedConnection(ConnectionRequest request, boolean isIncoming) { 135 CtsConnection connection = new CtsConnection(getApplicationContext(), isIncoming, local 138 connection.setConnectionProperties(Connection.PROPERTY_SELF_MANAGED); 140 connection.setConnectionCapabilities(Connection.CAPABILITY_SUPPORT_HOLD [all...] |
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
DummyConnectionService.java | 20 import android.telecom.Connection; 30 * A simple connection service that hangs up automatically for incoming and outgoing call. 38 public Connection onCreateOutgoingConnection(PhoneAccountHandle connectionManagerPhoneAccount, 40 final DummyConnection connection = new DummyConnection(); local 41 connection.setAddress(request.getAddress(), TelecomManager.PRESENTATION_ALLOWED); 42 connection.setVideoState(request.getVideoState()); 43 hangUpAsync(connection); 44 return connection; 48 public Connection onCreateIncomingConnection(PhoneAccountHandle connectionManagerPhoneAccount, 50 final DummyConnection connection = new DummyConnection() local [all...] |