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

1 2 3 4

  /external/chromium_org/webkit/common/database/
database_connections_unittest.cc 43 DatabaseConnections connections; local
45 EXPECT_TRUE(connections.IsEmpty());
46 EXPECT_FALSE(connections.IsDatabaseOpened(kOriginId, kName));
47 EXPECT_FALSE(connections.IsOriginUsed(kOriginId));
49 connections.AddConnection(kOriginId, kName);
50 EXPECT_FALSE(connections.IsEmpty());
51 EXPECT_TRUE(connections.IsDatabaseOpened(kOriginId, kName));
52 EXPECT_TRUE(connections.IsOriginUsed(kOriginId));
53 EXPECT_EQ(0, connections.GetOpenDatabaseSize(kOriginId, kName));
54 connections.SetOpenDatabaseSize(kOriginId, kName, kSize)
    [all...]
database_connections.h 43 const DatabaseConnections& connections,
53 // Returns a list of the connections, <origin_id, name>.
70 // ability to wait until all connections have closed.
  /external/okhttp/src/main/java/com/squareup/okhttp/
ConnectionPool.java 33 * Manages reuse of HTTP and SPDY connections for reduced network latency. HTTP
36 * which connections to keep open for future use.
41 * <li>{@code http.keepAlive} true if HTTP and SPDY connections should be
43 * <li>{@code http.maxConnections} maximum number of idle connections to
52 * parameters do so before making HTTP connections, and that this class is
76 /** The maximum number of idle connections for each address. */
80 private final LinkedList<Connection> connections = new LinkedList<Connection>(); field in class:ConnectionPool
82 /** We use a single background thread to cleanup expired connections. */
91 for (ListIterator<Connection> i = connections.listIterator(connections.size())
264 List<Connection> connections; 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);
IntentBindRecord.java 84 if (app.connections.size() > 0) {
85 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
  /external/chromium_org/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
  /external/chromium_org/chrome_frame/test/
test_with_web_server.h 284 const test_server::ConnectionList& connections = server_.connections(); local
285 DCHECK(connections.size());
286 const test_server::Connection* c = connections.back();
293 for (index = server_.connections().begin();
294 index != server_.connections().end(); index++) {
312 const test_server::ConnectionList& connections = server_.connections(); local
313 for (it = connections.begin(); it != connections.end(); ++it)
    [all...]
  /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/services/Telephony/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_org/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_org/sync/tools/testserver/
xmppserver_test.py 240 self.connections = set()
245 self.connections.add(xmpp_connection)
248 self.connections.discard(xmpp_connection)
251 for connection in self.connections:
259 self.assertEqual(len(self.connections), 0)
262 self.assertEqual(len(self.connections), 1)
296 self.assertEqual(len(self.connections), 0)
303 self.assertEqual(len(self.connections), 0)
306 self.assertEqual(len(self.connections), 0)
316 self.assertEqual(len(self.connections), 0
    [all...]
  /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...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
Call.java 87 * @return true if the call contains one or more connections
90 List<Connection> connections = getConnections(); local
92 if (connections == null) {
96 return connections.size() > 0;
111 * @return true if the call contains only disconnected connections (if any)
119 * first, or null if there are no Connections in this Call
206 * last, or null if there are no Connections in this Call
  /external/chromium_org/chrome_frame/
buggy_bho_handling.cc 139 base::win::ScopedComPtr<IEnumConnections> connections; local
140 cp->EnumConnections(connections.Receive());
141 if (connections) {
144 while (connections->Next(1, &cd, &fetched) == S_OK && fetched) {
  /external/chromium_org/third_party/libjingle/source/talk/base/
httpserver.cc 97 std::list<Connection*> connections; local
100 connections.push_back(it->second);
102 for (std::list<Connection*>::const_iterator it = connections.begin();
103 it != connections.end(); ++it) {
  /external/chromium_org/tools/page_cycler/webpagereplay/tests/
2012Q3.js 8 Run chrome.browingData.remove and close the connections.
10 Close the connections.
  /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 4