/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/media/ |
D | MediaBrowserSupport.java | 49 mediaController.getTransportControls().playFromMediaId(item.getMediaId(), null); in onMediaItemSelected() 58 .replace(R.id.container, BrowseFragment.newInstance(item.getMediaId())) in onMediaItemSelected()
|
D | MediaBrowserServiceSupport.java | 348 track.getDescription().getMediaId(), MEDIA_ID_MUSICS_BY_GENRE, genre); in loadChildrenImpl() 586 queueItem.getDescription().getMediaId()); in updateMetadata() 592 + " mediaId from queueItem=" + queueItem.getDescription().getMediaId() in updateMetadata() 594 + " mediaId from track=" + track.getDescription().getMediaId() in updateMetadata() 628 queueItem.getDescription().getMediaId()); in updateMetadata() 718 + item.getDescription().getMediaId()); in getCurrentPlayingMusic() 721 .extractMusicIDFromMediaID(item.getDescription().getMediaId())); in getCurrentPlayingMusic()
|
D | Playback.java | 150 String mediaId = item.getDescription().getMediaId(); in play() 163 MediaIDHelper.extractMusicIDFromMediaID(item.getDescription().getMediaId())); in play()
|
/frameworks/support/media/src/main/java/androidx/media/ |
D | MediaItem2.java | 82 if (metadata != null && !TextUtils.equals(mediaId, metadata.getMediaId())) { in MediaItem2() 182 if (metadata != null && !TextUtils.equals(mId, metadata.getMediaId())) { in setMetadata() 198 public /*@NonNull*/ String getMediaId() { in getMediaId() method in MediaItem2
|
D | MediaUtils2.java | 65 .setMediaId(item2.getMediaId()) in createMediaItem() 69 .setMediaId(item2.getMediaId()) in createMediaItem() 104 if (item == null || item.getMediaId() == null) { in createMediaItem2() 110 .setMediaId(item.getMediaId()) in createMediaItem2() 149 metadata2Builder.putString(METADATA_KEY_MEDIA_ID, descCompat.getMediaId()); in createMediaMetadata2()
|
D | DataSourceDesc.java | 94 public @Nullable String getMediaId() { in getMediaId() method in DataSourceDesc
|
/frameworks/support/media/api21/android/support/v4/media/ |
D | MediaDescriptionCompatApi21.java | 29 public static String getMediaId(Object descriptionObj) { in getMediaId() method in MediaDescriptionCompatApi21 30 return ((MediaDescription) descriptionObj).getMediaId(); in getMediaId()
|
/frameworks/support/media/version-compat-tests/previous/client/src/androidTest/java/android/support/mediacompat/client/ |
D | MediaItemTest.java | 51 assertEquals(MEDIA_ID, mediaItem.getMediaId()); in testBrowsableMediaItem() 80 assertEquals(MEDIA_ID, mediaItem.getMediaId()); in testPlayableMediaItem()
|
D | MediaBrowserCompatTest.java | 273 assertEquals(MEDIA_ID_CHILDREN[0], mItemCallback.mLastMediaItem.getMediaId()); in testReconnection() 285 assertEquals(MEDIA_ID_CHILDREN[0], mItemCallback.mLastMediaItem.getMediaId()); in testReconnection() 324 mSubscriptionCallback.mLastChildMediaItems.get(i).getMediaId()); in testSubscribe() 371 mSubscriptionCallback.mLastChildMediaItems.get(i).getMediaId()); in testSubscribeWithOptions() 556 assertEquals(MEDIA_ID_CHILDREN[0], mItemCallback.mLastMediaItem.getMediaId()); in testGetItem() 574 assertEquals(MEDIA_ID_CHILDREN_DELAYED, mItemCallback.mLastMediaItem.getMediaId()); in testGetItemDelayed() 636 assertNotNull(item.getMediaId()); in testSearch() 637 assertTrue(item.getMediaId().contains(SEARCH_QUERY)); in testSearch()
|
/frameworks/support/media/version-compat-tests/current/client/src/androidTest/java/android/support/mediacompat/client/ |
D | MediaItemTest.java | 51 assertEquals(MEDIA_ID, mediaItem.getMediaId()); in testBrowsableMediaItem() 80 assertEquals(MEDIA_ID, mediaItem.getMediaId()); in testPlayableMediaItem()
|
D | MediaBrowserCompatTest.java | 280 assertEquals(MEDIA_ID_CHILDREN[0], mItemCallback.mLastMediaItem.getMediaId()); in testReconnection() 292 assertEquals(MEDIA_ID_CHILDREN[0], mItemCallback.mLastMediaItem.getMediaId()); in testReconnection() 331 mSubscriptionCallback.mLastChildMediaItems.get(i).getMediaId()); in testSubscribe() 378 mSubscriptionCallback.mLastChildMediaItems.get(i).getMediaId()); in testSubscribeWithOptions() 434 assertEquals(mediaId, mSubscriptionCallback.mLastChildMediaItems.get(0).getMediaId()); in testSubscribeWithOptionsIncludingCompatParcelables() 605 assertEquals(MEDIA_ID_CHILDREN[0], mItemCallback.mLastMediaItem.getMediaId()); in testGetItem() 623 assertEquals(MEDIA_ID_CHILDREN_DELAYED, mItemCallback.mLastMediaItem.getMediaId()); in testGetItemDelayed() 685 assertNotNull(item.getMediaId()); in testSearch() 686 assertTrue(item.getMediaId().contains(SEARCH_QUERY)); in testSearch()
|
/frameworks/support/media/version-compat-tests/current/client/src/androidTest/java/androidx/media/test/client/ |
D | MediaController2Test_copied.java | 316 assertEquals(list.get(i).getMediaId(), mMockAgent.mPlaylist.get(i).getMediaId()); in testSetPlaylist() 337 assertEquals(testList.get(i).getMediaId(), playlist.get(i).getMediaId()); in testGetPlaylist() 372 assertEquals(testMetadata.getMediaId(), mMockAgent.mMetadata.getMediaId()); in testUpdatePlaylistMetadata() 386 assertEquals(testMetadata.getMediaId(), metadata.getMediaId()); in testGetPlaylistMetadata() 406 assertEquals(metadataFromCallback.get().getMediaId(), in testGetPlaylistMetadata() 407 controller.getPlaylistMetadata().getMediaId()); in testGetPlaylistMetadata() 438 assertEquals(item.getMediaId(), metadata.getMediaId()); in testControllerCallback_onPlaylistMetadataChanged() 563 assertEquals(testMediaItem.getMediaId(), mMockAgent.mItem.getMediaId()); in testAddPlaylistItem() 593 assertEquals(testMediaItem.getMediaId(), mMockAgent.mItem.getMediaId()); in testReplacePlaylistItem()
|
/frameworks/support/media/src/androidTest/java/androidx/media/ |
D | MediaController2Test.java | 304 assertEquals(list.get(i).getMediaId(), mMockAgent.mPlaylist.get(i).getMediaId()); in testSetPlaylist() 325 assertEquals(testList.get(i).getMediaId(), playlist.get(i).getMediaId()); in testGetPlaylist() 360 assertEquals(testMetadata.getMediaId(), mMockAgent.mMetadata.getMediaId()); in testUpdatePlaylistMetadata() 374 assertEquals(testMetadata.getMediaId(), metadata.getMediaId()); in testGetPlaylistMetadata() 394 assertEquals(metadataFromCallback.get().getMediaId(), in testGetPlaylistMetadata() 395 controller.getPlaylistMetadata().getMediaId()); in testGetPlaylistMetadata() 426 assertEquals(item.getMediaId(), metadata.getMediaId()); in testControllerCallback_onPlaylistMetadataChanged() 548 assertEquals(testMediaItem.getMediaId(), mMockAgent.mItem.getMediaId()); in testAddPlaylistItem() 578 assertEquals(testMediaItem.getMediaId(), mMockAgent.mItem.getMediaId()); in testReplacePlaylistItem()
|
D | MediaBrowser2Test.java | 149 assertEquals(mediaId, result.getMediaId()); in testGetItem() 209 .getMediaId(), in testGetChildren() 210 result.get(relativeIndex).getMediaId()); in testGetChildren() 303 MockMediaLibraryService2.SEARCH_RESULT.get(originalIndex).getMediaId(), in testSearch() 304 result.get(relativeIndex).getMediaId()); in testSearch()
|
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/media/utils/ |
D | QueueHelper.java | 84 if (mediaId.equals(item.getDescription().getMediaId())) { in getMusicIndexOnQueue() 113 track.getDescription().getMediaId(), categories); in convertToQueue()
|
/frameworks/av/packages/MediaComponents/src/com/android/media/ |
D | MediaItem2Impl.java | 59 if (metadata != null && !TextUtils.equals(mediaId, metadata.getMediaId())) { in MediaItem2Impl() 161 if (metadata != null && !TextUtils.equals(mId, metadata.getMediaId())) { in setMetadata_impl()
|
/frameworks/base/media/java/android/media/ |
D | MediaItem2.java | 134 public @NonNull String getMediaId() { in getMediaId() method in MediaItem2
|
D | MediaDescription.java | 138 public @Nullable String getMediaId() { in getMediaId() method in MediaDescription
|
D | MediaMetadata2.java | 555 public @Nullable String getMediaId() { in getMediaId() method in MediaMetadata2
|
D | DataSourceDesc.java | 89 public String getMediaId() { in getMediaId() method in DataSourceDesc
|
/frameworks/support/media/src/main/java/android/support/v4/media/ |
D | MediaDescriptionCompat.java | 216 public String getMediaId() { in getMediaId() method in MediaDescriptionCompat 374 bob.setMediaId(MediaDescriptionCompatApi21.getMediaId(descriptionObj)); in fromMediaDescription()
|
/frameworks/support/media/version-compat-tests/previous/service/src/androidTest/java/android/support/mediacompat/service/ |
D | MediaSessionCompatCallbackTest.java | 251 assertEquals(TEST_MEDIA_ID_1, item.getDescription().getMediaId()); in testQueueItem() 361 assertEquals(TEST_MEDIA_ID_1, mCallback.mQueueDescription.getMediaId()); in testAddRemoveQueueItems() 374 assertEquals(TEST_MEDIA_ID_2, mCallback.mQueueDescription.getMediaId()); in testAddRemoveQueueItems() 382 assertEquals(TEST_MEDIA_ID_1, mCallback.mQueueDescription.getMediaId()); in testAddRemoveQueueItems() 1073 String mediaId = description.getMediaId(); in onRemoveQueueItem() 1075 if (mediaId.equals(mQueue.get(i).getDescription().getMediaId())) { in onRemoveQueueItem()
|
/frameworks/support/media/version-compat-tests/current/service/src/androidTest/java/android/support/mediacompat/service/ |
D | MediaSessionCompatCallbackTest.java | 253 assertEquals(TEST_MEDIA_ID_1, item.getDescription().getMediaId()); in testQueueItem() 363 assertEquals(TEST_MEDIA_ID_1, mCallback.mQueueDescription.getMediaId()); in testAddRemoveQueueItems() 376 assertEquals(TEST_MEDIA_ID_2, mCallback.mQueueDescription.getMediaId()); in testAddRemoveQueueItems() 384 assertEquals(TEST_MEDIA_ID_1, mCallback.mQueueDescription.getMediaId()); in testAddRemoveQueueItems() 1148 String mediaId = description.getMediaId(); in onRemoveQueueItem() 1150 if (mediaId.equals(mQueue.get(i).getDescription().getMediaId())) { in onRemoveQueueItem()
|
/frameworks/base/media/java/android/media/browse/ |
D | MediaBrowser.java | 776 if (TextUtils.isEmpty(description.getMediaId())) { in MediaItem() 858 public @Nullable String getMediaId() { in getMediaId() method in MediaBrowser.MediaItem 859 return mDescription.getMediaId(); in getMediaId()
|
/frameworks/av/packages/MediaComponents/tests/src/com/android/media/ |
D | SessionPlaylistAgentTest.java | 119 if (item.getMediaId().contains("WITHOUT_DSD")) { in onDataSourceMissing() 124 .setMediaId(item.getMediaId()) in onDataSourceMissing()
|