Home
last modified time | relevance | path

Searched refs:MEDIA_ID_ROOT (Results 1 – 7 of 7) sorted by relevance

/frameworks/support/media/version-compat-tests/previous/client/src/androidTest/java/android/support/mediacompat/client/
DMediaBrowserCompatTest.java32 import static android.support.mediacompat.testlib.MediaBrowserConstants.MEDIA_ID_ROOT;
188 assertEquals(MEDIA_ID_ROOT, mMediaBrowser.getRoot()); in testMediaBrowser()
263 mMediaBrowser.subscribe(MEDIA_ID_ROOT, mSubscriptionCallback); in testReconnection()
266 assertEquals(MEDIA_ID_ROOT, mSubscriptionCallback.mLastParentId); in testReconnection()
317 mMediaBrowser.subscribe(MEDIA_ID_ROOT, mSubscriptionCallback); in testSubscribe()
320 assertEquals(MEDIA_ID_ROOT, mSubscriptionCallback.mLastParentId); in testSubscribe()
329 callMediaBrowserServiceMethod(NOTIFY_CHILDREN_CHANGED, MEDIA_ID_ROOT, getContext()); in testSubscribe()
335 mMediaBrowser.unsubscribe(MEDIA_ID_ROOT); in testSubscribe()
339 callMediaBrowserServiceMethod(NOTIFY_CHILDREN_CHANGED, MEDIA_ID_ROOT, getContext()); in testSubscribe()
358 mMediaBrowser.subscribe(MEDIA_ID_ROOT, options, mSubscriptionCallback); in testSubscribeWithOptions()
[all …]
/frameworks/support/media/version-compat-tests/current/client/src/androidTest/java/android/support/mediacompat/client/
DMediaBrowserCompatTest.java33 import static android.support.mediacompat.testlib.MediaBrowserConstants.MEDIA_ID_ROOT;
195 assertEquals(MEDIA_ID_ROOT, mMediaBrowser.getRoot()); in testMediaBrowser()
270 mMediaBrowser.subscribe(MEDIA_ID_ROOT, mSubscriptionCallback); in testReconnection()
273 assertEquals(MEDIA_ID_ROOT, mSubscriptionCallback.mLastParentId); in testReconnection()
324 mMediaBrowser.subscribe(MEDIA_ID_ROOT, mSubscriptionCallback); in testSubscribe()
327 assertEquals(MEDIA_ID_ROOT, mSubscriptionCallback.mLastParentId); in testSubscribe()
336 callMediaBrowserServiceMethod(NOTIFY_CHILDREN_CHANGED, MEDIA_ID_ROOT, getContext()); in testSubscribe()
342 mMediaBrowser.unsubscribe(MEDIA_ID_ROOT); in testSubscribe()
346 callMediaBrowserServiceMethod(NOTIFY_CHILDREN_CHANGED, MEDIA_ID_ROOT, getContext()); in testSubscribe()
365 mMediaBrowser.subscribe(MEDIA_ID_ROOT, options, mSubscriptionCallback); in testSubscribeWithOptions()
[all …]
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/media/utils/
DMediaIDHelper.java29 public static final String MEDIA_ID_ROOT = "__ROOT__"; field in MediaIDHelper
110 return MEDIA_ID_ROOT; in getParentMediaID()
/frameworks/support/media/version-compat-tests/previous/service/src/androidTest/java/android/support/mediacompat/service/
DStubMediaBrowserServiceCompat.java27 import static android.support.mediacompat.testlib.MediaBrowserConstants.MEDIA_ID_ROOT;
82 return new BrowserRoot(MEDIA_ID_ROOT, mExtras); in onGetRoot()
88 if (MEDIA_ID_ROOT.equals(parentId)) { in onLoadChildren()
/frameworks/support/media/version-compat-tests/current/service/src/androidTest/java/android/support/mediacompat/service/
DStubMediaBrowserServiceCompat.java27 import static android.support.mediacompat.testlib.MediaBrowserConstants.MEDIA_ID_ROOT;
83 return new BrowserRoot(MEDIA_ID_ROOT, mExtras); in onGetRoot()
89 if (MEDIA_ID_ROOT.equals(parentId)) { in onLoadChildren()
/frameworks/support/media/version-compat-tests/lib/src/main/java/android/support/mediacompat/testlib/
DMediaBrowserConstants.java33 public static final String MEDIA_ID_ROOT = "test_media_id_root"; field in MediaBrowserConstants
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/media/
DMediaBrowserServiceSupport.java20 import static com.example.android.supportv4.media.utils.MediaIDHelper.MEDIA_ID_ROOT;
241 return new BrowserRoot(MEDIA_ID_ROOT, null); in onGetRoot()
300 if (MEDIA_ID_ROOT.equals(parentMediaId)) { in loadChildrenImpl()