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

1 2 3 4 5 6

  /external/autotest/frontend/
setup_django_environment.py 12 from django.db import connections namespace
14 connections[name].cursor()
15 connections[name].connection.autocommit(True)
setup_test_environment.py 18 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/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/dbus/bus/
connection.h 2 /* 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...]
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. */
81 BusConnections *connections; member in struct:__anon9549
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,
418 BusConnections *connections; local
826 BusConnections *connections = data; local
1543 BusConnections *connections = data; local
1639 BusConnections *connections; member in struct:__anon9550
1790 BusConnections *connections; member in struct:__anon9551
1922 DBusList *connections; member in struct:BusTransaction
    [all...]
stats.c 186 BusConnections *connections; local
194 connections = bus_transaction_get_connections (transaction);
214 /* Connections */
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)) ||
    [all...]
  /cts/tests/tests/telecom/src/android/telecom/cts/
ConnectionServiceTest.java 70 Collection<Connection> connections = CtsConnectionService.getAllConnectionsFromTelecom(); local
71 assertEquals(1, connections.size());
72 assertTrue(connections.contains(connection1));
84 connections = CtsConnectionService.getAllConnectionsFromTelecom();
85 assertEquals(2, connections.size());
86 assertTrue(connections.contains(connection2));
91 connections = CtsConnectionService.getAllConnectionsFromTelecom();
92 assertEquals(3, connections.size());
93 assertTrue(connections.contains(connection3));
IncomingCallTest.java 52 Collection<Connection> connections = CtsConnectionService.getAllConnectionsFromTelecom(); local
53 assertEquals(1, connections.size());
54 assertTrue(connections.contains(connection3));
  /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[],
mhd2spdy.c 80 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);
mhd2spdy_spdy.c 911 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[i]->streams_opened
    [all...]
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
ConnectionPool.java 32 * 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.size()
    [all...]
  /packages/services/Telephony/src/com/android/services/telephony/
TelephonyConference.java 157 List<Connection> connections = getConnections(); local
158 if (connections == null || connections.isEmpty()) {
163 Connection primaryConnection = connections.get(0);
166 for (Connection connection : connections) {
202 final List<Connection> connections = getConnections(); local
203 if (connections.isEmpty()) {
206 return (TelephonyConnection) connections.get(0);
CdmaConference.java 151 List<Connection> connections = getConnections(); local
152 if (!connections.isEmpty()) {
154 getOriginalConnection(connections.get(0));
196 final List<Connection> connections = getConnections(); local
197 if (connections.isEmpty()) {
200 return (CdmaConnection) connections.get(0);
  /frameworks/base/services/core/java/com/android/server/am/
AppBindRecord.java 31 final ArraySet<ConnectionRecord> connections = new ArraySet<>(); field in class:AppBindRecord
41 final int N = connections.size();
43 pw.println(prefix + "Per-process Connections:");
45 ConnectionRecord c = connections.valueAt(i);
IntentBindRecord.java 82 final ArraySet<ConnectionRecord> connections = apps.valueAt(i).connections; local
83 for (int j=connections.size()-1; j>=0; j--) {
84 flags |= connections.valueAt(j).flags;
ContentProviderRecord.java 45 final ArrayList<ContentProviderConnection> connections field in class:ContentProviderRecord
143 return !connections.isEmpty() || hasExternalProcessHandles();
185 if (connections.size() > 0 || externalProcessNoHandleCount > 0) {
186 pw.print(prefix); pw.print(connections.size());
187 pw.print(" connections, "); pw.print(externalProcessNoHandleCount);
191 if (connections.size() > 0) {
193 pw.print(prefix); pw.println("Connections:");
195 for (int i=0; i<connections.size(); i++) {
196 ContentProviderConnection conn = connections.get(i);
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
napenforcementclient.h 17 INapEnforcementClientConnection **connections; member in struct:tagConnections
18 } Connections;
naputil.h 18 NAPAPI HRESULT WINAPI AllocConnections(Connections **connections,UINT16 connectionsCount);
19 NAPAPI VOID WINAPI FreeConnections(Connections *connections);
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
BluetoothRfcommFacade.java 63 connections = new HashMap<String, BluetoothConnection>(); field in class:BluetoothRfcommFacade
77 conn = connections.get(connID);
78 } else if (connections.size() == 1) {
79 conn = (BluetoothConnection) connections.values().toArray()[0];
89 connections.put(uuid, conn);
140 @Rpc(description = "Returns active Bluetooth connections.")
143 for (Map.Entry<String, BluetoothConnection> entry : connections.entrySet()) {
192 connections.remove(conn.getUUID());
207 connections.remove(conn.getUUID());
225 connections.remove(conn.getUUID())
    [all...]
  /external/chromium-trace/catapult/telemetry/third_party/webpagereplay/
httpproxy_test.py 92 # re-handle connections that are finished.
135 connections = []
141 connections.append(conn)
144 for conn in connections:
156 for conn in connections:
161 # Test that opening 400 simultaneous connections does not cause httpproxy to
174 connections = []
180 connections.append(conn)
185 for conn in connections:
  /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-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/
http_wrapper.py 61 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', None)
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
Call.java 97 * @return true if the call contains one or more connections
100 List<Connection> connections = getConnections(); local
102 if (connections == null) {
106 return connections.size() > 0;
129 * @return true if the call contains only disconnected connections (if any)
137 * first, or null if there are no Connections in this Call
224 * last, or null if there are no Connections in this Call
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/
ContactAggregatorHelper.java 108 private static void findConnectedComponentForRawContact(Multimap<Long, Long> connections,
112 for (long match : connections.get(rawContactId)) {
114 findConnectedComponentForRawContact(connections, visited, match, results);

Completed in 2151 milliseconds

1 2 3 4 5 6