Home
last modified time | relevance | path

Searched refs:newControllers (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/audio_util/
DMediaPlayerList.java656 List<android.media.session.MediaController> newControllers) {
659 + newControllers.size());
660 if (newControllers.size() == 0) return;
669 for (int i = 0; i < newControllers.size(); i++) {
671 + newControllers.get(i).getPackageName());
672 if (addedPackages.contains(newControllers.get(i).getPackageName())) {
676 addedPackages.add(newControllers.get(i).getPackageName());
677 addMediaPlayer(newControllers.get(i));
/packages/services/Car/service/src/com/android/car/
DCarMediaService.java654 private void registerCallbacks(List<MediaController> newControllers) { in registerCallbacks() argument
656 List<MediaController> additions = new ArrayList<>(newControllers.size()); in registerCallbacks()
658 new HashMap<>(newControllers.size()); in registerCallbacks()
660 for (MediaController controller : newControllers) { in registerCallbacks()
685 updateActiveMediaControllerLocked(newControllers); in registerCallbacks()