Home
last modified time | relevance | path

Searched refs:connections (Results 1 – 25 of 59) sorted by relevance

123

/frameworks/base/services/core/java/com/android/server/am/
DAppBindRecord.java32 final ArraySet<ConnectionRecord> connections = new ArraySet<>(); field in AppBindRecord
42 final int N = connections.size(); in dumpInIntentBind()
46 ConnectionRecord c = connections.valueAt(i); in dumpInIntentBind()
DIntentBindRecord.java82 final ArraySet<ConnectionRecord> connections = apps.valueAt(i).connections; in collectFlags() local
83 for (int j=connections.size()-1; j>=0; j--) { in collectFlags()
84 flags |= connections.valueAt(j).flags; in collectFlags()
DContentProviderRecord.java45 final ArrayList<ContentProviderConnection> connections field in ContentProviderRecord
181 if (connections.size() > 0 || externalProcessNoHandleCount > 0) { in dump()
182 pw.print(prefix); pw.print(connections.size()); in dump()
187 if (connections.size() > 0) { in dump()
191 for (int i=0; i<connections.size(); i++) { in dump()
192 ContentProviderConnection conn = connections.get(i); in dump()
DActiveServices.java634 for (int i=0; i<clientProc.connections.size(); i++) { in updateServiceConnectionActivitiesLocked()
635 final ConnectionRecord conn = clientProc.connections.valueAt(i); in updateServiceConnectionActivitiesLocked()
662 for (int conni=sr.connections.size()-1; conni>=0 && !anyClientActivities; conni--) { in updateServiceClientActivitiesLocked()
663 ArrayList<ConnectionRecord> clist = sr.connections.valueAt(conni); in updateServiceClientActivitiesLocked()
778 ArrayList<ConnectionRecord> clist = s.connections.get(binder); in bindServiceLocked()
781 s.connections.put(binder, clist); in bindServiceLocked()
784 b.connections.add(c); in bindServiceLocked()
786 if (activity.connections == null) { in bindServiceLocked()
787 activity.connections = new HashSet<ConnectionRecord>(); in bindServiceLocked()
789 activity.connections.add(c); in bindServiceLocked()
[all …]
DServiceRecord.java80 final ArrayMap<IBinder, ArrayList<ConnectionRecord>> connections field in ServiceRecord
291 if (connections.size() > 0) { in dump()
293 for (int conni=0; conni<connections.size(); conni++) { in dump()
294 ArrayList<ConnectionRecord> c = connections.valueAt(conni); in dump()
378 for (int conni=connections.size()-1; conni>=0; conni--) { in hasAutoCreateConnections()
379 ArrayList<ConnectionRecord> cr = connections.valueAt(conni); in hasAutoCreateConnections()
DProcessRecord.java146 final ArraySet<ConnectionRecord> connections field in ProcessRecord
360 if (connections.size() > 0) { in dump()
362 for (int i=0; i<connections.size(); i++) { in dump()
363 pw.print(prefix); pw.print(" - "); pw.println(connections.valueAt(i)); in dump()
491 for (int i=connections.size()-1; i>=0; i--) { in updateHasAboveClientLocked()
492 ConnectionRecord cr = connections.valueAt(i); in updateHasAboveClientLocked()
DActivityRecord.java139 HashSet<ConnectionRecord> connections; // All ConnectionRecord we hold field in ActivityRecord
309 if (connections != null) { in dump()
310 pw.print(prefix); pw.print("connections="); pw.println(connections); in dump()
/frameworks/base/services/core/jni/
Dcom_android_server_tv_TvInputHal.cpp336 KeyedVector<int, Connection>& connections = mConnections.editValueFor(deviceId); in addOrUpdateStream() local
337 if (connections.indexOfKey(streamId) < 0) { in addOrUpdateStream()
338 connections.add(streamId, Connection()); in addOrUpdateStream()
340 Connection& connection = connections.editValueFor(streamId); in addOrUpdateStream()
407 KeyedVector<int, Connection>& connections = mConnections.editValueFor(deviceId); in removeStream() local
408 if (connections.indexOfKey(streamId) < 0) { in removeStream()
411 Connection& connection = connections.editValueFor(streamId); in removeStream()
509 KeyedVector<int, Connection>& connections = mConnections.editValueFor(deviceId); in onDeviceUnavailable() local
510 for (size_t i = 0; i < connections.size(); ++i) { in onDeviceUnavailable()
511 removeStream(deviceId, connections.keyAt(i)); in onDeviceUnavailable()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCall.java106 List<Connection> connections = getConnections(); in hasConnections() local
108 if (connections == null) { in hasConnections()
112 return connections.size() > 0; in hasConnections()
/frameworks/base/docs/html/training/connect-devices-wirelessly/
Dindex.jd46 Peer-to-Peer (P2P) API for doing peer-to-peer wireless connections. This class also
61 connections.</dd>
/frameworks/base/docs/html/training/efficient-downloads/
Dregular_updates.jd45 <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…
Defficient-network-access.jd19 <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'…
Dindex.jd27 …ill learn to minimize the battery life impact of downloads and network connections, particularly i…
/frameworks/base/docs/html/training/monitoring-device-state/
Dconnectivity-monitoring.jd60 <p>Device connectivity can be provided by mobile data, WiMAX, Wi-Fi, and ethernet connections. By
67 rate should be lower when on mobile connections. Similarly, downloads of significant size should be
/frameworks/base/docs/html/guide/topics/connectivity/
Dindex.jd3 … devices over Bluetooth, NFC, Wi-Fi P2P, USB, and SIP, in addition to standard network connections.
Dbluetooth.jd64 <li>Manage multiple connections</li>
82 connections:</p>
459 discoverable mode but still able to receive connections, or not in discoverable
460 mode and unable to receive connections, respectively.</p>
465 connections, because the remote devices must be able to discover the device
494 server, so that each one has a server socket open and listening for connections.
518 discarded, unless you want to accept more connections.</p>
562 <li>Unless you want to accept additional connections, call
591 connections:</p>
654 as soon as you are done listening for incoming connections. In this example, {@link
/frameworks/base/tests/AccessoryDisplay/
DREADME15 The sink application uses the UsbDevice APIs to receive connections
/frameworks/base/docs/html/tools/adk/
Dadk2.jd66 <li>Main processing board containing the microprocessor, USB connections, power connector and
76 <li>Separate USB connections for an Android device and computer connection for programming and
383 other profiles and multiple connections. However, the basic communication between the ADK 2012
390 frequency communications and start listening for Bluetooth connections:</p>
462 <p>In the ADK 2012 Android app, the code for handling Bluetooth connections is encapsulated in in a
552 <p>In the ADK 2012 Android app, the code for handling USB connections is encapsulated in a
567 <p>The ADK 2012 app uses the support library to implement the USB accessory connections, in order to
622 USB connections and audio output, as summarized in the code example below:</p>
/frameworks/base/docs/html/design/tv/
Dindex.jd33 connections between content. A favorite movie may lead to the discovery of a new music artist;
/frameworks/base/docs/html/training/volley/
Dindex.jd43 <li>Multiple concurrent network connections.</li>
/frameworks/base/telecomm/java/android/telecom/
DConnectionService.java1136 private List<String> createConnectionIdList(List<Connection> connections) { in createConnectionIdList() argument
1138 for (Connection c : connections) { in createConnectionIdList()
/frameworks/base/docs/html/training/articles/
Dwear-location-detection.jd44 monitor tethered data connections.</p>
247 <p>Wearable devices relying on a tethered connection for location data may lose their connections
/frameworks/base/docs/html/training/tv/games/
Dindex.jd173 Actions</a>. Specific information about Bluetooth connections is at <a href=
331 connections. If your app is for TV only, you do not need to check for 3G/LTE service as you would
/frameworks/base/docs/html/training/basics/network-ops/
Dmanaging.jd54 impact of downloads and network connections, see
60 <p>A device can have various types of network connections. This lesson
/frameworks/base/docs/html/tools/help/
Dadb.jd57connections to all running emulator/device instances. It locates emulator/device instances by scan…
70 <p>Once the server has set up connections to all emulator instances, you can use adb commands to
71 access those instances. Because the server manages connections to emulator/device
215 <td>Forwards socket connections from a specified local port to a specified remote port on the emula…

123