Searched refs:setDataSource (Results 1 - 25 of 95) sorted by relevance

1234

/frameworks/base/media/java/android/media/
H A DMediaExtractor.java37 * extractor.setDataSource(...);
67 public native final void setDataSource(DataSource source); method in class:MediaExtractor
76 public final void setDataSource( method in class:MediaExtractor
81 setDataSource(uri.getPath());
96 setDataSource(fd.getFileDescriptor());
98 setDataSource(
112 setDataSource(uri.toString(), headers);
121 public final void setDataSource(String path, Map<String, String> headers) { method in class:MediaExtractor
136 setDataSource(path, keys, values);
139 private native final void setDataSource( method in class:MediaExtractor
154 public final void setDataSource(String path) { method in class:MediaExtractor
164 public final void setDataSource(FileDescriptor fd) { method in class:MediaExtractor
177 public native final void setDataSource( method in class:MediaExtractor
[all...]
H A DMediaMetadataRetriever.java61 public void setDataSource(String path) throws IllegalArgumentException { method in class:MediaMetadataRetriever
66 setDataSource(fd, 0, 0x7ffffffffffffffL);
89 public void setDataSource(String uri, Map<String, String> headers) method in class:MediaMetadataRetriever
119 public native void setDataSource(FileDescriptor fd, long offset, long length) method in class:MediaMetadataRetriever
131 public void setDataSource(FileDescriptor fd) method in class:MediaMetadataRetriever
134 setDataSource(fd, 0, 0x7ffffffffffffffL);
147 public void setDataSource(Context context, Uri uri) method in class:MediaMetadataRetriever
155 setDataSource(uri.getPath());
178 setDataSource(descriptor);
180 setDataSource(descripto
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DMidiMetadataRetriever.h34 virtual status_t setDataSource(
37 virtual status_t setDataSource(int fd, int64_t offset, int64_t length);
H A DMidiMetadataRetriever.cpp38 status_t MidiMetadataRetriever::setDataSource( function in class:android::MidiMetadataRetriever
41 ALOGV("setDataSource: %s", url? url: "NULL pointer");
47 return mMidiPlayer->setDataSource(url, headers);
50 status_t MidiMetadataRetriever::setDataSource(int fd, int64_t offset, int64_t length) function in class:android::MidiMetadataRetriever
52 ALOGV("setDataSource: fd(%d), offset(%lld), and length(%lld)", fd, offset, length);
58 return mMidiPlayer->setDataSource(fd, offset, length);;
H A DStagefrightPlayer.cpp56 status_t StagefrightPlayer::setDataSource( function in class:android::StagefrightPlayer
58 return mPlayer->setDataSource(url, headers);
63 status_t StagefrightPlayer::setDataSource(int fd, int64_t offset, int64_t length) { function in class:android::StagefrightPlayer
64 ALOGV("setDataSource(%d, %lld, %lld)", fd, offset, length);
65 return mPlayer->setDataSource(dup(fd), offset, length);
68 status_t StagefrightPlayer::setDataSource(const sp<IStreamSource> &source) { function in class:android::StagefrightPlayer
69 return mPlayer->setDataSource(source);
H A DStagefrightPlayer.h36 virtual status_t setDataSource(
39 virtual status_t setDataSource(int fd, int64_t offset, int64_t length);
41 virtual status_t setDataSource(const sp<IStreamSource> &source);
H A DMetadataRetrieverClient.h45 virtual status_t setDataSource(
48 virtual status_t setDataSource(int fd, int64_t offset, int64_t length);
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/
H A DMediaPlayerProxy.java39 void setDataSource(String path) throws IllegalStateException, IOException; method in interface:MediaPlayerProxy
40 void setDataSource(Context context, Uri intentUri) throws IllegalStateException, IOException; method in interface:MediaPlayerProxy
H A DSingleThreadedMediaPlayerProxy.java57 public synchronized void setDataSource(String path) throws IllegalStateException, IOException { method in class:SingleThreadedMediaPlayerProxy
58 mDelegate.setDataSource(path);
62 public synchronized void setDataSource(Context context, Uri intentUri) method in class:SingleThreadedMediaPlayerProxy
64 mDelegate.setDataSource(context, intentUri);
H A DMediaPlayerDataSource.java55 mediaPlayer.setDataSource(mContext, mUri);
57 mediaPlayer.setDataSource(mPath);
/frameworks/av/include/media/
H A DIMediaMetadataRetriever.h35 virtual status_t setDataSource(
39 virtual status_t setDataSource(int fd, int64_t offset, int64_t length) = 0;
H A DMediaMetadataRetrieverInterface.h34 virtual status_t setDataSource(
38 virtual status_t setDataSource(int fd, int64_t offset, int64_t length) = 0;
H A Dmediametadataretriever.h70 status_t setDataSource(
74 status_t setDataSource(int fd, int64_t offset, int64_t length);
H A DIMediaPlayer.h44 virtual status_t setDataSource(const char *url,
46 virtual status_t setDataSource(int fd, int64_t offset, int64_t length) = 0;
47 virtual status_t setDataSource(const sp<IStreamSource>& source) = 0;
/frameworks/av/media/libstagefright/include/
H A DStagefrightMetadataRetriever.h35 virtual status_t setDataSource(
39 virtual status_t setDataSource(int fd, int64_t offset, int64_t length);
/frameworks/base/media/jni/
H A Dandroid_media_MediaExtractor.h38 status_t setDataSource(
42 status_t setDataSource(int fd, off64_t offset, off64_t size);
43 status_t setDataSource(const sp<DataSource> &source);
/frameworks/wilhelm/src/android/
H A Dandroid_LocAVPlayer.cpp53 } else if (mPlayer->setDataSource(mDataLocator.uriRef, NULL /*headers*/) != NO_ERROR) {
54 SL_LOGE("setDataSource failed");
63 } else if (mPlayer->setDataSource(mDataLocator.fdi.fd, mDataLocator.fdi.offset,
65 SL_LOGE("setDataSource failed");
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DMediaPlayerStateUnitTestTemplate.java177 mMediaPlayer.setDataSource(TEST_PATH);
189 mMediaPlayer.setDataSource(TEST_PATH);
199 mMediaPlayer.setDataSource(TEST_PATH);
210 mMediaPlayer.setDataSource(TEST_PATH);
224 mMediaPlayer.setDataSource(TEST_PATH);
236 mMediaPlayer.setDataSource(TEST_PATH);
261 mMediaPlayer.setDataSource(TEST_PATH);
274 mMediaPlayer.setDataSource(TEST_PATH);
287 mMediaPlayer.setDataSource(TEST_PATH);
313 mMediaPlayer.setDataSource(TEST_PAT
[all...]
H A DMediaMetadataRetrieverTest.java49 retriever.setDataSource(MediaNames.ALBUMART_TEST_FILES[i]);
60 Log.e(TAG, "Fails to setDataSource for " + MediaNames.ALBUMART_TEST_FILES[i]);
88 retriever.setDataSource(MediaNames.THUMBNAIL_METADATA_TEST_FILES[i]);
101 Log.e(TAG, "Fails to setDataSource for file " + MediaNames.THUMBNAIL_METADATA_TEST_FILES[i]);
127 retriever.setDataSource(MediaNames.THUMBNAIL_METADATA_TEST_FILES[i]);
130 Log.e(TAG, "Fails to setDataSource for file " + MediaNames.THUMBNAIL_METADATA_TEST_FILES[i]);
146 retriever.setDataSource(MediaNames.TEST_PATH_1);
158 Log.e(TAG, "Fails to setDataSource for " + MediaNames.TEST_PATH_1, e);
165 // If setDataSource() has not been called, both getFrameAtTime() and extractMetadata() must
182 // Test setDataSource()
[all...]
/frameworks/av/include/media/stagefright/
H A DNuMediaExtractor.h47 status_t setDataSource(
51 status_t setDataSource(int fd, off64_t offset, off64_t size);
53 status_t setDataSource(const sp<DataSource> &datasource);
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayer.h38 void setDataSource(const sp<IStreamSource> &source);
40 void setDataSource(
43 void setDataSource(int fd, int64_t offset, int64_t length);
H A DNuPlayerDriver.h33 virtual status_t setDataSource(
36 virtual status_t setDataSource(int fd, int64_t offset, int64_t length);
38 virtual status_t setDataSource(const sp<IStreamSource> &source);
H A DNuPlayerDriver.cpp67 status_t NuPlayerDriver::setDataSource( function in class:android::NuPlayerDriver
71 mPlayer->setDataSource(url, headers);
78 status_t NuPlayerDriver::setDataSource(int fd, int64_t offset, int64_t length) { function in class:android::NuPlayerDriver
81 mPlayer->setDataSource(fd, offset, length);
88 status_t NuPlayerDriver::setDataSource(const sp<IStreamSource> &source) { function in class:android::NuPlayerDriver
91 mPlayer->setDataSource(source);
/frameworks/av/media/libmedia/
H A Dmediametadataretriever.cpp95 status_t MediaMetadataRetriever::setDataSource( function in class:android::MediaMetadataRetriever
98 ALOGV("setDataSource");
109 return mRetriever->setDataSource(srcUrl, headers);
112 status_t MediaMetadataRetriever::setDataSource(int fd, int64_t offset, int64_t length) function in class:android::MediaMetadataRetriever
114 ALOGV("setDataSource(%d, %lld, %lld)", fd, offset, length);
124 return mRetriever->setDataSource(fd, offset, length);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
H A DCodecTest.java92 mp.setDataSource(filePath);
111 mp.setDataSource(filePath);
144 mp.setDataSource(filePath);
171 mp.setDataSource(filePath);
208 mp.setDataSource(filePath);
233 mp.setDataSource(filePath);
242 mp.setDataSource(filePath);
272 mMediaPlayer.setDataSource(filePath);
308 mMediaPlayer.setDataSource(filePath);
336 mp.setDataSource(filePat
[all...]

Completed in 243 milliseconds

1234