Home
last modified time | relevance | path

Searched defs:mediaItem (Results 1 – 24 of 24) sorted by relevance

/external/exoplayer/tree/library/common/src/test/java/com/google/android/exoplayer2/
DMediaItemTest.java49 MediaItem mediaItem = MediaItem.fromUri(uri); in builderWithUri_setsSourceUri() local
58 MediaItem mediaItem = MediaItem.fromUri(URI_STRING); in builderWithUriAsString_setsSourceUri() local
66 MediaItem mediaItem = MediaItem.fromUri(URI_STRING); in builderSetMimeType_isNullByDefault() local
73 MediaItem mediaItem = in builderSetMimeType_setsMimeType() local
85 MediaItem mediaItem = new MediaItem.Builder().setSourceUri(URI_STRING).build(); in builderSetDrmConfig_isNullByDefault() local
95 MediaItem mediaItem = in builderSetDrmConfig_setsAllProperties() local
122 MediaItem mediaItem = in builderSetDrmSessionForClearPeriods_setsAudioAndVideoTracks() local
149 MediaItem mediaItem = in builderSetCustomCacheKey_setsCustomCacheKey() local
161 MediaItem mediaItem = in builderSetStreamKeys_setsStreamKeys() local
179 MediaItem mediaItem = in builderSetSubtitles_setsSubtitles() local
[all …]
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/source/
DDefaultMediaSourceFactoryTest.java49 MediaItem mediaItem = new MediaItem.Builder().setSourceUri(URI_MEDIA).build(); in createMediaSource_withoutMimeType_progressiveSource() local
61 MediaItem mediaItem = new MediaItem.Builder().setSourceUri(URI_MEDIA).setTag(tag).build(); in createMediaSource_withTag_tagInSource() local
72 MediaItem mediaItem = new MediaItem.Builder().setSourceUri(URI_MEDIA + "/file.mp3").build(); in createMediaSource_withPath_progressiveSource() local
83 MediaItem mediaItem = new MediaItem.Builder().setSourceUri(URI_MEDIA).build(); in createMediaSource_withNull_usesNonNullDefaults() local
104 MediaItem mediaItem = in createMediaSource_withSubtitle_isMergingMediaSource() local
117 MediaItem mediaItem = in createMediaSource_withSubtitle_hasTag() local
135 MediaItem mediaItem = in createMediaSource_withStartPosition_isClippingMediaSource() local
147 MediaItem mediaItem = in createMediaSource_withEndPosition_isClippingMediaSource() local
159 MediaItem mediaItem = in createMediaSource_relativeToDefaultPosition_isClippingMediaSource() local
174 MediaItem mediaItem = in createMediaSource_defaultToEnd_isNotClippingMediaSource() local
[all …]
/external/exoplayer/tree/library/smoothstreaming/src/test/java/com/google/android/exoplayer2/source/smoothstreaming/
DDefaultMediaSourceFactoryTest.java42 MediaItem mediaItem = in createMediaSource_withMimeType_smoothstreamingSource() local
56 MediaItem mediaItem = in createMediaSource_withTag_tagInSource() local
72 MediaItem mediaItem = new MediaItem.Builder().setSourceUri(URI_MEDIA + "/file.ism").build(); in createMediaSource_withIsmPath_smoothstreamingSource() local
83 MediaItem mediaItem = new MediaItem.Builder().setSourceUri(URI_MEDIA + ".ism/Manifest").build(); in createMediaSource_withManifestPath_smoothstreamingSource() local
94 MediaItem mediaItem = new MediaItem.Builder().setSourceUri(URI_MEDIA + "/file.ism").build(); in createMediaSource_withNull_usesNonNullDefaults() local
/external/exoplayer/tree/library/dash/src/test/java/com/google/android/exoplayer2/source/dash/
DDefaultMediaSourceFactoryTest.java40 MediaItem mediaItem = in createMediaSource_withMimeType_dashSource() local
56 MediaItem mediaItem = in createMediaSource_withTag_tagInSource() local
72 MediaItem mediaItem = new MediaItem.Builder().setSourceUri(URI_MEDIA + "/file.mpd").build(); in createMediaSource_withPath_dashSource() local
83 MediaItem mediaItem = new MediaItem.Builder().setSourceUri(URI_MEDIA + "/file.mpd").build(); in createMediaSource_withNull_usesNonNullDefaults() local
/external/exoplayer/tree/library/hls/src/test/java/com/google/android/exoplayer2/source/hls/
DDefaultMediaSourceFactoryTest.java40 MediaItem mediaItem = in createMediaSource_withMimeType_hlsSource() local
56 MediaItem mediaItem = in createMediaSource_withTag_tagInSource() local
72 MediaItem mediaItem = new MediaItem.Builder().setSourceUri(URI_MEDIA + "/file.m3u8").build(); in createMediaSource_withPath_hlsSource() local
83 MediaItem mediaItem = new MediaItem.Builder().setSourceUri(URI_MEDIA + "/file.m3u8").build(); in createMediaSource_withNull_usesNonNullDefaults() local
/external/exoplayer/tree/demos/main/src/main/java/com/google/android/exoplayer2/demo/
DDownloadTracker.java87 public boolean isDownloaded(MediaItem mediaItem) { in isDownloaded()
98 FragmentManager fragmentManager, MediaItem mediaItem, RenderersFactory renderersFactory) { in toggleDownload()
124 private DownloadHelper getDownloadHelper(MediaItem mediaItem, RenderersFactory renderersFactory) { in getDownloadHelper()
175 private final MediaItem mediaItem; field in DownloadTracker.StartDownloadDialogHelper
181 FragmentManager fragmentManager, DownloadHelper downloadHelper, MediaItem mediaItem) { in StartDownloadDialogHelper()
DPlayerActivity.java364 MediaItem mediaItem = mediaItems.get(i); in createMediaItems() local
DSampleChooserActivity.java376 MediaItem.Builder mediaItem = new MediaItem.Builder(); in readEntry() local
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DBasePlayer.java33 public void setMediaItem(MediaItem mediaItem) { in setMediaItem()
38 public void setMediaItem(MediaItem mediaItem, long startPositionMs) { in setMediaItem()
43 public void setMediaItem(MediaItem mediaItem, boolean resetPosition) { in setMediaItem()
59 public void addMediaItem(int index, MediaItem mediaItem) { in addMediaItem()
64 public void addMediaItem(MediaItem mediaItem) { in addMediaItem()
DPlayer.java849 void setMediaItem(MediaItem mediaItem); in setMediaItem()
857 void setMediaItem(MediaItem mediaItem, long startPositionMs); in setMediaItem()
867 void setMediaItem(MediaItem mediaItem, boolean resetPosition); in setMediaItem()
874 void addMediaItem(MediaItem mediaItem); in addMediaItem()
882 void addMediaItem(int index, MediaItem mediaItem); in addMediaItem()
DSimpleExoPlayer.java1320 public void setMediaItem(MediaItem mediaItem) { in setMediaItem()
1327 public void setMediaItem(MediaItem mediaItem, boolean resetPosition) { in setMediaItem()
1334 public void setMediaItem(MediaItem mediaItem, long startPositionMs) { in setMediaItem()
1396 public void addMediaItem(MediaItem mediaItem) { in addMediaItem()
1402 public void addMediaItem(int index, MediaItem mediaItem) { in addMediaItem()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/
DDefaultMediaSourceFactory.java247 public MediaSource createMediaSource(MediaItem mediaItem) { in createMediaSource()
289 private DrmSessionManager createDrmSessionManager(MediaItem mediaItem) { in createDrmSessionManager()
317 private static MediaSource maybeClipMediaSource(MediaItem mediaItem, MediaSource mediaSource) { in maybeClipMediaSource()
332 private MediaSource maybeWrapWithAdsMediaSource(MediaItem mediaItem, MediaSource mediaSource) { in maybeWrapWithAdsMediaSource()
DMediaSourceFactory.java67 MediaSource createMediaSource(MediaItem mediaItem); in createMediaSource()
DProgressiveMediaSource.java180 public ProgressiveMediaSource createMediaSource(MediaItem mediaItem) { in createMediaSource()
DExtractorMediaSource.java187 public ExtractorMediaSource createMediaSource(MediaItem mediaItem) { in createMediaSource()
/external/exoplayer/tree/extensions/cast/src/main/java/com/google/android/exoplayer2/ext/cast/
DDefaultMediaItemConverter.java112 private static JSONObject getCustomData(MediaItem mediaItem) { in getCustomData()
126 private static JSONObject getMediaItemJson(MediaItem mediaItem) throws JSONException { in getMediaItemJson()
150 private static JSONObject getPlayerConfigJson(MediaItem mediaItem) throws JSONException { in getPlayerConfigJson()
DMediaItemConverter.java30 MediaQueueItem toMediaQueueItem(MediaItem mediaItem); in toMediaQueueItem()
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DStubExoPlayer.java145 public void setMediaItem(MediaItem mediaItem) { in setMediaItem()
150 public void setMediaItem(MediaItem mediaItem, long startPositionMs) { in setMediaItem()
155 public void setMediaItem(MediaItem mediaItem, boolean resetPosition) { in setMediaItem()
207 public void addMediaItem(MediaItem mediaItem) { in addMediaItem()
212 public void addMediaItem(int index, MediaItem mediaItem) { in addMediaItem()
/external/robolectric-shadows/shadows/supportv4/src/main/java/org/robolectric/shadows/support/v4/
DShadowMediaBrowserCompat.java98 final MediaItem mediaItem = mediaItems.get(mediaId); in getItem() local
194 final MediaItem mediaItem = new MediaItem(metadataCompat.getDescription(), flag); in createMediaItem() local
/external/exoplayer/tree/extensions/cast/src/test/java/com/google/android/exoplayer2/ext/cast/
DCastPlayerTest.java478 MediaItem mediaItem = in createMediaItems() local
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/
DHlsMediaSource.java346 public HlsMediaSource createMediaSource(MediaItem mediaItem) { in createMediaSource()
/external/exoplayer/tree/library/smoothstreaming/src/main/java/com/google/android/exoplayer2/source/smoothstreaming/
DSsMediaSource.java295 public SsMediaSource createMediaSource(MediaItem mediaItem) { in createMediaSource()
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/
DMediaItem.java88 private Builder(MediaItem mediaItem) { in Builder()
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/
DDashMediaSource.java327 public DashMediaSource createMediaSource(MediaItem mediaItem) { in createMediaSource()