Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/am/
DProcessServiceRecord.java137 private final ArraySet<ConnectionRecord> mConnections = new ArraySet<>();
142 private @Nullable ArraySet<ConnectionRecord> mSdkSandboxConnections;
307 final ArrayMap<IBinder, ArrayList<ConnectionRecord>> serviceConnections = in isAlmostPerceptible()
310 final ArrayList<ConnectionRecord> clist = serviceConnections.valueAt(m); in isAlmostPerceptible()
313 final ConnectionRecord cr = clist.get(c); in isAlmostPerceptible()
356 ConnectionRecord cr = mConnections.valueAt(i); in updateHasAboveClientLocked()
506 void addConnection(ConnectionRecord connection) { in addConnection()
511 void removeConnection(ConnectionRecord connection) { in removeConnection()
523 ConnectionRecord getConnectionAt(int index) { in getConnectionAt()
531 private void addSdkSandboxConnectionIfNecessary(ConnectionRecord connection) { in addSdkSandboxConnectionIfNecessary()
[all …]
DAppBindRecord.java33 final ArraySet<ConnectionRecord> connections = new ArraySet<>();
48 ConnectionRecord c = connections.valueAt(i); in dumpInIntentBind()
74 ConnectionRecord conn = connections.valueAt(i); in dumpDebug()
DConnectionRecord.java41 final class ConnectionRecord implements OomAdjusterModernImpl.Connection{ class
43 …final ActivityServiceConnectionsHolder<ConnectionRecord> activity; // If non-null, the owning act…
113 ConnectionRecord(AppBindRecord _binding, in ConnectionRecord() method in ConnectionRecord
114 ActivityServiceConnectionsHolder<ConnectionRecord> _activity, in ConnectionRecord()
DServiceRecord.java146 private final ArrayMap<IBinder, ArrayList<ConnectionRecord>> connections
147 = new ArrayMap<IBinder, ArrayList<ConnectionRecord>>();
897 ArrayList<ConnectionRecord> c = connections.valueAt(conni); in dumpDebug()
1099 ArrayList<ConnectionRecord> c = connections.valueAt(conni); in dump()
1262 ArrayList<ConnectionRecord> cr = connections.valueAt(conni); in setProcess()
1264 final ConnectionRecord conn = cr.get(i); in setProcess()
1285 ArrayMap<IBinder, ArrayList<ConnectionRecord>> getConnections() { in getConnections()
1289 void addConnection(IBinder binder, ConnectionRecord c) { in addConnection()
1290 ArrayList<ConnectionRecord> clist = connections.get(binder); in addConnection()
1327 ArrayList<ConnectionRecord> cr = connections.valueAt(conni); in updateIsAllowedBgActivityStartsByBinding()
[all …]
DActiveServices.java403 final ArrayMap<IBinder, ArrayList<ConnectionRecord>> mServiceConnections = new ArrayMap<>();
4006 final ConnectionRecord conn = clientPsr.getConnectionAt(i); in updateServiceConnectionActivitiesLocked()
4021 ConnectionRecord modCr, boolean updateLru) { in updateServiceClientActivitiesLocked()
4033 ArrayMap<IBinder, ArrayList<ConnectionRecord>> connections = sr.getConnections(); in updateServiceClientActivitiesLocked()
4035 ArrayList<ConnectionRecord> clist = connections.valueAt(conni); in updateServiceClientActivitiesLocked()
4037 ConnectionRecord cr = clist.get(cri); in updateServiceClientActivitiesLocked()
4078 ActivityServiceConnectionsHolder<ConnectionRecord> activity = null; in bindServiceLocked()
4246 ConnectionRecord c = new ConnectionRecord(b, activity, in bindServiceLocked()
4283 ArrayList<ConnectionRecord> clist = mServiceConnections.get(binder); in bindServiceLocked()
4462 ArrayMap<IBinder, ArrayList<ConnectionRecord>> connections = r.getConnections(); in publishServiceLocked()
[all …]
DIntentBindRecord.java83 final ArraySet<ConnectionRecord> connections = apps.valueAt(i).connections; in collectFlags()
DOomAdjusterModernImpl.java1182 ConnectionRecord cr = psr.getConnectionAt(i); in forEachConnectionLSP()
1198 final ConnectionRecord cr = psr.getSdkSandboxConnectionAt(i); in forEachConnectionLSP()
1238 final ArrayMap<IBinder, ArrayList<ConnectionRecord>> serviceConnections = in forEachClientConnectionLSP()
1241 final ArrayList<ConnectionRecord> clist = serviceConnections.valueAt(j); in forEachClientConnectionLSP()
1243 final ConnectionRecord cr = clist.get(k); in forEachClientConnectionLSP()
DOomAdjuster.java726 ConnectionRecord cr = psr.getConnectionAt(i); in collectReachableProcessesLocked()
780 ArrayMap<IBinder, ArrayList<ConnectionRecord>> serviceConnections = in collectReachableProcessesLocked()
783 ArrayList<ConnectionRecord> clist = serviceConnections.valueAt(conni); in collectReachableProcessesLocked()
785 ConnectionRecord cr = clist.get(i); in collectReachableProcessesLocked()
2346 ArrayMap<IBinder, ArrayList<ConnectionRecord>> serviceConnections = s.getConnections(); in computeOomAdjLSP()
2352 ArrayList<ConnectionRecord> clist = serviceConnections.valueAt(conni); in computeOomAdjLSP()
2360 ConnectionRecord cr = clist.get(i); in computeOomAdjLSP()
2618 public boolean computeServiceHostOomAdjLSP(ConnectionRecord cr, ProcessRecord app, in computeServiceHostOomAdjLSP()
3986 ConnectionRecord cr) { in evaluateServiceConnectionAdd()
4008 ConnectionRecord cr) { in evaluateServiceConnectionRemoval()
DProcessRecord.java1699 final ConnectionRecord cr = mServices.getConnectionAt(i); in forEachConnectionHost()
1704 final ConnectionRecord cr = mServices.getSdkSandboxConnectionAt(i); in forEachConnectionHost()
DProcessList.java4046 ConnectionRecord cr = psr.getConnectionAt(j);
/frameworks/base/media/java/android/service/media/
DMediaBrowserService.java117 @Nullable private ConnectionRecord mCurrentConnectionOnHandler;
122 private static class ConnectionRecord implements IBinder.DeathRecipient { class in MediaBrowserService
132 ConnectionRecord( in ConnectionRecord() method in MediaBrowserService.ConnectionRecord
497 ConnectionRecord currentConnection = mCurrentConnectionOnHandler; in getBrowserRootHints()
513 ConnectionRecord currentConnection = mCurrentConnectionOnHandler; in getCurrentBrowserInfo()
656 @NonNull private final ArrayMap<IBinder, ConnectionRecord> mConnections = new ArrayMap<>();
671 Iterator<ConnectionRecord> iterator = mConnections.values().iterator(); in clearConnectionsOnHandler()
673 ConnectionRecord record = iterator.next(); in clearConnectionsOnHandler()
689 ConnectionRecord old = mConnections.remove(b); in removeConnectionRecordOnHandler()
696 Iterator<ConnectionRecord> iter = mConnections.values().iterator(); in notifySessionTokenInitializedOnHandler()
[all …]
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbHostManager.java95 private final LinkedList<ConnectionRecord> mConnections = new LinkedList<ConnectionRecord>();
96 private ConnectionRecord mLastConnect;
97 private final ArrayMap<String, ConnectionRecord> mConnected = new ArrayMap<>();
113 class ConnectionRecord { class in UsbHostManager
128 ConnectionRecord(String deviceAddress, int mode, byte[] descriptors) { in ConnectionRecord() method in UsbHostManager.ConnectionRecord
311 ConnectionRecord rec = in addConnectionRecord()
312 new ConnectionRecord(deviceAddress, mode, rawDescriptors); in addConnectionRecord()
314 if (mode != ConnectionRecord.DISCONNECT) { in addConnectionRecord()
317 if (mode == ConnectionRecord.CONNECT) { in addConnectionRecord()
319 } else if (mode == ConnectionRecord.DISCONNECT) { in addConnectionRecord()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DMockingOomAdjusterTests.java892 doReturn(new ArrayMap<IBinder, ArrayList<ConnectionRecord>>()).when(s).getConnections(); in testUpdateOomAdj_DoOne_ServiceB()
936 doReturn(new ArrayMap<IBinder, ArrayList<ConnectionRecord>>()).when(s).getConnections(); in testUpdateOomAdj_DoOne_Service_Started()
991 ConnectionRecord cr = s.getConnections().get(binder).get(0); in testUpdateOomAdj_DoOne_Service_Started_WaivePriority_AdjustWithActivity()
992 setFieldValue(ConnectionRecord.class, cr, "activity", in testUpdateOomAdj_DoOne_Service_Started_WaivePriority_AdjustWithActivity()
2559 new ArrayMap<IBinder, ArrayList<ConnectionRecord>>()); in testUpdateOomAdj_DoAll_ServiceB()
2606 doReturn(new ArrayMap<IBinder, ArrayList<ConnectionRecord>>()).when(s).getConnections(); in testUpdateOomAdj_DoAll_Service_KeepWarmingList()
2618 doReturn(new ArrayMap<IBinder, ArrayList<ConnectionRecord>>()).when(s2).getConnections(); in testUpdateOomAdj_DoAll_Service_KeepWarmingList()
2656 doReturn(new ArrayMap<IBinder, ArrayList<ConnectionRecord>>()).when(s).getConnections(); in testUpdateOomAdj_DoAll_Service_KeepWarmingList()
3011 new ArrayMap<IBinder, ArrayList<ConnectionRecord>>()); in makeServiceRecord()
3046 ConnectionRecord cr = spy(new ConnectionRecord(binding, in bindService()
[all …]
/frameworks/base/services/
Dart-profile287 …/ActivityManagerService;]Lcom/android/server/am/ConnectionRecord;Lcom/android/server/am/Connection…
289 …/am/BatteryStatsService;]Lcom/android/server/am/ConnectionRecord;Lcom/android/server/am/Connection…
301 …sRecord;Lcom/android/server/am/ProcessRecord;Lcom/android/server/am/ConnectionRecord;)I+]Lcom/andr…
302 …sRecord;Lcom/android/server/am/ProcessRecord;Lcom/android/server/am/ConnectionRecord;)I+]Lcom/andr…
307 …/am/BatteryStatsService;]Lcom/android/server/am/ConnectionRecord;Lcom/android/server/am/Connection…
310 …/ActivityManagerService;]Lcom/android/server/am/ConnectionRecord;Lcom/android/server/am/Connection…
317ConnectionRecord;Lcom/android/server/am/ProcessRecord;Lcom/android/server/wm/ActivityServiceConnec…
345 …/ActivityManagerService;]Lcom/android/server/am/ConnectionRecord;Lcom/android/server/am/Connection…
347 …(Lcom/android/server/am/ProcessServiceRecord;Lcom/android/server/am/ConnectionRecord;Z)Z+]Landroid…
777 HSPLcom/android/server/am/ConnectionRecord;-><init>(Lcom/android/server/am/AppBindRecord;Lcom/andro…
[all …]
Dart-profile-boot612 Lcom/android/server/am/ConnectionRecord;->trackProcState(IIJ)V
619 Lcom/android/server/am/ConnectionRecord;->hasFlag(I)Z
620 …ntActivitiesLocked(Lcom/android/server/am/ProcessRecord;Lcom/android/server/am/ConnectionRecord;Z)Z
Dart-wear-profile4234 …er/am/ProcessRecord;Lcom/android/server/am/ProcessRecord;Lcom/android/server/am/ConnectionRecord;)I
4235 …er/am/ProcessRecord;Lcom/android/server/am/ProcessRecord;Lcom/android/server/am/ConnectionRecord;)I
4272 …r/am/ActiveServices;->removeConnectionLocked(Lcom/android/server/am/ConnectionRecord;Lcom/android/…
4322 …itiesLocked(Lcom/android/server/am/ProcessServiceRecord;Lcom/android/server/am/ConnectionRecord;Z)Z
6160 PLcom/android/server/am/ConnectionRecord;-><clinit>()V
6161 HPLcom/android/server/am/ConnectionRecord;-><init>(Lcom/android/server/am/AppBindRecord;Lcom/androi…
6162 PLcom/android/server/am/ConnectionRecord;->getFlags()J
6163 HPLcom/android/server/am/ConnectionRecord;->hasFlag(I)Z
6164 HPLcom/android/server/am/ConnectionRecord;->hasFlag(J)Z
6165 HPLcom/android/server/am/ConnectionRecord;->notHasFlag(I)Z
[all …]
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt48852 Landroid/service/media/MediaBrowserService$ConnectionRecord;->callbacks:Landroid/service/media/IMed…
48853 Landroid/service/media/MediaBrowserService$ConnectionRecord;->pid:I
48854 Landroid/service/media/MediaBrowserService$ConnectionRecord;->pkg:Ljava/lang/String;
48855 Landroid/service/media/MediaBrowserService$ConnectionRecord;->root:Landroid/service/media/MediaBrow…
48856 Landroid/service/media/MediaBrowserService$ConnectionRecord;->rootHints:Landroid/os/Bundle;
48857 Landroid/service/media/MediaBrowserService$ConnectionRecord;->subscriptions:Ljava/util/HashMap;
48858 Landroid/service/media/MediaBrowserService$ConnectionRecord;->uid:I
48872 …iption(Ljava/lang/String;Landroid/service/media/MediaBrowserService$ConnectionRecord;Landroid/os/I…
48878 …a/MediaBrowserService;->mCurConnection:Landroid/service/media/MediaBrowserService$ConnectionRecord;
48882 …ildren(Ljava/lang/String;Landroid/service/media/MediaBrowserService$ConnectionRecord;Landroid/os/B…
[all …]
/frameworks/base/boot/
Dpreloaded-classes7053 android.service.media.MediaBrowserService$ConnectionRecord
Dboot-image-profile.txt29457 Landroid/service/media/MediaBrowserService$ConnectionRecord;
/frameworks/base/config/
Dpreloaded-classes7057 android.service.media.MediaBrowserService$ConnectionRecord
Dboot-image-profile.txt39591 Landroid/service/media/MediaBrowserService$ConnectionRecord;