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

/frameworks/base/media/libmediaplayerservice/
H A DMidiMetadataRetriever.cpp38 status_t MidiMetadataRetriever::setDataSource(const char *url) function in class:android::MidiMetadataRetriever
40 LOGV("setDataSource: %s", url? url: "NULL pointer");
47 return mMidiPlayer->setDataSource(url, NULL /* headers */);
50 status_t MidiMetadataRetriever::setDataSource(int fd, int64_t offset, int64_t length) function in class:android::MidiMetadataRetriever
52 LOGV("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.cpp130 status_t MetadataRetrieverClient::setDataSource(const char *url) function in class:android::MetadataRetrieverClient
132 LOGV("setDataSource(%s)", url);
141 status_t ret = p->setDataSource(url);
146 status_t MetadataRetrieverClient::setDataSource(int fd, int64_t offset, int64_t length) function in class:android::MetadataRetrieverClient
148 LOGV("setDataSource fd=%d, offset=%lld, length=%lld", fd, offset, length);
179 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.cpp118 status_t MidiFile::setDataSource( function in class:android::MidiFile
120 LOGV("MidiFile::setDataSource url=%s", path);
149 status_t MidiFile::setDataSource(int fd, int64_t offset, int64_t length) function in class:android::MidiFile
151 LOGV("MidiFile::setDataSource fd=%d", fd);
H A DStagefrightPlayer.cpp34 status_t StagefrightPlayer::setDataSource( function in class:android::StagefrightPlayer
36 LOGI("setDataSource('%s')", url);
37 return mPlayer->setDataSource(url, headers);
42 status_t StagefrightPlayer::setDataSource(int fd, int64_t offset, int64_t length) { function in class:android::StagefrightPlayer
43 LOGV("setDataSource(%d, %lld, %lld)", fd, offset, length);
44 return mPlayer->setDataSource(dup(fd), offset, length);
H A DMediaPlayerService.cpp258 if (NO_ERROR != c->setDataSource(url, headers))
276 if (NO_ERROR != c->setDataSource(fd, offset, length)) {
804 status_t MediaPlayerService::Client::setDataSource( function in class:android::MediaPlayerService::Client
807 LOGV("setDataSource(%s)", url);
813 // pass it to the setDataSource(fd) method
822 setDataSource(fd, 0, 0x7fffffffffLL); // this sets mStatus
839 LOGV(" setDataSource");
840 mStatus = p->setDataSource(url, headers);
850 status_t MediaPlayerService::Client::setDataSource(int fd, int64_t offset, int64_t length) function in class:android::MediaPlayerService::Client
852 LOGV("setDataSource f
[all...]
/frameworks/base/media/libmedia/
H A Dmediametadataretriever.cpp95 status_t MediaMetadataRetriever::setDataSource(const char* srcUrl) function in class:android::MediaMetadataRetriever
97 LOGV("setDataSource");
108 return mRetriever->setDataSource(srcUrl);
111 status_t MediaMetadataRetriever::setDataSource(int fd, int64_t offset, int64_t length) function in class:android::MediaMetadataRetriever
113 LOGV("setDataSource(%d, %lld, %lld)", fd, offset, length);
123 return mRetriever->setDataSource(fd, offset, length);
H A DIMediaMetadataRetriever.cpp105 status_t setDataSource(const char* srcUrl) function in class:android::BpMediaMetadataRetriever
114 status_t setDataSource(int fd, int64_t offset, int64_t length) function in class:android::BpMediaMetadataRetriever
191 reply->writeInt32(setDataSource(srcUrl));
199 reply->writeInt32(setDataSource(fd, offset, length));
H A Dmediaplayer.cpp102 status_t MediaPlayer::setDataSource(const sp<IMediaPlayer>& player) function in class:android::MediaPlayer
111 LOGE("setDataSource called in state %d", mCurrentState);
133 status_t MediaPlayer::setDataSource( function in class:android::MediaPlayer
136 LOGV("setDataSource(%s)", url);
143 err = setDataSource(player);
149 status_t MediaPlayer::setDataSource(int fd, int64_t offset, int64_t length) function in class:android::MediaPlayer
151 LOGV("setDataSource(%d, %lld, %lld)", fd, offset, length);
156 err = setDataSource(player);
/frameworks/base/core/java/android/webkit/
H A DHTML5Audio.java166 private void setDataSource(String url) { method in class:HTML5Audio
172 mMediaPlayer.setDataSource(url);
184 setDataSource(mUrl);
/frameworks/base/media/java/android/media/
H A DMediaMetadataRetriever.java58 public native void setDataSource(String path) throws IllegalArgumentException; method in class:MediaMetadataRetriever
73 public native void setDataSource(FileDescriptor fd, long offset, long length) method in class:MediaMetadataRetriever
85 public void setDataSource(FileDescriptor fd) method in class:MediaMetadataRetriever
88 setDataSource(fd, 0, 0x7ffffffffffffffL);
101 public void setDataSource(Context context, Uri uri) method in class:MediaMetadataRetriever
109 setDataSource(uri.getPath());
132 setDataSource(descriptor);
134 setDataSource(descriptor, fd.getStartOffset(), fd.getDeclaredLength());
146 setDataSource(uri.toString());
150 * Call this method after setDataSource()
[all...]
H A DMediaPlayer.java138 * {@link #prepareAsync()}, or one of the overloaded <code>setDataSource
143 * {@link #setDataSource(FileDescriptor)}, or
144 * {@link #setDataSource(String)}, or
145 * {@link #setDataSource(Context, Uri)}, or
146 * {@link #setDataSource(FileDescriptor, long, long)} transfers a
151 * setDataSource() is called in any other state.</li>
155 * <code>setDataSource</code> methods.</li>
279 * <td>This method must be called after setDataSource.
358 * calling setDataSource. Calling it does not change the object state. </p></td></tr>
370 * <tr><td>setDataSource </
690 public void setDataSource(Context context, Uri uri) method in class:MediaPlayer
704 public void setDataSource(Context context, Uri uri, Map<String, String> headers) method in class:MediaPlayer
747 public native void setDataSource(String path) throws IOException, IllegalArgumentException, IllegalStateException; method in class:MediaPlayer
757 public native void setDataSource(String path, Map<String, String> headers) method in class:MediaPlayer
767 public void setDataSource(FileDescriptor fd) method in class:MediaPlayer
783 public native void setDataSource(FileDescriptor fd, long offset, long length) method in class:MediaPlayer
[all...]
/frameworks/base/media/libstagefright/
H A DStagefrightMetadataRetriever.cpp51 status_t StagefrightMetadataRetriever::setDataSource(const char *uri) { function in class:android::StagefrightMetadataRetriever
52 LOGV("setDataSource(%s)", uri);
77 status_t StagefrightMetadataRetriever::setDataSource( function in class:android::StagefrightMetadataRetriever
81 LOGV("setDataSource(%d, %lld, %lld)", fd, offset, length);
H A DAwesomePlayer.cpp299 status_t AwesomePlayer::setDataSource( function in class:android::AwesomePlayer
317 // setDataSource for any significant time.
322 status_t AwesomePlayer::setDataSource( function in class:android::AwesomePlayer
/frameworks/base/media/tests/players/
H A Dinvoke_mock_media_player.cpp58 virtual status_t setDataSource( function in class:__anon654::Player
61 LOGV("setDataSource %s", url);
69 virtual status_t setDataSource(int fd, int64_t offset, int64_t length) {return OK;} function in class:__anon654::Player

Completed in 8980 milliseconds