Searched refs:newControllers (Results 1 – 2 of 2) sorted by relevance
619 List<android.media.session.MediaController> newControllers) {622 + newControllers.size());623 if (newControllers.size() == 0) return;632 for (int i = 0; i < newControllers.size(); i++) {634 + newControllers.get(i).getPackageName());635 if (addedPackages.contains(newControllers.get(i).getPackageName())) {639 addedPackages.add(newControllers.get(i).getPackageName());640 addMediaPlayer(newControllers.get(i));
554 private void registerCallbacks(List<MediaController> newControllers) { in registerCallbacks() argument556 List<MediaController> additions = new ArrayList<>(newControllers.size()); in registerCallbacks()558 new HashMap<>(newControllers.size()); in registerCallbacks()560 for (MediaController controller : newControllers) { in registerCallbacks()584 updateActiveMediaController(newControllers); in registerCallbacks()