/frameworks/wilhelm/src/android/ |
H A D | android_GenericPlayer.cpp | 90 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");
|
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/ |
H A D | MediaPlayerProxy.java | 39 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 D | SingleThreadedMediaPlayerProxy.java | 57 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 D | VariableSpeed.java | 168 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/base/media/tests/players/ |
H A D | invoke_mock_media_player.cpp | 59 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/media/java/android/media/ |
H A D | MediaExtractor.java | 37 * 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 D | MediaMetadataRetriever.java | 61 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...] |
H A D | MediaPlayer.java | 148 * {@link #prepareAsync()}, or one of the overloaded <code>setDataSource 153 * {@link #setDataSource(FileDescriptor)}, or 154 * {@link #setDataSource(String)}, or 155 * {@link #setDataSource(Context, Uri)}, or 156 * {@link #setDataSource(FileDescriptor, long, long)} transfers a 161 * setDataSource() is called in any other state.</li> 165 * <code>setDataSource</code> methods.</li> 289 * <td>This method must be called after setDataSource. 368 * calling setDataSource. Calling it does not change the object state. </p></td></tr> 380 * <tr><td>setDataSource </ 852 public void setDataSource(Context context, Uri uri) method in class:MediaPlayer 865 public void setDataSource(Context context, Uri uri, Map<String, String> headers) method in class:MediaPlayer 916 public void setDataSource(String path) method in class:MediaPlayer 929 public void setDataSource(String path, Map<String, String> headers) method in class:MediaPlayer 949 private void setDataSource(String path, String[] keys, String[] values) method in class:MediaPlayer 973 public void setDataSource(FileDescriptor fd) method in class:MediaPlayer 989 public native void setDataSource(FileDescriptor fd, long offset, long length) method in class:MediaPlayer [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_MediaExtractor.cpp | 136 status_t JMediaExtractor::setDataSource( function in class:android::JMediaExtractor 138 return mImpl->setDataSource(path, headers); 141 status_t JMediaExtractor::setDataSource(int fd, off64_t offset, off64_t size) { function in class:android::JMediaExtractor 142 return mImpl->setDataSource(fd, offset, size); 145 status_t JMediaExtractor::setDataSource(const sp<DataSource> &datasource) { function in class:android::JMediaExtractor 146 return mImpl->setDataSource(datasource); 656 status_t err = extractor->setDataSource(path, &headers); 687 status_t err = extractor->setDataSource(fd, offset, length); 714 status_t err = extractor->setDataSource(bridge); 806 { "setDataSource", "(Ljav [all...] |
/frameworks/av/media/libstagefright/timedtext/ |
H A D | TimedTextPlayer.cpp | 75 void TimedTextPlayer::setDataSource(sp<TimedTextSource> source) { function in class:android::TimedTextPlayer
|
/frameworks/base/core/java/android/webkit/ |
H A D | HTML5Audio.java | 216 private void setDataSource(String url) { method in class:HTML5Audio 233 mMediaPlayer.setDataSource(url, headers); 284 setDataSource(mUrl);
|
/frameworks/av/cmds/stagefright/ |
H A D | SimplePlayer.cpp | 60 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 D | MediaPlayerInterface.h | 51 // 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/libvideoeditor/lvpp/ |
H A D | PreviewPlayer.cpp | 168 status_t PreviewPlayer::setDataSource(const char *path) { function in class:android::PreviewPlayer 180 // setDataSource for any significant time. 1562 status_t PreviewPlayer::setDataSource(const sp<IStreamSource> &source) { function in class:android::PreviewPlayer
|
H A D | VideoEditorPlayer.cpp | 59 status_t VideoEditorPlayer::setDataSource( function in class:android::VideoEditorPlayer 61 ALOGI("setDataSource('%s')", url); 67 return mPlayer->setDataSource(url); 71 status_t VideoEditorPlayer::setDataSource(int fd, int64_t offset, function in class:android::VideoEditorPlayer 73 ALOGE("setDataSource(%d, %lld, %lld) Not supported", fd, offset, length);
|
/frameworks/av/media/libmedia/ |
H A D | IMediaMetadataRetriever.cpp | 85 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 D | IMediaPlayer.cpp | 78 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 D | mediametadataretriever.cpp | 95 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 D | mediaplayer.cpp | 140 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/libmediaplayerservice/ |
H A D | MediaPlayerService.cpp | 588 ALOGV(" setDataSource"); 608 status_t MediaPlayerService::Client::setDataSource( function in class:android::MediaPlayerService::Client 611 ALOGV("setDataSource(%s)", url); 625 // pass it to the setDataSource(fd) method 634 setDataSource(fd, 0, 0x7fffffffffLL); // this sets mStatus 644 setDataSource_post(p, p->setDataSource(url, headers)); 649 status_t MediaPlayerService::Client::setDataSource(int fd, int64_t offset, int64_t length) function in class:android::MediaPlayerService::Client 651 ALOGV("setDataSource fd=%d, offset=%lld, length=%lld", fd, offset, length); 685 setDataSource_post(p, p->setDataSource(fd, offset, length)); 689 status_t MediaPlayerService::Client::setDataSource( function in class:android::MediaPlayerService::Client [all...] |
H A D | MetadataRetrieverClient.cpp | 108 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 D | MidiFile.cpp | 116 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 D | MidiMetadataRetriever.cpp | 38 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 D | StagefrightPlayer.cpp | 56 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 D | TestPlayerStub.cpp | 79 // * 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);
|