/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
D | GsmCall.java | 34 /*package*/ ArrayList<Connection> connections = new ArrayList<Connection>(); field in GsmCall 68 return connections; in getConnections() 78 return connections.size() > 1; in isMultiparty() 99 connections.add(conn); in attach() 106 connections.add(conn); in attachFake() 121 for (int i = 0, s = connections.size() ; i < s; i ++) { in connectionDisconnected() 122 if (connections.get(i).getState() in connectionDisconnected() 139 connections.remove(conn); in detach() 141 if (connections.size() == 0) { in detach() 167 return connections.size() == GsmCallTracker.MAX_CONNECTIONS_PER_CALL; in isFull() [all …]
|
D | GsmCallTracker.java | 67 GsmConnection connections[] = new GsmConnection[MAX_CONNECTIONS]; field in GsmCallTracker 113 for(GsmConnection c : connections) { in dispose() 161 connCopy = (List<Connection>) foregroundCall.connections.clone(); in fakeHoldForegroundBeforeDial() 436 ; i < connections.length; i++) { in handlePollCalls() 437 GsmConnection conn = connections[i]; in handlePollCalls() 461 connections[i] = pendingMO; in handlePollCalls() 472 hangup(connections[i]); in handlePollCalls() 482 connections[i] = new GsmConnection(phone.getContext(), dc, this, i); in handlePollCalls() 485 if (connections[i].getCall() == ringingCall) { in handlePollCalls() 486 newRinging = connections[i]; in handlePollCalls() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
D | CdmaCall.java | 35 /*package*/ ArrayList<Connection> connections = new ArrayList<Connection>(); field in CdmaCall 68 return connections; in getConnections() 82 return connections.size() > 1; in isMultiparty() 103 connections.add(conn); in attach() 110 connections.add(conn); in attachFake() 125 for (int i = 0, s = connections.size() ; i < s; i ++) { in connectionDisconnected() 126 if (connections.get(i).getState() in connectionDisconnected() 143 connections.remove(conn); in detach() 145 if (connections.size() == 0) { in detach() 171 return connections.size() == CdmaCallTracker.MAX_CONNECTIONS_PER_CALL; in isFull() [all …]
|
D | CdmaCallTracker.java | 61 CdmaConnection connections[] = new CdmaConnection[MAX_CONNECTIONS]; field in CdmaCallTracker 111 for(CdmaConnection c : connections) { in dispose() 173 connCopy = (List<Connection>) foregroundCall.connections.clone(); in fakeHoldForegroundBeforeDial() 500 ; i < connections.length; i++) { in handlePollCalls() 501 CdmaConnection conn = connections[i]; in handlePollCalls() 525 connections[i] = pendingMO; in handlePollCalls() 541 hangup(connections[i]); in handlePollCalls() 567 int count = foregroundCall.connections.size(); in handlePollCalls() 570 CdmaConnection cn = (CdmaConnection)foregroundCall.connections.get(n); in handlePollCalls() 573 count = ringingCall.connections.size(); in handlePollCalls() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
D | SipCallBase.java | 30 protected List<Connection> connections = new ArrayList<Connection>(); field in SipCallBase 36 return connections; in getConnections() 40 return connections.size() > 1; in isMultiparty() 48 for (Iterator<Connection> it = connections.iterator(); it.hasNext(); ) { in clearDisconnected() 53 if (connections.isEmpty()) setState(State.IDLE); in clearDisconnected()
|
D | SipPhone.java | 354 connections.clear(); in reset() 368 connections = that.connections; in takeOver() 370 for (Connection c : connections) { in takeOver() 384 return connections; in getConnections() 401 connections.add(c); in dial() 417 for (Connection c : connections) { in hangup() 435 connections.add(c); in initIncomingCall() 452 if (connections.size() != 1) { in acceptCall() 455 ((SipConnection) connections.get(0)).acceptCall(); in acceptCall() 483 for (Connection c : connections) ((SipConnection) c).hold(); in hold() [all …]
|
/frameworks/base/services/java/com/android/server/am/ |
D | AppBindRecord.java | 31 final HashSet<ConnectionRecord> connections = new HashSet<ConnectionRecord>(); field in AppBindRecord 41 if (connections.size() > 0) { in dumpInIntentBind() 43 Iterator<ConnectionRecord> it = connections.iterator(); in dumpInIntentBind()
|
D | ContentProviderRecord.java | 46 final ArrayList<ContentProviderConnection> connections field in ContentProviderRecord 174 if (connections.size() > 0 || externalProcessNoHandleCount > 0) { in dump() 175 pw.print(prefix); pw.print(connections.size()); in dump() 180 if (connections.size() > 0) { in dump() 184 for (int i=0; i<connections.size(); i++) { in dump() 185 ContentProviderConnection conn = connections.get(i); in dump()
|
D | ActiveServices.java | 496 ArrayList<ConnectionRecord> clist = s.connections.get(binder); in bindServiceLocked() 499 s.connections.put(binder, clist); in bindServiceLocked() 502 b.connections.add(c); in bindServiceLocked() 504 if (activity.connections == null) { in bindServiceLocked() 505 activity.connections = new HashSet<ConnectionRecord>(); in bindServiceLocked() 507 activity.connections.add(c); in bindServiceLocked() 509 b.client.connections.add(c); in bindServiceLocked() 577 if (r.connections.size() > 0) { in publishServiceLocked() 579 = r.connections.values().iterator(); in publishServiceLocked() 1182 if (r.connections.size() > 0) { in bringDownServiceLocked() [all …]
|
D | IntentBindRecord.java | 86 if (app.connections.size() > 0) { in collectFlags() 87 for (ConnectionRecord conn : app.connections) { in collectFlags()
|
D | ProcessRecord.java | 125 final HashSet<ConnectionRecord> connections field in ProcessRecord 294 if (connections.size() > 0) { in dump() 296 for (ConnectionRecord cr : connections) { in dump() 380 if (connections.size() > 0) { in updateHasAboveClientLocked() 381 for (ConnectionRecord cr : connections) { in updateHasAboveClientLocked()
|
D | ServiceRecord.java | 79 final HashMap<IBinder, ArrayList<ConnectionRecord>> connections field in ServiceRecord 271 if (connections.size() > 0) { in dump() 273 Iterator<ArrayList<ConnectionRecord>> it = connections.values().iterator(); in dump()
|
D | ActivityRecord.java | 101 HashSet<ConnectionRecord> connections; // All ConnectionRecord we hold field in ActivityRecord 251 if (connections != null) { in dump() 252 pw.print(prefix); pw.print("connections="); pw.println(connections); in dump()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | Call.java | 88 List connections = getConnections(); in hasConnections() local 90 if (connections == null) { in hasConnections() 94 return connections.size() > 0; in hasConnections()
|
/frameworks/base/docs/html/training/connect-devices-wirelessly/ |
D | index.jd | 41 Direct™ API for doing peer-to-peer wireless connections. This class also 56 connections.</dd>
|
/frameworks/base/docs/html/training/efficient-downloads/ |
D | regular_updates.jd | 45 <p>The result is a reduction in unnecessary connections, and a reduced latency for updated data wit… 47 …it's best practice to use GCM. This minimizes the number of persistent connections and allows the … 89 <p>You can use a similar exponential back-off pattern to reduce the effect of failed connections an…
|
D | efficient-network-access.jd | 19 <li><a href="#BatchTransfers">Batch transfers and connections</a></li> 20 <li><a href="#ReduceConnections">Reduce the number of connections you use</a></li> 34 …el interacts with it. It goes on to propose ways to minimize your data connections, use prefetchin… 134 …rally more efficient to reuse existing network connections than to initiate new ones. Reusing conn… 136 <p>Rather than creating multiple simultaneous connections to download data, or chaining multiple co… 139 …h server and client timeout, so it's also good practice to close your connections when they aren'…
|
D | index.jd | 28 …ill learn to minimize the battery life impact of downloads and network connections, particularly i…
|
/frameworks/base/docs/html/training/monitoring-device-state/ |
D | connectivity-monitoring.jd | 59 <p>Device connectivity can be provided by mobile data, WiMAX, Wi-Fi, and ethernet connections. By 66 rate should be lower when on mobile connections. Similarly, downloads of significant size should be
|
/frameworks/base/docs/html/guide/topics/connectivity/ |
D | index.jd | 3 …vices over Bluetooth, NFC, Wi-Fi Direct, USB, and SIP, in addition to standard network connections.
|
D | bluetooth.jd | 69 <li>Manage multiple connections</li> 82 connections:</p> 463 discoverable mode but still able to receive connections, or not in discoverable 464 mode and unable to receive connections, respectively.</p> 469 connections, because the remote devices must be able to discover the device 498 server, so that each one has a server socket open and listening for connections. 522 discarded, unless you want to accept more connections.</p> 566 <li>Unless you want to accept additional connections, call 595 connections:</p> 658 as soon as you are done listening for incoming connections. In this example, {@link
|
/frameworks/base/docs/html/tools/adk/ |
D | adk2.jd | 65 <li>Main processing board containing the microprocessor, USB connections, power connector and 75 <li>Separate USB connections for an Android device and computer connection for programming and 382 other profiles and multiple connections. However, the basic communication between the ADK 2012 389 frequency communications and start listening for Bluetooth connections:</p> 461 <p>In the ADK 2012 Android app, the code for handling Bluetooth connections is encapsulated in in a 551 <p>In the ADK 2012 Android app, the code for handling USB connections is encapsulated in a 566 <p>The ADK 2012 app uses the support library to implement the USB accessory connections, in order to 621 USB connections and audio output, as summarized in the code example below:</p>
|
/frameworks/base/docs/html/tools/help/ |
D | adb.jd | 53 …connections to all running emulator/device instances. It locates emulator/device instances by scan… 66 <p>Once the server has set up connections to all emulator instances, you can use adb commands to 67 access those instances. Because the server manages connections to emulator/device 186 <td>Forwards socket connections from a specified local port to a specified remote port on the emula…
|
/frameworks/base/docs/html/training/basics/network-ops/ |
D | managing.jd | 54 impact of downloads and network connections, see 60 <p>A device can have various types of network connections. This lesson
|
/frameworks/base/docs/html/training/ |
D | training_toc.cs | 380 Discovery and Wi-Fi Direct in order to create peer-to-peer connections."
|