/external/autotest/frontend/ |
setup_django_environment.py | 12 from django.db import connections 14 connections[name].cursor() 15 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/libmicrohttpd/src/examples/ |
mhd2spdy_spdy.h | 74 struct SPDY_Connection *connections[], 83 struct SPDY_Connection *connections[], 90 struct SPDY_Connection *connections[], 98 struct SPDY_Connection *connections[],
|
/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
|
/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
|
/frameworks/base/services/core/java/com/android/server/am/ |
AppBindRecord.java | 32 final ArraySet<ConnectionRecord> connections = new ArraySet<>(); field in class:AppBindRecord 42 final int N = connections.size(); 44 pw.println(prefix + "Per-process Connections:"); 46 ConnectionRecord c = connections.valueAt(i); 69 final int N = connections.size(); 71 ConnectionRecord conn = connections.valueAt(i); 72 proto.write(AppBindRecordProto.CONNECTIONS,
|
IntentBindRecord.java | 83 final ArraySet<ConnectionRecord> connections = apps.valueAt(i).connections; local 84 for (int j=connections.size()-1; j>=0; j--) { 85 flags |= connections.valueAt(j).flags;
|
/packages/services/Telephony/src/com/android/services/telephony/ |
TelephonyConference.java | 160 List<Connection> connections = getConnections(); local 161 if (connections == null || connections.isEmpty()) { 166 Connection primaryConnection = connections.get(0); 169 for (Connection connection : connections) { 221 final List<Connection> connections = getConnections(); local 222 if (connections.isEmpty()) { 225 return (TelephonyConnection) connections.get(0);
|
CdmaConference.java | 153 List<Connection> connections = getConnections(); local 154 if (!connections.isEmpty()) { 156 getOriginalConnection(connections.get(0)); 198 final List<Connection> connections = getConnections(); local 199 if (connections.isEmpty()) { 202 return (CdmaConnection) connections.get(0);
|
/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/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...] |
/prebuilts/jdk/jdk8/darwin-x86/sample/nio/chatserver/ |
ChatServer.java | 55 private final List<Client> connections = Collections.synchronizedList(new ArrayList<Client>()); field in class:ChatServer 82 * Start accepting connections 86 // call accept to wait for connections, tell it to call our CompletionHandler when there 113 * Creates a listener and starts accepting connections 127 * Creates a new client and adds it to the list of connections. 139 connections.add(client); 152 synchronized (connections) { 153 for (Client clientConnection : connections) { 162 connections.remove(client);
|
/prebuilts/jdk/jdk8/linux-x86/sample/nio/chatserver/ |
ChatServer.java | 55 private final List<Client> connections = Collections.synchronizedList(new ArrayList<Client>()); field in class:ChatServer 82 * Start accepting connections 86 // call accept to wait for connections, tell it to call our CompletionHandler when there 113 * Creates a listener and starts accepting connections 127 * Creates a new client and adds it to the list of connections. 139 connections.add(client); 152 synchronized (connections) { 153 for (Client clientConnection : connections) { 162 connections.remove(client);
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
IncomingCallTest.java | 48 Collection<Connection> connections = CtsConnectionService.getAllConnectionsFromTelecom(); local 49 assertEquals(1, connections.size()); 50 assertTrue(connections.contains(connection3));
|
ConnectionServiceTest.java | 221 Collection<Connection> connections = CtsConnectionService.getAllConnectionsFromTelecom(); local 222 assertEquals(1, connections.size()); 223 assertTrue(connections.contains(connection1)); 235 connections = CtsConnectionService.getAllConnectionsFromTelecom(); 236 assertEquals(2, connections.size()); 237 assertTrue(connections.contains(connection2)); 242 connections = CtsConnectionService.getAllConnectionsFromTelecom(); 243 assertEquals(3, connections.size()); 244 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) {
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
naputil.h | 28 NAPAPI HRESULT WINAPI AllocConnections(Connections **connections, UINT16 connectionsCount); 31 NAPAPI VOID WINAPI FreeConnections(Connections *connections);
|
/prebuilts/go/darwin-x86/src/vendor/golang_org/x/net/proxy/ |
direct.go | 13 // Direct is a direct proxy: one that makes network connections directly.
|
/prebuilts/go/linux-x86/src/vendor/golang_org/x/net/proxy/ |
direct.go | 13 // Direct is a direct proxy: one that makes network connections directly.
|
/external/tensorflow/tensorflow/python/keras/_impl/keras/utils/ |
layer_utils.py | 142 """Prints a summary for a single layer (including topological connections). 151 connections = [] 160 connections.append(inbound_layer + '[' + str(inbound_node_index) + 165 if not connections: 168 first_connection = connections[0] 174 if len(connections) > 1: 175 for i in range(1, len(connections)): 176 fields = ['', '', '', connections[i]]
|