/prebuilts/go/darwin-x86/src/net/http/ |
response_test.go | 42 "Connection: close\r\n" + 54 "Connection": {"close"}, // TODO(rsc): Delete? 64 // Connection headers. 110 "Connection: close\r\n" + 122 "Connection": {"close"}, 338 Connection: close 362 "Connection: close\r\n" + 373 "Connection": {"close"}, // TODO(rsc): Delete? 410 // Both keep-alive and close, on the same Connection line. (Issue 8840) 414 "Connection: keep-alive, close\r\n" [all...] |
readrequest_test.go | 43 "Proxy-Connection: keep-alive\r\n\r\n" + 62 "Proxy-Connection": {"keep-alive"}, 331 // Connection: close. golang.org/issue/8261 343 "Connection": []string{"close"}, 368 "Connection": []string{"close"},
|
/prebuilts/go/linux-x86/src/net/http/ |
response_test.go | 42 "Connection: close\r\n" + 54 "Connection": {"close"}, // TODO(rsc): Delete? 64 // Connection headers. 110 "Connection: close\r\n" + 122 "Connection": {"close"}, 338 Connection: close 362 "Connection: close\r\n" + 373 "Connection": {"close"}, // TODO(rsc): Delete? 410 // Both keep-alive and close, on the same Connection line. (Issue 8840) 414 "Connection: keep-alive, close\r\n" [all...] |
readrequest_test.go | 43 "Proxy-Connection: keep-alive\r\n\r\n" + 62 "Proxy-Connection": {"keep-alive"}, 331 // Connection: close. golang.org/issue/8261 343 "Connection": []string{"close"}, 368 "Connection": []string{"close"},
|
/frameworks/native/services/inputflinger/ |
InputDispatcher.cpp | 79 // Amount of time to allow touch events to be streamed out to a connection before requiring 603 commandEntry->connection.clear(); 933 sp<Connection> connection = mConnectionsByFd.valueAt(connectionIndex); local 1027 sp<Connection> connection = mConnectionsByFd.valueAt(connectionIndex); local 1677 sp<Connection> connection = mConnectionsByFd.valueAt(connectionIndex); local 2148 sp<Connection> connection = d->mConnectionsByFd.valueAt(connectionIndex); local 3284 const sp<Connection>& connection = mConnectionsByFd.valueAt(i); local 3357 sp<Connection> connection = new Connection(inputChannel, inputWindowHandle, monitor); local 3403 sp<Connection> connection = mConnectionsByFd.valueAt(connectionIndex); local 3431 sp<Connection> connection = mConnectionsByFd.valueAt(connectionIndex); local 3505 sp<Connection> connection = commandEntry->connection; local 3558 sp<Connection> connection = commandEntry->connection; local 3604 startDispatchCycleLocked(now(), connection); local [all...] |
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
DriverManagerTest.java | 26 import java.sql.Connection; 142 * Class under test for Connection getConnection(String) 144 // valid connection - data1 does not require a user and password... 147 // invalid connection - data2 requires a user & password 150 // invalid connection - URL is gibberish 153 // invalid connection - URL is null 160 Connection theConnection = null; 197 * Class under test for Connection getConnection(String, Properties) 218 Connection theConnection = null; 240 * Class under test for Connection getConnection(String, String, String [all...] |
/prebuilts/go/darwin-x86/src/syscall/ |
tables_nacl.go | 196 ECONNABORTED Errno = 103 /* Connection aborted */ 197 ECONNRESET Errno = 104 /* Connection reset by peer */ 203 ETIMEDOUT Errno = 110 /* Connection timed out */ 204 ECONNREFUSED Errno = 111 /* Connection refused */ 208 EINPROGRESS Errno = 115 /* Connection already in progress */ 318 ECONNABORTED: "Connection aborted", 319 ECONNRESET: "Connection reset by peer", 324 ETIMEDOUT: "Connection timed out", 325 ECONNREFUSED: "Connection refused", 329 EINPROGRESS: "Connection already in progress" [all...] |
/prebuilts/go/linux-x86/src/syscall/ |
tables_nacl.go | 196 ECONNABORTED Errno = 103 /* Connection aborted */ 197 ECONNRESET Errno = 104 /* Connection reset by peer */ 203 ETIMEDOUT Errno = 110 /* Connection timed out */ 204 ECONNREFUSED Errno = 111 /* Connection refused */ 208 EINPROGRESS Errno = 115 /* Connection already in progress */ 318 ECONNABORTED: "Connection aborted", 319 ECONNRESET: "Connection reset by peer", 324 ETIMEDOUT: "Connection timed out", 325 ECONNREFUSED: "Connection refused", 329 EINPROGRESS: "Connection already in progress" [all...] |
/external/webrtc/webrtc/p2p/base/ |
port_unittest.cc | 162 virtual Connection* CreateConnection(const Candidate& remote_candidate, 164 Connection* conn = new ProxyConnection(this, 0, remote_candidate); 232 Connection* conn() { return conn_; } 250 void OnConnectionStateChange(Connection* conn) { 251 if (conn->write_state() == Connection::STATE_WRITABLE) { 309 void OnDestroyed(Connection* conn) { 311 LOG(INFO) << "OnDestroy connection " << conn << " deleted"; 313 // When the connection is destroyed, also clear these fields so future 336 // ReadyToSend will only issue after a Connection recovers from EWOULDBLOCK. 337 void OnConnectionReadyToSend(Connection* conn) [all...] |
relayport.h | 31 // order with a small delay in between. When a connection is 32 // successful all other connection attempts are aborted. 58 Connection* CreateConnection(const Candidate& address, 94 // Dispatches the given packet to the port or connection as appropriate.
|
/prebuilts/go/darwin-x86/src/net/http/httputil/ |
reverseproxy.go | 120 "Connection", 121 "Proxy-Connection", // non-standard but still sent by libcurl and rejected by e.g. google 166 // Remove hop-by-hop headers listed in the "Connection" header. 168 if c := outreq.Header.Get("Connection"); c != "" { 182 // important is "Connection" because we want a persistent 183 // connection, regardless of what the client sent to us. 213 // "Connection" header of the response. 214 if c := res.Header.Get("Connection"); c != "" {
|
reverseproxy_test.go | 49 if c := r.Header.Get("Connection"); c != "" { 50 t.Errorf("handler got Connection header value %q", c) 55 if c := r.Header.Get("Proxy-Connection"); c != "" { 56 t.Errorf("handler got Proxy-Connection header value %q", c) 85 getReq.Header.Set("Connection", "close") 86 getReq.Header.Set("Proxy-Connection", "should be deleted") 140 // Issue 16875: remove any proxied headers mentioned in the "Connection" 143 const fakeConnectionToken = "X-Fake-Connection-Token" 152 w.Header().Set("Connection", "Upgrade, "+fakeConnectionToken) 172 getReq.Header.Set("Connection", "Upgrade, "+fakeConnectionToken [all...] |
/prebuilts/go/linux-x86/src/net/http/httputil/ |
reverseproxy.go | 120 "Connection", 121 "Proxy-Connection", // non-standard but still sent by libcurl and rejected by e.g. google 166 // Remove hop-by-hop headers listed in the "Connection" header. 168 if c := outreq.Header.Get("Connection"); c != "" { 182 // important is "Connection" because we want a persistent 183 // connection, regardless of what the client sent to us. 213 // "Connection" header of the response. 214 if c := res.Header.Get("Connection"); c != "" {
|
reverseproxy_test.go | 49 if c := r.Header.Get("Connection"); c != "" { 50 t.Errorf("handler got Connection header value %q", c) 55 if c := r.Header.Get("Proxy-Connection"); c != "" { 56 t.Errorf("handler got Proxy-Connection header value %q", c) 85 getReq.Header.Set("Connection", "close") 86 getReq.Header.Set("Proxy-Connection", "should be deleted") 140 // Issue 16875: remove any proxied headers mentioned in the "Connection" 143 const fakeConnectionToken = "X-Fake-Connection-Token" 152 w.Header().Set("Connection", "Upgrade, "+fakeConnectionToken) 172 getReq.Header.Set("Connection", "Upgrade, "+fakeConnectionToken [all...] |
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
AnalyticsTests.java | 24 import android.telecom.Connection; 357 int properties1 = Connection.PROPERTY_IS_DOWNGRADED_CONFERENCE 358 | Connection.PROPERTY_WIFI 359 | Connection.PROPERTY_EMERGENCY_CALLBACK_MODE; 360 int properties2 = Connection.PROPERTY_HIGH_DEF_AUDIO 361 | Connection.PROPERTY_WIFI;
|
/cts/hostsidetests/devicepolicy/app/LauncherTests/src/com/android/cts/launchertests/ |
LauncherAppsTests.java | 70 private Connection mConnection; 89 mConnection = new Connection(); 226 private class Connection implements ServiceConnection {
|
/frameworks/base/core/java/android/speech/ |
SpeechRecognizer.java | 116 /** The connection to the actual service */ 117 private Connection mConnection; 147 * Temporary queue, saving the messages until the connection will be established, afterwards, 168 private class Connection implements ServiceConnection { 267 if (mConnection == null) { // first time connection 268 mConnection = new Connection();
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
SipPhoneBase.java | 37 import com.android.internal.telephony.Connection; 73 public Connection dial(String dialString, UUSInfo uusInfo, int videoState, Bundle intentExtras) 182 void notifyNewRingingConnection(Connection c) { 186 void notifyDisconnect(Connection cn) {
|
/libcore/ojluni/src/main/java/java/sql/ |
Connection.java | 33 * <P>A connection (session) with a specific 35 * within the context of a connection. 37 * A <code>Connection</code> object's database is able to provide information 39 * procedures, the capabilities of this connection, and so on. This 42 * <P><B>Note:</B> When configuring a <code>Connection</code>, JDBC applications 43 * should use the appropriate <code>Connection</code> method such as 45 * Applications should not invoke SQL commands directly to change the connection's 46 * configuration when there is a JDBC method available. By default a <code>Connection</code> object is in 52 * A new <code>Connection</code> object created using the JDBC 2.1 core API 57 * will check the connection's type map to see if there is an entry for tha [all...] |
/cts/tests/tests/telecom/src/android/telecom/cts/ |
BaseTelecomTestWithMockServices.java | 33 import android.telecom.Connection; 116 // Generate a vanilla mock connection service, if not provided. 361 // MockConnectionService#onCreateOutgoingConnection, however the connection will not 365 // We will wait here until the list of connections includes one more connection to ensure 376 // Assuming only 1 connection present 384 fail("No outgoing call connection requested by Telecom"); 390 assertThat("Telecom should create outgoing connection for outgoing call", 392 MockConnection connection = connectionService.outgoingConnections.get(connectionIndex); local 393 return connection; 397 // Assuming only 1 connection presen 413 MockConnection connection = connectionService.incomingConnections.get(connectionIndex); local 426 MockConnection connection = connectionService.outgoingConnections.get(connectionIndex); local [all...] |
/external/libmicrohttpd/src/testspdy/ |
test_new_connection.c | 21 * @brief tests new connection callback. spdycli.c 107 struct Connection { 110 /* WANT_READ if SSL connection needs more input; or WANT_WRITE if it 115 SSL connection. */ 228 struct Connection *connection; local 230 connection = (struct Connection*)user_data; 231 connection->want_io = IO_NONE; 233 rv = SSL_write(connection->ssl, data, length) 260 struct Connection *connection; local 660 struct Connection connection; local [all...] |
test_request_response.c | 89 struct Connection { 92 /* WANT_READ if SSL connection needs more input; or WANT_WRITE if it 97 SSL connection. */ 210 struct Connection *connection; local 212 connection = (struct Connection*)user_data; 213 connection->want_io = IO_NONE; 215 rv = SSL_write(connection->ssl, data, length); 217 int err = SSL_get_error(connection->ssl, rv) 242 struct Connection *connection; local 648 struct Connection connection; 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...] |
/packages/apps/Dialer/java/com/android/incallui/call/ |
DialerCall.java | 32 import android.telecom.Connection; 250 // currently conferenceable calls available or Connection Capabilities. 251 case android.telecom.Connection.EVENT_CALL_MERGE_FAILED: 519 callExtras.containsKey(Connection.EXTRA_CHILD_ADDRESS); 537 if (callExtras.containsKey(Connection.EXTRA_CHILD_ADDRESS)) { 538 String childNumber = callExtras.getString(Connection.EXTRA_CHILD_ADDRESS); 550 if (callExtras.containsKey(Connection.EXTRA_LAST_FORWARDED_NUMBER)) { 552 callExtras.getStringArrayList(Connection.EXTRA_LAST_FORWARDED_NUMBER); 571 if (callExtras.containsKey(Connection.EXTRA_CALL_SUBJECT)) { 572 String callSubject = callExtras.getString(Connection.EXTRA_CALL_SUBJECT) [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/ |
SelfManagedIncomingCallTestActivity.java | 23 import android.telecom.Connection; 106 return new Throwable("Could not get connection service."); 109 CtsConnection connection = ctsConnectionService.waitForAndGetConnection(); 110 if (connection == null) { 112 return new Throwable("Could not get connection."); 114 // Wait until the connection knows its audio state changed; at this point 115 // Telecom knows about the connection and can answer. 116 connection.waitForAudioStateChanged(); 118 connection.setActive(); 163 if (connections.get(0).getState() == Connection.STATE_ACTIVE) [all...] |