Home
last modified time | relevance | path

Searched refs:setMediaId (Results 1 – 25 of 57) sorted by relevance

123

/frameworks/support/media/api21/android/support/v4/media/
DMediaDescriptionCompatApi21.java71 public static void setMediaId(Object builderObj, String mediaId) { in setMediaId() method in MediaDescriptionCompatApi21.Builder
72 ((MediaDescription.Builder)builderObj).setMediaId(mediaId); in setMediaId()
/frameworks/support/media/version-compat-tests/previous/client/src/androidTest/java/android/support/mediacompat/client/
DMediaItemTest.java44 .setMediaId(MEDIA_ID) in testBrowsableMediaItem()
73 .setMediaId(MEDIA_ID) in testPlayableMediaItem()
DMediaControllerCompatCallbackTest.java325 new MediaDescriptionCompat.Builder().setMediaId(TEST_MEDIA_ID_1).build(); in testSetQueueAndSetQueueTitle()
327 new MediaDescriptionCompat.Builder().setMediaId(TEST_MEDIA_ID_2).build(); in testSetQueueAndSetQueueTitle()
DMediaBrowserCompatTest.java593 .setMediaId("dummy_id").build(), MediaItem.FLAG_BROWSABLE); in testGetItemWhenMediaIdIsInvalid()
/frameworks/support/media/version-compat-tests/current/client/src/androidTest/java/android/support/mediacompat/client/
DMediaItemTest.java44 .setMediaId(MEDIA_ID) in testBrowsableMediaItem()
73 .setMediaId(MEDIA_ID) in testPlayableMediaItem()
DMediaControllerCompatCallbackTest.java326 new MediaDescriptionCompat.Builder().setMediaId(TEST_MEDIA_ID_1).build(); in testSetQueueAndSetQueueTitle()
328 new MediaDescriptionCompat.Builder().setMediaId(TEST_MEDIA_ID_2).build(); in testSetQueueAndSetQueueTitle()
DMediaBrowserCompatTest.java642 .setMediaId("dummy_id").build(), MediaItem.FLAG_BROWSABLE); in testGetItemWhenMediaIdIsInvalid()
/frameworks/support/media/src/main/java/android/support/v4/media/
DMediaDescriptionCompat.java332 MediaDescriptionCompatApi21.Builder.setMediaId(bob, mMediaId); in getMediaDescription()
374 bob.setMediaId(MediaDescriptionCompatApi21.getMediaId(descriptionObj)); in fromMediaDescription()
454 public Builder setMediaId(@Nullable String mediaId) { in setMediaId() method in MediaDescriptionCompat.Builder
DMediaMetadataCompat.java530 bob.setMediaId(mediaId); in getDescription()
/frameworks/support/media/version-compat-tests/previous/service/src/androidTest/java/android/support/mediacompat/service/
DStubMediaBrowserServiceCompat.java186 .setMediaId(MEDIA_ID_CHILDREN_DELAYED).setExtras(mPendingRootHints).build(), in sendDelayedItemLoaded()
194 return new MediaItem(new MediaDescriptionCompat.Builder().setMediaId(id).build(), in createMediaItem()
DMediaSessionCompatCallbackTest.java246 .setMediaId(TEST_MEDIA_ID_1) in testQueueItem()
349 .setMediaId(TEST_MEDIA_ID_1).setTitle(TEST_MEDIA_TITLE_1).build(); in testAddRemoveQueueItems()
352 .setMediaId(TEST_MEDIA_ID_2).setTitle(TEST_MEDIA_TITLE_2).build(); in testAddRemoveQueueItems()
/frameworks/support/media/version-compat-tests/current/service/src/androidTest/java/android/support/mediacompat/service/
DStubMediaBrowserServiceCompat.java187 .setMediaId(MEDIA_ID_CHILDREN_DELAYED).setExtras(mPendingRootHints).build(), in sendDelayedItemLoaded()
195 return new MediaItem(new MediaDescriptionCompat.Builder().setMediaId(id).build(), in createMediaItem()
DMediaSessionCompatCallbackTest.java248 .setMediaId(TEST_MEDIA_ID_1) in testQueueItem()
351 .setMediaId(TEST_MEDIA_ID_1).setTitle(TEST_MEDIA_TITLE_1).build(); in testAddRemoveQueueItems()
354 .setMediaId(TEST_MEDIA_ID_2).setTitle(TEST_MEDIA_TITLE_2).build(); in testAddRemoveQueueItems()
/frameworks/support/media/src/main/java/androidx/media/
DMediaUtils2.java65 .setMediaId(item2.getMediaId()) in createMediaItem()
69 .setMediaId(item2.getMediaId()) in createMediaItem()
110 .setMediaId(item.getMediaId()) in createMediaItem2()
DMediaItem2.java258 public Builder setMediaId(@Nullable String mediaId) { in setMediaId() method in MediaItem2.Builder
DDataSourceDesc.java293 public @NonNull Builder setMediaId(String mediaId) { in setMediaId() method in DataSourceDesc.Builder
/frameworks/base/media/java/android/media/
DMediaItem2.java182 public Builder setMediaId(@Nullable String mediaId) { in setMediaId() method in MediaItem2.Builder
DMediaDescription.java292 public Builder setMediaId(@Nullable String mediaId) { in setMediaId() method in MediaDescription.Builder
DDataSourceDesc.java299 public Builder setMediaId(String mediaId) { in setMediaId() method in DataSourceDesc.Builder
DMediaMetadata.java603 bob.setMediaId(mediaId); in getDescription()
/frameworks/support/media/version-compat-tests/current/client/src/androidTest/java/androidx/media/test/client/
DTestUtils.java115 .setMediaId(caller + "_item_" + (size + 1)) in createPlaylist()
/frameworks/support/media/src/androidTest/java/androidx/media/
DTestUtils.java114 .setMediaId(caller + "_item_" + (size + 1)) in createPlaylist()
DMockMediaLibraryService2.java230 .setMediaId(mediaId) in createMediaItem()
/frameworks/av/packages/MediaComponents/tests/src/com/android/media/
DSessionPlaylistAgentTest.java124 .setMediaId(item.getMediaId()) in onDataSourceMissing()
633 .setMediaId("TEST_MEDIA_ID_WITHOUT_DSD_" + key) in generateMediaItemWithoutDataSourceDesc()
639 .setMediaId("TEST_MEDIA_ID_" + key) in generateMediaItem()
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/media/
DMediaBrowserServiceSupport.java305 .setMediaId(MEDIA_ID_MUSICS_BY_GENRE) in loadChildrenImpl()
323 .setMediaId(createBrowseCategoryMediaID(MEDIA_ID_MUSICS_BY_GENRE, in loadChildrenImpl()

123