Home
last modified time | relevance | path

Searched refs:MediaBrowser (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/newavrcp/
DBrowserPlayerWrapperTest.java22 import android.media.browse.MediaBrowser.MediaItem;
46 @Captor ArgumentCaptor<MediaBrowser.ConnectionCallback> mBrowserConnCb;
47 @Captor ArgumentCaptor<MediaBrowser.SubscriptionCallback> mSubscriptionCb;
51 @Mock MediaBrowser mMockBrowser;
77 MediaBrowser.ConnectionCallback browserConnCb = mBrowserConnCb.getValue(); in testWrap()
90 MediaBrowser.ConnectionCallback browserConnCb = mBrowserConnCb.getValue(); in testConnect_Successful()
104 MediaBrowser.ConnectionCallback browserConnCb = mBrowserConnCb.getValue(); in testConnect_Suspended()
121 MediaBrowser.ConnectionCallback browserConnCb = mBrowserConnCb.getValue(); in testConnect_Failed()
138 MediaBrowser.ConnectionCallback browserConnCb = mBrowserConnCb.getValue(); in testEmptyRoot()
153 MediaBrowser.ConnectionCallback browserConnCb = mBrowserConnCb.getValue(); in testDisconnect()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/mockable/
DMediaBrowserFactory.java32 private static MediaBrowser sInjectedBrowser;
34 static MediaBrowser wrap(android.media.browse.MediaBrowser delegate) { in wrap()
36 return (delegate != null) ? new MediaBrowser(delegate) : null; in wrap()
39 static MediaBrowser make(Context context, ComponentName serviceComponent, in make()
40 MediaBrowser.ConnectionCallback callback, Bundle rootHints) { in make()
45 return new MediaBrowser(context, serviceComponent, callback, rootHints); in make()
49 static void inject(MediaBrowser browser) { in inject()
DMediaBrowser.java33 public class MediaBrowser { class
34 android.media.browse.MediaBrowser mDelegate;
39 public MediaBrowser(android.media.browse.MediaBrowser delegate) { in MediaBrowser() method in MediaBrowser
46 public MediaBrowser(Context context, ComponentName serviceComponent, in MediaBrowser() method in MediaBrowser
48 mDelegate = new android.media.browse.MediaBrowser(context, serviceComponent, callback, in MediaBrowser()
56 android.media.browse.MediaBrowser.ConnectionCallback {}
62 android.media.browse.MediaBrowser.ItemCallback {}
68 android.media.browse.MediaBrowser.SubscriptionCallback {}
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/
DLocalMediaBrowserService.java23 import android.media.browse.MediaBrowser;
49 List<MediaBrowser.MediaItem> mRootItems = new ArrayList<>();
88 mRootItems.add(new MediaBrowser.MediaItem(folders, MediaBrowser.MediaItem.FLAG_BROWSABLE)); in addRootItems()
95 mRootItems.add(new MediaBrowser.MediaItem(albums, MediaBrowser.MediaItem.FLAG_BROWSABLE)); in addRootItems()
102 mRootItems.add(new MediaBrowser.MediaItem(artists, MediaBrowser.MediaItem.FLAG_BROWSABLE)); in addRootItems()
109 mRootItems.add(new MediaBrowser.MediaItem(genres, MediaBrowser.MediaItem.FLAG_BROWSABLE)); in addRootItems()
153 public void onLoadChildren(String parentId, Result<List<MediaBrowser.MediaItem>> result) { in onLoadChildren()
DDataModel.java25 import android.media.browse.MediaBrowser.MediaItem;
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DBrowsedPlayerWrapper.java22 import android.media.browse.MediaBrowser.MediaItem;
67 private MediaBrowser mWrappedBrowser;
268 class MediaConnectionCallback extends MediaBrowser.ConnectionCallback {
392 private class BrowserSubscriptionCallback extends MediaBrowser.SubscriptionCallback {
/packages/apps/Music/src/com/android/music/
DMediaPlaybackService.java22 import android.media.browse.MediaBrowser.MediaItem;
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/helpers/
DUtil.java23 import android.media.browse.MediaBrowser.MediaItem;
/packages/apps/Car/Radio/src/com/android/car/radio/service/
DRadioAppService.java26 import android.media.browse.MediaBrowser.MediaItem;
/packages/apps/Car/libs/car-broadcastradio-support/src/com/android/car/broadcastradio/support/media/
DBrowseTree.java29 import android.media.browse.MediaBrowser.MediaItem;