Home
last modified time | relevance | path

Searched refs:MediaSourceViewModel (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/source/
DMediaSourceViewModel.java47 public class MediaSourceViewModel extends AndroidViewModel { class
50 private static MediaSourceViewModel sInstance;
82 public static MediaSourceViewModel get(@NonNull Application application) { in get()
84 sInstance = new MediaSourceViewModel(application); in get()
94 private MediaSourceViewModel(@NonNull Application application) { in MediaSourceViewModel() method in MediaSourceViewModel
132 MediaSourceViewModel(@NonNull Application application, @NonNull InputFactory inputFactory) { in MediaSourceViewModel() method in MediaSourceViewModel
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/
DPlaybackFragment.java48 import com.android.car.media.common.source.MediaSourceViewModel;
57 private MediaSourceViewModel mMediaSourceViewModel;
66 mMediaSourceViewModel = MediaSourceViewModel.get(activity.getApplication()); in onCreateView()
128 private MediaSourceViewModel mMediaSourceViewModel;
134 void init(MediaSourceViewModel mediaSourceViewModel, PlaybackViewModel playbackViewModel) { in init()
/packages/apps/Car/Cluster/src/android/car/cluster/
DMusicFragmentViewModel.java27 import com.android.car.media.common.source.MediaSourceViewModel;
38 private MediaSourceViewModel mMediaSourceViewModel;
44 void init(MediaSourceViewModel mediaSourceViewModel) { in init()
DMusicFragment.java35 import com.android.car.media.common.source.MediaSourceViewModel;
55 MediaSourceViewModel mMediaSourceViewModel = MediaSourceViewModel.get( in onCreateView()
/packages/apps/Car/Media/src/com/android/car/media/
DMediaDispatcherActivity.java12 import com.android.car.media.common.source.MediaSourceViewModel;
39 MediaSourceViewModel mediaSrcVM = MediaSourceViewModel.get(getApplication()); in onCreate()
DPlaybackFragment.java52 import com.android.car.media.common.source.MediaSourceViewModel;
405 MediaSourceViewModel mediaSourceViewModel = getMediaSourceViewModel(); in onCreateView()
615 private MediaSourceViewModel getMediaSourceViewModel() { in getMediaSourceViewModel()
616 return MediaSourceViewModel.get(getActivity().getApplication()); in getMediaSourceViewModel()
DMediaActivity.java63 import com.android.car.media.common.source.MediaSourceViewModel;
253 MediaSourceViewModel mediaSourceViewModel = getMediaSourceViewModel(); in onCreate()
702 MediaSourceViewModel mediaSourceViewModel = getMediaSourceViewModel(); in updateAppBarTitle()
766 public MediaSourceViewModel getMediaSourceViewModel() { in getMediaSourceViewModel()
767 return MediaSourceViewModel.get(getApplication()); in getMediaSourceViewModel()
DBrowseFragment.java48 import com.android.car.media.common.source.MediaSourceViewModel;
229 MediaSourceViewModel.get(activity.getApplication()).getConnectedMediaBrowser()); in BrowseFragment()
/packages/apps/Car/Radio/src/com/android/car/radio/
DRadioActivity.java30 import com.android.car.media.common.source.MediaSourceViewModel;
92 MediaSourceViewModel model = MediaSourceViewModel.get(getApplication()); in onCreate()
/packages/apps/Car/libs/car-media-common/tests/robotests/src/com/android/car/media/common/source/
DMediaSourceViewModelTest.java73 private MediaSourceViewModel mViewModel;
90 mViewModel = new MediaSourceViewModel(application, new MediaSourceViewModel.InputFactory() { in initializeViewModel()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/browse/
DMediaBrowserViewModel.java29 import com.android.car.media.common.source.MediaSourceViewModel;
160 MediaSourceViewModel mediaSourceVM, @NonNull ViewModelProvider viewModelProvider) { in getInstanceForBrowseRoot()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/playback/
DPlaybackViewModel.java51 import com.android.car.media.common.source.MediaSourceViewModel;
141 this(application, MediaSourceViewModel.get(application).getMediaController()); in PlaybackViewModel()
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/
DAppLauncherUtils.java40 import com.android.car.media.common.source.MediaSourceViewModel;