Home
last modified time | relevance | path

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

1234

/frameworks/base/media/java/android/media/
DMediaMetadataRetriever.java62 public void setDataSource(String path) throws IllegalArgumentException { in setDataSource() method in MediaMetadataRetriever
69 setDataSource(fd, 0, 0x7ffffffffffffffL); in setDataSource()
86 public void setDataSource(String uri, Map<String, String> headers) in setDataSource() method in MediaMetadataRetriever
121 public native void setDataSource(FileDescriptor fd, long offset, long length) in setDataSource() method in MediaMetadataRetriever
133 public void setDataSource(FileDescriptor fd) in setDataSource() method in MediaMetadataRetriever
136 setDataSource(fd, 0, 0x7ffffffffffffffL); in setDataSource()
149 public void setDataSource(Context context, Uri uri) in setDataSource() method in MediaMetadataRetriever
157 setDataSource(uri.getPath()); in setDataSource()
180 setDataSource(descriptor); in setDataSource()
182 setDataSource(descriptor, fd.getStartOffset(), fd.getDeclaredLength()); in setDataSource()
[all …]
DMediaExtractor.java84 public native final void setDataSource(@NonNull MediaDataSource dataSource) in setDataSource() method in MediaExtractor
96 public final void setDataSource( in setDataSource() method in MediaExtractor
101 setDataSource(uri.getPath()); in setDataSource()
116 setDataSource(fd.getFileDescriptor()); in setDataSource()
118 setDataSource( in setDataSource()
132 setDataSource(uri.toString(), headers); in setDataSource()
143 public final void setDataSource(@NonNull String path, @Nullable Map<String, String> headers) in setDataSource() method in MediaExtractor
185 public final void setDataSource(@NonNull String path) throws IOException { in setDataSource() method in MediaExtractor
200 public final void setDataSource(@NonNull AssetFileDescriptor afd) in setDataSource() method in MediaExtractor
207 setDataSource(afd.getFileDescriptor()); in setDataSource()
[all …]
DMediaPlayer.java874 mp.setDataSource(context, uri); in create()
941 mp.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in create()
965 public void setDataSource(@NonNull Context context, @NonNull Uri uri) in setDataSource() method in MediaPlayer
967 setDataSource(context, uri, null); in setDataSource()
982 public void setDataSource(@NonNull Context context, @NonNull Uri uri, in setDataSource() method in MediaPlayer
988 setDataSource(uri.getPath()); in setDataSource()
1002 setDataSource(uri.toString(), headers); in setDataSource()
1009 setDataSource(uri.toString(), headers); in setDataSource()
1016 setDataSource(afd); in attemptDataSource()
1037 public void setDataSource(String path) in setDataSource() method in MediaPlayer
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DCodecTest.java93 mp.setDataSource(filePath); in getDuration()
112 mp.setDataSource(filePath); in getCurrentPosition()
145 mp.setDataSource(filePath); in seekTo()
172 mp.setDataSource(filePath); in setLooping()
209 mp.setDataSource(filePath); in pause()
234 mp.setDataSource(filePath); in prepareStopRelease()
243 mp.setDataSource(filePath); in preparePauseRelease()
273 mMediaPlayer.setDataSource(filePath); in videoHeight()
309 mMediaPlayer.setDataSource(filePath); in videoWidth()
337 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); in setDataSource()
DIMediaMetadataRetriever.cpp91 status_t setDataSource( in setDataSource() function in android::BpMediaMetadataRetriever
119 status_t setDataSource(int fd, int64_t offset, int64_t length) in setDataSource() function in android::BpMediaMetadataRetriever
130 status_t setDataSource(const sp<IDataSource>& source) in setDataSource() function in android::BpMediaMetadataRetriever
241 setDataSource( in onTransact()
251 reply->writeInt32(setDataSource(fd, offset, length)); in onTransact()
261 reply->writeInt32(setDataSource(source)); in onTransact()
/frameworks/av/media/libstagefright/include/
DStagefrightMetadataRetriever.h35 virtual status_t setDataSource(
40 virtual status_t setDataSource(int fd, int64_t offset, int64_t length);
41 virtual status_t setDataSource(const sp<DataSource>& source);
/frameworks/av/include/media/
DIMediaMetadataRetriever.h38 virtual status_t setDataSource(
43 virtual status_t setDataSource(int fd, int64_t offset, int64_t length) = 0;
44 virtual status_t setDataSource(const sp<IDataSource>& dataSource) = 0;
DMediaMetadataRetrieverInterface.h38 virtual status_t setDataSource(
43 virtual status_t setDataSource(int fd, int64_t offset, int64_t length) = 0;
44 virtual status_t setDataSource(const sp<DataSource>& source) = 0;
DIMediaPlayer.h48 virtual status_t setDataSource(
53 virtual status_t setDataSource(int fd, int64_t offset, int64_t length) = 0;
54 virtual status_t setDataSource(const sp<IStreamSource>& source) = 0;
55 virtual status_t setDataSource(const sp<IDataSource>& source) = 0;
Dmediametadataretriever.h73 status_t setDataSource(
78 status_t setDataSource(int fd, int64_t offset, int64_t length);
79 status_t setDataSource(const sp<IDataSource>& dataSource);
DMediaPlayerInterface.h158 virtual status_t setDataSource(
163 virtual status_t setDataSource(int fd, int64_t offset, int64_t length) = 0;
165 virtual status_t setDataSource(const sp<IStreamSource>& /* source */) { in setDataSource() function
169 virtual status_t setDataSource(const sp<DataSource>& /* source */) { in setDataSource() function
Dmediaplayer.h212 status_t setDataSource(
217 status_t setDataSource(int fd, int64_t offset, int64_t length);
218 status_t setDataSource(const sp<IDataSource> &source);
/frameworks/av/media/libmediaplayerservice/
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);
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); in setDataSource()
DTestPlayerStub.h68 virtual status_t setDataSource(
74 virtual status_t setDataSource(int, int64_t, int64_t) { in setDataSource() function
/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);
Dandroid_media_MediaExtractor.cpp75 status_t JMediaExtractor::setDataSource( in setDataSource() function in android::JMediaExtractor
79 return mImpl->setDataSource(httpService, path, headers); in setDataSource()
82 status_t JMediaExtractor::setDataSource(int fd, off64_t offset, off64_t size) { in setDataSource() function in android::JMediaExtractor
83 return mImpl->setDataSource(fd, offset, size); in setDataSource()
86 status_t JMediaExtractor::setDataSource(const sp<DataSource> &datasource) { in setDataSource() function in android::JMediaExtractor
87 return mImpl->setDataSource(datasource); in setDataSource()
656 status_t err = extractor->setDataSource(httpService, path, &headers); in android_media_MediaExtractor_setDataSource()
687 status_t err = extractor->setDataSource(fd, offset, length); in android_media_MediaExtractor_setDataSourceFd()
715 status_t err = extractor->setDataSource(bridge); in android_media_MediaExtractor_setDataSourceCallback()
/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);
42 virtual status_t setDataSource(const sp<DataSource>& dataSource);
/frameworks/av/include/media/stagefright/
DNuMediaExtractor.h54 status_t setDataSource(
59 status_t setDataSource(int fd, off64_t offset, off64_t size);
61 status_t setDataSource(const sp<DataSource> &datasource);
/frameworks/av/media/libstagefright/
DStagefrightMediaScanner.cpp88 status = mRetriever->setDataSource(NULL /* httpService */, path); in processFileInternal()
90 status = mRetriever->setDataSource(fd, 0, 0x7ffffffffffffffL); in processFileInternal()
154 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/base/media/tests/players/
Dinvoke_mock_media_player.cpp60 virtual status_t setDataSource( in setDataSource() function in __anoneb1c722b0111::Player
72 virtual status_t setDataSource(int /* fd */, int64_t /* offset */, int64_t /* length */) { in setDataSource() function in __anoneb1c722b0111::Player

1234