Home
last modified time | relevance | path

Searched refs:setDataSource (Results 1 – 25 of 105) sorted by relevance

12345

/frameworks/base/media/java/android/media/
DMediaExtractor.java69 public final void setDataSource( in setDataSource() method in MediaExtractor
74 setDataSource(uri.getPath()); in setDataSource()
89 setDataSource(fd.getFileDescriptor()); in setDataSource()
91 setDataSource( in setDataSource()
105 setDataSource(uri.toString(), headers); in setDataSource()
114 public final void setDataSource(String path, Map<String, String> headers) { in setDataSource() method in MediaExtractor
129 setDataSource(path, keys, values); in setDataSource()
132 private native final void setDataSource( in setDataSource() method in MediaExtractor
147 public final void setDataSource(String path) { in setDataSource() method in MediaExtractor
148 setDataSource(path, null, null); in setDataSource()
[all …]
DMediaMetadataRetriever.java61 public void setDataSource(String path) throws IllegalArgumentException { in setDataSource() method in MediaMetadataRetriever
66 setDataSource(fd, 0, 0x7ffffffffffffffL); in setDataSource()
89 public void setDataSource(String uri, Map<String, String> headers) in setDataSource() method in MediaMetadataRetriever
119 public native void setDataSource(FileDescriptor fd, long offset, long length) in setDataSource() method in MediaMetadataRetriever
131 public void setDataSource(FileDescriptor fd) in setDataSource() method in MediaMetadataRetriever
134 setDataSource(fd, 0, 0x7ffffffffffffffL); in setDataSource()
147 public void setDataSource(Context context, Uri uri) in setDataSource() method in MediaMetadataRetriever
155 setDataSource(uri.getPath()); in setDataSource()
178 setDataSource(descriptor); in setDataSource()
180 setDataSource(descriptor, fd.getStartOffset(), fd.getDeclaredLength()); in setDataSource()
[all …]
DMediaPlayer.java788 mp.setDataSource(context, uri); in create()
828 mp.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in create()
852 public void setDataSource(Context context, Uri uri) in setDataSource() method in MediaPlayer
854 setDataSource(context, uri, null); in setDataSource()
865 public void setDataSource(Context context, Uri uri, Map<String, String> headers) in setDataSource() method in MediaPlayer
870 setDataSource(uri.getPath()); in setDataSource()
885 setDataSource(fd.getFileDescriptor()); in setDataSource()
887 setDataSource(fd.getFileDescriptor(), fd.getStartOffset(), fd.getDeclaredLength()); in setDataSource()
899 setDataSource(uri.toString(), headers); in setDataSource()
916 public void setDataSource(String path) in setDataSource() method in MediaPlayer
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DCodecTest.java92 mp.setDataSource(filePath); in getDuration()
111 mp.setDataSource(filePath); in getCurrentPosition()
144 mp.setDataSource(filePath); in seekTo()
171 mp.setDataSource(filePath); in setLooping()
208 mp.setDataSource(filePath); in pause()
233 mp.setDataSource(filePath); in prepareStopRelease()
242 mp.setDataSource(filePath); in preparePauseRelease()
272 mMediaPlayer.setDataSource(filePath); in videoHeight()
308 mMediaPlayer.setDataSource(filePath); in videoWidth()
336 mp.setDataSource(filePath); in videoSeekTo()
[all …]
/frameworks/av/media/libmediaplayerservice/
DMidiMetadataRetriever.cpp38 status_t MidiMetadataRetriever::setDataSource( in setDataSource() function in android::MidiMetadataRetriever
47 return mMidiPlayer->setDataSource(url, headers); in setDataSource()
50 status_t MidiMetadataRetriever::setDataSource(int fd, int64_t offset, int64_t length) in setDataSource() function in android::MidiMetadataRetriever
58 return mMidiPlayer->setDataSource(fd, offset, length);; in setDataSource()
DStagefrightPlayer.cpp56 status_t StagefrightPlayer::setDataSource( in setDataSource() function in android::StagefrightPlayer
58 return mPlayer->setDataSource(url, headers); in setDataSource()
63 status_t StagefrightPlayer::setDataSource(int fd, int64_t offset, int64_t length) { in setDataSource() function in android::StagefrightPlayer
65 return mPlayer->setDataSource(dup(fd), offset, length); in setDataSource()
68 status_t StagefrightPlayer::setDataSource(const sp<IStreamSource> &source) { in setDataSource() function in android::StagefrightPlayer
69 return mPlayer->setDataSource(source); in setDataSource()
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);
DMidiMetadataRetriever.h34 virtual status_t setDataSource(
37 virtual status_t setDataSource(int fd, int64_t offset, int64_t length);
DMetadataRetrieverClient.h45 virtual status_t setDataSource(
48 virtual status_t setDataSource(int fd, int64_t offset, int64_t length);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaPlayerStateUnitTestTemplate.java177 mMediaPlayer.setDataSource(TEST_PATH); in setMediaPlayerToIdleStateAfterReset()
189 mMediaPlayer.setDataSource(TEST_PATH); in setMediaPlayerToInitializedState()
199 mMediaPlayer.setDataSource(TEST_PATH); in setMediaPlayerToPreparedState()
210 mMediaPlayer.setDataSource(TEST_PATH); in setMediaPlayerToPreparedStateAfterStop()
224 mMediaPlayer.setDataSource(TEST_PATH); in setMediaPlayerToStartedState()
236 mMediaPlayer.setDataSource(TEST_PATH); in setMediaPlayerToStartedStateAfterPause()
261 mMediaPlayer.setDataSource(TEST_PATH); in setMediaPlayerToPausedState()
274 mMediaPlayer.setDataSource(TEST_PATH); in setMediaPlayerToStoppedState()
287 mMediaPlayer.setDataSource(TEST_PATH); in setMediaPlayerToPlaybackCompletedState()
313 mMediaPlayer.setDataSource(TEST_PATH); in setMediaPlayerToErrorState()
DMediaMetadataRetrieverTest.java49 retriever.setDataSource(MediaNames.ALBUMART_TEST_FILES[i]); in testGetEmbeddedPicture()
88 retriever.setDataSource(MediaNames.THUMBNAIL_METADATA_TEST_FILES[i]); in testThumbnailCapture()
127 retriever.setDataSource(MediaNames.THUMBNAIL_METADATA_TEST_FILES[i]); in testMetadataRetrieval()
146 retriever.setDataSource(MediaNames.TEST_PATH_1); in testBasicNormalMethodCallSequence()
191 retriever.setDataSource(path); in testSetDataSource()
203 retriever.setDataSource(MediaNames.TEST_PATH_5); in testSetDataSource()
215 retriever.setDataSource(MediaNames.TEST_PATH_4); in testSetDataSource()
228 retriever.setDataSource(MediaNames.TEST_PATH_3); in testSetDataSource()
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/
DSingleThreadedMediaPlayerProxy.java57 public synchronized void setDataSource(String path) throws IllegalStateException, IOException { in setDataSource() method in SingleThreadedMediaPlayerProxy
58 mDelegate.setDataSource(path); in setDataSource()
62 public synchronized void setDataSource(Context context, Uri intentUri) in setDataSource() method in SingleThreadedMediaPlayerProxy
64 mDelegate.setDataSource(context, intentUri); in setDataSource()
DMediaPlayerProxy.java39 void setDataSource(String path) throws IllegalStateException, IOException; in setDataSource() method
40 void setDataSource(Context context, Uri intentUri) throws IllegalStateException, IOException; in setDataSource() method
DMediaPlayerDataSource.java55 mediaPlayer.setDataSource(mContext, mUri); in setAsSourceFor()
57 mediaPlayer.setDataSource(mPath); in setAsSourceFor()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDriver.cpp67 status_t NuPlayerDriver::setDataSource( in setDataSource() function in android::NuPlayerDriver
71 mPlayer->setDataSource(url, headers); in setDataSource()
78 status_t NuPlayerDriver::setDataSource(int fd, int64_t offset, int64_t length) { in setDataSource() function in android::NuPlayerDriver
81 mPlayer->setDataSource(fd, offset, length); in setDataSource()
88 status_t NuPlayerDriver::setDataSource(const sp<IStreamSource> &source) { in setDataSource() function in android::NuPlayerDriver
91 mPlayer->setDataSource(source); in setDataSource()
DNuPlayer.h38 void setDataSource(const sp<IStreamSource> &source);
40 void setDataSource(
43 void setDataSource(int fd, int64_t offset, int64_t length);
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);
/frameworks/av/media/libmedia/
Dmediametadataretriever.cpp95 status_t MediaMetadataRetriever::setDataSource( in setDataSource() function in android::MediaMetadataRetriever
109 return mRetriever->setDataSource(srcUrl, headers); in setDataSource()
112 status_t MediaMetadataRetriever::setDataSource(int fd, int64_t offset, int64_t length) in setDataSource() function in android::MediaMetadataRetriever
124 return mRetriever->setDataSource(fd, offset, length); in setDataSource()
/frameworks/av/include/media/
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;
DIMediaMetadataRetriever.h35 virtual status_t setDataSource(
39 virtual status_t setDataSource(int fd, int64_t offset, int64_t length) = 0;
DMediaMetadataRetrieverInterface.h34 virtual status_t setDataSource(
38 virtual status_t setDataSource(int fd, int64_t offset, int64_t length) = 0;
Dmediametadataretriever.h69 status_t setDataSource(
73 status_t setDataSource(int fd, int64_t offset, int64_t length);
/frameworks/av/media/libstagefright/include/
DStagefrightMetadataRetriever.h35 virtual status_t setDataSource(
39 virtual status_t setDataSource(int fd, int64_t offset, int64_t length);
/frameworks/wilhelm/src/android/
Dandroid_LocAVPlayer.cpp53 } else if (mPlayer->setDataSource(mDataLocator.uriRef, NULL /*headers*/) != NO_ERROR) { in onPrepare()
63 } else if (mPlayer->setDataSource(mDataLocator.fdi.fd, mDataLocator.fdi.offset, in onPrepare()
/frameworks/base/media/jni/
Dandroid_media_MediaExtractor.h37 status_t setDataSource(
41 status_t setDataSource(int fd, off64_t offset, off64_t size);

12345