Home
last modified time | relevance | path

Searched refs:mediaBrowser (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/browse/
DMediaBrowserViewModelImpl.java74 mediaBrowser -> { in MediaBrowserViewModelImpl()
75 if (mediaBrowser == null) return null; in MediaBrowserViewModelImpl()
76 return mediaBrowser.getServiceComponent().getPackageName(); in MediaBrowserViewModelImpl()
81 split((mediaBrowser, browseId) -> in MediaBrowserViewModelImpl()
82 mediaBrowser == null in MediaBrowserViewModelImpl()
84 : new BrowsedMediaItems(mediaBrowser, browseId))); in MediaBrowserViewModelImpl()
87 split((mediaBrowser, query) -> in MediaBrowserViewModelImpl()
88 (mediaBrowser == null || TextUtils.isEmpty(query)) in MediaBrowserViewModelImpl()
90 : new SearchedMediaItems(mediaBrowser, query))); in MediaBrowserViewModelImpl()
126 private static MediaBrowserCompat requireConnected(@Nullable MediaBrowserCompat mediaBrowser) { in requireConnected() argument
[all …]
DSearchedMediaItems.java56 SearchedMediaItems(@NonNull MediaBrowserCompat mediaBrowser, @Nullable String query) { in SearchedMediaItems() argument
57 mBrowser = mediaBrowser; in SearchedMediaItems()
DMediaBrowserViewModel.java141 @NonNull LiveData<MediaBrowserCompat> mediaBrowser) { in getInstanceWithMediaBrowser() argument
144 initMediaBrowser(mediaBrowser, viewModel); in getInstanceWithMediaBrowser()
DBrowsedMediaItems.java56 BrowsedMediaItems(@NonNull MediaBrowserCompat mediaBrowser, @Nullable String parentId) { in BrowsedMediaItems() argument
57 mBrowser = mediaBrowser; in BrowsedMediaItems()
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/phone/
DTmaLauncherActivity.java26 private MediaBrowserCompat mediaBrowser; field in TmaLauncherActivity
42 mediaBrowser = new MediaBrowserCompat(this, new ComponentName(this, TmaBrowser.class), in onCreate()
52 MediaSessionCompat.Token token = mediaBrowser.getSessionToken();
70 mediaBrowser.connect(); in onStart()
76 mediaBrowser.disconnect(); in onStop()