Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/service/media/
DMediaBrowserService.java106 private final ArrayMap<IBinder, ConnectionRecord> mConnections = new ArrayMap<>();
107 private ConnectionRecord mCurConnection;
115 private class ConnectionRecord implements IBinder.DeathRecipient { class in MediaBrowserService
221 final ConnectionRecord connection = new ConnectionRecord(); in connect()
268 final ConnectionRecord old = mConnections.remove(b); in disconnect()
291 final ConnectionRecord connection = mConnections.get(b); in addSubscription()
316 ConnectionRecord connection = mConnections.get(b); in removeSubscription()
337 ConnectionRecord connection = mConnections.get(b); in getMediaItem()
489 Iterator<ConnectionRecord> iter = mConnections.values().iterator(); in setSessionToken()
491 ConnectionRecord connection = iter.next(); in setSessionToken()
[all …]
/frameworks/support/media/src/main/java/androidx/media/
DMediaBrowserServiceCompat.java179 final ArrayMap<IBinder, ConnectionRecord> mConnections = new ArrayMap<>();
180 ConnectionRecord mCurConnection;
215 Iterator<ConnectionRecord> iter = mConnections.values().iterator(); in setSessionToken()
217 ConnectionRecord connection = iter.next(); in setSessionToken()
236 ConnectionRecord connection = mConnections.get(binder); in notifyChildrenChanged()
275 ConnectionRecord connection = mConnections.get(binder); in getSubscribingBrowsers()
351 mCurConnection = new ConnectionRecord(clientPackageName, -1, clientUid, rootHints, in onGetRoot()
399 ConnectionRecord connection = mConnections.get(binder); in getSubscribingBrowsers()
418 ConnectionRecord connection = mConnections.get(binder); in notifyChildrenChangedForCompat()
651 private class ConnectionRecord implements IBinder.DeathRecipient { class in MediaBrowserServiceCompat
[all …]
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbHostManager.java86 private final LinkedList<ConnectionRecord> mConnections = new LinkedList<ConnectionRecord>();
87 private ConnectionRecord mLastConnect;
93 class ConnectionRecord { class in UsbHostManager
108 ConnectionRecord(String deviceAddress, int mode, byte[] descriptors) { in ConnectionRecord() method in UsbHostManager.ConnectionRecord
296 ConnectionRecord rec = in addConnectionRecord()
297 new ConnectionRecord(deviceAddress, mode, rawDescriptors); in addConnectionRecord()
299 if (mode != ConnectionRecord.DISCONNECT) { in addConnectionRecord()
377 addConnectionRecord(deviceAddress, ConnectionRecord.CONNECT_BADDEVICE, in usbDeviceAdded()
396 addConnectionRecord(deviceAddress, ConnectionRecord.CONNECT, in usbDeviceAdded()
420 addConnectionRecord(deviceAddress, ConnectionRecord.DISCONNECT, null); in usbDeviceRemoved()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DAppBindRecord.java32 final ArraySet<ConnectionRecord> connections = new ArraySet<>();
46 ConnectionRecord c = connections.valueAt(i); in dumpInIntentBind()
71 ConnectionRecord conn = connections.valueAt(i); in writeToProto()
DConnectionRecord.java30 final class ConnectionRecord { class
85 ConnectionRecord(AppBindRecord _binding, ActivityRecord _activity, in ConnectionRecord() method in ConnectionRecord
DActiveServices.java136 final ArrayMap<IBinder, ArrayList<ConnectionRecord>> mServiceConnections = new ArrayMap<>();
1376 final ConnectionRecord conn = clientProc.connections.valueAt(i); in updateServiceConnectionActivitiesLocked()
1391 ConnectionRecord modCr, boolean updateLru) { in updateServiceClientActivitiesLocked()
1404 ArrayList<ConnectionRecord> clist = sr.connections.valueAt(conni); in updateServiceClientActivitiesLocked()
1406 ConnectionRecord cr = clist.get(cri); in updateServiceClientActivitiesLocked()
1609 ConnectionRecord c = new ConnectionRecord(b, activity, in bindServiceLocked()
1613 ArrayList<ConnectionRecord> clist = s.connections.get(binder); in bindServiceLocked()
1615 clist = new ArrayList<ConnectionRecord>(); in bindServiceLocked()
1622 activity.connections = new HashSet<ConnectionRecord>(); in bindServiceLocked()
1638 clist = new ArrayList<ConnectionRecord>(); in bindServiceLocked()
[all …]
DServiceRecord.java88 final ArrayMap<IBinder, ArrayList<ConnectionRecord>> connections
89 = new ArrayMap<IBinder, ArrayList<ConnectionRecord>>();
334 ArrayList<ConnectionRecord> c = connections.valueAt(conni); in writeToProto()
439 ArrayList<ConnectionRecord> c = connections.valueAt(conni); in dump()
524 ArrayList<ConnectionRecord> cr = connections.valueAt(conni); in hasAutoCreateConnections()
537 ArrayList<ConnectionRecord> cr = connections.valueAt(conni); in updateWhitelistManager()
DIntentBindRecord.java83 final ArraySet<ConnectionRecord> connections = apps.valueAt(i).connections; in collectFlags()
DProcessRecord.java185 final ArraySet<ConnectionRecord> connections = new ArraySet<>();
611 ConnectionRecord cr = connections.valueAt(i); in updateHasAboveClientLocked()
DActivityStack.java4162 Iterator<ConnectionRecord> it = r.connections.iterator(); in cleanUpActivityServicesLocked()
4164 ConnectionRecord c = it.next(); in cleanUpActivityServicesLocked()
DActivityRecord.java289 HashSet<ConnectionRecord> connections; // All ConnectionRecord we hold
DActivityManagerService.java3961 ConnectionRecord cr = app.connections.valueAt(j); in updateLruProcessLocked()
23526 ArrayList<ConnectionRecord> clist = s.connections.valueAt(conni); in computeOomAdjLocked()
23534 ConnectionRecord cr = clist.get(i); in computeOomAdjLocked()
/frameworks/base/config/
Dpreloaded-classes2788 android.service.media.MediaBrowserService$ConnectionRecord
Dboot-image-profile.txt29533 …iption(Ljava/lang/String;Landroid/service/media/MediaBrowserService$ConnectionRecord;Landroid/os/I…
29539 …ildren(Ljava/lang/String;Landroid/service/media/MediaBrowserService$ConnectionRecord;Landroid/os/B…
29540 …iption(Ljava/lang/String;Landroid/service/media/MediaBrowserService$ConnectionRecord;Landroid/os/I…
57748 Landroid/service/media/MediaBrowserService$ConnectionRecord;
/frameworks/base/services/
Dart-profile2091 Lcom/android/server/am/ConnectionRecord;