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

1 2

  /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...]
  /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);
ActiveServices.java 97 * All currently bound service connections. Keys are the IBinder of
496 ArrayList<ConnectionRecord> clist = s.connections.get(binder);
499 s.connections.put(binder, clist);
502 b.connections.add(c);
504 if (activity.connections == null) {
505 activity.connections = new HashSet<ConnectionRecord>();
507 activity.connections.add(c);
509 b.client.connections.add(c);
577 if (r.connections.size() > 0) {
579 = r.connections.values().iterator()
    [all...]
ServiceRecord.java 79 final HashMap<IBinder, ArrayList<ConnectionRecord>> connections field in class:ServiceRecord
271 if (connections.size() > 0) {
272 pw.print(prefix); pw.println("All Connections:");
273 Iterator<ArrayList<ConnectionRecord>> it = connections.values().iterator();
  /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...]
  /external/chromium/third_party/libevent/
evrpc-internal.h 79 struct evconq connections; member in struct:evrpc_pool
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
  /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++) {
basicportallocator.cc 502 std::vector<Connection*> connections; local
511 for (iter = ports[i]->connections().begin();
512 iter != ports[i]->connections().end();
514 connections.push_back(iter->second);
519 << connections.size() << " connections";
521 for (size_t i = 0; i < connections.size(); ++i)
522 connections[i]->Destroy();
524 if (running_ || (ports.size() > 0) || (connections.size() > 0))
  /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...]
  /external/chromium/third_party/libjingle/source/talk/p2p/base/
p2ptransportchannel.h 30 // connections which are combinations of candidates from each end (Alice and
32 // Bob are used to make a connection, repeat to make many connections).
34 // When all of the available connections become invalid (non-writable), we
35 // kick off a process of determining more candidates and more connections.
93 const std::vector<Connection *>& connections() const { return connections_; } function in class:cricket::P2PTransportChannel
port.h 74 // connections to similar mechanisms of the other client. Subclasses of this
138 // Returns a map containing all of the connections of this port, keyed by the
141 const AddressMap& connections() { return connections_; } function in class:cricket::Port
203 // Called if the port has no connections and is no longer useful.
258 // Called when one of our connections deletes itself.
304 // be false for TCP connections.
  /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
  /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...]
  /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...]
  /external/webkit/Source/WebCore/bridge/qt/
qt_runtime.h 208 static QMultiMap<QObject *, QtConnectionObject *> connections; member in class:JSC::Bindings::QtRuntimeConnectionMethod
  /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);
  /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),
  /external/dbus/bus/
bus.c 58 BusConnections *connections; member in struct:BusContext
185 if (!bus_connections_setup_connection (context->connections, new_connection))
802 context->connections = bus_connections_new (context);
803 if (context->connections == NULL)
1044 if (context->connections)
1046 bus_connections_unref (context->connections);
1047 context->connections = NULL;
1151 return context->connections;
    [all...]
driver.c 253 BusConnections *connections; local
268 * incomplete connections. It's even OK if the connection wants to
271 connections = bus_connection_get_connections (connection);
272 if (!bus_connections_check_limits (connections, connection,
    [all...]
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...]
dispatch.c 96 BusConnections *connections; local
142 connections = bus_transaction_get_connections (transaction);
147 if (!bus_matchmaker_get_recipients (matchmaker, connections,
228 * connections with a match rule. If it's not a signal, there
347 * addressed_recipient == NULL), and match it against other connections'
    [all...]
  /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...]

Completed in 537 milliseconds

1 2