Searched refs:CarMediaManager (Results 1 – 18 of 18) sorted by relevance
24 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()
19 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()
18 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()
27 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()
29 import android.car.media.CarMediaManager;87 private CarMediaManager mCarMediaManager;129 mCarMediaManager = (CarMediaManager) mCar.getCarManager(Car.CAR_MEDIA_SERVICE);
41 public final class CarMediaManager extends CarManagerBase { class66 public CarMediaManager(Car car, IBinder service) { in CarMediaManager() method in CarMediaManager
19 import static android.car.media.CarMediaManager.MEDIA_SOURCE_MODE_BROWSE;20 import static android.car.media.CarMediaManager.MEDIA_SOURCE_MODE_PLAYBACK;
19 import static android.car.media.CarMediaManager.MEDIA_SOURCE_MODE_PLAYBACK;
3 import static android.car.media.CarMediaManager.MEDIA_SOURCE_MODE_BROWSE;
20 import static android.car.media.CarMediaManager.MEDIA_SOURCE_MODE_BROWSE;
18 import static android.car.media.CarMediaManager.MEDIA_SOURCE_MODE_BROWSE;
19 import static android.car.media.CarMediaManager.MEDIA_SOURCE_MODE_BROWSE;
18 import static android.car.media.CarMediaManager.MEDIA_SOURCE_MODE_PLAYBACK;
53 import android.car.media.CarMediaManager;1877 manager = new CarMediaManager(this, binder); in createCarManagerLocked()
1026 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 {