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));
476 private void registerCallbacks(List<MediaController> newControllers) { in registerCallbacks() argument478 List<MediaController> additions = new ArrayList<>(newControllers.size()); in registerCallbacks()480 new HashMap<>(newControllers.size()); in registerCallbacks()482 for (MediaController controller : newControllers) { in registerCallbacks()506 updateActiveMediaController(newControllers); in registerCallbacks()