Home
last modified time | relevance | path

Searched refs:CarMediaManager (Results 1 – 18 of 18) sorted by relevance

/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/source/
DMediaSourceViewModel.java24 import android.car.media.CarMediaManager;
48 private CarMediaManager mCarMediaManager;
57 private final CarMediaManager.MediaSourceChangedListener mMediaSourceListener;
69 CarMediaManager getCarMediaManager(Car carApi) throws CarNotConnectedException; in getCarMediaManager()
102 public CarMediaManager getCarMediaManager(Car carApi) throws CarNotConnectedException { in MediaSourceViewModel()
103 return (CarMediaManager) carApi.getCarManager(Car.CAR_MEDIA_SERVICE); in MediaSourceViewModel()
/packages/apps/Car/libs/car-media-common/tests/robotests/src/com/android/car/media/common/source/
DMediaSourceViewModelTest.java19 import static android.car.media.CarMediaManager.MEDIA_SOURCE_MODE_PLAYBACK;
31 import android.car.media.CarMediaManager;
72 public CarMediaManager mCarMediaManager;
110 public CarMediaManager getCarMediaManager(Car carApi) { in initializeViewModel()
/packages/services/Car/service/src/com/android/car/
DCarMediaService.java18 import static android.car.media.CarMediaManager.MEDIA_SOURCE_MODE_BROWSE;
19 import static android.car.media.CarMediaManager.MEDIA_SOURCE_MODE_PLAYBACK;
30 import android.car.media.CarMediaManager;
31 import android.car.media.CarMediaManager.MediaSourceChangedListener;
32 import android.car.media.CarMediaManager.MediaSourceMode;
473 public ComponentName getMediaSource(@CarMediaManager.MediaSourceMode int mode) { in getMediaSource()
505 public List<ComponentName> getLastMediaSources(@CarMediaManager.MediaSourceMode int mode) { in getLastMediaSources()
705 @CarMediaManager.MediaSourceMode int mode) { in setPrimaryMediaSource()
775 private void notifyListeners(@CarMediaManager.MediaSourceMode int mode) { in notifyListeners()
834 @NonNull String newClassName, @CarMediaManager.MediaSourceMode int mode) { in matchPrimaryMediaSource()
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/
DAppLauncherUtils.java27 import android.car.media.CarMediaManager;
178 CarMediaManager carMediaManager) { in getLauncherApps()
295 CarMediaManager carMediaManager) { in selectMediaSourceAndFinish()
297 carMediaManager.setMediaSource(componentName, CarMediaManager.MEDIA_SOURCE_MODE_BROWSE); in selectMediaSourceAndFinish()
DAppGridActivity.java29 import android.car.media.CarMediaManager;
87 private CarMediaManager mCarMediaManager;
129 mCarMediaManager = (CarMediaManager) mCar.getCarManager(Car.CAR_MEDIA_SERVICE);
/packages/services/Car/car-lib/src/android/car/media/
DCarMediaManager.java41 public final class CarMediaManager extends CarManagerBase { class
66 public CarMediaManager(Car car, IBinder service) { in CarMediaManager() method in CarMediaManager
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/media/
DCarMediaServiceTest.java19 import static android.car.media.CarMediaManager.MEDIA_SOURCE_MODE_BROWSE;
20 import static android.car.media.CarMediaManager.MEDIA_SOURCE_MODE_PLAYBACK;
/packages/apps/Car/Media/src/com/android/car/media/service/
DMediaConnectorService.java19 import static android.car.media.CarMediaManager.MEDIA_SOURCE_MODE_PLAYBACK;
/packages/apps/Car/Media/src/com/android/car/media/
DMediaDispatcherActivity.java3 import static android.car.media.CarMediaManager.MEDIA_SOURCE_MODE_BROWSE;
DViewControllerBase.java20 import static android.car.media.CarMediaManager.MEDIA_SOURCE_MODE_BROWSE;
DMediaActivity.java18 import static android.car.media.CarMediaManager.MEDIA_SOURCE_MODE_BROWSE;
DPlaybackFragment.java19 import static android.car.media.CarMediaManager.MEDIA_SOURCE_MODE_BROWSE;
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/
DMusicFragment.java18 import static android.car.media.CarMediaManager.MEDIA_SOURCE_MODE_PLAYBACK;
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/homescreen/audio/
DMediaViewModel.java19 import static android.car.media.CarMediaManager.MEDIA_SOURCE_MODE_PLAYBACK;
/packages/apps/Car/Radio/src/com/android/car/radio/
DRadioActivity.java19 import static android.car.media.CarMediaManager.MEDIA_SOURCE_MODE_BROWSE;
/packages/services/Car/car-lib/src/android/car/
DCar.java53 import android.car.media.CarMediaManager;
1877 manager = new CarMediaManager(this, binder); in createCarManagerLocked()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/
DPlaybackFragment.java19 import static android.car.media.CarMediaManager.MEDIA_SOURCE_MODE_PLAYBACK;
/packages/services/Car/car-lib/api/
Dsystem-current.txt1026 public final class CarMediaManager {
1027 …NTROL) public void addMediaSourceListener(@NonNull android.car.media.CarMediaManager.MediaSourceCh…
1030 …OL) public void removeMediaSourceListener(@NonNull android.car.media.CarMediaManager.MediaSourceCh…
1036 public static interface CarMediaManager.MediaSourceChangedListener {