Searched refs:connections (Results 1 - 25 of 73) sorted by relevance

123

/external/autotest/frontend/afe/
H A Dreadonly_connection.py8 # establish connections outside of Django, as that might lead to effects where
9 # connections get leaked, which will lead to Django not cleaning them up
17 """Disable and enable the use of readonly connections globally.
22 @param disable: When True, readonly connections will be disabled.
30 return django_db.connections['global']
31 return django_db.connections['readonly']
/external/autotest/frontend/
H A Dsetup_django_environment.py12 from django.db import connections namespace
14 connections[name].cursor()
15 connections[name].connection.autocommit(True)
H A Dsetup_test_environment.py18 from django.db import connections namespace
21 connection = connections['default']
22 connection_readonly = connections['readonly']
23 connection_global = connections['global']
24 connection_server = connections['server']
/external/dbus/bus/
H A Dconnection.h2 /* 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...]
H A Dconnection.c2 /* 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. */
81 BusConnections *connections; member in struct:__anon3585
99 int stamp; /**< connections->stamp last time we were traversed */
111 static void bus_connection_drop_pending_replies (BusConnections *connections,
125 return bus_context_get_loop (d->connections->context);
130 get_connections_for_uid (BusConnections *connections, argument
147 adjust_connections_for_uid(BusConnections *connections, dbus_uid_t uid, int adjustment) argument
418 BusConnections *connections; local
471 bus_connections_ref(BusConnections *connections) argument
480 bus_connections_unref(BusConnections *connections) argument
592 bus_connections_setup_connection(BusConnections *connections, DBusConnection *connection) argument
767 bus_connections_expire_incomplete(BusConnections *connections) argument
826 BusConnections *connections = data; local
919 foreach_active(BusConnections *connections, BusConnectionForeachFunction function, void *data) argument
941 foreach_inactive(BusConnections *connections, BusConnectionForeachFunction function, void *data) argument
972 bus_connections_foreach_active(BusConnections *connections, BusConnectionForeachFunction function, void *data) argument
988 bus_connections_foreach(BusConnections *connections, BusConnectionForeachFunction function, void *data) argument
999 bus_connections_get_context(BusConnections *connections) argument
1012 bus_connections_increment_stamp(BusConnections *connections) argument
1454 bus_connections_check_limits(BusConnections *connections, DBusConnection *requesting_completion, DBusError *error) argument
1496 bus_pending_reply_send_no_reply(BusConnections *connections, BusTransaction *transaction, BusPendingReply *pending) argument
1543 BusConnections *connections = data; local
1578 bus_connection_drop_pending_replies(BusConnections *connections, DBusConnection *connection) argument
1639 BusConnections *connections; member in struct:__anon3586
1675 bus_connections_expect_reply(BusConnections *connections, BusTransaction *transaction, DBusConnection *will_get_reply, DBusConnection *will_send_reply, DBusMessage *reply_to_this, DBusError *error) argument
1790 BusConnections *connections; member in struct:__anon3587
1831 bus_connections_check_reply(BusConnections *connections, BusTransaction *transaction, DBusConnection *sending_reply, DBusConnection *receiving_reply, DBusMessage *reply, DBusError *error) argument
1922 DBusList *connections; member in struct:BusTransaction
2321 bus_connections_get_n_active(BusConnections *connections) argument
2327 bus_connections_get_n_incomplete(BusConnections *connections) argument
2333 bus_connections_get_total_match_rules(BusConnections *connections) argument
2339 bus_connections_get_peak_match_rules(BusConnections *connections) argument
2345 bus_connections_get_peak_match_rules_per_conn(BusConnections *connections) argument
2351 bus_connections_get_total_bus_names(BusConnections *connections) argument
2357 bus_connections_get_peak_bus_names(BusConnections *connections) argument
2363 bus_connections_get_peak_bus_names_per_conn(BusConnections *connections) argument
[all...]
H A Dstats.c186 BusConnections *connections; local
194 connections = bus_transaction_get_connections (transaction);
217 bus_connections_get_n_active (connections)) ||
219 bus_connections_get_n_incomplete (connections)) ||
221 bus_connections_get_total_match_rules (connections)) ||
223 bus_connections_get_peak_match_rules (connections)) ||
225 bus_connections_get_peak_match_rules_per_conn (connections)) ||
227 bus_connections_get_total_bus_names (connections)) ||
229 bus_connections_get_peak_bus_names (connections)) ||
231 bus_connections_get_peak_bus_names_per_conn (connections)))
[all...]
H A Dsignals.h94 BusConnections *connections,
/external/libmicrohttpd/src/examples/
H A Dmhd2spdy_spdy.h74 struct SPDY_Connection *connections[],
83 struct SPDY_Connection *connections[],
90 struct SPDY_Connection *connections[],
98 struct SPDY_Connection *connections[],
H A Dmhd2spdy.c80 struct SPDY_Connection *connections[MAX_SPDY_CONNECTIONS]; local
163 connections, MAX_SPDY_CONNECTIONS, &spdy_npollfds);
185 spdy_run_select(&rs, &ws, &es, connections, spdy_npollfds);
H A Dmhd2spdy_spdy.c911 struct SPDY_Connection *connections[],
942 connections[*real_size] = glob_opt.spdy_connection;
971 connections[*real_size] = connection;
986 struct SPDY_Connection *connections[],
1014 connections[*real_size] = glob_opt.spdy_connection;
1041 connections[*real_size] = connection;
1057 struct SPDY_Connection *connections[],
1066 // PRINT_INFO2("exec about to be called for %s", connections[i]->host);
1069 ret = spdy_exec_io(connections[i]);
1079 glob_opt.streams_opened -= connections[
983 spdy_get_selectfdset(fd_set * read_fd_set, fd_set * write_fd_set, fd_set * except_fd_set, struct SPDY_Connection *connections[], unsigned int max_size, nfds_t *real_size) argument
1108 spdy_run_select(fd_set * read_fd_set, fd_set * write_fd_set, fd_set * except_fd_set, struct SPDY_Connection *connections[], int size) argument
[all...]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
H A DConnectionPool.java32 * Manages reuse of HTTP and SPDY connections for reduced network latency. HTTP
35 * which connections to keep open for future use.
40 * <li>{@code http.keepAlive} true if HTTP and SPDY connections should be
42 * <li>{@code http.maxConnections} maximum number of idle connections to
51 * parameters do so before making HTTP connections, and that this class is
74 /** The maximum number of idle connections for each address. */
78 private final LinkedList<Connection> connections = new LinkedList<>(); field in class:ConnectionPool
81 * A background thread is used to cleanup expired connections. There will be, at most, a single
110 /** Returns total number of connections in the pool. */
112 return connections
[all...]
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/
H A Dhttpproxy_test.py107 # re-handle connections that are finished.
150 connections = []
156 connections.append(conn)
159 for conn in connections:
171 for conn in connections:
176 # Test that opening 400 simultaneous connections does not cause httpproxy to
189 connections = []
195 connections.append(conn)
200 for conn in connections:
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/
H A Dhttp_wrapper.py61 that alone won't change the value of existing HTTP connections. If
63 any cached connections attached to it.
68 http: (optional) an httplib2.Http whose connections we should
81 for connection_key, connection in http.connections.items():
94 if connection_key in http.connections:
95 http.connections[connection_key].set_debuglevel(old_level)
208 """Rebuilds all http connections in the httplib2.Http instance.
210 httplib2 overloads the map in http.connections to contain two different
214 Here we remove all of the entries for actual connections so that on the
220 if getattr(http, 'connections', Non
[all...]
/external/chromium-trace/catapult/telemetry/third_party/tsproxy/
H A Dtsproxy.py33 connections = {} variable
69 global connections
72 if connection_id in connections and self.peer in connections[connection_id]:
86 global connections
107 if connection_id in connections:
108 if self.peer in connections[connection_id]:
112 connections[connection_id][self.peer].handle_message(self.next_message)
114 # Clean up any disconnected connections
116 connections[connection_i
[all...]
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
H A DBluetoothRfcommFacade.java64 connections = new HashMap<String, BluetoothConnection>(); field in class:BluetoothRfcommFacade
79 conn = connections.get(connID);
80 } else if (connections.size() == 1) {
81 conn = (BluetoothConnection) connections.values().toArray()[0];
91 connections.put(uuid, conn);
140 @Rpc(description = "Returns active Bluetooth connections.")
143 for (Map.Entry<String, BluetoothConnection> entry : connections.entrySet()) {
183 connections.remove(conn.getUUID());
198 connections.remove(conn.getUUID());
216 connections
[all...]
/external/dbus/test/data/valid-config-files/system.d/
H A Dtest.conf6 connections can get messages from it -->
/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/python2/
H A Dhttplib2test_appengine.py50 self.assertEquals(1, len(h.connections))
/external/libgdx/gdx/src/com/badlogic/gdx/net/
H A DNetJavaImpl.java123 final ObjectMap<HttpRequest, HttpURLConnection> connections; field in class:NetJavaImpl
128 connections = new ObjectMap<HttpRequest, HttpURLConnection>();
242 connections.remove(httpRequest);
248 connections.put(httpRequest, connection);
/external/webrtc/webrtc/base/
H A Dhttpserver.cc80 std::list<Connection*> connections; local
83 connections.push_back(it->second);
85 for (std::list<Connection*>::const_iterator it = connections.begin();
86 it != connections.end(); ++it) {
/external/opencv3/modules/videoio/src/
H A Dcap_ios_photo_camera.mm139 for (AVCaptureConnection *connection in self.stillImageOutput.connections) {
/external/jetty/src/java/org/eclipse/jetty/websocket/
H A DWebSocketFactory.java43 * Factory to create WebSocket connections
48 private final Queue<WebSocketServletConnection> connections = new ConcurrentLinkedQueue<WebSocketServletConnection>(); field in class:WebSocketFactory
452 return isRunning() && connections.add(connection);
457 return connections.remove(connection);
462 for (WebSocketServletConnection connection : connections)
/external/libevent/
H A Devrpc-internal.h90 struct evconq connections; member in struct:evrpc_pool
H A Dhttp-internal.h92 /* for server connections, the http server they are connected with */
119 /* both the http server as well as the rpc system need to queue connections */
145 /* All live connections on this host. */
146 struct evconq connections; member in struct:evhttp
/external/jetty/src/java/org/eclipse/jetty/server/bio/
H A DSocketConnector.java49 * Buffers are managed so that large buffers are only allocated to active connections.
180 Set<EndPoint> connections = new HashSet<EndPoint>();
183 connections.addAll(_connections);
185 AggregateLifeCycle.dump(out, indent, connections);
/external/jetty/src/java/org/eclipse/jetty/servlets/
H A DCrossOriginFilter.java254 for (Enumeration connections = request.getHeaders("Connection"); connections.hasMoreElements();)
256 String connection = (String)connections.nextElement();

Completed in 1094 milliseconds

123