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

1 2 3

  /external/okhttp/src/main/java/libcore/net/http/
HttpConnectionPool.java 29 * A pool of HTTP and SPDY connections. This class exposes its tuning parameters
32 * <li>{@code http.keepAlive} true if HTTP and SPDY connections should be
34 * <li>{@code http.maxConnections} maximum number of connections to each host.
40 * so before making HTTP connections, and that this class is initialized lazily.
66 List<HttpConnection> connections = connectionPool.get(address); local
67 while (connections != null) {
68 HttpConnection connection = connections.get(connections.size() - 1);
70 connections.remove(connections.size() - 1)
114 List<HttpConnection> connections = connectionPool.get(address); local
144 List<HttpConnection> connections = connectionPool.get(address); local
    [all...]
  /libcore/luni/src/main/java/libcore/net/http/
HttpConnectionPool.java 29 * A pool of HTTP connections. This class exposes its tuning parameters as
32 * <li>{@code http.keepAlive} true if HTTP connections should be pooled at
34 * <li>{@code http.maxConnections} maximum number of connections to each URI.
40 * so before making HTTP connections, and that this class is initialized lazily.
67 List<HttpConnection> connections = connectionPool.get(address); local
68 while (connections != null) {
69 HttpConnection connection = connections.remove(connections.size() - 1);
70 if (connections.isEmpty()) {
72 connections = null
104 List<HttpConnection> connections = connectionPool.get(address); local
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
GsmCall.java 34 /*package*/ ArrayList<Connection> connections = new ArrayList<Connection>(); field in class:GsmCall
68 return connections;
78 return connections.size() > 1;
99 connections.add(conn);
106 connections.add(conn);
117 /* If only disconnected connections remain, we are disconnected*/
121 for (int i = 0, s = connections.size() ; i < s; i ++) {
122 if (connections.get(i).getState()
139 connections.remove(conn);
141 if (connections.size() == 0)
    [all...]
GsmCallTracker.java 63 static final int MAX_CONNECTIONS = 7; // only 7 connections allowed in GSM
64 static final int MAX_CONNECTIONS_PER_CALL = 5; // only 5 connections allowed per call
67 GsmConnection connections[] = new GsmConnection[MAX_CONNECTIONS]; field in class:GsmCallTracker
72 // connections dropped during last poll
113 for(GsmConnection c : connections) {
161 connCopy = (List<Connection>) foregroundCall.connections.clone();
436 ; i < connections.length; i++) {
437 GsmConnection conn = connections[i];
461 connections[i] = pendingMO;
472 hangup(connections[i])
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
CdmaCall.java 35 /*package*/ ArrayList<Connection> connections = new ArrayList<Connection>(); field in class:CdmaCall
68 return connections;
82 return connections.size() > 1;
103 connections.add(conn);
110 connections.add(conn);
121 /* If only disconnected connections remain, we are disconnected*/
125 for (int i = 0, s = connections.size() ; i < s; i ++) {
126 if (connections.get(i).getState()
143 connections.remove(conn);
145 if (connections.size() == 0)
    [all...]
CdmaCallTracker.java 61 CdmaConnection connections[] = new CdmaConnection[MAX_CONNECTIONS]; field in class:CdmaCallTracker
67 // connections dropped during last poll
111 for(CdmaConnection c : connections) {
173 connCopy = (List<Connection>) foregroundCall.connections.clone();
500 ; i < connections.length; i++) {
501 CdmaConnection conn = connections[i];
525 connections[i] = pendingMO;
541 hangup(connections[i]);
565 // Loop through foreground call connections as
566 // it contains the known logical connections
    [all...]
  /external/dbus/bus/
connection.c 2 /* connection.c Client connections
56 DBusList *completed; /**< List of all completed connections */
58 DBusList *incomplete; /**< List of all not-yet-active connections */
61 DBusHashTable *completed_by_user; /**< Number of completed connections for each UID */
62 DBusTimeout *expire_timeout; /**< Timeout for expiring incomplete connections. */
71 BusConnections *connections; member in struct:__anon6506
89 int stamp; /**< connections->stamp last time we were traversed */
96 static void bus_connection_drop_pending_replies (BusConnections *connections,
110 return bus_context_get_loop (d->connections->context);
115 get_connections_for_uid (BusConnections *connections,
433 BusConnections *connections; local
840 BusConnections *connections = data; local
1531 BusConnections *connections = data; local
1627 BusConnections *connections; member in struct:__anon6507
1778 BusConnections *connections; member in struct:__anon6508
1910 DBusList *connections; member in struct:BusTransaction
    [all...]
connection.h 2 /* connection.h Client connections
36 BusConnections* bus_connections_ref (BusConnections *connections);
37 void bus_connections_unref (BusConnections *connections);
38 dbus_bool_t bus_connections_setup_connection (BusConnections *connections,
40 void bus_connections_foreach (BusConnections *connections,
43 void bus_connections_foreach_active (BusConnections *connections,
46 BusContext* bus_connections_get_context (BusConnections *connections);
47 void bus_connections_increment_stamp (BusConnections *connections);
55 dbus_bool_t bus_connections_check_limits (BusConnections *connections,
58 void bus_connections_expire_incomplete (BusConnections *connections);
    [all...]
signals.h 82 BusConnections *connections,
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
SipCallBase.java 30 protected List<Connection> connections = new ArrayList<Connection>(); field in class:SipCallBase
36 return connections;
40 return connections.size() > 1;
48 for (Iterator<Connection> it = connections.iterator(); it.hasNext(); ) {
53 if (connections.isEmpty()) setState(State.IDLE);
SipPhone.java 354 connections.clear();
368 connections = that.connections;
370 for (Connection c : connections) {
384 return connections;
401 connections.add(c);
417 for (Connection c : connections) {
435 connections.add(c);
452 if (connections.size() != 1) {
455 ((SipConnection) connections.get(0)).acceptCall()
    [all...]
  /frameworks/base/services/java/com/android/server/am/
AppBindRecord.java 31 final HashSet<ConnectionRecord> connections = new HashSet<ConnectionRecord>(); field in class:AppBindRecord
41 if (connections.size() > 0) {
42 pw.println(prefix + "Per-process Connections:");
43 Iterator<ConnectionRecord> it = connections.iterator();
ContentProviderRecord.java 46 final ArrayList<ContentProviderConnection> connections field in class:ContentProviderRecord
174 if (connections.size() > 0 || externalProcessNoHandleCount > 0) {
175 pw.print(prefix); pw.print(connections.size());
176 pw.print(" connections, "); pw.print(externalProcessNoHandleCount);
180 if (connections.size() > 0) {
182 pw.print(prefix); pw.println("Connections:");
184 for (int i=0; i<connections.size(); i++) {
185 ContentProviderConnection conn = connections.get(i);
IntentBindRecord.java 86 if (app.connections.size() > 0) {
87 for (ConnectionRecord conn : app.connections) {
  /external/chromium/third_party/libevent/
evrpc-internal.h 79 struct evconq connections; member in struct:evrpc_pool
evrpc.c 389 TAILQ_INIT(&pool->connections);
421 while ((connection = TAILQ_FIRST(&pool->connections)) != NULL) {
422 TAILQ_REMOVE(&pool->connections, connection, next);
446 TAILQ_INSERT_TAIL(&pool->connections, connection, next);
463 * connections.
478 TAILQ_FOREACH(evcon, &pool->connections, next) {
496 TAILQ_FOREACH(connection, &pool->connections, next) {
572 /* we better have some available connections on the pool */
573 assert(TAILQ_FIRST(&pool->connections) != NULL);
http-internal.h 80 /* for server connections, the http server they are connected with */
103 /* both the http server as well as the rpc system need to queue connections */
117 struct evconq connections; member in struct:evhttp
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
Call.java 85 * @return true if the call contains one or more connections
88 List connections = getConnections(); local
90 if (connections == null) {
94 return connections.size() > 0;
109 * @return true if the call contains only disconnected connections (if any)
117 * first, or null if there are no Connections in this Call
204 * last, or null if there are no Connections in this Call
  /external/chromium/third_party/libjingle/source/talk/p2p/client/
socketmonitor.cc 120 const std::vector<Connection *> &connections = p2p_channel->connections(); local
122 for (it = connections.begin(); it != connections.end(); it++) {
  /packages/apps/Phone/src/com/android/phone/
CallTime.java 132 List connections = call.getConnections(); local
133 int count = connections.size();
137 c = (Connection) connections.get(0);
143 c = (Connection) connections.get(i);
  /external/chromium/net/test/
openssl_helper.cc 191 for (unsigned connections = 0; connections < connection_limit;
192 connections++) {
200 SSL_set_session_id_context(server, (unsigned char*) &connections,
201 sizeof(connections));
232 if (!npn_mispredict || connections == 0) {
  /external/chromium/net/tools/testserver/
xmppserver_test.py 170 self.connections = set()
192 self.connections.add(xmpp_connection)
195 self.connections.discard(xmpp_connection)
198 for connection in self.connections:
206 self.assertEqual(len(self.connections), 0)
209 self.assertEqual(len(self.connections), 1)
241 self.assertEqual(len(self.connections), 0)
  /external/jmonkeyengine/engine/src/networking/com/jme3/network/base/
DefaultServer.java 77 private Map<Integer,HostedConnection> connections = new ConcurrentHashMap<Integer,HostedConnection>(); field in class:DefaultServer
125 // now, we hard-code the standard connections and treat the +2 extras
198 if( connections.isEmpty() )
216 if( connections.isEmpty() )
230 return connections.get(id);
235 return !connections.isEmpty();
240 return Collections.unmodifiableCollection((Collection<HostedConnection>)connections.values());
358 if( connections.put( c.getId(), c ) == null ) {
421 connections.remove( removed.getId() );
424 log.log( Level.FINE, "Connections size:{0}", connections.size() )
    [all...]
  /external/dbus/test/data/valid-config-files/system.d/
test.conf 6 connections can get messages from it -->
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/
LaunchConfigDelegate.java 171 int connections = -1; local
174 connections = bridge.getConnectionAttemptCount();
181 if (connections == -1 || restarts == -1) {
194 String.format("%1$s attempts have been made to reconnect.", connections),

Completed in 681 milliseconds

1 2 3