Home
last modified time | relevance | path

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

1234

/frameworks/base/media/java/android/media/
DMediaMetadataRetriever.java62 public void setDataSource(String path) throws IllegalArgumentException { in setDataSource() method in MediaMetadataRetriever
71 setDataSource(fd, 0, 0x7ffffffffffffffL); in setDataSource()
94 public void setDataSource(String uri, Map<String, String> headers) in setDataSource() method in MediaMetadataRetriever
129 public native void setDataSource(FileDescriptor fd, long offset, long length) in setDataSource() method in MediaMetadataRetriever
141 public void setDataSource(FileDescriptor fd) in setDataSource() method in MediaMetadataRetriever
144 setDataSource(fd, 0, 0x7ffffffffffffffL); in setDataSource()
157 public void setDataSource(Context context, Uri uri) in setDataSource() method in MediaMetadataRetriever
165 setDataSource(uri.getPath()); in setDataSource()
188 setDataSource(descriptor); in setDataSource()
190 setDataSource(descriptor, fd.getStartOffset(), fd.getDeclaredLength()); in setDataSource()
[all …]
DMediaExtractor.java72 public native final void setDataSource(DataSource source) throws IOException; in setDataSource() method in MediaExtractor
81 public final void setDataSource( in setDataSource() method in MediaExtractor
86 setDataSource(uri.getPath()); in setDataSource()
101 setDataSource(fd.getFileDescriptor()); in setDataSource()
103 setDataSource( in setDataSource()
117 setDataSource(uri.toString(), headers); in setDataSource()
126 public final void setDataSource(String path, Map<String, String> headers) in setDataSource() method in MediaExtractor
168 public final void setDataSource(String path) throws IOException { in setDataSource() method in MediaExtractor
182 public final void setDataSource(FileDescriptor fd) throws IOException { in setDataSource() method in MediaExtractor
183 setDataSource(fd, 0, 0x7ffffffffffffffL); in setDataSource()
[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.cpp40 status_t MidiMetadataRetriever::setDataSource( in setDataSource() function in android::MidiMetadataRetriever
51 return mMidiPlayer->setDataSource(httpService, url, headers); in setDataSource()
54 status_t MidiMetadataRetriever::setDataSource(int fd, int64_t offset, int64_t length) in setDataSource() function in android::MidiMetadataRetriever
62 return mMidiPlayer->setDataSource(fd, offset, length);; in setDataSource()
DStagefrightPlayer.cpp56 status_t StagefrightPlayer::setDataSource( in setDataSource() function in android::StagefrightPlayer
60 return mPlayer->setDataSource(httpService, url, headers); in setDataSource()
65 status_t StagefrightPlayer::setDataSource(int fd, int64_t offset, int64_t length) { in setDataSource() function in android::StagefrightPlayer
67 return mPlayer->setDataSource(dup(fd), offset, length); in setDataSource()
70 status_t StagefrightPlayer::setDataSource(const sp<IStreamSource> &source) { in setDataSource() function in android::StagefrightPlayer
71 return mPlayer->setDataSource(source); in setDataSource()
DStagefrightPlayer.h36 virtual status_t setDataSource(
41 virtual status_t setDataSource(int fd, int64_t offset, int64_t length);
43 virtual status_t setDataSource(const sp<IStreamSource> &source);
DMidiMetadataRetriever.h34 virtual status_t setDataSource(
39 virtual status_t setDataSource(int fd, int64_t offset, int64_t length);
DMetadataRetrieverClient.h46 virtual status_t setDataSource(
51 virtual status_t setDataSource(int fd, int64_t offset, int64_t length);
DMetadataRetrieverClient.cpp109 status_t MetadataRetrieverClient::setDataSource( in setDataSource() function in android::MetadataRetrieverClient
133 status_t ret = p->setDataSource(httpService, url, headers); in setDataSource()
138 status_t MetadataRetrieverClient::setDataSource(int fd, int64_t offset, int64_t length) in setDataSource() function in android::MetadataRetrieverClient
175 status_t status = p->setDataSource(fd, offset, length); in setDataSource()
/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/base/media/jni/
Dandroid_media_MediaExtractor.h39 status_t setDataSource(
44 status_t setDataSource(int fd, off64_t offset, off64_t size);
45 status_t setDataSource(const sp<DataSource> &source);
/frameworks/av/media/libmedia/
Dmediametadataretriever.cpp98 status_t MediaMetadataRetriever::setDataSource( in setDataSource() function in android::MediaMetadataRetriever
114 return mRetriever->setDataSource(httpService, srcUrl, headers); in setDataSource()
117 status_t MediaMetadataRetriever::setDataSource(int fd, int64_t offset, int64_t length) in setDataSource() function in android::MediaMetadataRetriever
129 return mRetriever->setDataSource(fd, offset, length); in setDataSource()
/frameworks/av/include/media/stagefright/
DNuMediaExtractor.h48 status_t setDataSource(
53 status_t setDataSource(int fd, off64_t offset, off64_t size);
55 status_t setDataSource(const sp<DataSource> &datasource);
/frameworks/av/include/media/
DIMediaPlayer.h45 virtual status_t setDataSource(
50 virtual status_t setDataSource(int fd, int64_t offset, int64_t length) = 0;
51 virtual status_t setDataSource(const sp<IStreamSource>& source) = 0;
DIMediaMetadataRetriever.h37 virtual status_t setDataSource(
42 virtual status_t setDataSource(int fd, int64_t offset, int64_t length) = 0;
DMediaMetadataRetrieverInterface.h37 virtual status_t setDataSource(
42 virtual status_t setDataSource(int fd, int64_t offset, int64_t length) = 0;
Dmediametadataretriever.h71 status_t setDataSource(
76 status_t setDataSource(int fd, int64_t offset, int64_t length);
/frameworks/av/media/libstagefright/include/
DStagefrightMetadataRetriever.h35 virtual status_t setDataSource(
40 virtual status_t setDataSource(int fd, int64_t offset, int64_t length);
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDriver.h33 virtual status_t setDataSource(
38 virtual status_t setDataSource(int fd, int64_t offset, int64_t length);
40 virtual status_t setDataSource(const sp<IStreamSource> &source);
/frameworks/wilhelm/src/android/
Dandroid_LocAVPlayer.cpp57 } else if (mPlayer->setDataSource( in onPrepare()
70 } else if (mPlayer->setDataSource(mDataLocator.fdi.fd, mDataLocator.fdi.offset, in onPrepare()
/frameworks/av/media/libstagefright/
DStagefrightMediaScanner.cpp151 status = mRetriever->setDataSource(NULL /* httpService */, path); in processFileInternal()
153 status = mRetriever->setDataSource(fd, 0, 0x7ffffffffffffffL); in processFileInternal()
216 if (mRetriever->setDataSource(fd, 0, size) == OK) { in extractAlbumArt()

1234