HomeSort by relevance Sort by last modified time
    Searched refs:Connection (Results 1 - 25 of 440) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/clang/test/CodeGen/
2002-03-12-StructInitialize.c 8 } Connection;
10 Connection link[3]
2002-03-12-StructInitializer.c 12 } Connection;
14 Connection link[3]
  /libcore/ojluni/src/main/java/javax/sql/
DataSource.java 28 import java.sql.Connection;
36 * is the preferred means of getting a connection. An object that implements
44 * <LI>Basic implementation -- produces a standard <code>Connection</code>
46 * <LI>Connection pooling implementation -- produces a <code>Connection</code>
47 * object that will automatically participate in connection pooling. This
48 * implementation works with a middle-tier connection pooling manager.
50 * <code>Connection</code> object that may be used for distributed
51 * transactions and almost always participates in connection pooling.
53 * transaction manager and almost always with a connection
    [all...]
PooledConnection.java 28 import java.sql.Connection;
32 * An object that provides hooks for connection pool management.
34 * represents a physical connection to a data source. The connection
44 * it gets back a <code>Connection</code> object. If connection pooling is
45 * being done, that <code>Connection</code> object is actually a handle to
46 * a <code>PooledConnection</code> object, which is a physical connection.
48 * The connection pool manager, typically the application server, maintains
51 * connection pool manager returns a <code>Connection</code> object tha
    [all...]
  /packages/services/Telephony/src/com/android/services/telephony/
TelephonyConnectionServiceProxy.java 20 import android.telecom.Connection;
30 Collection<Connection> getAllConnections();
33 void removeConnection(Connection connection);
35 Connection connection);
37 Connection connection, Conference conference);
38 void addConnectionToConferenceController(TelephonyConnection connection);
TelephonyConference.java 20 import android.telecom.Connection;
38 Connection.CAPABILITY_SUPPORT_HOLD |
39 Connection.CAPABILITY_HOLD |
40 Connection.CAPABILITY_MUTE |
41 Connection.CAPABILITY_MANAGE_CONFERENCE);
46 * Invoked when the Conference and all it's {@link Connection}s should be disconnected.
50 for (Connection connection : getConnections()) {
51 if (disconnectCall(connection)) {
58 * Disconnect the underlying Telephony Call for a connection
110 final TelephonyConnection connection = getFirstConnection(); local
121 final TelephonyConnection connection = getFirstConnection(); local
129 final TelephonyConnection connection = getFirstConnection(); local
137 final TelephonyConnection connection = getFirstConnection(); local
    [all...]
TelephonyConferenceController.java 32 import android.telecom.Connection;
48 private final Connection.Listener mConnectionListener = new Connection.Listener() {
50 public void onStateChanged(Connection c, int state) {
51 Log.v(this, "onStateChange triggered in Conf Controller : connection = "+ c
58 public void onDisconnected(Connection c, DisconnectCause disconnectCause) {
63 public void onDestroyed(Connection connection) {
64 remove(connection);
77 /** The TelephonyConference connection object. *
    [all...]
ImsConference.java 26 import android.telecom.Connection.VideoProvider;
27 import android.telecom.Connection;
56 * An IMS conference call consists of a conference host connection and potentially a list of
57 * conference participants. The conference host connection represents the radio connection to the
58 * IMS conference server. Since it is not a connection to any one individual, it is not represented
60 * connection via a conference event package. Conference participant connections do not represent
65 * connection and is responsible for managing the conference participant connections which represent
74 private final Connection.Listener mParticipantListener = new Connection.Listener()
663 ConferenceParticipantConnection connection = local
675 ConferenceParticipantConnection connection = local
725 ConferenceParticipantConnection connection = new ConferenceParticipantConnection( local
    [all...]
ImsConferenceController.java 25 import android.telecom.Connection;
58 * Ims conference controller connection listener. Used to respond to changes in state of the
61 private final Connection.Listener mConnectionListener = new Connection.Listener() {
63 public void onStateChanged(Connection c, int state) {
69 public void onDisconnected(Connection c, DisconnectCause disconnectCause) {
75 public void onDestroyed(Connection connection) {
76 remove(connection);
86 public void onConferenceSupportedChanged(Connection c, boolean isConferenceSupported)
326 TelephonyConnection connection = it.next(); local
    [all...]
CdmaConference.java 22 import android.telecom.Connection;
44 mProperties = Connection.PROPERTY_GENERIC_CONFERENCE;
49 capabilities |= Connection.CAPABILITY_MUTE;
54 * Invoked when the Conference and all it's {@link Connection}s should be disconnected.
70 public void onSeparate(Connection connection) {
91 mCapabilities &= ~Connection.CAPABILITY_MERGE_CONFERENCE;
94 mCapabilities |= Connection.CAPABILITY_SWAP_CONFERENCE;
102 final CdmaConnection connection = getFirstConnection(); local
103 if (connection != null)
112 final CdmaConnection connection = getFirstConnection(); local
    [all...]
  /cts/tests/tests/telecom/src/android/telecom/cts/
ConnectionTest.java 26 import android.telecom.Connection;
45 Connection connection = createConnection(lock); local
48 assertEquals(Connection.STATE_NEW, connection.getState());
50 connection.setInitializing();
52 assertEquals(Connection.STATE_INITIALIZING, connection.getState());
54 connection.setInitialized();
56 assertEquals(Connection.STATE_NEW, connection.getState())
96 Connection connection = Connection.createFailedConnection( local
115 Connection connection = Connection.createCanceledConnection(); local
132 Connection connection = createConnection(lock); local
147 Connection connection = createConnection(lock); local
162 Connection connection = createConnection(lock); local
179 Connection connection = createConnection(lock); local
195 Connection connection = createConnection(lock); local
214 Connection connection = createConnection(lock); local
228 Connection connection = createConnection(lock); local
255 Connection connection = createConnection(lock); local
282 Connection connection = createConnection(lock); local
310 Connection connection = createConnection(lock); local
339 Connection connection = createConnection(lock); local
351 Connection connection = createConnection(lock); local
367 Connection connection = createConnection(lock); local
382 Connection connection = createConnection(lock); local
436 BasicConnection connection = new BasicConnection(); local
    [all...]
MockConnectionService.java 19 import android.telecom.Connection;
42 * the {@link MockVideoProvider} is not created immediately when the Connection is created.
54 public Connection onCreateOutgoingConnection(PhoneAccountHandle connectionManagerPhoneAccount,
56 final MockConnection connection = new MockConnection(); local
57 connection.setAddress(request.getAddress(), CONNECTION_PRESENTATION);
58 connection.setPhoneAccountHandle(connectionManagerPhoneAccount);
59 connection.setConnectionCapabilities(Connection.CAPABILITY_SUPPORT_HOLD |
60 Connection.CAPABILITY_HOLD);
62 connection.createMockVideoProvider()
77 final MockConnection connection = new MockConnection(); local
    [all...]
ExternalCallTest.java 20 import android.telecom.Connection;
28 * Tests which verify functionality related to {@link android.telecom.Connection}s and
30 * {@link android.telecom.Connection#PROPERTY_IS_EXTERNAL_CALL} and
34 public static final int CONNECTION_PROPERTIES = Connection.PROPERTY_IS_EXTERNAL_CALL;
35 public static final int CONNECTION_CAPABILITIES = Connection.CAPABILITY_CAN_PULL_CALL;
48 public Connection onCreateOutgoingConnection(
51 Connection connection = super.onCreateOutgoingConnection(
54 mConnection = (MockConnection) connection;
55 // Modify the connection object created with local values
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
Call.java 71 public ArrayList<Connection> mConnections = new ArrayList<Connection>();
79 public abstract List<Connection> getConnections();
88 * @param c a Connection object
89 * @return true if the call contains the connection object passed in
91 public boolean hasConnection(Connection c) {
100 List<Connection> connections = getConnections();
136 * Returns the Connection associated with this Call that was created
139 public Connection
141 List<Connection> l
    [all...]
  /external/libbrillo/brillo/http/
http_connection_curl.cc 53 Connection::Connection(CURL* curl_handle,
57 : http::Connection(transport),
61 // Store the connection pointer inside the CURL handle so we can easily
64 VLOG(2) << "curl::Connection created: " << method_;
67 Connection::~Connection() {
71 VLOG(2) << "curl::Connection destroyed";
74 bool Connection::SendHeaders(const HeaderList& headers,
80 bool Connection::SetRequestData(StreamPtr stream
    [all...]
http_connection_fake.cc 18 Connection::Connection(const std::string& url,
21 : http::Connection(transport), request_(url, method) {
22 VLOG(1) << "fake::Connection created: " << method;
25 Connection::~Connection() {
26 VLOG(1) << "fake::Connection destroyed";
29 bool Connection::SendHeaders(const HeaderList& headers,
35 bool Connection::SetRequestData(StreamPtr stream,
41 bool Connection::FinishRequest(brillo::ErrorPtr* /* error */)
65 auto connection = std::static_pointer_cast<Connection>(shared_from_this()); local
    [all...]
http_connection.h 25 // Connection class is the base class for HTTP communication session.
27 // When the Connection-derived class is constructed, it is pre-set up with
29 // connection (such as the URL, request method, etc - see
31 // would not probably initiate the physical connection until SendHeaders
38 // the connection to the destination URI and is shared between the request and
40 // is received. The class does NOT represent a persistent TCP connection though
43 class BRILLO_EXPORT Connection
44 : public std::enable_shared_from_this<Connection> {
46 explicit Connection(const std::shared_ptr<Transport>& transport)
48 virtual ~Connection() = default
    [all...]
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
Connection.java 22 * The sockets and streams of an HTTP, HTTPS, or HTTPS+SPDY connection. May be used for multiple
27 * {@linkplain ConnectionPool connection pool}.
30 * connection as a single request/response exchange.
33 * There are tradeoffs when selecting which options to include when negotiating a secure connection
42 * avoiding these options entirely, this class allows a connection to be attempted with modern
45 * <h3>Connection Reuse</h3>
46 * <p>Each connection can carry a varying number streams, depending on the underlying protocol being
49 * connection currently carrying zero streams is an idle stream. We keep it alive because reusing an
50 * existing connection is typically faster than establishing a new one.
53 * challenges, we prefer to use the same physical connection for all streams in the sequence. Ther
    [all...]
  /hardware/interfaces/graphics/composer/2.1/
IComposerCallback.hal 20 enum Connection : int32_t {
48 onHotplug(Display display, Connection connected);
  /packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/connserv/
HfpClientConference.java 23 import android.telecom.Connection;
43 setConnectionCapabilities(Connection.CAPABILITY_SUPPORT_HOLD |
44 Connection.CAPABILITY_HOLD |
45 (manage ? Connection.CAPABILITY_MANAGE_CONFERENCE : 0));
56 public void onMerge(Connection connection) {
57 Log.d(TAG, "onMerge " + connection);
58 addConnection(connection);
62 public void onSeparate(Connection connection) {
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
SipCallBase.java 20 import com.android.internal.telephony.Connection;
27 public List<Connection> getConnections() {
  /frameworks/native/services/surfaceflinger/
EventThread.h 59 class Connection : public BnDisplayEventConnection {
61 explicit Connection(const sp<EventThread>& eventThread);
70 virtual ~Connection();
83 sp<Connection> createEventConnection() const;
84 status_t registerDisplayEventConnection(const sp<Connection>& connection);
86 void setVsyncRate(uint32_t count, const sp<Connection>& connection);
87 void requestNextVsync(const sp<Connection>& connection);
    [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.
35 public Connection onCreateOutgoingConnection(PhoneAccountHandle connectionManagerPhoneAccount,
37 final DummyConnection connection = new DummyConnection(); local
38 connection.setAddress(request.getAddress(), TelecomManager.PRESENTATION_ALLOWED);
39 connection.setVideoState(request.getVideoState());
40 hangUpAsync(connection);
41 return connection;
45 public Connection onCreateIncomingConnection(PhoneAccountHandle connectionManagerPhoneAccount,
47 final DummyConnection connection = new DummyConnection() local
    [all...]
  /packages/services/Telecomm/src/com/android/server/telecom/
ParcelableCallUtils.java 20 import android.telecom.Connection;
246 Connection.CAPABILITY_HOLD,
249 Connection.CAPABILITY_SUPPORT_HOLD,
252 Connection.CAPABILITY_MERGE_CONFERENCE,
255 Connection.CAPABILITY_SWAP_CONFERENCE,
258 Connection.CAPABILITY_RESPOND_VIA_TEXT,
261 Connection.CAPABILITY_MUTE,
264 Connection.CAPABILITY_MANAGE_CONFERENCE,
267 Connection.CAPABILITY_SUPPORTS_VT_LOCAL_RX,
270 Connection.CAPABILITY_SUPPORTS_VT_LOCAL_TX
    [all...]
  /frameworks/base/telecomm/java/android/telecom/
Conference.java 23 import android.telecom.Connection.VideoProvider;
37 * Represents a conference call which can contain any number of {@link Connection} objects.
42 * Used to indicate that the conference connection time is not specified. If not specified,
51 public void onConnectionAdded(Conference conference, Connection connection) {}
52 public void onConnectionRemoved(Conference conference, Connection connection) {}
54 Conference conference, List<Connection> conferenceableConnections) {}
61 public void onVideoProviderChanged(Conference c, Connection.VideoProvider videoProvider) {}
68 private final List<Connection> mChildConnections = new CopyOnWriteArrayList<>()
    [all...]

Completed in 911 milliseconds

1 2 3 4 5 6 7 8 91011>>