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

1 2 3 4

  /external/autotest/frontend/
setup_django_environment.py 13 from django.db import connections
16 name, connections[name].settings_dict['HOST'])
17 connections[name].cursor()
18 connections[name].connection.autocommit(True)
setup_test_environment.py 18 from django.db import connections
21 connection = connections['default']
22 connection_readonly = connections['readonly']
23 connection_global = connections['global']
24 connection_server = connections['server']
  /external/autotest/frontend/afe/
readonly_connection.py 8 # 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/curl/docs/cmdline-opts/
proxy-insecure.d 2 Help: Do HTTPS proxy connections without verifying the proxy
insecure.d 3 Help: Allow insecure server connections when using SSL
9 option allows curl to proceed and operate even for server connections
egd-file.d 8 used to seed the random engine for SSL connections.
random-file.d 6 data. The data may be used to seed the random engine for SSL connections. See
capath.d 11 OpenSSL-powered curl to make SSL-connections much more efficiently than using
  /external/ltp/testcases/network/stress/ssh/
ssh-stress01-rmt 29 tst_brkm TBROK "Usage: $0 ipver rhost config connections"
35 connections="$4"
42 # Make ssh connections
44 while [ $num -lt $connections ]; do
ssh-stress02-rmt 30 tst_brkm TBROK "Usage: $0 ipver rhost config connections duration"
36 connections="$4"
53 if [ $ssh_num -ge $connections ]; then
  /external/ltp/testcases/network/stress/http/
http-stress02-rmt 30 tst_brkm TBROK "Usage: $0 server_addr fname fsize duration connections"
37 connections="$5"
54 if [ $http_num -ge $connections ]; then
  /external/python/httplib2/tests/
test_external.py 49 assert http.connections["https:bitworking.org"].key_file == "akeyfile"
50 assert http.connections["https:bitworking.org"].cert_file == "acertfile"
58 assert http.connections["https:notthere.bitworking.org"].key_file is None
59 assert http.connections["https:notthere.bitworking.org"].cert_file is None
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
ConnectionPool.java 36 * Manages reuse of HTTP and SPDY connections for reduced network latency. HTTP
38 * {@link Connection}. This class implements the policy of which connections to
44 * <li>{@code http.keepAlive} true if HTTP and SPDY connections should be
46 * <li>{@code http.maxConnections} maximum number of idle connections to
55 * parameters do so before making HTTP connections, and that this class is
80 * A background thread is used to cleanup expired connections. There will be, at most, a single
88 /** The maximum number of idle connections for each address. */
110 private final Deque<RealConnection> connections = new ArrayDeque<>(); field in class:ConnectionPool
131 /** Returns the number of idle connections in the pool. */
134 for (RealConnection connection : connections) {
    [all...]
  /external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
ConnectionPool.java 37 * Manages reuse of HTTP and SPDY connections for reduced network latency. HTTP
39 * {@link Connection}. This class implements the policy of which connections to
45 * <li>{@code http.keepAlive} true if HTTP and SPDY connections should be
47 * <li>{@code http.maxConnections} maximum number of idle connections to
56 * parameters do so before making HTTP connections, and that this class is
83 * A background thread is used to cleanup expired connections. There will be, at most, a single
91 /** The maximum number of idle connections for each address. */
116 private final Deque<RealConnection> connections = new ArrayDeque<>(); field in class:ConnectionPool
137 /** Returns the number of idle connections in the pool. */
140 for (RealConnection connection : connections) {
    [all...]
  /cts/tests/tests/telecom/src/android/telecom/cts/
ConnectionServiceTest.java 250 Collection<Connection> connections = CtsConnectionService.getAllConnectionsFromTelecom(); local
251 assertEquals(1, connections.size());
252 assertTrue(connections.contains(connection1));
264 connections = CtsConnectionService.getAllConnectionsFromTelecom();
265 assertEquals(2, connections.size());
266 assertTrue(connections.contains(connection2));
271 connections = CtsConnectionService.getAllConnectionsFromTelecom();
272 assertEquals(3, connections.size());
273 assertTrue(connections.contains(connection3));
IncomingCallTest.java 52 Collection<Connection> connections = CtsConnectionService.getAllConnectionsFromTelecom(); local
53 assertEquals(1, connections.size());
54 assertTrue(connections.contains(connection3));
  /external/curl/tests/libtest/
lib1533.c 103 long connections = 0; local
111 res = curl_easy_getinfo(curl, CURLINFO_NUM_CONNECTS, &connections);
117 fprintf(stderr, "%s: expected: %ld connections; actual: %ld connections\n",
118 description, expected_connections, connections);
120 if(connections != expected_connections) {
  /cts/tests/app/src/android/app/cts/
ServiceTest.java 1584 final IsolatedConnectionInfo[] connections = new IsolatedConnectionInfo[] { local
    [all...]
  /development/tools/repo_diff/service/repodiff/persistence/sql/
sql.go 55 connections := maxParallelism()
58 db.SetMaxOpenConns(connections)
60 // unless explicitly specified, the default is 0 where idle connections are immediately closed
61 db.SetMaxIdleConns(connections)
  /external/autotest/server/cros/network/rf_switch/
rf_switch.py 264 """Get a list of AP to client connections.
266 @returns tuple of dict of connections ({'AP': 1, 'Client': 1}, ...)
272 # Find out the connections
273 connections = []
281 connections.append(connection)
282 return tuple(connections)
285 """Get a list of AP to client connections.
287 @returns tuple of dict of connections ({'AP': 1, 'Client': 1}, ...)
293 # Find out the connections
294 connections = [
    [all...]
  /external/python/apitools/apitools/base/py/
http_wrapper.py 77 that alone won't change the value of existing HTTP connections. If
79 any cached connections attached to it.
84 http: (optional) an httplib2.Http whose connections we should
97 for connection_key, connection in http.connections.items():
110 if connection_key in http.connections:
111 http.connections[connection_key].set_debuglevel(old_level)
224 """Rebuilds all http connections in the httplib2.Http instance.
226 httplib2 overloads the map in http.connections to contain two different
230 Here we remove all of the entries for actual connections so that on the
236 if getattr(http, 'connections', None)
    [all...]
  /external/tensorflow/tensorflow/python/keras/utils/
layer_utils.py 184 """Prints a summary for a single layer (including topological connections).
193 connections = []
200 connections.append('{}[{}][{}]'.format(inbound_layer.name, node_index,
205 if not connections:
208 first_connection = connections[0]
214 if len(connections) > 1:
215 for i in range(1, len(connections)):
216 fields = ['', '', '', connections[i]]
  /external/webrtc/webrtc/base/
httpserver.cc 80 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) {
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_cpickle.py 115 n.connections = list(nodes)
116 n.connections.remove(n)
  /external/libevent/
evrpc-internal.h 91 struct evconq connections; member in struct:evrpc_pool

Completed in 4877 milliseconds

1 2 3 4