Home
last modified time | relevance | path

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

/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()
69 final int N = connections.size(); in writeToProto()
71 ConnectionRecord conn = connections.valueAt(i); in writeToProto()
DContentProviderRecord.java50 final ArrayList<ContentProviderConnection> connections field in ContentProviderRecord
95 for (int iconn = connections.size() - 1; iconn >= 0; iconn--) { in setProcess()
96 final ContentProviderConnection conn = connections.get(iconn); in setProcess()
175 return !connections.isEmpty() || hasExternalProcessHandles(); in hasConnectionOrHandle()
217 if (connections.size() > 0 || externalProcessNoHandleCount > 0) { in dump()
218 pw.print(prefix); pw.print(connections.size()); in dump()
223 if (connections.size() > 0) { in dump()
227 for (int i=0; i<connections.size(); i++) { in dump()
228 ContentProviderConnection conn = connections.get(i); in dump()
DIntentBindRecord.java83 final ArraySet<ConnectionRecord> connections = apps.valueAt(i).connections; in collectFlags() local
84 for (int j=connections.size()-1; j>=0; j--) { in collectFlags()
85 flags |= connections.valueAt(j).flags; in collectFlags()
DServiceRecord.java95 private final ArrayMap<IBinder, ArrayList<ConnectionRecord>> connections field in ServiceRecord
350 if (connections.size() > 0) { in writeToProto()
351 final int N = connections.size(); in writeToProto()
353 ArrayList<ConnectionRecord> c = connections.valueAt(conni); in writeToProto()
468 if (connections.size() > 0) { in dump()
470 for (int conni=0; conni<connections.size(); conni++) { in dump()
471 ArrayList<ConnectionRecord> c = connections.valueAt(conni); in dump()
583 for (int conni = connections.size() - 1; conni >= 0; conni--) { in setProcess()
584 ArrayList<ConnectionRecord> cr = connections.valueAt(conni); in setProcess()
601 return connections; in getConnections()
[all …]
DActiveServices.java1503 for (int i = 0; i < clientProc.connections.size(); i++) { in updateServiceConnectionActivitiesLocked()
1504 final ConnectionRecord conn = clientProc.connections.valueAt(i); in updateServiceConnectionActivitiesLocked()
1531 ArrayMap<IBinder, ArrayList<ConnectionRecord>> connections = sr.getConnections(); in updateServiceClientActivitiesLocked() local
1532 for (int conni = connections.size() - 1; conni >= 0 && !anyClientActivities; conni--) { in updateServiceClientActivitiesLocked()
1533 ArrayList<ConnectionRecord> clist = connections.valueAt(conni); in updateServiceClientActivitiesLocked()
1761 b.connections.add(c); in bindServiceLocked()
1765 b.client.connections.add(c); in bindServiceLocked()
1858 ArrayMap<IBinder, ArrayList<ConnectionRecord>> connections = r.getConnections(); in publishServiceLocked() local
1859 for (int conni = connections.size() - 1; conni >= 0; conni--) { in publishServiceLocked()
1860 ArrayList<ConnectionRecord> clist = connections.valueAt(conni); in publishServiceLocked()
[all …]
DProcessRecord.java252 final ArraySet<ConnectionRecord> connections = new ArraySet<>(); field in ProcessRecord
533 if (connections.size() > 0) { in dump()
535 for (int i=0; i<connections.size(); i++) { in dump()
536 pw.print(prefix); pw.print(" - "); pw.println(connections.valueAt(i)); in dump()
703 for (int i=connections.size()-1; i>=0; i--) { in updateHasAboveClientLocked()
704 ConnectionRecord cr = connections.valueAt(i); in updateHasAboveClientLocked()
DOomAdjuster.java1427 for (int i = cpr.connections.size() - 1; in computeOomAdjLocked()
1432 ContentProviderConnection conn = cpr.connections.get(i); in computeOomAdjLocked()
DProcessList.java2938 for (int j = app.connections.size() - 1; j >= 0; j--) { in updateLruProcessLocked()
2939 ConnectionRecord cr = app.connections.valueAt(j); in updateLruProcessLocked()
DActivityManagerService.java6617 cpr.connections.add(conn); in incProviderCountLocked()
6643 cpr.connections.remove(conn); in decProviderCountLocked()
13611 for (int i = cpr.connections.size() - 1; i >= 0; i--) { in removeDyingProviderLocked()
13612 ContentProviderConnection conn = cpr.connections.get(i); in removeDyingProviderLocked()
13639 cpr.connections.remove(i); in removeDyingProviderLocked()
13731 conn.provider.connections.remove(conn); in cleanUpApplicationRecordLocked()
13747 if (cpr.connections.size() <= 0 && !cpr.hasExternalProcessHandles()) { in cleanUpApplicationRecordLocked()
/frameworks/base/services/core/jni/
Dcom_android_server_tv_TvInputHal.cpp341 KeyedVector<int, Connection>& connections = mConnections.editValueFor(deviceId); in addOrUpdateStream() local
342 if (connections.indexOfKey(streamId) < 0) { in addOrUpdateStream()
343 connections.add(streamId, Connection()); in addOrUpdateStream()
345 Connection& connection = connections.editValueFor(streamId); in addOrUpdateStream()
415 KeyedVector<int, Connection>& connections = mConnections.editValueFor(deviceId); in removeStream() local
416 if (connections.indexOfKey(streamId) < 0) { in removeStream()
419 Connection& connection = connections.editValueFor(streamId); in removeStream()
505 KeyedVector<int, Connection>& connections = mConnections.editValueFor(deviceId); in onDeviceUnavailable() local
506 for (size_t i = 0; i < connections.size(); ++i) { in onDeviceUnavailable()
507 removeStream(deviceId, connections.keyAt(i)); in onDeviceUnavailable()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCall.java110 List<Connection> connections = getConnections(); in hasConnections() local
112 if (connections == null) { in hasConnections()
116 return connections.size() > 0; in hasConnections()
DGsmCdmaCallTracker.java1163 private void updateMetrics(GsmCdmaConnection[] connections) { in updateMetrics() argument
1165 for (GsmCdmaConnection conn : connections) { in updateMetrics()
/frameworks/base/core/proto/android/os/
Dbatterystats.proto231 // Total Bytes received on mobile connections.
233 // Total Bytes transmitted on mobile connections.
235 // Total Bytes received on wifi connections.
237 // Total Bytes transmitted on wifi connections.
239 // Total Packets received on mobile connections.
241 // Total Packets transmitted on mobile connections.
243 // Total Packets received on wifi connections.
245 // Total Packets transmitted on wifi connections.
247 // Total Bytes received on bluetooth connections.
249 // Total Bytes transmitted on bluetooth connections.
/frameworks/base/tests/AccessoryDisplay/
DREADME15 The sink application uses the UsbDevice APIs to receive connections
/frameworks/base/core/proto/android/stats/dnsresolver/
Ddns_resolver.proto206 // Used only by TCP and DOT. True for new connections.
/frameworks/base/core/proto/android/service/
Dusb.proto110 repeated UsbConnectionRecordProto connections = 4; field
/frameworks/base/core/proto/android/server/
Dactivitymanagerservice.proto565 repeated ConnectionRecordProto connections = 26; field
606 repeated string connections = 3; // hex_hash of ConnectionRecordProto field
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DTelephonyMetrics.java1431 public void writeRilCallList(int phoneId, ArrayList<GsmCdmaConnection> connections, in writeRilCallList() argument
1433 logv("Logging CallList Changed Connections Size = " + connections.size()); in writeRilCallList()
1438 RilCall[] calls = convertConnectionsToRilCalls(connections, countryIso); in writeRilCallList()
/frameworks/base/telecomm/java/android/telecom/
DConnectionService.java2607 private List<String> createConnectionIdList(List<Connection> connections) { in createConnectionIdList() argument
2609 for (Connection c : connections) { in createConnectionIdList()
/frameworks/base/proto/src/
Dwifi.proto1036 // RSSI from the last rssi poll (Only valid for active connections)
1039 // Link speed from the last rssi poll (Only valid for active connections)
1042 // Frequency from the last rssi poll (Only valid for active connections)
/frameworks/base/core/proto/android/providers/settings/
Dglobal.proto581 // Whether mobile data connections are allowed by the user. Simply