Searched refs:callbackList (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/media/java/android/service/media/ |
D | MediaBrowserService.java | 549 List<Pair<IBinder, Bundle>> callbackList = in notifyChildrenChangedInternal() 551 if (callbackList != null) { in notifyChildrenChangedInternal() 552 for (Pair<IBinder, Bundle> callback : callbackList) { in notifyChildrenChangedInternal() 587 List<Pair<IBinder, Bundle>> callbackList = connection.subscriptions.get(id); in addSubscription() local 588 if (callbackList == null) { in addSubscription() 589 callbackList = new ArrayList<>(); in addSubscription() 591 for (Pair<IBinder, Bundle> callback : callbackList) { in addSubscription() 597 callbackList.add(new Pair<>(token, options)); in addSubscription() 598 connection.subscriptions.put(id, callbackList); in addSubscription() 611 List<Pair<IBinder, Bundle>> callbackList = connection.subscriptions.get(id); in removeSubscription() local [all …]
|
/frameworks/base/core/java/android/hardware/location/ |
D | GeofenceHardwareImpl.java | 708 ArrayList<IGeofenceHardwareMonitorCallback> callbackList; 714 callbackList = mCallbacks[event.getMonitoringType()]; 715 if (callbackList != null) { 718 for (IGeofenceHardwareMonitorCallback c : callbackList) { 731 callbackList = mCallbacks[monitoringType]; 732 if (callbackList == null) { 733 callbackList = new ArrayList<IGeofenceHardwareMonitorCallback>(); 734 mCallbacks[monitoringType] = callbackList; 736 if (!callbackList.contains(callback)) callbackList.add(callback); 741 callbackList = mCallbacks[monitoringType]; [all …]
|
/frameworks/support/media-compat/java/android/support/v4/media/ |
D | MediaBrowserServiceCompat.java | 179 List<Pair<IBinder, Bundle>> callbackList = in notifyChildrenChanged() 181 if (callbackList != null) { in notifyChildrenChanged() 182 for (Pair<IBinder, Bundle> callback : callbackList) { in notifyChildrenChanged() 236 List<Pair<IBinder, Bundle>> callbackList = in notifyChildrenChanged() 238 if (callbackList != null) { in notifyChildrenChanged() 239 for (Pair<IBinder, Bundle> callback : callbackList) { in notifyChildrenChanged() 983 List<Pair<IBinder, Bundle>> callbackList = connection.subscriptions.get(id); in addSubscription() local 984 if (callbackList == null) { in addSubscription() 985 callbackList = new ArrayList<>(); in addSubscription() 987 for (Pair<IBinder, Bundle> callback : callbackList) { in addSubscription() [all …]
|
D | MediaBrowserCompat.java | 1064 List<SubscriptionCallback> callbackList = sub.getCallbacks(); in onServiceConnected() local 1066 for (int i = 0; i < callbackList.size(); ++i) { in onServiceConnected() 1067 mServiceBinderWrapper.addSubscription(id, callbackList.get(i).mToken, in onServiceConnected()
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | CallbackRegistryTest.java | 219 ArrayList<Integer> callbackList = registry.copyListeners(); in testVeryDeepRemoveWhileNotifying() local 220 assertEquals(0, callbackList.size()); in testVeryDeepRemoveWhileNotifying() 238 ArrayList<Integer> callbackList = registry.copyListeners(); in testClear() local 239 assertEquals(0, callbackList.size()); in testClear() 266 ArrayList<Integer> callbackList = registry.copyListeners(); in testNestedClear() local 267 assertEquals(0, callbackList.size()); in testNestedClear()
|
/frameworks/data-binding/compiler/src/test/java/android/databinding/ |
D | CallbackRegistryTest.java | 223 ArrayList<Integer> callbackList = registry.copyCallbacks(); in testVeryDeepRemoveWhileNotifying() local 224 assertEquals(0, callbackList.size()); in testVeryDeepRemoveWhileNotifying() 243 ArrayList<Integer> callbackList = registry.copyCallbacks(); in testClear() local 244 assertEquals(0, callbackList.size()); in testClear() 272 ArrayList<Integer> callbackList = registry.copyCallbacks(); in testNestedClear() local 273 assertEquals(0, callbackList.size()); in testNestedClear()
|
/frameworks/base/media/java/android/media/browse/ |
D | MediaBrowser.java | 584 List<SubscriptionCallback> callbackList = sub.getCallbacks(); in onServiceConnected() 586 for (int i = 0; i < callbackList.size(); ++i) { in onServiceConnected() 588 mServiceBinder.addSubscription(id, callbackList.get(i).mToken, in onServiceConnected()
|