HomeSort by relevance Sort by last modified time
    Searched full:connection (Results 151 - 175 of 24174) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/apache-http/src/org/apache/http/conn/
OperatedClientConnection.java 44 * A client-side connection that relies on outside logic to connect sockets to the
66 * Obtains the target host for this connection.
67 * If the connection is to a proxy but not tunnelled, this is
68 * the proxy. If the connection is tunnelled through a proxy,
71 * The return value is well-defined only while the connection is open.
72 * It may change even while the connection is open,
75 * @return the host to which this connection is opened
81 * Indicates whether this connection is secure.
82 * The return value is well-defined only while the connection is open.
83 * It may change even while the connection is open
    [all...]
ManagedClientConnection.java 50 * A client-side connection with advanced connection logic.
51 * Instances are typically obtained from a connection manager.
71 * Indicates whether this connection is secure.
72 * The return value is well-defined only while the connection is open.
73 * It may change even while the connection is open.
75 * @return <code>true</code> if this connection is secure,
83 * Obtains the current route of this connection.
93 * Obtains the SSL session of the underlying connection, if any.
94 * If this connection is open, and the underlying socket is a
    [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.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);
  /cts/apps/CtsVerifierUSBCompanion/src/com/android/cts/verifierusbcompanion/
AccessoryTestCompanion.java 120 UsbDeviceConnection connection = mUsbManager.openDevice(mDevice); local
125 testName = nextTest(connection, in, out, true);
133 int numTransferred = connection.bulkTransfer(in, buffer, 32, 0);
136 numTransferred = connection.bulkTransfer(out, buffer, 32, 0);
145 int numTransferred = connection.bulkTransfer(in, buffer, 32, 0);
147 numTransferred = connection.bulkTransfer(in, buffer, 16, 32, 0);
150 numTransferred = connection.bulkTransfer(out, buffer, 32, 0);
158 int numTransferred = connection.bulkTransfer(in, buffer, 32, 0);
161 numTransferred = connection.bulkTransfer(out, buffer, 16, 0);
163 numTransferred = connection.bulkTransfer(out, buffer, 16, 16, 0)
270 UsbDeviceConnection connection = mUsbManager.openDevice(device); local
    [all...]
  /frameworks/base/telecomm/java/android/telecom/
RemoteConnection.java 42 * A connection provided to a {@link ConnectionService} by another {@code ConnectionService}
58 * @param connection The {@code RemoteConnection} invoking this method.
61 public void onStateChanged(RemoteConnection connection, int state) {}
66 * @param connection The {@code RemoteConnection} invoking this method.
68 * connection.
71 RemoteConnection connection,
78 * @param connection The {@code RemoteConnection} invoking this method.
81 public void onRingbackRequested(RemoteConnection connection, boolean ringback) {}
87 * @param connection The {@code RemoteConnection} invoking this method.
91 RemoteConnection connection,
1184 final RemoteConnection connection = this; local
1205 final RemoteConnection connection = this; local
1224 final RemoteConnection connection = this; local
1242 final RemoteConnection connection = this; local
1259 final RemoteConnection connection = this; local
1282 final RemoteConnection connection = this; local
1302 final RemoteConnection connection = this; local
1318 final RemoteConnection connection = this; local
1335 final RemoteConnection connection = this; local
1352 final RemoteConnection connection = this; local
1367 final RemoteConnection connection = this; local
1382 final RemoteConnection connection = this; local
1398 final RemoteConnection connection = this; local
1414 final RemoteConnection connection = this; local
1431 final RemoteConnection connection = this; local
1448 final RemoteConnection connection = this; local
1491 final RemoteConnection connection = this; local
1505 final RemoteConnection connection = this; local
1519 final RemoteConnection connection = this; local
1529 final RemoteConnection connection = this; local
1539 final RemoteConnection connection = this; local
1549 final RemoteConnection connection = this; local
    [all...]
RemoteConnectionService.java 40 * Remote connection service which other connection services can use to place calls on their behalf.
60 RemoteConnection connection =
62 if (connection != NULL_CONNECTION && mPendingConnections.contains(connection)) {
63 mPendingConnections.remove(connection);
64 // Unconditionally initialize the connection ...
65 connection.setConnectionCapabilities(parcel.getConnectionCapabilities());
66 connection.setConnectionProperties(parcel.getConnectionProperties());
68 || parcel.getState() != Connection.STATE_DISCONNECTED)
527 RemoteConnection connection = local
    [all...]
  /cts/tests/tests/telecom/src/android/telecom/cts/
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...]
SelfManagedConnectionServiceTest.java 23 import android.telecom.Connection;
100 * It should be possible to register self-managed Connection Services which suppor the TEL, SIP,
176 * but is also registered as a connection manager is not permitted.
178 * A self-managed {@link android.telecom.PhoneAccount} cannot also be a connection manager.
205 "connection managers, or SIM accounts.", se.getMessage());
212 * Tests ability to add a new self-managed incoming connection.
233 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(address); local
236 connection.getOnShowIncomingUiInvokeCounter().waitForCount(1);
237 setActiveAndVerify(connection);
243 setDisconnectedAndVerify(connection);
257 Connection connection = verifyConnectionForIncomingCall(); local
302 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(address); local
330 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); local
385 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); local
408 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); local
426 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); local
455 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); local
484 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(address); local
    [all...]
RemoteConnectionTest.java 27 import android.telecom.Connection;
70 assertConnectionState(mConnection, Connection.STATE_ACTIVE);
71 assertRemoteConnectionState(mRemoteConnectionObject, Connection.STATE_ACTIVE);
72 assertConnectionState(mRemoteConnection, Connection.STATE_ACTIVE);
76 assertConnectionState(mConnection, Connection.STATE_HOLDING);
77 assertRemoteConnectionState(mRemoteConnectionObject, Connection.STATE_HOLDING);
78 assertConnectionState(mRemoteConnection, Connection.STATE_HOLDING);
82 assertConnectionState(mConnection, Connection.STATE_ACTIVE);
83 assertRemoteConnectionState(mRemoteConnectionObject, Connection.STATE_ACTIVE);
84 assertConnectionState(mRemoteConnection, Connection.STATE_ACTIVE)
    [all...]
  /external/kernel-headers/original/uapi/linux/netfilter/
nf_conntrack_common.h 4 /* Connection state tracking for netfilter. This is separated from,
8 /* Part of an established connection (either direction). */
11 /* Like NEW, but related to an existing connection, or ICMP error
15 /* Started a new connection to track (only
41 /* Bitset representing status of connection. */
43 /* It's an expected connection: bit 0 set. This bit never changed */
55 /* Connection is confirmed: originating packet has left box */
59 /* Connection needs src nat in orig dir. This bit never changed. */
63 /* Connection needs dst nat in orig dir. This bit never changed. */
70 /* Connection needs TCP sequence adjusted. *
    [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...]
  /packages/apps/Dialer/java/com/android/dialer/simulator/impl/
SimulatorVoiceCall.java 24 import android.telecom.Connection;
25 import android.telecom.Connection.RttModifyStatus;
187 public void onNewOutgoingConnection(@NonNull SimulatorConnection connection) {
188 if (isMyConnection(connection)) {
189 LogUtil.i("SimulatorVoiceCall.onNewOutgoingConnection", "connection created");
190 handleNewConnection(connection);
192 // Telecom will force the connection to switch to Dialing when we return it. Wait until after
194 ThreadUtil.postOnUiThread(connection::setActive);
199 public void onNewIncomingConnection(@NonNull SimulatorConnection connection) {
200 if (isMyConnection(connection)) {
    [all...]
  /hardware/google/av/codec2/vndk/bufferpool/
Connection.cpp 17 #include "Connection.h"
27 Return<void> Connection::fetch(uint64_t transactionId, uint32_t bufferId, fetch_cb _hidl_cb) {
42 Connection::Connection() : mInitialized(false), mConnectionId(-1LL) {}
44 Connection::~Connection() {
50 void Connection::initialize(
59 ResultStatus Connection::allocate(
68 void Connection::cleanUp(bool clearCache) {
77 // return new Connection();
    [all...]
  /external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/
HttpTransportSE.java 19 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
75 * timeout for connection and Read Timeouts (milliseconds)
91 * timeout for connection and Read Timeouts (milliseconds)
128 * a list of HeaderProperties to be http header properties when establishing the connection
153 ServiceConnection connection = getServiceConnection(); local
154 System.out.println("connection:" + connection);
156 connection.setRequestProperty("User-Agent", USER_AGENT);
163 connection.setRequestProperty("SOAPAction", soapAction);
167 connection.setRequestProperty("Content-Type", CONTENT_TYPE_SOAP_XML_CHARSET_UTF_8)
    [all...]
  /external/oauth/core/src/main/java/net/oauth/client/
URLConnectionResponse.java 44 byte[] requestExcerpt, URLConnection connection) throws IOException {
49 this.connection = connection;
56 private final URLConnection connection; field in class:URLConnectionResponse
60 if (connection instanceof HttpURLConnection) {
61 return ((HttpURLConnection) connection).getResponseCode();
69 return connection.getInputStream();
79 for (int i = 0; (value = connection.getHeaderField(i)) != null; ++i) {
80 String name = connection.getHeaderFieldKey(i);
89 headers.add(new OAuth.Parameter(CONTENT_TYPE, connection
    [all...]
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
StreamAllocation.java 43 * potentially slow to establish so it is necessary to be able to cancel a connection
46 * connections. Each connection has its own allocation limit, which defines how many
47 * concurrent streams that connection can carry. HTTP/1.x connections can carry 1 stream
51 * connection for better behavior and locality.
58 * <li>{@link #noNewStreams()} prevents the connection from being used for new streams in the
59 * future. Use this after a {@code Connection: close} header, or when the connection may be
65 * <li>{@link #release()} removes the call's hold on the connection. Note that this won't
66 * immediately free the connection if there is a stream still lingering. That happens when a
72 * stream but not the other streams sharing its connection. But if the TLS handshake is still i
81 private RealConnection connection; field in class:StreamAllocation
210 public synchronized RealConnection connection() { method in class:StreamAllocation
    [all...]
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DisconnectTest.java 81 HttpURLConnection connection = new OkUrlFactory(client).open(server.getUrl("/")); local
82 disconnectLater(connection, 500);
84 connection.setDoOutput(true);
85 connection.setFixedLengthStreamingMode(requestBodySize);
86 OutputStream requestBody = connection.getOutputStream();
93 fail("Expected connection to be closed");
97 connection.disconnect();
108 HttpURLConnection connection = new OkUrlFactory(client).open(server.getUrl("/")); local
109 disconnectLater(connection, 500);
111 InputStream responseBody = connection.getInputStream()
    [all...]
  /system/bt/bta/include/
bta_pan_api.h 43 #define BTA_PAN_OPENING_EVT 2 /* Connection is being opened. */
44 #define BTA_PAN_OPEN_EVT 3 /* Connection has been opened. */
45 #define BTA_PAN_CLOSE_EVT 4 /* Connection has been closed. */
73 uint16_t handle; /* Handle associated with this connection. */
80 uint16_t handle; /* Handle associated with this connection. */
82 tBTA_PAN_ROLE local_role; /* Local device PAN role for the connection */
83 tBTA_PAN_ROLE peer_role; /* Peer device PAN role for the connection */
89 uint16_t handle; /* Handle associated with the connection. */
95 tBTA_PAN_OPEN open; /* Connection has been opened. */
96 tBTA_PAN_OPENING opening; /* Connection being opened *
    [all...]
  /system/bt/stack/include/
avct_api.h 40 #define AVCT_NOT_OPEN 4 /* Connection not open */
68 /* Connection role. */
69 #define AVCT_INT 0 /* Initiator connection */
70 #define AVCT_ACP 1 /* Acceptor connection */
83 #define AVCT_CONNECT_CFM_EVT 0 /* Connection confirm */
84 #define AVCT_CONNECT_IND_EVT 1 /* Connection indication */
89 #define AVCT_BROWSE_CONN_CFM_EVT 6 /* Browse Connection confirm */
90 #define AVCT_BROWSE_CONN_IND_EVT 7 /* Browse Connection indication */
161 * Description Create an AVCTP connection. There are two types of
164 * create an initiator connection, an AVCTP connection t
    [all...]
  /external/honggfuzz/examples/apache-httpd/corpus_http1/
1777bd46011cc812807b72ae8a3fe1ba.00005188.honggfuzz.cov 12 Connection: Kee.1
16 Connection: Kee.1
18 Connection: Kee.1
21 Connection: Kee.1
23 Connection: Kee.1
25 Connection: Kee.1
27 Connection: Kee.1
29 Connection: Kee.1
31 Connection: Kee.1
34 Connection: Kee.1
    [all...]
  /external/honggfuzz/examples/apache-httpd/corpus_http2/
1777bd46011cc812807b72ae8a3fe1ba.00005188.honggfuzz.cov 12 Connection: Kee.1
16 Connection: Kee.1
18 Connection: Kee.1
21 Connection: Kee.1
23 Connection: Kee.1
25 Connection: Kee.1
27 Connection: Kee.1
29 Connection: Kee.1
31 Connection: Kee.1
34 Connection: Kee.1
    [all...]
  /external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/
OkUrlFactoryTest.java 68 HttpURLConnection connection = factory.open(server.getUrl("/")); local
69 assertResponseHeader(connection, "NETWORK 200");
70 assertResponseBody(connection, "Isla Sorna");
76 HttpURLConnection connection = factory.open(server.getUrl("/")); local
77 assertResponseHeader(connection, "NETWORK 404");
78 connection.getErrorStream().close();
148 HttpURLConnection connection = factory.open(server.getUrl("/a")); local
149 connection.setInstanceFollowRedirects(false);
150 assertResponseBody(connection, "A");
151 assertResponseCode(connection, 302)
168 HttpURLConnection connection = factory.open(server.url("\/a").url()); local
174 HttpURLConnection connection = factory.open(server.url("\/b").url()); local
    [all...]
  /hardware/google/av/codec2/vndk/bufferpool/include/bufferpool/
ClientManager.h 51 * Creates a local connection with a newly created buffer pool.
54 * @param pConnectionId Id of the created connection. This is
57 * @return OK when a buffer pool and a local connection is successfully
66 * Register a created connection as sender for remote process.
69 * @param senderId A local connection which will send buffers to.
70 * @param receiverId Id of the created receiving connection on the receiver
73 * @return OK when the receiving connection is successfully created on the
75 * NOT_FOUND when the sender connection was not found.
76 * ALREADY_EXISTS the receiving connection is already made.
84 * Closes the specified connection
    [all...]
  /packages/services/Telephony/tests/src/com/android/services/telephony/
TelephonyConferenceControllerTest.java 21 import android.telecom.Connection;
75 * Assumption: after performing the behaviours, the status of Connection A is STATE_ACTIVE;
76 * the status of Connection B is STATE_HOLDING;
77 * the call in the original connection is Call.State.ACTIVE;
79 * isConferenceSupported of the connection is True
80 * Expected: Connection A and Connection B are conferenceable with each other
91 // add telephony connection B
94 // add telephony connection A
116 * Behavior: add telephony connection B and A to conference controller
    [all...]

Completed in 4517 milliseconds

1 2 3 4 5 67 8 91011>>