Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/am/
DAppBindRecord.java31 final ArraySet<ConnectionRecord> connections = new ArraySet<>(); field in AppBindRecord
41 final int N = connections.size(); in dumpInIntentBind()
45 ConnectionRecord c = connections.valueAt(i); in dumpInIntentBind()
DContentProviderRecord.java45 final ArrayList<ContentProviderConnection> connections field in ContentProviderRecord
143 return !connections.isEmpty() || hasExternalProcessHandles(); in hasConnectionOrHandle()
185 if (connections.size() > 0 || externalProcessNoHandleCount > 0) { in dump()
186 pw.print(prefix); pw.print(connections.size()); in dump()
191 if (connections.size() > 0) { in dump()
195 for (int i=0; i<connections.size(); i++) { in dump()
196 ContentProviderConnection conn = connections.get(i); in dump()
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()
DServiceRecord.java85 final ArrayMap<IBinder, ArrayList<ConnectionRecord>> connections field in ServiceRecord
304 if (connections.size() > 0) { in dump()
306 for (int conni=0; conni<connections.size(); conni++) { in dump()
307 ArrayList<ConnectionRecord> c = connections.valueAt(conni); in dump()
391 for (int conni=connections.size()-1; conni>=0; conni--) { in hasAutoCreateConnections()
392 ArrayList<ConnectionRecord> cr = connections.valueAt(conni); in hasAutoCreateConnections()
404 for (int conni=connections.size()-1; conni>=0; conni--) { in updateWhitelistManager()
405 ArrayList<ConnectionRecord> cr = connections.valueAt(conni); in updateWhitelistManager()
DActiveServices.java1175 for (int i = 0; i < clientProc.connections.size(); i++) { in updateServiceConnectionActivitiesLocked()
1176 final ConnectionRecord conn = clientProc.connections.valueAt(i); in updateServiceConnectionActivitiesLocked()
1203 for (int conni=sr.connections.size()-1; conni>=0 && !anyClientActivities; conni--) { in updateServiceClientActivitiesLocked()
1204 ArrayList<ConnectionRecord> clist = sr.connections.valueAt(conni); in updateServiceClientActivitiesLocked()
1406 ArrayList<ConnectionRecord> clist = s.connections.get(binder); in bindServiceLocked()
1409 s.connections.put(binder, clist); in bindServiceLocked()
1412 b.connections.add(c); in bindServiceLocked()
1414 if (activity.connections == null) { in bindServiceLocked()
1415 activity.connections = new HashSet<ConnectionRecord>(); in bindServiceLocked()
1417 activity.connections.add(c); in bindServiceLocked()
[all …]
DProcessRecord.java169 final ArraySet<ConnectionRecord> connections = new ArraySet<>(); field in ProcessRecord
404 if (connections.size() > 0) { in dump()
406 for (int i=0; i<connections.size(); i++) { in dump()
407 pw.print(prefix); pw.print(" - "); pw.println(connections.valueAt(i)); in dump()
547 for (int i=connections.size()-1; i>=0; i--) { in updateHasAboveClientLocked()
548 ConnectionRecord cr = connections.valueAt(i); in updateHasAboveClientLocked()
DActivityRecord.java267 HashSet<ConnectionRecord> connections; // All ConnectionRecord we hold field in ActivityRecord
534 if (connections != null) { in dump()
535 pw.print(prefix); pw.print("connections="); pw.println(connections); in dump()
DActivityStack.java4075 if (r.connections != null) { in cleanUpActivityServicesLocked()
4076 Iterator<ConnectionRecord> it = r.connections.iterator(); in cleanUpActivityServicesLocked()
4081 r.connections = null; in cleanUpActivityServicesLocked()
DActivityManagerService.java3536 for (int j=app.connections.size()-1; j>=0; j--) { in updateLruProcessLocked()
3537 ConnectionRecord cr = app.connections.valueAt(j); in updateLruProcessLocked()
11199 cpr.connections.add(conn);
11224 cpr.connections.remove(conn);
17828 for (int i = cpr.connections.size() - 1; i >= 0; i--) {
17829 ContentProviderConnection conn = cpr.connections.get(i);
17856 cpr.connections.remove(i);
17945 conn.provider.connections.remove(conn);
17960 if (cpr.connections.size() <= 0 && !cpr.hasExternalProcessHandles()) {
21080 for (int conni = s.connections.size()-1;
[all …]
/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()
411 KeyedVector<int, Connection>& connections = mConnections.editValueFor(deviceId); in removeStream() local
412 if (connections.indexOfKey(streamId) < 0) { in removeStream()
415 Connection& connection = connections.editValueFor(streamId); in removeStream()
501 KeyedVector<int, Connection>& connections = mConnections.editValueFor(deviceId); in onDeviceUnavailable() local
502 for (size_t i = 0; i < connections.size(); ++i) { in onDeviceUnavailable()
503 removeStream(deviceId, connections.keyAt(i)); in onDeviceUnavailable()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCall.java100 List<Connection> connections = getConnections(); in hasConnections() local
102 if (connections == null) { in hasConnections()
106 return connections.size() > 0; in hasConnections()
DGsmCdmaCallTracker.java1102 private void updateMetrics(GsmCdmaConnection[] connections) { in updateMetrics() argument
1104 for (GsmCdmaConnection conn : connections) { in updateMetrics()
/frameworks/base/tests/AccessoryDisplay/
DREADME15 The sink application uses the UsbDevice APIs to receive connections
/frameworks/base/proto/src/
Dwifi.proto626 // RSSI from the last rssi poll (Only valid for active connections)
629 // Link speed from the last rssi poll (Only valid for active connections)
632 // Frequency from the last rssi poll (Only valid for active connections)
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DTelephonyMetrics.java1079 public void writeRilCallList(int phoneId, ArrayList<GsmCdmaConnection> connections) { in writeRilCallList() argument
1081 Rlog.v(TAG, "Logging CallList Changed Connections Size = " + connections.size()); in writeRilCallList()
1087 RilCall[] calls = convertConnectionsToRilCalls(connections); in writeRilCallList()
/frameworks/base/telecomm/java/android/telecom/
DConnectionService.java2172 private List<String> createConnectionIdList(List<Connection> connections) { in createConnectionIdList() argument
2174 for (Connection c : connections) { in createConnectionIdList()