/external/jetty/src/java/org/eclipse/jetty/server/ |
BlockingHttpConnection.java | 27 import org.eclipse.jetty.io.Connection; 34 /** Blocking Server HTTP Connection 56 public Connection handle() throws IOException 58 Connection connection = this; local 65 // AND the connection has not changed 66 while (_endp.isOpen() && connection==this) 104 // look for a switched connection instance? 107 Connection switched=(Connection)_request.getAttribute("org.eclipse.jetty.io.Connection") [all...] |
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
TestConnectionManager.java | 22 import android.telecom.Connection; 43 public final class TestManagedConnection extends Connection { 46 public void onStateChanged(RemoteConnection connection, int state) { 52 RemoteConnection connection, DisconnectCause disconnectCause) { 58 public void onRingbackRequested(RemoteConnection connection, boolean ringback) { 63 public void onConnectionCapabilitiesChanged(RemoteConnection connection, 69 public void onConnectionPropertiesChanged(RemoteConnection connection, 75 public void onPostDialWait(RemoteConnection connection, String remainingDigits) { 80 public void onVoipAudioChanged(RemoteConnection connection, boolean isVoip) { 85 public void onStatusHintsChanged(RemoteConnection connection, StatusHints statusHints) [all...] |
/packages/services/Telephony/src/com/android/services/telephony/ |
TelephonyConnectionService.java | 26 import android.telecom.Connection; 99 public Connection onCreateOutgoingConnection( 107 return Connection.createFailedConnection( 121 return Connection.createFailedConnection( 129 return Connection.createFailedConnection( 140 return Connection.createFailedConnection( 149 return Connection.createFailedConnection( 169 return Connection.createFailedConnection( 208 return Connection.createFailedConnection( 216 return Connection.createFailedConnection 297 final TelephonyConnection connection = local 381 Connection connection = local 435 com.android.internal.telephony.Connection connection = local 481 TelephonyConnection connection = local [all...] |
PstnIncomingCallNotifier.java | 36 import com.android.internal.telephony.Connection; 58 /** New ringing connection event code. */ 133 Connection connection = (Connection) asyncResult.result; local 134 if (connection != null) { 135 Call call = connection.getCall(); 139 sendIncomingCallIntent(connection); 149 Connection connection = call.getLatestConnection() local 165 Connection connection = (Connection) asyncResult.result; local [all...] |
ConferenceParticipantConnection.java | 23 import android.telecom.Connection; 34 public class ConferenceParticipantConnection extends Connection { 52 * The connection which owns this participant. 54 private final com.android.internal.telephony.Connection mParentConnection; 62 com.android.internal.telephony.Connection parentConnection, 91 Connection.stateToString(newState)); 124 * Sends a participant disconnect signal to the associated parent connection. The participant 125 * connection is not disconnected and cleaned up here. On successful disconnection of the 135 * Retrieves the user handle for this connection. 144 * Retrieves the endpoint for this connection [all...] |
/libcore/luni/src/test/java/tests/support/ |
DatabaseCreator.java | 19 import java.sql.Connection; 256 public static void fillParentTable(Connection conn) throws SQLException { 265 public static void fillFKStrictTable(Connection conn) throws SQLException { 275 public static void fillFKCascadeTable(Connection conn) throws SQLException { 285 public static void fillSimpleTable1(Connection conn) throws SQLException { 292 public static void fillSimpleTable3(Connection conn) throws SQLException { 299 public static void fillSalesPeopleTable(Connection conn) 311 public static void fillCustomersTable(Connection conn) throws SQLException { 323 public static void fillOrdersTable(Connection conn) throws SQLException { 338 public static void fillTestTable1(Connection conn, int numberOfRecords [all...] |
/external/webrtc/webrtc/p2p/base/ |
port.cc | 32 const std::vector<cricket::Connection::SentPing>& pings_since_last_response, 49 const std::vector<cricket::Connection::SentPing>& pings_since_last_response, 65 // use a large value just in case the connection is really slow. 205 std::vector<Connection*> list; 217 Connection* Port::GetConnection(const rtc::SocketAddress& remote_addr) { 264 void Port::AddConnection(Connection* conn) { 302 // pruned a connection for this port while it had STUN requests in flight, 579 // connection. 580 Connection* conn = GetConnection(addr); 642 void Port::OnConnectionDestroyed(Connection* conn) [all...] |
portinterface.h | 26 class Connection; 65 // Returns the connection to the given address or NULL if none exists. 66 virtual Connection* GetConnection( 69 // Creates a new connection to the given address. 71 virtual Connection* CreateConnection( 82 // that of a connection or an address that has sent to us already. 88 // address that doesn't correspond to any current connection. To turn this 89 // into a real connection, call CreateConnection. 110 // Normally, packets arrive through a connection (or they result signaling of 112 // through their respective connection and instead delivers every packe [all...] |
port.h | 35 class Connection; 53 // The minimum time we will wait before destroying a connection after creating 57 // A connection will be declared dead if it has not received anything for this 61 // The timeout duration when a connection does not receive anything. 64 // The length of time we wait before timing out writability on a connection. 210 // connection. 215 typedef std::map<rtc::SocketAddress, Connection*> AddressMap; 218 // Returns the connection to the given address or NULL if none exists. 219 virtual Connection* GetConnection( 222 // Called each time a connection is created [all...] |
/libcore/luni/src/test/java/tests/java/sql/ |
StressTest.java | 19 import java.sql.Connection; 36 Vector<Connection> vc = new Vector<Connection>(); 38 private static Connection conn; 134 assertEquals("Unable to create a connection", numTasks, vc.size()); 137 // try to create connection n + 1 138 Connection c = Support_SQL.getConnection(); 168 + "tasks for Connection " + i); 169 Connection c = vc.elementAt(i); 202 Logger.global.info(" creating "+tasksPerConnection+ " tasks for Connection "+i) [all...] |
/frameworks/base/telecomm/java/android/telecom/ |
Connection.java | 44 * Represents a phone call or connection to a remote endpoint that carries voice and/or video 47 * Implementations create a custom subclass of {@code Connection} and return it to the framework 52 * Implementations are then responsible for updating the state of the {@code Connection}, and 53 * must call {@link #destroy()} to signal to the framework that the {@code Connection} is no 56 public abstract class Connection extends Conferenceable { 59 * The connection is initializing. This is generally the first state for a {@code Connection} 65 * The connection is new and not connected. 70 * An incoming connection is in the ringing state. During this state, the user's ringer or 76 * An outgoing connection is in the dialing state. In this state the other party has not ye 1793 Connection connection = (Connection) c; local 2271 Connection connection = (Connection) c; local [all...] |
/packages/services/Telephony/src/com/android/phone/ |
CallLogger.java | 20 import com.android.internal.telephony.Connection; 52 * Logs a call to the call log based on the connection object passed in. 54 * @param c The connection object for the call being logged. 57 public void logCall(Connection c, int callLogType) { 72 // the connection for the CNAP. Should we use the one 88 * Came as logCall(Connection,int) but calculates the call type from the connection object. 90 public void logCall(Connection c) { 118 * @param conn The phone connection. 119 * @return The CallerInfo associated with the connection. Maybe null [all...] |
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
TestHelper_Driver4.java | 20 import java.sql.Connection; 74 public Connection connect(String url, Properties info) throws SQLException { 104 // It all checks out - so return a connection 105 Connection connection = new TestHelper_Connection1(); local 106 return connection;
|
/external/jetty/src/java/org/eclipse/jetty/client/ |
SocketConnector.java | 26 import org.eclipse.jetty.io.Connection; 64 final AbstractHttpConnection connection=new BlockingHttpConnection(_httpClient.getRequestBuffers(),_httpClient.getResponseBuffers(),endpoint); local 65 connection.setDestination(destination); 66 destination.onNewConnection(connection); 73 Connection con = connection; 76 final Connection next = con.handle(); 99 destination.returnConnection(connection,true);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
GsmCdmaCall.java | 38 public List<Connection> getConnections() { 69 public void attach(Connection conn, DriverCall dc) { 75 public void attachFake(Connection conn, State state) {
|
/cts/hostsidetests/numberblocking/app/src/com/android/cts/numberblocking/hostside/ |
CallBlockingTest.java | 24 import android.telecom.Connection; 116 public static class DummyConnection extends Connection { 128 public Connection onCreateIncomingConnection( 130 final Connection connection = new DummyConnection(); local 131 connection.setVideoState(request.getVideoState()); 134 connection.setAddress(address, TelecomManager.PRESENTATION_ALLOWED); 135 return connection;
|
/external/apache-http/android/src/android/net/http/ |
IdleCache.java | 31 Connection mConnection; 60 * Caches connection, if there is room. 61 * @return true if connection cached 64 HttpHost host, Connection connection) { 78 entry.mConnection = connection; 94 synchronized Connection getConnection(HttpHost host) { 95 Connection ret = null;
|
/external/autotest/client/common_lib/cros/graphite/ |
statsd_mock.py | 10 class Connection: 11 """Mock class for statsd.Connection"""
|
statsd_mock_unittest.py | 15 """Test mock class Connection""" 16 connection = statsd.Connection(host='host', port=1) 17 statsd.Connection.set_defaults(host='host', port=1)
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/connserv/ |
HfpClientConnectionService.java | 31 import android.telecom.Connection; 78 Log.d(TAG, "Established connection with " + device); 114 // Disconnect any inflight calls from the connection service. 175 // connection is still active) and to stop it we need a special intent since stopService 194 HfpClientConnection connection = mConnections.get(number); local 195 if (connection != null) { 196 connection.handleCallChanged(call); 199 if (connection == null) { 200 // Create the connection here, trigger Telecom to bind to us. 230 // This method is called whenever there is a new incoming call (or right after BT connection) 247 HfpClientConnection connection = mConnections.get(number); local 272 HfpClientConnection connection = local 297 HfpClientConnection connection = mConnections.get(number); local 417 HfpClientConnection connection = local [all...] |
/frameworks/base/services/core/java/com/android/server/tv/ |
TvRemoteProviderProxy.java | 37 * Maintains a connection to a tv remote provider service. 64 // Connection state 67 private Connection mActiveConnection; 186 Connection connection = new Connection(provider); local 187 if (connection.register()) { 189 mActiveConnection = connection; 212 private void onConnectionReady(Connection connection) { 576 Connection connection = mConnectionRef.get(); local 584 Connection connection = mConnectionRef.get(); local 592 Connection connection = mConnectionRef.get(); local 600 Connection connection = mConnectionRef.get(); local 608 Connection connection = mConnectionRef.get(); local 616 Connection connection = mConnectionRef.get(); local 625 Connection connection = mConnectionRef.get(); local 633 Connection connection = mConnectionRef.get(); local 641 Connection connection = mConnectionRef.get(); local [all...] |
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
ConnectionServiceFixture.java | 37 import android.telecom.Connection; 79 public Connection onCreateUnknownConnection( 86 public Connection onCreateIncomingConnection( 103 public Connection onCreateOutgoingConnection( 110 public void onConference(Connection cxn1, Connection cxn2) { 122 public class FakeConnection extends Connection { 145 Connection.CAPABILITY_SUPPORT_HOLD 146 | Connection.CAPABILITY_HOLD 147 | Connection.CAPABILITY_MUT [all...] |
/cts/tests/tests/telecom/src/android/telecom/cts/ |
MissedCallTest.java | 21 import android.telecom.Connection; 62 final MockConnection connection = verifyConnectionForIncomingCall(); local 69 assertConnectionState(connection, Connection.STATE_RINGING); 71 connection.setDisconnected(new DisconnectCause(DisconnectCause.MISSED)); 72 connection.destroy();
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/util/ |
NullDatabaseMapTest.java | 10 import java.sql.Connection; 42 Connection connection = null; local 47 connection = DatabaseConfig.getMemoryConnection(); 49 //since the connection should not actually be made 56 Assert.assertTrue(connection == null);
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
GsmCdmaConnectionTest.java | 36 private GsmCdmaConnection connection; field in class:GsmCdmaConnectionTest 53 connection = null; 59 connection = new GsmCdmaConnection(mPhone, String.format( 62 String formattedDialStr = connection.formatDialString( 68 formattedDialStr = connection.formatDialString("+1 (700).555-41NN,;1234"); 74 connection = new GsmCdmaConnection(mPhone, String.format( 77 assertEquals(GsmCdmaCall.State.IDLE, connection.getState()); 78 assertEquals(Connection.PostDialState.NOT_STARTED, connection.getPostDialState()); 80 assertEquals(0, connection.getDisconnectTime()) [all...] |