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.java90 public native final void setDataSource(@NonNull MediaDataSource dataSource) in setDataSource() method in MediaExtractor
106 public final void setDataSource( in setDataSource() method in MediaExtractor
111 setDataSource(uri.getPath()); in setDataSource()
126 setDataSource(fd.getFileDescriptor()); in setDataSource()
128 setDataSource( in setDataSource()
142 setDataSource(uri.toString(), headers); in setDataSource()
157 public final void setDataSource(@NonNull String path, @Nullable Map<String, String> headers) in setDataSource() method in MediaExtractor
202 public final void setDataSource(@NonNull String path) throws IOException { in setDataSource() method in MediaExtractor
217 public final void setDataSource(@NonNull AssetFileDescriptor afd) in setDataSource() method in MediaExtractor
224 setDataSource(afd.getFileDescriptor()); in setDataSource()
[all …]
DMediaMetadataRetriever.java237 public void setDataSource(String path) throws IllegalArgumentException { in setDataSource() method in MediaMetadataRetriever
247 setDataSource(path, new HashMap<String, String>()); in setDataSource()
253 setDataSource(fd, 0, 0x7ffffffffffffffL); in setDataSource()
270 public void setDataSource(String uri, Map<String, String> headers) in setDataSource() method in MediaMetadataRetriever
305 public void setDataSource(FileDescriptor fd, long offset, long length) in setDataSource() method in MediaMetadataRetriever
331 public void setDataSource(FileDescriptor fd) in setDataSource() method in MediaMetadataRetriever
334 setDataSource(fd, 0, 0x7ffffffffffffffL); in setDataSource()
347 public void setDataSource(Context context, Uri uri) in setDataSource() method in MediaMetadataRetriever
355 setDataSource(uri.getPath()); in setDataSource()
383 setDataSource(descriptor); in setDataSource()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DCodecTest.java100 mp.setDataSource(filePath); in getDuration()
119 mp.setDataSource(filePath); in getCurrentPosition()
152 mp.setDataSource(filePath); in seekTo()
179 mp.setDataSource(filePath); in setLooping()
216 mp.setDataSource(filePath); in pause()
241 mp.setDataSource(filePath); in prepareStopRelease()
250 mp.setDataSource(filePath); in preparePauseRelease()
280 mMediaPlayer.setDataSource(filePath); in videoHeight()
316 mMediaPlayer.setDataSource(filePath); in videoWidth()
344 mp.setDataSource(filePath); in videoSeekTo()
[all …]
/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/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()
132 status_t MediaMetadataRetriever::setDataSource( in setDataSource() function in android::MediaMetadataRetriever
141 return mRetriever->setDataSource(dataSource, mime); in setDataSource()
DIMediaMetadataRetriever.cpp95 status_t setDataSource( in setDataSource() function in android::BpMediaMetadataRetriever
123 status_t setDataSource(int fd, int64_t offset, int64_t length) in setDataSource() function in android::BpMediaMetadataRetriever
134 status_t setDataSource(const sp<IDataSource>& source, const char *mime) in setDataSource() function in android::BpMediaMetadataRetriever
332 setDataSource( in onTransact()
342 reply->writeInt32(setDataSource(fd, offset, length)); in onTransact()
357 reply->writeInt32(setDataSource(source, mime)); in onTransact()
/frameworks/av/media/libmedia/include/media/
DMediaMetadataRetrieverInterface.h39 virtual status_t setDataSource(
44 virtual status_t setDataSource(int fd, int64_t offset, int64_t length) = 0;
45 virtual status_t setDataSource(const sp<DataSource>& source, const char *mime) = 0;
DIMediaMetadataRetriever.h37 virtual status_t setDataSource(
42 virtual status_t setDataSource(int fd, int64_t offset, int64_t length) = 0;
43 virtual status_t setDataSource(
DIMediaPlayer.h54 virtual status_t setDataSource(
59 virtual status_t setDataSource(int fd, int64_t offset, int64_t length) = 0;
60 virtual status_t setDataSource(const sp<IStreamSource>& source) = 0;
61 virtual status_t setDataSource(const sp<IDataSource>& source) = 0;
62 virtual status_t setDataSource(const String8& rtpParams) = 0;
Dmediametadataretriever.h90 status_t setDataSource(
95 status_t setDataSource(int fd, int64_t offset, int64_t length);
96 status_t setDataSource(
Dmediaplayer.h221 status_t setDataSource(
226 status_t setDataSource(int fd, int64_t offset, int64_t length);
227 status_t setDataSource(const sp<IDataSource> &source);
228 status_t setDataSource(const String8& rtpParams);
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDriver.h35 virtual status_t setDataSource(
40 virtual status_t setDataSource(int fd, int64_t offset, int64_t length);
42 virtual status_t setDataSource(const sp<IStreamSource> &source);
44 virtual status_t setDataSource(const sp<DataSource>& dataSource);
46 virtual status_t setDataSource(const String8& rtpParams);
/frameworks/av/media/libmediaplayerservice/
DStagefrightMetadataRetriever.h36 virtual status_t setDataSource(
41 virtual status_t setDataSource(int fd, int64_t offset, int64_t length);
42 virtual status_t setDataSource(const sp<DataSource>& source, const char *mime);
DMetadataRetrieverClient.h46 virtual status_t setDataSource(
51 virtual status_t setDataSource(int fd, int64_t offset, int64_t length);
52 virtual status_t setDataSource(const sp<IDataSource>& source, const char *mime);
DMetadataRetrieverClient.cpp106 status_t MetadataRetrieverClient::setDataSource( in setDataSource() function in android::MetadataRetrieverClient
130 status_t ret = p->setDataSource(httpService, url, headers); in setDataSource()
135 status_t MetadataRetrieverClient::setDataSource(int fd, int64_t offset, int64_t length) in setDataSource() function in android::MetadataRetrieverClient
172 status_t status = p->setDataSource(fd, offset, length); in setDataSource()
177 status_t MetadataRetrieverClient::setDataSource( in setDataSource() function in android::MetadataRetrieverClient
189 status_t ret = p->setDataSource(dataSource, mime); in setDataSource()
DTestPlayerStub.h68 virtual status_t setDataSource(
74 virtual status_t setDataSource(int, int64_t, int64_t) { in setDataSource() function
DTestPlayerStub.cpp115 status_t TestPlayerStub::setDataSource( in setDataSource() function in android::TestPlayerStub
167 return mPlayer->setDataSource(httpService, mContentUrl, headers); in setDataSource()
/frameworks/base/media/jni/
Dandroid_media_MediaExtractor.h40 status_t setDataSource(
45 status_t setDataSource(int fd, off64_t offset, off64_t size);
46 status_t setDataSource(const sp<DataSource> &source);
/frameworks/av/media/libstagefright/
DStagefrightMediaScanner.cpp92 status = mRetriever->setDataSource(nullService, path); in processFileInternal()
94 status = mRetriever->setDataSource(fd, 0, 0x7ffffffffffffffL); in processFileInternal()
163 if (mRetriever->setDataSource(fd, 0, size) == OK) { in extractAlbumArt()
/frameworks/wilhelm/src/android/
Dandroid_LocAVPlayer.cpp66 status_t status = mPlayer->setDataSource( in onPrepare()
79 } else if (mPlayer->setDataSource(mDataLocator.fdi.fd, mDataLocator.fdi.offset, in onPrepare()
/frameworks/av/media/libmediaplayerservice/include/
DMediaPlayerInterface.h172 virtual status_t setDataSource(
177 virtual status_t setDataSource(int fd, int64_t offset, int64_t length) = 0;
179 virtual status_t setDataSource(const sp<IStreamSource>& /* source */) { in setDataSource() function
183 virtual status_t setDataSource(const sp<DataSource>& /* source */) { in setDataSource() function
187 virtual status_t setDataSource(const String8& /* rtpParams */) { in setDataSource() function
/frameworks/av/include/media/
DMediaPlayerInterface.h172 virtual status_t setDataSource(
177 virtual status_t setDataSource(int fd, int64_t offset, int64_t length) = 0;
179 virtual status_t setDataSource(const sp<IStreamSource>& /* source */) { in setDataSource() function
183 virtual status_t setDataSource(const sp<DataSource>& /* source */) { in setDataSource() function
187 virtual status_t setDataSource(const String8& /* rtpParams */) { in setDataSource() function
/frameworks/av/media/libstagefright/include/media/stagefright/
DNuMediaExtractor.h59 status_t setDataSource(
64 status_t setDataSource(int fd, off64_t offset, off64_t size);
66 status_t setDataSource(const sp<DataSource> &datasource);
/frameworks/base/media/tests/players/
Dinvoke_mock_media_player.cpp60 virtual status_t setDataSource( in setDataSource() function in __anon5f9b7f910111::Player
72 virtual status_t setDataSource(int /* fd */, int64_t /* offset */, int64_t /* length */) { in setDataSource() function in __anon5f9b7f910111::Player

12345