Searched defs:setDataSource (Results 1 - 25 of 28) sorted by relevance

12

/frameworks/av/media/libmediaplayerservice/
H A DMidiMetadataRetriever.cpp40 status_t MidiMetadataRetriever::setDataSource( function in class:android::MidiMetadataRetriever
45 ALOGV("setDataSource: %s", url? url: "NULL pointer");
51 return mMidiPlayer->setDataSource(httpService, url, headers);
54 status_t MidiMetadataRetriever::setDataSource(int fd, int64_t offset, int64_t length) function in class:android::MidiMetadataRetriever
56 ALOGV("setDataSource: fd(%d), offset(%lld), and length(%lld)", fd, offset, length);
62 return mMidiPlayer->setDataSource(fd, offset, length);;
H A DTestPlayerStub.cpp79 // * The url to be passed to the real setDataSource impl.
83 // test:<name of the .so>?url=<url for setDataSource>
114 // Call setDataSource on the test player with the url in param.
115 status_t TestPlayerStub::setDataSource( function in class:android::TestPlayerStub
167 return mPlayer->setDataSource(httpService, mContentUrl, headers);
H A DMetadataRetrieverClient.cpp109 status_t MetadataRetrieverClient::setDataSource( function in class:android::MetadataRetrieverClient
114 ALOGV("setDataSource(%s)", url);
133 status_t ret = p->setDataSource(httpService, url, headers);
138 status_t MetadataRetrieverClient::setDataSource(int fd, int64_t offset, int64_t length) function in class:android::MetadataRetrieverClient
140 ALOGV("setDataSource fd=%d, offset=%lld, length=%lld", fd, offset, length);
175 status_t status = p->setDataSource(fd, offset, length);
H A DTestPlayerStub.h28 // The URL passed to setDataSource has this format:
30 // test:<name of the .so>?url=<url for the real setDataSource impl.>
36 // TestPlayerStub::setDataSource loads the library in the test url. 2
43 // Once the test player has been loaded, its setDataSource
50 // p.setDataSource("test:invoke_mock_media_player.so?url=http://youtube.com");
68 virtual status_t setDataSource(
74 virtual status_t setDataSource(int, int64_t, int64_t) { function in class:android::TestPlayerStub
H A DMidiFile.cpp116 status_t MidiFile::setDataSource( function in class:android::MidiFile
120 ALOGV("MidiFile::setDataSource url=%s", path);
149 status_t MidiFile::setDataSource(int fd, int64_t offset, int64_t length) function in class:android::MidiFile
151 ALOGV("MidiFile::setDataSource fd=%d", fd);
H A DStagefrightPlayer.cpp56 status_t StagefrightPlayer::setDataSource( function in class:android::StagefrightPlayer
60 return mPlayer->setDataSource(httpService, url, headers);
65 status_t StagefrightPlayer::setDataSource(int fd, int64_t offset, int64_t length) { function in class:android::StagefrightPlayer
66 ALOGV("setDataSource(%d, %lld, %lld)", fd, offset, length);
67 return mPlayer->setDataSource(dup(fd), offset, length);
70 status_t StagefrightPlayer::setDataSource(const sp<IStreamSource> &source) { function in class:android::StagefrightPlayer
71 return mPlayer->setDataSource(source);
/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 DVariableSpeed.java168 public void setDataSource(Context context, Uri intentUri) { method in class:VariableSpeed
175 public void setDataSource(String path) { method in class:VariableSpeed
184 check(mDataSource == null, "cannot setDataSource more than once");
220 check(mDataSource != null, "must setDataSource before you prepare");
/frameworks/av/media/libmedia/
H A Dmediametadataretriever.cpp98 status_t MediaMetadataRetriever::setDataSource( function in class:android::MediaMetadataRetriever
103 ALOGV("setDataSource");
114 return mRetriever->setDataSource(httpService, srcUrl, headers);
117 status_t MediaMetadataRetriever::setDataSource(int fd, int64_t offset, int64_t length) function in class:android::MediaMetadataRetriever
119 ALOGV("setDataSource(%d, %" PRId64 ", %" PRId64 ")", fd, offset, length);
129 return mRetriever->setDataSource(fd, offset, length);
H A DIMediaMetadataRetriever.cpp89 status_t setDataSource( function in class:android::BpMediaMetadataRetriever
117 status_t setDataSource(int fd, int64_t offset, int64_t length) function in class:android::BpMediaMetadataRetriever
225 setDataSource(
235 reply->writeInt32(setDataSource(fd, offset, length));
H A DIMediaPlayer.cpp79 status_t setDataSource( function in class:android::BpMediaPlayer
105 status_t setDataSource(int fd, int64_t offset, int64_t length) { function in class:android::BpMediaPlayer
115 status_t setDataSource(const sp<IStreamSource> &source) { function in class:android::BpMediaPlayer
380 reply->writeInt32(setDataSource(
389 reply->writeInt32(setDataSource(fd, offset, length));
396 reply->writeInt32(setDataSource(source));
H A Dmediaplayer.cpp145 status_t MediaPlayer::setDataSource( function in class:android::MediaPlayer
149 ALOGV("setDataSource(%s)", url);
156 (NO_ERROR != player->setDataSource(httpService, url, headers))) {
165 status_t MediaPlayer::setDataSource(int fd, int64_t offset, int64_t length) function in class:android::MediaPlayer
167 ALOGV("setDataSource(%d, %" PRId64 ", %" PRId64 ")", fd, offset, length);
173 (NO_ERROR != player->setDataSource(fd, offset, length))) {
181 status_t MediaPlayer::setDataSource(const sp<IStreamSource> &source) function in class:android::MediaPlayer
183 ALOGV("setDataSource");
189 (NO_ERROR != player->setDataSource(source))) {
507 // setDataSource ha
[all...]
/frameworks/av/media/libstagefright/timedtext/
H A DTimedTextPlayer.cpp76 void TimedTextPlayer::setDataSource(sp<TimedTextSource> source) { function in class:android::TimedTextPlayer
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp61 status_t SimplePlayer::setDataSource(const char *path) { function in class:android::SimplePlayer
279 status_t err = mExtractor->setDataSource(
/frameworks/base/media/java/android/media/
H A DMediaExtractor.java42 * extractor.setDataSource(...);
72 public native final void setDataSource(DataSource source) throws IOException; method in class:MediaExtractor
81 public final void setDataSource( method in class:MediaExtractor
86 setDataSource(uri.getPath());
101 setDataSource(fd.getFileDescriptor());
103 setDataSource(
117 setDataSource(uri.toString(), headers);
126 public final void setDataSource(String path, Map<String, String> headers) method in class:MediaExtractor
166 * and then use the file descriptor form {@link #setDataSource(FileDescriptor)}.
168 public final void setDataSource(Strin method in class:MediaExtractor
182 public final void setDataSource(FileDescriptor fd) throws IOException { method in class:MediaExtractor
195 public native final void setDataSource( method in class:MediaExtractor
[all...]
H A DMediaMetadataRetriever.java62 public void setDataSource(String path) throws IllegalArgumentException { method in class:MediaMetadataRetriever
71 setDataSource(fd, 0, 0x7ffffffffffffffL);
94 public void setDataSource(String uri, Map<String, String> headers) method in class:MediaMetadataRetriever
129 public native void setDataSource(FileDescriptor fd, long offset, long length) method in class:MediaMetadataRetriever
141 public void setDataSource(FileDescriptor fd) method in class:MediaMetadataRetriever
144 setDataSource(fd, 0, 0x7ffffffffffffffL);
157 public void setDataSource(Context context, Uri uri) method in class:MediaMetadataRetriever
165 setDataSource(uri.getPath());
188 setDataSource(descriptor);
190 setDataSource(descripto
[all...]
/frameworks/base/media/tests/players/
H A Dinvoke_mock_media_player.cpp60 virtual status_t setDataSource( function in class:__anon996::Player
64 ALOGV("setDataSource %s", url);
72 virtual status_t setDataSource(int fd, int64_t offset, int64_t length) {return OK;} function in class:__anon996::Player
/frameworks/av/include/media/
H A DMediaPlayerInterface.h52 // argument to the 'test:' url in the setDataSource call.
141 virtual status_t setDataSource(
146 virtual status_t setDataSource(int fd, int64_t offset, int64_t length) = 0;
148 virtual status_t setDataSource(const sp<IStreamSource> &source) { function in class:android::MediaPlayerBase
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDriver.cpp78 status_t NuPlayerDriver::setDataSource( function in class:android::NuPlayerDriver
82 ALOGV("setDataSource(%p) url(%s)", this, uriDebugString(url, false).c_str());
100 status_t NuPlayerDriver::setDataSource(int fd, int64_t offset, int64_t length) { function in class:android::NuPlayerDriver
101 ALOGV("setDataSource(%p) file(%d)", this, fd);
119 status_t NuPlayerDriver::setDataSource(const sp<IStreamSource> &source) { function in class:android::NuPlayerDriver
120 ALOGV("setDataSource(%p) stream source", this);
H A DGenericSource.cpp96 status_t NuPlayer::GenericSource::setDataSource( function in class:android::NuPlayer::GenericSource
110 // the calling thread in setDataSource for any significant time.
114 status_t NuPlayer::GenericSource::setDataSource( function in class:android::NuPlayer::GenericSource
123 // the calling thread in setDataSource for any significant time.
/frameworks/av/media/libstagefright/
H A DNuMediaExtractor.cpp60 status_t NuMediaExtractor::setDataSource( function in class:android::NuMediaExtractor
130 status_t NuMediaExtractor::setDataSource(int fd, off64_t offset, off64_t size) { function in class:android::NuMediaExtractor
158 status_t NuMediaExtractor::setDataSource(const sp<DataSource> &source) { function in class:android::NuMediaExtractor
H A DStagefrightMetadataRetriever.cpp57 status_t StagefrightMetadataRetriever::setDataSource( function in class:android::StagefrightMetadataRetriever
61 ALOGV("setDataSource(%s)", uri);
89 status_t StagefrightMetadataRetriever::setDataSource( function in class:android::StagefrightMetadataRetriever
93 ALOGV("setDataSource(%d, %" PRId64 ", %" PRId64 ")", fd, offset, length);
/frameworks/wilhelm/src/android/
H A Dandroid_GenericPlayer.cpp91 void GenericPlayer::setDataSource(const char *uri) { function in class:android::GenericPlayer
92 SL_LOGV("GenericPlayer::setDataSource(uri=%s)", uri);
101 void GenericPlayer::setDataSource(int fd, int64_t offset, int64_t length, bool closeAfterUse) { function in class:android::GenericPlayer
102 SL_LOGV("GenericPlayer::setDataSource(fd=%d, offset=%lld, length=%lld, closeAfterUse=%s)", fd,
111 SL_LOGE("GenericPlayer::setDataSource: fstat(%d) failed: %d, %s", fd, ret, strerror(errno));
116 SL_LOGE("SfPlayer::setDataSource: invalid offset");
/frameworks/base/media/jni/
H A Dandroid_media_MediaExtractor.cpp142 status_t JMediaExtractor::setDataSource( function in class:android::JMediaExtractor
146 return mImpl->setDataSource(httpService, path, headers);
149 status_t JMediaExtractor::setDataSource(int fd, off64_t offset, off64_t size) { function in class:android::JMediaExtractor
150 return mImpl->setDataSource(fd, offset, size);
153 status_t JMediaExtractor::setDataSource(const sp<DataSource> &datasource) { function in class:android::JMediaExtractor
154 return mImpl->setDataSource(datasource);
723 status_t err = extractor->setDataSource(httpService, path, &headers);
754 status_t err = extractor->setDataSource(fd, offset, length);
781 status_t err = extractor->setDataSource(bridge);
881 { "setDataSource", "(Ljav
[all...]

Completed in 1274 milliseconds

12