Home
last modified time | relevance | path

Searched refs:DataSourceDesc (Results 1 – 25 of 51) sorted by relevance

123

/frameworks/base/media/java/android/media/
DMediaPlayerBase.java185 public abstract void setDataSource(@NonNull DataSourceDesc dsd); in setDataSource()
191 public abstract void setNextDataSource(@NonNull DataSourceDesc dsd); in setNextDataSource()
198 public abstract void setNextDataSources(@NonNull List<DataSourceDesc> dsds); in setNextDataSources()
204 public abstract @Nullable DataSourceDesc getCurrentDataSource(); in getCurrentDataSource()
288 @Nullable DataSourceDesc dsd) { } in onCurrentDataSourceChanged()
295 public void onMediaPrepared(@NonNull MediaPlayerBase mpb, @NonNull DataSourceDesc dsd) { } in onMediaPrepared()
312 @NonNull DataSourceDesc dsd, @BuffState int state) { } in onBufferingStateChanged()
DMediaPlayer2.java663 public abstract void setDataSource(@NonNull DataSourceDesc dsd); in setDataSource()
673 public abstract void setNextDataSource(@NonNull DataSourceDesc dsd); in setNextDataSource()
682 public abstract void setNextDataSources(@NonNull List<DataSourceDesc> dsds); in setNextDataSources()
690 public abstract @NonNull DataSourceDesc getCurrentDataSource(); in getCurrentDataSource()
1721 … public void onVideoSizeChanged(MediaPlayer2 mp, DataSourceDesc dsd, int width, int height) { } in onVideoSizeChanged()
1732 public void onTimedText(MediaPlayer2 mp, DataSourceDesc dsd, TimedText text) { } in onTimedText()
1753 MediaPlayer2 mp, DataSourceDesc dsd, TimedMetaData data) { } in onTimedMetaDataAvailable()
1765 MediaPlayer2 mp, DataSourceDesc dsd, @MediaError int what, int extra) { } in onError()
1776 public void onInfo(MediaPlayer2 mp, DataSourceDesc dsd, @MediaInfo int what, int extra) { } in onInfo()
1787 MediaPlayer2 mp, DataSourceDesc dsd, @CallCompleted int what, in onCallCompleted()
[all …]
DDataSourceDesc.java52 public final class DataSourceDesc { class
82 private DataSourceDesc() { in DataSourceDesc() method in DataSourceDesc
241 public Builder(DataSourceDesc dsd) { in Builder()
264 public DataSourceDesc build() { in build()
275 DataSourceDesc dsd = new DataSourceDesc(); in build()
DMediaItem2.java145 public @Nullable DataSourceDesc getDataSourceDesc() { in getDataSourceDesc()
207 public Builder setDataSourceDesc(@Nullable DataSourceDesc dataSourceDesc) { in setDataSourceDesc()
/frameworks/support/media/src/main/java/androidx/media/
DMediaPlayerInterface.java199 public abstract void setDataSource(@NonNull DataSourceDesc dsd); in setDataSource()
205 public abstract void setNextDataSource(@NonNull DataSourceDesc dsd); in setNextDataSource()
212 public abstract void setNextDataSources(@NonNull List<DataSourceDesc> dsds); in setNextDataSources()
218 public abstract @Nullable DataSourceDesc getCurrentDataSource(); in getCurrentDataSource()
308 @Nullable DataSourceDesc dsd) { } in onCurrentDataSourceChanged()
317 @NonNull DataSourceDesc dsd) { } in onMediaPrepared()
335 @NonNull DataSourceDesc dsd, @BuffState int state) { } in onBufferingStateChanged()
DMediaPlayer2.java367 public abstract void setDataSource(@NonNull DataSourceDesc dsd); in setDataSource()
376 public abstract void setNextDataSource(@NonNull DataSourceDesc dsd); in setNextDataSource()
384 public abstract void setNextDataSources(@NonNull List<DataSourceDesc> dsds); in setNextDataSources()
391 public abstract @NonNull DataSourceDesc getCurrentDataSource(); in getCurrentDataSource()
880 MediaPlayer2 mp, DataSourceDesc dsd, int width, int height) { } in onVideoSizeChanged()
900 MediaPlayer2 mp, DataSourceDesc dsd, TimedMetaData data) { } in onTimedMetaDataAvailable()
912 MediaPlayer2 mp, DataSourceDesc dsd, @MediaError int what, int extra) { } in onError()
923 public void onInfo(MediaPlayer2 mp, DataSourceDesc dsd, @MediaInfo int what, int extra) { } in onInfo()
934 MediaPlayer2 mp, DataSourceDesc dsd, @CallCompleted int what, in onCallCompleted()
958 MediaPlayer2 mp, DataSourceDesc dsd, MediaTimestamp timestamp) { } in onMediaTimeDiscontinuity()
[all …]
DMediaItem2.java70 private DataSourceDesc mDataSourceDesc;
72 private MediaItem2(@NonNull String mediaId, @Nullable DataSourceDesc dsd, in MediaItem2()
77 private MediaItem2(@NonNull String mediaId, @Nullable DataSourceDesc dsd, in MediaItem2()
209 public @Nullable DataSourceDesc getDataSourceDesc() { in getDataSourceDesc()
234 private DataSourceDesc mDataSourceDesc;
285 public Builder setDataSourceDesc(@Nullable DataSourceDesc dataSourceDesc) { in setDataSourceDesc()
DDataSourceDesc.java42 public final class DataSourceDesc { class
87 private DataSourceDesc() { in DataSourceDesc() method in DataSourceDesc
235 public Builder(@NonNull DataSourceDesc dsd) { in Builder()
258 public @NonNull DataSourceDesc build() { in build()
269 DataSourceDesc dsd = new DataSourceDesc(); in build()
DSessionPlaylistAgentImplBase.java58 private Map<MediaItem2, DataSourceDesc> mItemDsdMap = new ArrayMap<>();
72 @Nullable DataSourceDesc dsd) { in onCurrentDataSourceChanged()
87 public DataSourceDesc dsd;
94 PlayItem(int shuffledIdx, DataSourceDesc dsd) { in PlayItem()
406 public MediaItem2 getMediaItem(DataSourceDesc dsd) { in getMediaItem()
425 private DataSourceDesc retrieveDataSourceDescLocked(MediaItem2 item) { in retrieveDataSourceDescLocked()
426 DataSourceDesc dsd = item.getDataSourceDesc(); in retrieveDataSourceDescLocked()
462 DataSourceDesc dsd = retrieveDataSourceDescLocked(mShuffledList.get(curShuffledIdx)); in getNextValidPlayItemLocked()
DMediaPlayer2Impl.java394 public void setDataSource(@NonNull final DataSourceDesc dsd) { in setDataSource()
418 public void setNextDataSource(@NonNull final DataSourceDesc dsd) { in setNextDataSource()
436 public void setNextDataSources(@NonNull final List<DataSourceDesc> dsds) { in setNextDataSources()
443 for (DataSourceDesc dsd : dsds) { in setNextDataSources()
455 public @NonNull DataSourceDesc getCurrentDataSource() { in getCurrentDataSource()
657 final DataSourceDesc dsd = src.getDSD(); in handleDataSource()
662 case DataSourceDesc.TYPE_CALLBACK: in handleDataSource()
683 case DataSourceDesc.TYPE_FD: in handleDataSource()
690 case DataSourceDesc.TYPE_URI: in handleDataSource()
1189 DataSourceDesc dsd = src == null ? null : src.getDSD(); in setOnDrmConfigHelper()
[all …]
/frameworks/support/media/src/androidTest/java/androidx/media/
DMediaPlayer2Test.java114 public void onCallCompleted(MediaPlayer2 mp, DataSourceDesc dsd, int what, int status) { in testPlayNullSourcePath()
126 mPlayer.setDataSource((DataSourceDesc) null); in testPlayNullSourcePath()
156 public void onInfo(MediaPlayer2 mp, DataSourceDesc dsd, int what, int extra) { in testPlayAudioFromDataURI()
163 public void onCallCompleted(MediaPlayer2 mp, DataSourceDesc dsd, int what, int status) { in testPlayAudioFromDataURI()
219 mp.setDataSource(new DataSourceDesc.Builder() in testPlayAudioFromDataURI()
257 public void onInfo(MediaPlayer2 mp, DataSourceDesc dsd, int what, int extra) {
264 public void onCallCompleted(MediaPlayer2 mp, DataSourceDesc dsd, int what, int status) {
316 mp.setDataSource(new DataSourceDesc.Builder()
420 public void onInfo(MediaPlayer2 mp, DataSourceDesc dsd,
429 public void onCallCompleted(MediaPlayer2 mp, DataSourceDesc dsd,
[all …]
DMediaPlayer2TestBase.java122 mp.setDataSource(new DataSourceDesc.Builder() in createMediaPlayer2()
134 MediaPlayer2 mp, DataSourceDesc dsd, int what, int extra) { in createMediaPlayer2()
180 mp.setDataSource(new DataSourceDesc.Builder() in createMediaPlayer2()
190 MediaPlayer2 mp, DataSourceDesc dsd, int what, int extra) { in createMediaPlayer2()
342 public void onVideoSizeChanged(MediaPlayer2 mp, DataSourceDesc dsd, int w, int h) { in setUpMP2ECb()
351 public void onTimedMetaDataAvailable(MediaPlayer2 mp, DataSourceDesc dsd, in setUpMP2ECb()
361 public void onError(MediaPlayer2 mp, DataSourceDesc dsd, int what, int extra) { in setUpMP2ECb()
370 public void onInfo(MediaPlayer2 mp, DataSourceDesc dsd, int what, int extra) { in setUpMP2ECb()
379 public void onCallCompleted(MediaPlayer2 mp, DataSourceDesc dsd, int what, int status) { in setUpMP2ECb()
388 public void onMediaTimeDiscontinuity(MediaPlayer2 mp, DataSourceDesc dsd, in setUpMP2ECb()
[all …]
DMockPlayer.java163 public void notifyCurrentDataSourceChanged(final DataSourceDesc dsd) { in notifyCurrentDataSourceChanged()
176 public void notifyMediaPrepared(final DataSourceDesc dsd) { in notifyMediaPrepared()
189 public void notifyBufferingStateChanged(final DataSourceDesc dsd, in notifyBufferingStateChanged()
249 public void setDataSource(@NonNull DataSourceDesc dsd) { in setDataSource()
254 public void setNextDataSource(@NonNull DataSourceDesc dsd) { in setNextDataSource()
259 public void setNextDataSources(@NonNull List<DataSourceDesc> dsds) { in setNextDataSources()
264 public DataSourceDesc getCurrentDataSource() { in getCurrentDataSource()
/frameworks/support/media/version-compat-tests/current/client/src/androidTest/java/androidx/media/test/client/
DMockPlayer.java22 import androidx.media.DataSourceDesc;
166 public void notifyCurrentDataSourceChanged(final DataSourceDesc dsd) { in notifyCurrentDataSourceChanged()
179 public void notifyMediaPrepared(final DataSourceDesc dsd) { in notifyMediaPrepared()
192 public void notifyBufferingStateChanged(final DataSourceDesc dsd, in notifyBufferingStateChanged()
252 public void setDataSource(@NonNull DataSourceDesc dsd) { in setDataSource()
257 public void setNextDataSource(@NonNull DataSourceDesc dsd) { in setNextDataSource()
262 public void setNextDataSources(@NonNull List<DataSourceDesc> dsds) { in setNextDataSources()
267 public DataSourceDesc getCurrentDataSource() { in getCurrentDataSource()
DTestUtils.java26 import androidx.media.DataSourceDesc;
145 private static DataSourceDesc createDSD() { in createDSD()
146 return new DataSourceDesc.Builder().setDataSource(new FileDescriptor()).build(); in createDSD()
/frameworks/support/media/version-compat-tests/current/service/src/androidTest/java/androidx/media/test/service/
DMockPlayer.java22 import androidx.media.DataSourceDesc;
166 public void notifyCurrentDataSourceChanged(final DataSourceDesc dsd) { in notifyCurrentDataSourceChanged()
179 public void notifyMediaPrepared(final DataSourceDesc dsd) { in notifyMediaPrepared()
192 public void notifyBufferingStateChanged(final DataSourceDesc dsd, in notifyBufferingStateChanged()
252 public void setDataSource(@NonNull DataSourceDesc dsd) { in setDataSource()
257 public void setNextDataSource(@NonNull DataSourceDesc dsd) { in setNextDataSource()
262 public void setNextDataSources(@NonNull List<DataSourceDesc> dsds) { in setNextDataSources()
267 public DataSourceDesc getCurrentDataSource() { in getCurrentDataSource()
/frameworks/av/packages/MediaComponents/src/com/android/media/
DMediaItem2Impl.java24 import android.media.DataSourceDesc;
46 private DataSourceDesc mDataSourceDesc;
49 public MediaItem2Impl(@NonNull String mediaId, @Nullable DataSourceDesc dsd, in MediaItem2Impl()
54 private MediaItem2Impl(@NonNull String mediaId, @Nullable DataSourceDesc dsd, in MediaItem2Impl()
178 public @Nullable DataSourceDesc getDataSourceDesc_impl() { in getDataSourceDesc_impl()
187 private DataSourceDesc mDataSourceDesc;
207 public Builder setDataSourceDesc_impl(@Nullable DataSourceDesc dataSourceDesc) { in setDataSourceDesc_impl()
DSessionPlaylistAgent.java21 import android.media.DataSourceDesc;
62 private Map<MediaItem2, DataSourceDesc> mItemDsdMap = new ArrayMap<>();
75 @Nullable DataSourceDesc dsd) { in onCurrentDataSourceChanged()
90 DataSourceDesc dsd;
97 PlayItem(int shuffledIdx, DataSourceDesc dsd) { in PlayItem()
400 private DataSourceDesc retrieveDataSourceDescLocked(MediaItem2 item) { in retrieveDataSourceDescLocked()
401 DataSourceDesc dsd = item.getDataSourceDesc(); in retrieveDataSourceDescLocked()
436 DataSourceDesc dsd = retrieveDataSourceDescLocked(mShuffledList.get(curShuffledIdx)); in getNextValidPlayItemLocked()
/frameworks/av/media/libmedia/include/media/
DDataSourceDesc.h31 struct DataSourceDesc : public RefBase { struct
44 DataSourceDesc(); argument
63 DISALLOW_EVIL_CONSTRUCTORS(DataSourceDesc); argument
/frameworks/base/media/java/android/media/update/
DMediaItem2Provider.java19 import android.media.DataSourceDesc;
37 DataSourceDesc getDataSourceDesc_impl(); in getDataSourceDesc_impl()
43 Builder setDataSourceDesc_impl(DataSourceDesc dataSourceDesc); in setDataSourceDesc_impl()
DMediaPlaylistAgentProvider.java19 import android.media.DataSourceDesc;
54 MediaItem2 getMediaItem_impl(DataSourceDesc dsd); in getMediaItem_impl()
DVideoView2Provider.java21 import android.media.DataSourceDesc;
82 void setDataSource_impl(DataSourceDesc dsd); in setDataSource_impl()
/frameworks/av/media/libmedia/
DDataSourceDesc.cpp28 DataSourceDesc::DataSourceDesc() in DataSourceDesc() function in android::DataSourceDesc
/frameworks/av/media/libmediaplayer2/nuplayer2/
DNuPlayer2.h34 struct DataSourceDesc;
45 void setDataSourceAsync(const sp<DataSourceDesc> &dsd);
46 void prepareNextDataSourceAsync(const sp<DataSourceDesc> &dsd);
276 status_t createNuPlayer2Source(const sp<DataSourceDesc> &dsd,
/frameworks/av/media/libmediaplayer2/include/mediaplayer2/
Dmediaplayer2.h38 struct DataSourceDesc;
59 status_t setDataSource(const sp<DataSourceDesc> &dsd);
60 status_t prepareNextDataSource(const sp<DataSourceDesc> &dsd);

123