Searched refs:newControllers (Results 1 – 2 of 2) sorted by relevance
656 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));
654 private void registerCallbacks(List<MediaController> newControllers) { in registerCallbacks() argument656 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()