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

12

/frameworks/av/media/libmediaplayerservice/
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 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
165 return mPlayer->setDataSource(mContentUrl, headers);
H A DMetadataRetrieverClient.cpp108 status_t MetadataRetrieverClient::setDataSource( function in class:android::MetadataRetrieverClient
111 ALOGV("setDataSource(%s)", url);
130 status_t ret = p->setDataSource(url, headers);
135 status_t MetadataRetrieverClient::setDataSource(int fd, int64_t offset, int64_t length) function in class:android::MetadataRetrieverClient
137 ALOGV("setDataSource fd=%d, offset=%lld, length=%lld", fd, offset, length);
172 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(
72 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
118 ALOGV("MidiFile::setDataSource url=%s", path);
147 status_t MidiFile::setDataSource(int fd, int64_t offset, int64_t length) function in class:android::MidiFile
149 ALOGV("MidiFile::setDataSource fd=%d", fd);
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);
/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 DIMediaMetadataRetriever.cpp85 status_t setDataSource( function in class:android::BpMediaMetadataRetriever
107 status_t setDataSource(int fd, int64_t offset, int64_t length) function in class:android::BpMediaMetadataRetriever
194 setDataSource(srcUrl, numHeaders > 0 ? &headers : NULL));
203 reply->writeInt32(setDataSource(fd, offset, length));
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);
H A DIMediaPlayer.cpp78 status_t setDataSource(const char* url, function in class:android::BpMediaPlayer
98 status_t setDataSource(int fd, int64_t offset, int64_t length) { function in class:android::BpMediaPlayer
108 status_t setDataSource(const sp<IStreamSource> &source) { function in class:android::BpMediaPlayer
366 reply->writeInt32(setDataSource(url, numHeaders > 0 ? &headers : NULL));
374 reply->writeInt32(setDataSource(fd, offset, length));
381 reply->writeInt32(setDataSource(source));
H A Dmediaplayer.cpp140 status_t MediaPlayer::setDataSource( function in class:android::MediaPlayer
143 ALOGV("setDataSource(%s)", url);
150 (NO_ERROR != player->setDataSource(url, headers))) {
159 status_t MediaPlayer::setDataSource(int fd, int64_t offset, int64_t length) function in class:android::MediaPlayer
161 ALOGV("setDataSource(%d, %lld, %lld)", fd, offset, length);
167 (NO_ERROR != player->setDataSource(fd, offset, length))) {
175 status_t MediaPlayer::setDataSource(const sp<IStreamSource> &source) function in class:android::MediaPlayer
177 ALOGV("setDataSource");
183 (NO_ERROR != player->setDataSource(source))) {
468 // setDataSource ha
[all...]
/frameworks/av/media/libstagefright/timedtext/
H A DTimedTextPlayer.cpp75 void TimedTextPlayer::setDataSource(sp<TimedTextSource> source) { function in class:android::TimedTextPlayer
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp60 status_t SimplePlayer::setDataSource(const char *path) { function in class:android::SimplePlayer
278 status_t err = mExtractor->setDataSource(mPath.c_str());
/frameworks/av/include/media/
H A DMediaPlayerInterface.h51 // argument to the 'test:' url in the setDataSource call.
124 virtual status_t setDataSource(
128 virtual status_t setDataSource(int fd, int64_t offset, int64_t length) = 0;
130 virtual status_t setDataSource(const sp<IStreamSource> &source) { function in class:android::MediaPlayerBase
/frameworks/av/media/libmediaplayerservice/nuplayer/
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);
H A DNuPlayer.cpp87 void NuPlayer::setDataSource(const sp<IStreamSource> &source) { function in class:android::NuPlayer
117 void NuPlayer::setDataSource( function in class:android::NuPlayer
134 void NuPlayer::setDataSource(int fd, int64_t offset, int64_t length) { function in class:android::NuPlayer
/frameworks/av/media/libstagefright/
H A DNuMediaExtractor.cpp60 status_t NuMediaExtractor::setDataSource( function in class:android::NuMediaExtractor
128 status_t NuMediaExtractor::setDataSource(int fd, off64_t offset, off64_t size) { function in class:android::NuMediaExtractor
156 status_t NuMediaExtractor::setDataSource(const sp<DataSource> &source) { function in class:android::NuMediaExtractor
H A DStagefrightMetadataRetriever.cpp52 status_t StagefrightMetadataRetriever::setDataSource( function in class:android::StagefrightMetadataRetriever
54 ALOGV("setDataSource(%s)", uri);
82 status_t StagefrightMetadataRetriever::setDataSource( function in class:android::StagefrightMetadataRetriever
86 ALOGV("setDataSource(%d, %lld, %lld)", fd, offset, length);
/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/base/media/tests/players/
H A Dinvoke_mock_media_player.cpp59 virtual status_t setDataSource( function in class:__anon41::Player
62 ALOGV("setDataSource %s", url);
70 virtual status_t setDataSource(int fd, int64_t offset, int64_t length) {return OK;} function in class:__anon41::Player
/frameworks/base/core/java/android/webkit/
H A DHTML5Audio.java216 private void setDataSource(String url) { method in class:HTML5Audio
233 mMediaPlayer.setDataSource(url, headers);
284 setDataSource(mUrl);
/frameworks/wilhelm/src/android/
H A Dandroid_GenericPlayer.cpp90 void GenericPlayer::setDataSource(const char *uri) { function in class:android::GenericPlayer
91 SL_LOGV("GenericPlayer::setDataSource(uri=%s)", uri);
100 void GenericPlayer::setDataSource(int fd, int64_t offset, int64_t length, bool closeAfterUse) { function in class:android::GenericPlayer
101 SL_LOGV("GenericPlayer::setDataSource(fd=%d, offset=%lld, length=%lld, closeAfterUse=%s)", fd,
110 SL_LOGE("GenericPlayer::setDataSource: fstat(%d) failed: %d, %s", fd, ret, strerror(errno));
115 SL_LOGE("SfPlayer::setDataSource: invalid offset");

Completed in 161 milliseconds

12