Searched refs:newControllers (Results 1 – 2 of 2) sorted by relevance
539 List<android.media.session.MediaController> newControllers) {542 + newControllers.size());543 if (newControllers.size() == 0) return;552 for (int i = 0; i < newControllers.size(); i++) {554 + newControllers.get(i).getPackageName());555 if (addedPackages.contains(newControllers.get(i).getPackageName())) {559 addedPackages.add(newControllers.get(i).getPackageName());560 addMediaPlayer(newControllers.get(i));
310 private void registerCallbacks(List<MediaController> newControllers) { in registerCallbacks() argument312 List<MediaController> additions = new ArrayList<>(newControllers.size()); in registerCallbacks()314 new HashMap<>(newControllers.size()); in registerCallbacks()316 for (MediaController controller : newControllers) { in registerCallbacks()