HomeSort by relevance Sort by last modified time
    Searched refs:BrowserRoot (Results 1 - 25 of 26) sorted by null

1 2

  /frameworks/support/media/version-compat-tests/current/service/src/androidTest/java/android/support/mediacompat/service/
StubMediaBrowserServiceCompatWithDelayedMediaSession.java 51 public BrowserRoot onGetRoot(@NonNull String clientPackageName,
53 return new BrowserRoot("StubRootId", null);
StubMediaBrowserServiceCompat.java 80 public BrowserRoot onGetRoot(String clientPackageName, int clientUid, Bundle rootHints) {
83 return new BrowserRoot(MEDIA_ID_ROOT, mExtras);
  /frameworks/support/media/version-compat-tests/previous/service/src/androidTest/java/android/support/mediacompat/service/
StubMediaBrowserServiceCompatWithDelayedMediaSession.java 50 public BrowserRoot onGetRoot(@NonNull String clientPackageName,
52 return new BrowserRoot("StubRootId", null);
StubMediaBrowserServiceCompat.java 79 public BrowserRoot onGetRoot(String clientPackageName, int clientUid, Bundle rootHints) {
82 return new BrowserRoot(MEDIA_ID_ROOT, mExtras);
  /cts/tests/tests/media/src/android/media/cts/
MediaBrowserServiceTest.java 27 import android.service.media.MediaBrowserService.BrowserRoot;
109 mRootHints.putBoolean(MediaBrowserService.BrowserRoot.EXTRA_RECENT, true);
110 mRootHints.putBoolean(MediaBrowserService.BrowserRoot.EXTRA_OFFLINE, true);
111 mRootHints.putBoolean(MediaBrowserService.BrowserRoot.EXTRA_SUGGESTED, true);
229 MediaBrowserService.BrowserRoot browserRoot = new BrowserRoot(id, extras);
230 assertEquals(id, browserRoot.getRootId());
231 assertEquals(val, browserRoot.getExtras().getString(key));
237 assertEquals(mRootHints.getBoolean(BrowserRoot.EXTRA_RECENT)
    [all...]
StubMediaBrowserService.java 80 public BrowserRoot onGetRoot(String clientPackageName, int clientUid, Bundle rootHints) {
84 return new BrowserRoot(MEDIA_ID_ROOT, mExtras);
  /frameworks/support/media/api21/androidx/media/
MediaBrowserServiceCompatApi21.java 57 BrowserRoot onGetRoot(String clientPackageName, int clientUid, Bundle rootHints);
100 static class BrowserRoot {
104 BrowserRoot(String rootId, Bundle extras) {
119 public MediaBrowserService.BrowserRoot onGetRoot(String clientPackageName, int clientUid,
121 MediaBrowserServiceCompatApi21.BrowserRoot browserRoot = mServiceProxy.onGetRoot(
123 return browserRoot == null ? null : new MediaBrowserService.BrowserRoot(
124 browserRoot.mRootId, browserRoot.mExtras)
    [all...]
  /frameworks/support/media/src/main/java/androidx/media/
MediaSessionService2.java 32 import androidx.media.MediaBrowserServiceCompat.BrowserRoot;
127 // Stub BrowserRoot for accepting any connction here.
129 static final BrowserRoot sDefaultBrowserRoot = new BrowserRoot(SERVICE_INTERFACE, null);
308 public BrowserRoot onGetRoot(String clientPackageName, int clientUid, Bundle rootHints) {
310 // 1. A non-null BrowserRoot should be returned here to keep the binding
MediaBrowserServiceCompat.java 332 public MediaBrowserServiceCompatApi21.BrowserRoot onGetRoot(
353 BrowserRoot root = MediaBrowserServiceCompat.this.onGetRoot(
364 return new MediaBrowserServiceCompatApi21.BrowserRoot(
659 public BrowserRoot root;
    [all...]
MediaLibraryService2.java 483 public BrowserRoot onGetRoot(String clientPackageName, int clientUid,
509 return new BrowserRoot(libraryRoot.getRootId(), libraryRoot.getExtras());
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/media/
BluetoothSL4AAudioSrcMBS.java 185 public BrowserRoot onGetRoot(String clientPackageName, int clientUid, Bundle rootHints) {
186 BrowserRoot mediaRoot = new BrowserRoot(MEDIA_ROOT_ID, null);
  /packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/
LocalMediaBrowserService.java 48 private BrowserRoot mRoot = new BrowserRoot(ROOT_ID, null);
149 public BrowserRoot onGetRoot(String clientName, int clientUid, Bundle rootHints) {
  /packages/apps/Car/libs/car-broadcastradio-support/src/com/android/car/broadcastradio/support/media/
BrowseTree.java 31 import android.support.v4.media.MediaBrowserServiceCompat.BrowserRoot;
130 private final BrowserRoot mRoot = new BrowserRoot(NODE_ROOT, null);
160 public BrowserRoot getRoot() {
  /developers/build/prebuilts/gradle/MediaBrowserService/Application/src/main/java/com/example/android/mediasession/service/
MusicService.java 84 public BrowserRoot onGetRoot(@NonNull String clientPackageName,
87 return new BrowserRoot(MusicLibrary.getRoot(), null);
  /developers/samples/android/media/MediaBrowserService/Application/src/main/java/com/example/android/mediasession/service/
MusicService.java 84 public BrowserRoot onGetRoot(@NonNull String clientPackageName,
87 return new BrowserRoot(MusicLibrary.getRoot(), null);
  /frameworks/base/media/java/android/service/media/
MediaBrowserService.java 121 BrowserRoot root;
383 * @return The {@link BrowserRoot} for accessing this app's content or null.
384 * @see BrowserRoot#EXTRA_RECENT
385 * @see BrowserRoot#EXTRA_OFFLINE
386 * @see BrowserRoot#EXTRA_SUGGESTED
388 public abstract @Nullable BrowserRoot onGetRoot(@NonNull String clientPackageName,
520 * @see MediaBrowserService.BrowserRoot#EXTRA_RECENT
521 * @see MediaBrowserService.BrowserRoot#EXTRA_OFFLINE
522 * @see MediaBrowserService.BrowserRoot#EXTRA_SUGGESTED
771 public static final class BrowserRoot {
    [all...]
  /frameworks/support/media/version-compat-tests/previous/client/src/androidTest/java/android/support/mediacompat/client/
MediaBrowserCompatTest.java 144 mRootHints.putBoolean(MediaBrowserServiceCompat.BrowserRoot.EXTRA_RECENT, true);
145 mRootHints.putBoolean(MediaBrowserServiceCompat.BrowserRoot.EXTRA_OFFLINE, true);
146 mRootHints.putBoolean(MediaBrowserServiceCompat.BrowserRoot.EXTRA_SUGGESTED, true);
173 MediaBrowserServiceCompat.BrowserRoot browserRoot =
174 new MediaBrowserServiceCompat.BrowserRoot(id, extras);
175 assertEquals(id, browserRoot.getRootId());
176 assertEquals(val, browserRoot.getExtras().getString(key));
    [all...]
  /frameworks/support/media/version-compat-tests/current/client/src/androidTest/java/android/support/mediacompat/client/
MediaBrowserCompatTest.java 151 mRootHints.putBoolean(MediaBrowserServiceCompat.BrowserRoot.EXTRA_RECENT, true);
152 mRootHints.putBoolean(MediaBrowserServiceCompat.BrowserRoot.EXTRA_OFFLINE, true);
153 mRootHints.putBoolean(MediaBrowserServiceCompat.BrowserRoot.EXTRA_SUGGESTED, true);
180 MediaBrowserServiceCompat.BrowserRoot browserRoot =
181 new MediaBrowserServiceCompat.BrowserRoot(id, extras);
182 assertEquals(id, browserRoot.getRootId());
183 assertEquals(val, browserRoot.getExtras().getString(key));
    [all...]
  /development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
MusicService.java 217 public BrowserRoot onGetRoot(String clientPackageName, int clientUid, Bundle rootHints) {
235 return new BrowserRoot(MEDIA_ID_ROOT, null);
    [all...]
  /frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/media/
MediaBrowserServiceSupport.java 224 public BrowserRoot onGetRoot(String clientPackageName, int clientUid, Bundle rootHints) {
241 return new BrowserRoot(MEDIA_ID_ROOT, null);
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/mbs/
A2dpMediaBrowserService.java 201 public BrowserRoot onGetRoot(String clientPackageName, int clientUid, Bundle rootHints) {
202 return new BrowserRoot(BrowseTree.ROOT, null);
  /packages/apps/Car/Radio/src/com/android/car/radio/
RadioService.java 473 public BrowserRoot onGetRoot(String clientPackageName, int clientUid, Bundle rootHints) {
  /packages/apps/Music/src/com/android/music/
MediaPlaybackService.java 150 public BrowserRoot onGetRoot(String clientPackageName, int clientUid, Bundle rootHints) {
155 return new BrowserRoot(MEDIA_ID_ROOT, null);
    [all...]
  /frameworks/base/config/
preloaded-classes     [all...]
  /prebuilts/sdk/25/
android.jar 

Completed in 677 milliseconds

1 2