/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
GsmCall.java | 34 /*package*/ ArrayList<Connection> connections = new ArrayList<Connection>(); field in class:GsmCall 68 return connections; 78 return connections.size() > 1; 99 connections.add(conn); 106 connections.add(conn); 117 /* If only disconnected connections remain, we are disconnected*/ 121 for (int i = 0, s = connections.size() ; i < s; i ++) { 122 if (connections.get(i).getState() 139 connections.remove(conn); 141 if (connections.size() == 0) [all...] |
GsmCallTracker.java | 60 static final int MAX_CONNECTIONS = 7; // only 7 connections allowed in GSM 61 static final int MAX_CONNECTIONS_PER_CALL = 5; // only 5 connections allowed per call 64 GsmConnection connections[] = new GsmConnection[MAX_CONNECTIONS]; field in class:GsmCallTracker 69 // connections dropped during last poll 110 for(GsmConnection c : connections) { 158 connCopy = (List<Connection>) foregroundCall.connections.clone(); 432 ; i < connections.length; i++) { 433 GsmConnection conn = connections[i]; 457 connections[i] = pendingMO; 468 hangup(connections[i]) [all...] |
/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/http/ |
HttpConnectionPool.java | 26 * A pool of HTTP connections. This class exposes its tuning parameters as 29 * <li>{@code http.keepAlive} true if HTTP connections should be pooled at 31 * <li>{@code http.maxConnections} maximum number of connections to each URI. 37 * so before making HTTP connections, and that this class is initialized lazily. 73 List<HttpConnection> connections = connectionPool.get(address); local 74 if (connections != null) { 75 while (!connections.isEmpty()) { 76 HttpConnection connection = connections.remove(connections.size() - 1); 96 List<HttpConnection> connections = connectionPool.get(address) local [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
CdmaCall.java | 35 /*package*/ ArrayList<Connection> connections = new ArrayList<Connection>(); field in class:CdmaCall 68 return connections; 82 return connections.size() > 1; 103 connections.add(conn); 110 connections.add(conn); 121 /* If only disconnected connections remain, we are disconnected*/ 125 for (int i = 0, s = connections.size() ; i < s; i ++) { 126 if (connections.get(i).getState() 143 connections.remove(conn); 145 if (connections.size() == 0) [all...] |
CdmaCallTracker.java | 58 CdmaConnection connections[] = new CdmaConnection[MAX_CONNECTIONS]; field in class:CdmaCallTracker 64 // connections dropped during last poll 108 for(CdmaConnection c : connections) { 166 connCopy = (List<Connection>) foregroundCall.connections.clone(); 473 ; i < connections.length; i++) { 474 CdmaConnection conn = connections[i]; 498 connections[i] = pendingMO; 514 hangup(connections[i]); 538 // Loop through foreground call connections as 539 // it contains the known logical connections [all...] |
/external/dbus/bus/ |
connection.c | 2 /* connection.c Client connections 51 DBusList *completed; /**< List of all completed connections */ 53 DBusList *incomplete; /**< List of all not-yet-active connections */ 56 DBusHashTable *completed_by_user; /**< Number of completed connections for each UID */ 57 DBusTimeout *expire_timeout; /**< Timeout for expiring incomplete connections. */ 66 BusConnections *connections; member in struct:__anon3156 83 int stamp; /**< connections->stamp last time we were traversed */ 90 static void bus_connection_drop_pending_replies (BusConnections *connections, 104 return bus_context_get_loop (d->connections->context); 109 get_connections_for_uid (BusConnections *connections, 423 BusConnections *connections; local 763 BusConnections *connections = data; local 1439 BusConnections *connections = data; local 1536 BusConnections *connections; member in struct:__anon3157 1687 BusConnections *connections; member in struct:__anon3158 1820 DBusList *connections; member in struct:BusTransaction [all...] |
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); 54 dbus_bool_t bus_connections_check_limits (BusConnections *connections, 57 void bus_connections_expire_incomplete (BusConnections *connections); [all...] |
signals.h | 81 BusConnections *connections,
|
bus.c | 50 BusConnections *connections; member in struct:BusContext 174 if (!bus_connections_setup_connection (context->connections, new_connection)) 652 context->connections = bus_connections_new (context); 653 if (context->connections == NULL) 903 if (context->connections) 905 bus_connections_unref (context->connections); 906 context->connections = NULL; 999 return context->connections; 1239 /* Policy for inactive connections is that they can only send [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/sip/ |
SipCallBase.java | 30 protected List<Connection> connections = new ArrayList<Connection>(); field in class:SipCallBase 36 return connections; 40 return connections.size() > 1; 48 for (Iterator<Connection> it = connections.iterator(); it.hasNext(); ) { 53 if (connections.isEmpty()) setState(State.IDLE);
|
SipPhone.java | 349 connections.clear(); 363 connections = that.connections; 365 for (Connection c : connections) { 379 return connections; 396 connections.add(c); 412 for (Connection c : connections) { 430 connections.add(c); 447 if (connections.size() != 1) { 450 ((SipConnection) connections.get(0)).acceptCall() [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();
|
ProcessRecord.java | 100 final HashSet<ConnectionRecord> connections field in class:ProcessRecord 233 if (connections.size() > 0) { 234 pw.print(prefix); pw.print("connections="); pw.println(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
|
/libcore/luni/src/test/java/tests/java/sql/ |
QueryTimeoutTest.java | 57 * timeouts from calls to ResultSet.next(). Two connections are used, two 85 private static final int CONNECTIONS = 100; 87 private static Connection[] connections = new Connection[CONNECTIONS]; field in class:QueryTimeoutTest 353 Connection conn1 = connections[0]; 354 Connection conn2 = connections[1]; 447 for (int i = 0; i < connections.length; ++i) { 449 connections[i].setAutoCommit(true); 455 PreparedStatement statements[] = new PreparedStatement[connections.length]; 457 statements[i] = prepare(connections[i], getExecQuery("t")) [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
Call.java | 85 * @return true if the call contains one or more connections 88 List connections = getConnections(); local 90 if (connections == null) { 94 return connections.size() > 0; 109 * @return true if the call contains only disconnected connections (if any) 117 * first, or null if there are no Connections in this Call 204 * last, or null if there are no Connections in this Call
|
/packages/apps/Phone/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);
|
ManageConferenceUtils.java | 136 * connections. 138 * @param connections the List of connections belonging to 142 public void updateManageConferencePanel(List<Connection> connections) { 143 mNumCallersInConference = connections.size(); 144 if (DBG) log("updateManageConferencePanel()... num connections in conference = " 156 Connection connection = (Connection) connections.get(i);
|
/external/bluetooth/bluez/network/ |
connection.c | 65 GSList *connections; member in struct:network_peer 401 nc = find_connection(peer->connections, id); 455 for (l = peer->connections; l; l = l->next) { 491 for (l = peer->connections; l; l = l->next) { 530 g_slist_foreach(peer->connections, (GFunc) connection_free, NULL); 531 g_slist_free(peer->connections); 570 nc = find_connection(peer->connections, id); 574 peer->connections = g_slist_remove(peer->connections, nc); 576 if (peer->connections) [all...] |
/external/dbus/test/data/valid-config-files/system.d/ |
test.conf | 6 connections can get messages from it -->
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/ |
LaunchConfigDelegate.java | 166 int connections = -1; local 169 connections = bridge.getConnectionAttemptCount(); 176 if (connections == -1 || restarts == -1) { 189 String.format("%1$s attempts have been made to reconnect.", connections),
|
/external/bluetooth/bluez/input/ |
device.c | 95 GSList *connections; member in struct:input_device 763 for (l = idev->connections; l; l = l->next) { 940 iconn = find_connection(idev->connections, "HID"); 1040 connected = !!g_slist_find_custom(idev->connections, NULL, 1133 idev->connections = g_slist_append(idev->connections, iconn); 1162 idev->connections = g_slist_append(idev->connections, iconn); 1191 iconn = find_connection(idev->connections, uuid); 1200 idev->connections = g_slist_remove(idev->connections, iconn) [all...] |
/system/core/libcutils/ |
mq.c | 196 * keep track of which connections we've sent to whom. 198 Hashmap* connections; member in struct:PeerProxy 368 hashmapRemove(otherPeer->connections, &(deadPeer->credentials.pid)); 419 if (peerProxy->connections != NULL) { 421 hashmapForEach(peerProxy->connections, &peerProxyRemoveConnection, 423 hashmapFree(peerProxy->connections); 874 if (!hashmapContainsKey(peerProxy->connections, &targetPid)) { 1086 peerProxy->connections = hashmapCreate(10, &pidHash, &pidEquals); [all...] |