/cts/tests/tests/telecom/src/android/telecom/cts/ |
IncomingCallTest.java | 52 Collection<Connection> connections = CtsConnectionService.getAllConnectionsFromTelecom(); local 53 assertEquals(1, connections.size()); 54 assertTrue(connections.contains(connection3));
|
ConnectionServiceTest.java | 136 Collection<Connection> connections = CtsConnectionService.getAllConnectionsFromTelecom(); local 137 assertEquals(1, connections.size()); 138 assertTrue(connections.contains(connection1)); 150 connections = CtsConnectionService.getAllConnectionsFromTelecom(); 151 assertEquals(2, connections.size()); 152 assertTrue(connections.contains(connection2)); 157 connections = CtsConnectionService.getAllConnectionsFromTelecom(); 158 assertEquals(3, connections.size()); 159 assertTrue(connections.contains(connection3));
|
SelfManagedConnectionServiceTest.java | 359 List<SelfManagedConnection> connections = new ArrayList<>(); local 368 connections.add(connection); 378 connections.forEach((selfManagedConnection) ->
|
/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) {
|
/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);
|
/external/libmicrohttpd/src/examples/ |
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);
|
/packages/services/Car/obd2-lib/src/com/android/car/obd2/connections/ |
BluetoothConnection.java | 17 package com.android.car.obd2.connections;
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
napenforcementclient.h | 280 INapEnforcementClientConnection **connections; member in struct:tagConnections 281 } Connections; 291 Connections **connections) = 0; 319 Connections **connections); 335 #define INapEnforcementClientCallback_GetConnections(This,connections) (This)->lpVtbl->GetConnections(This,connections) 351 static FORCEINLINE HRESULT INapEnforcementClientCallback_GetConnections(INapEnforcementClientCallback* This,Connections **connections) { [all...] |
/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) {
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/ |
BluetoothFacade.java | 59 private Map<String, BluetoothConnection> connections = field in class:BluetoothFacade 199 @Rpc(description = "Requests that the device be discoverable for Bluetooth connections.") 486 for (Map.Entry<String, BluetoothConnection> entry : connections.entrySet()) { 490 connections.clear();
|
BluetoothRfcommFacade.java | 63 connections = new HashMap<String, BluetoothConnection>(); field in class:BluetoothRfcommFacade 78 conn = connections.get(connID); 79 } else if (connections.size() == 1) { 80 conn = (BluetoothConnection) connections.values().toArray()[0]; 90 connections.put(uuid, conn); 177 @Rpc(description = "Returns active Bluetooth connections.") 180 for (Map.Entry<String, BluetoothConnection> entry : connections.entrySet()) { 220 connections.remove(conn.getUUID()); 235 connections.remove(conn.getUUID()); 253 connections.remove(conn.getUUID()) [all...] |
/external/libevent/ |
evrpc-internal.h | 90 struct evconq connections; member in struct:evrpc_pool
|
http-internal.h | 92 /* 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/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/webrtc/webrtc/p2p/base/ |
p2ptransportchannel.h | 13 // connections which are combinations of candidates from each end (Alice and 15 // Bob are used to make a connection, repeat to make many connections). 17 // When all of the available connections become invalid (non-writable), we 18 // kick off a process of determining more candidates and more connections. 174 const std::vector<Connection*>& connections() const { return connections_; } function in class:cricket::P2PTransportChannel
|
/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/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);
|
/packages/services/Telephony/src/com/android/services/telephony/ |
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);
|
ImsConferenceController.java | 39 * Manages conferences for IMS connections. 59 * Telephony connections the controller is aware of. 164 // Debug only since TelephonyConnectionService tries to clean up the connections tracked 180 * Triggers both a re-check of conferenceable connections, as well as checking for new 189 * Calculates the conference-capable state of all GSM connections in this connection service. 205 // conferenceable with any other connections. 229 // This connection is not active or holding, so clear all conferencable connections 269 // Add all conference participant connections as conferenceable with a standalone 275 // list of remote conferences and connections in the future. 289 List<Connection> connections = conferenceableSe local [all...] |
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);
|
TelephonyConferenceController.java | 40 * Maintains a list of all the known TelephonyConnections connections and controls GSM and 68 /** The known connections. */ 98 // Debug only since TelephonyConnectionService tries to clean up the connections tracked 123 * Calculates the conference-capable state of all GSM connections in this connection service. 151 // Go through all the conferenceable connections and add all other conferenceable 152 // connections that is not the connection itself 154 List<Connection> connections = conferenceableConnections local 156 // Filter out this connection from the list of connections 159 c.setConferenceableConnections(connections); 162 // Set the conference as conferenceable with all of the connections that are not in th [all...] |
/packages/apps/Settings/src/com/android/settings/vpn2/ |
VpnSettings.java | 484 Set<AppVpnInfo> connections = new ArraySet<>(); local 489 connections.add(new AppVpnInfo(profile.getIdentifier(), config.user)); 495 return connections;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/ |
LaunchConfigDelegate.java | 179 int connections = -1; local 182 connections = bridge.getConnectionAttemptCount(); 189 if (connections == -1 || restarts == -1) { 202 String.format("%1$s attempts have been made to reconnect.", connections),
|