Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DMediaPlayerList.java619 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));
/packages/services/Car/service/src/com/android/car/
DCarMediaService.java476 private void registerCallbacks(List<MediaController> newControllers) { in registerCallbacks() argument
478 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()