/system/connectivity/shill/ |
mock_passive_link_monitor.h | 27 class Connection;
|
connection.cc | 17 #include "shill/connection.h" 52 static string ObjectID(Connection* c) { 54 return "(connection)"; 69 const uint32_t Connection::kDefaultMetric = 1; 71 const uint32_t Connection::kNonDefaultMetricBase = 10; 73 const uint32_t Connection::kMarkForUserTraffic = 0x1; 75 const uint8_t Connection::kSecondaryTableId = 0x1; 77 Connection::Binder::Binder(const string& name, 82 Connection::Binder::~Binder() { 86 void Connection::Binder::Attach(const ConnectionRefPtr& to_connection) 611 ConnectionRefPtr connection = device->connection(); local [all...] |
connection.h | 50 class Connection : public base::RefCounted<Connection> { 52 // Clients can instantiate and use Binder to bind to a Connection and get 53 // notified when the bound Connection disconnects. Note that the client's 55 // Connection is destroyed or signals disconnect. The Binder unbinds itself 56 // from the underlying Connection when the Binder instance is destructed. 62 // Binds to |to_connection|. Unbinds the previous bound connection, if 68 ConnectionRefPtr connection() const { return connection_.get(); } function in class:shill::Connection::Binder 71 friend class Connection; 78 base::WeakPtr<Connection> connection_ [all...] |
/cts/tests/tests/telecom/src/android/telecom/cts/ |
CtsConnectionService.java | 23 import android.telecom.Connection; 42 * sConnectionService: Contains the connection service object provided by the current test in 44 * Telecom framework to the test connection service. 45 * sTelecomConnectionService: Contains the connection service object registered to the Telecom 47 * test connection service to the Telecom framework. 52 // This is the connection service implemented by the test 54 // This is the connection service registered with Telecom 65 // ConnectionService used by default as a fallback if no connection service is specified 72 * the {@link MockVideoProvider} is not created immediately when the Connection is created. 94 public Connection onCreateOutgoingConnection(PhoneAccountHandle connectionManagerPhoneAccount [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...] |
ConnectionServiceTest.java | 22 import android.telecom.Connection; 51 // Add second connection (add existing connection) 52 final MockConnection connection = new MockConnection(); local 53 connection.setOnHold(); 54 CtsConnectionService.addExistingConnectionToTelecom(TEST_PHONE_ACCOUNT_HANDLE, connection); 66 // Add first connection (outgoing call) 68 final Connection connection1 = verifyConnectionForOutgoingCall(); 70 Collection<Connection> connections = CtsConnectionService.getAllConnectionsFromTelecom(); 78 // Add second connection (add existing connection [all...] |
CtsRemoteConnectionService.java | 23 import android.telecom.Connection; 37 * sConnectionService: Contains the connection service object provided by the current test in 39 * Telecom framework to the test connection service. 40 * sTelecomConnectionService: Contains the connection service object registered to the Telecom 42 * test connection service to the Telecom framework. 47 // This is the connection service implemented by the test 49 // This is the connection service registered with Telecom 61 // ConnectionService used by default as a fallback if no connection service is specified 68 * the {@link MockVideoProvider} is not created immediately when the Connection is created. 91 public Connection onCreateOutgoingConnection(PhoneAccountHandle connectionManagerPhoneAccount [all...] |
NumberDialingTest.java | 22 import android.telecom.Connection; 28 * Tests that certain numbers make their way through to the connection service. 48 public Connection onCreateOutgoingConnection(
|
IncomingCallTest.java | 21 import android.telecom.Connection; 51 final Connection connection3 = verifyConnectionForIncomingCall(); 52 Collection<Connection> connections = CtsConnectionService.getAllConnectionsFromTelecom();
|
/external/libbrillo/brillo/http/ |
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...] |
http_connection_curl.h | 22 // This is a libcurl-based implementation of http::Connection. 23 class BRILLO_EXPORT Connection : public http::Connection { 25 Connection(CURL* curl_handle, 29 ~Connection() override; 31 // Overrides from http::Connection. 65 // pertaining to the current connection. 96 DISALLOW_COPY_AND_ASSIGN(Connection);
|
http_transport.h | 27 class Connection; 46 // Creates a connection object and initializes it with the specified data. 48 // used to maintain the object alive as long as the connection exists. 50 // to the underlying transport (e.g. CURL) to establish the connection. 51 virtual std::shared_ptr<Connection> CreateConnection( 65 // Initiates an asynchronous transfer on the given |connection|. 69 Connection* connection,
|
mock_connection.h | 18 class MockConnection : public Connection { 20 using Connection::Connection;
|
/frameworks/base/telephony/java/com/android/ims/ |
ImsConferenceState.java | 28 import android.telecom.Connection; 146 * Translates an {@code ImsConferenceState} status type to a telecom connection state. 149 * @return The corresponding {@link android.telecom.Connection} state. 153 return Connection.STATE_INITIALIZING; 155 return Connection.STATE_RINGING; 158 return Connection.STATE_DIALING; 160 return Connection.STATE_HOLDING; 164 return Connection.STATE_ACTIVE; 166 return Connection.STATE_DISCONNECTED;
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
TestConnectionService.java | 30 import android.telecom.Connection; 67 private final Connection.Listener mConnectionListener = new Connection.Listener() { 69 public void onDestroyed(Connection c) { 78 public TestConference(Connection a, Connection b) { 81 Connection.CAPABILITY_SUPPORT_HOLD | 82 Connection.CAPABILITY_HOLD | 83 Connection.CAPABILITY_MUTE | 84 Connection.CAPABILITY_MANAGE_CONFERENCE) 312 final TestConnection connection = new TestConnection(false \/* isIncoming *\/); local 349 final TestConnection connection = new TestConnection(true); local 404 final TestConnection connection = new TestConnection(false); local [all...] |
/frameworks/base/telecomm/java/android/telecom/ |
ConnectionService.java | 70 * should provide a new instance of a {@link Connection} object. It is through this 71 * {@link Connection} object that telecom receives state updates and the {@code ConnectionService} 110 private static Connection sNullConnection; 112 private final Map<String, Connection> mConnectionById = new ConcurrentHashMap<>(); 113 private final Map<Connection, String> mIdByConnection = new ConcurrentHashMap<>(); 448 case Connection.STATE_ACTIVE: 451 case Connection.STATE_HOLDING: 454 case Connection.STATE_DISCONNECTED: 467 public void onConnectionAdded(Conference conference, Connection connection) { 745 Connection connection = isUnknown ? onCreateUnknownConnection(callManagerAccount, request) local 931 Connection connection = findConnectionForAction(callId, "splitFromConference"); local 968 Connection connection = findConnectionForAction(callId, "pullExternalCall"); local 985 Connection connection = findConnectionForAction(callId, "sendCallEvent"); local 1454 Connection connection = (Connection) c; local [all...] |
/external/webrtc/webrtc/p2p/base/ |
p2ptransportchannel.cc | 43 int CompareConnectionCandidates(cricket::Connection* a, 44 cricket::Connection* b) { 45 // Compare connection priority. Lower values get sorted last. 58 int CompareConnectionStates(cricket::Connection* a, cricket::Connection* b) { 65 // We prefer a receiving connection to a non-receiving, higher-priority 66 // connection when sorting connections and choosing which connection to 74 // When a TCP connection fails because of a TCP socket disconnecting, the 75 // active side of the connection will attempt to reconnect for 5 seconds whil 611 Connection* connection = port->CreateConnection( local 770 Connection* connection = port->GetConnection(remote_candidate.address()); local [all...] |
/packages/services/Telephony/src/com/android/phone/ |
CallGatewayManager.java | 26 import com.android.internal.telephony.Connection; 39 * proper number to dial. It also saves an association between the connection object and the gateway 70 private final ConcurrentHashMap<Connection, RawGatewayInfo> mMap = 71 new ConcurrentHashMap<Connection, RawGatewayInfo>(4, 0.9f, 1); 100 * This function sets the current mapping from connection to gatewayInfo. 101 * @param connection The connection object for the placed outgoing call. 104 public void setGatewayInfoForConnection(Connection connection, RawGatewayInfo gatewayInfo) { 106 mMap.put(connection, gatewayInfo) [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
ImsExternalCall.java | 21 import com.android.internal.telephony.Connection; 34 public ImsExternalCall(Phone phone, ImsExternalConnection connection) { 36 mConnections.add(connection); 40 public List<Connection> getConnections() {
|
/packages/services/Telephony/src/com/android/services/telephony/ |
GsmConnection.java | 19 import com.android.internal.telephony.Connection; 25 GsmConnection(Connection connection, String telecomCallId) { 26 super(connection, telecomCallId); 34 * @return The cloned connection.
|
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
SipConnectionService.java | 30 import android.telecom.Connection; 65 public Connection onCreateOutgoingConnection( 73 return Connection.createFailedConnection(DisconnectCauseUtil.toTelecomDisconnectCause( 80 return Connection.createFailedConnection(DisconnectCauseUtil.toTelecomDisconnectCause( 81 DisconnectCause.OUTGOING_FAILURE, "Did not match service connection")); 84 final SipConnection connection = new SipConnection(); local 85 connection.setAddress(request.getAddress(), TelecomManager.PRESENTATION_ALLOWED); 86 connection.setInitializing(); 87 connection.onAddedToCallService(); 92 connection.setDisconnected(new android.telecom.DisconnectCause [all...] |
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
TestHelper_Driver1.java | 20 import java.sql.Connection; 76 public Connection connect(String url, Properties info) throws SQLException { 88 // It all checks out - so return a connection 89 Connection connection = new TestHelper_Connection1(); local 90 return connection;
|
/external/jetty/src/java/org/eclipse/jetty/websocket/ |
WebSocket.java | 26 * This interface provides the signature for a server-side end point of a websocket connection. 32 * Called when a new websocket connection is accepted. 33 * @param connection The Connection object to use to send messages. 35 void onOpen(Connection connection); 38 * Called when an established websocket connection closes 51 * The maximum size of text message that may be aggregated from multiple frames is set with {@link Connection#setMaxTextMessageSize(int)}. 64 * The maximum size of binary message that may be aggregated from multiple frames is set with {@link Connection#setMaxBinaryMessageSize(int)}. 104 void onHandshake(FrameConnection connection); [all...] |
/libcore/luni/src/test/java/libcore/java/sql/ |
ConnectionTest.java | 7 import java.sql.Connection; 34 Connection c = DriverManager.getConnection(getConnectionURL()); 43 Connection c = driver.connect(getConnectionURL(), null);
|
/frameworks/base/services/core/java/com/android/server/media/ |
RemoteDisplayProviderProxy.java | 39 * Maintains a connection to a particular remote display provider service. 52 // Connection state 55 private Connection mActiveConnection; 230 Connection connection = new Connection(provider); local 231 if (connection.register()) { 232 mActiveConnection = connection; 252 private void onConnectionReady(Connection connection) { 437 Connection connection = mConnectionRef.get(); local [all...] |