Searched refs:MEDIA_ID_ROOT (Results 1 – 7 of 7) sorted by relevance
32 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 …]
33 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 …]
29 public static final String MEDIA_ID_ROOT = "__ROOT__"; field in MediaIDHelper110 return MEDIA_ID_ROOT; in getParentMediaID()
27 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()
27 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()
33 public static final String MEDIA_ID_ROOT = "test_media_id_root"; field in MediaBrowserConstants
20 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()