Searched refs:Media2DataSource (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/media/java/android/media/
H A DMedia2DataSource.java30 * modifications to the state of your Media2DataSource are visible to future calls. This means
32 * Media2DataSource from another thread while it's being used by the framework.</p>
35 public abstract class Media2DataSource implements Closeable { class in inherits:Closeable
H A DDataSourceDesc.java67 private Media2DataSource mMedia2DataSource;
119 * Return the Media2DataSource of this data source.
121 * @return the Media2DataSource of this data source
123 public Media2DataSource getMedia2DataSource() {
215 private Media2DataSource mMedia2DataSource;
336 * Sets the data source (Media2DataSource) to use.
338 * @param m2ds the Media2DataSource for the media you want to play
342 public Builder setDataSource(Media2DataSource m2ds) {
H A DMediaPlayer2Impl.java998 * @throws IllegalArgumentException if dataSource is not a valid Media2DataSource
1000 private void handleDataSource(boolean isCurrent, long srcId, Media2DataSource dataSource) {
1005 boolean isCurrent, long srcId, Media2DataSource dataSource);
/frameworks/support/media/src/main/java/androidx/media/
H A DMedia2DataSource.java29 * modifications to the state of your Media2DataSource are visible to future calls. This means
31 * Media2DataSource from another thread while it's being used by the framework.</p>
34 public abstract class Media2DataSource implements Closeable { class in inherits:Closeable
H A DDataSourceDesc.java72 private Media2DataSource mMedia2DataSource;
124 * Return the Media2DataSource of this data source.
126 * @return the Media2DataSource of this data source
128 public @Nullable Media2DataSource getMedia2DataSource() {
209 private Media2DataSource mMedia2DataSource;
330 * Sets the data source (Media2DataSource) to use.
332 * @param m2ds the Media2DataSource for the media you want to play
336 public @NonNull Builder setDataSource(@NonNull Media2DataSource m2ds) {
H A DMediaPlayer2Impl.java664 Media2DataSource mDataSource = dsd.getMedia2DataSource();
/frameworks/support/media/src/androidTest/java/androidx/media/
H A DTestMedia2DataSource.java26 * A Media2DataSource that reads from a byte array for use in tests.
28 public class TestMedia2DataSource extends Media2DataSource {
H A DMediaPlayer2Test.java2130 // Smoke test playback from a Media2DataSource.
2328 Media2DataSource dataSource = new Media2DataSource() {

Completed in 26 milliseconds