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.java554 private void registerCallbacks(List<MediaController> newControllers) { in registerCallbacks() argument
556 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()