Home
last modified time | relevance | path

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

12345

/frameworks/base/media/java/android/media/
DMediaMetadataRetriever.java65 public void setDataSource(String path) throws IllegalArgumentException { in setDataSource() method in MediaMetadataRetriever
72 setDataSource(fd, 0, 0x7ffffffffffffffL); in setDataSource()
89 public void setDataSource(String uri, Map<String, String> headers) in setDataSource() method in MediaMetadataRetriever
124 public native void setDataSource(FileDescriptor fd, long offset, long length) in setDataSource() method in MediaMetadataRetriever
136 public void setDataSource(FileDescriptor fd) in setDataSource() method in MediaMetadataRetriever
139 setDataSource(fd, 0, 0x7ffffffffffffffL); in setDataSource()
152 public void setDataSource(Context context, Uri uri) in setDataSource() method in MediaMetadataRetriever
160 setDataSource(uri.getPath()); in setDataSource()
183 setDataSource(descriptor); in setDataSource()
185 setDataSource(descriptor, fd.getStartOffset(), fd.getDeclaredLength()); in setDataSource()
[all …]
DMediaExtractor.java88 public native final void setDataSource(@NonNull MediaDataSource dataSource) in setDataSource() method in MediaExtractor
104 public final void setDataSource( in setDataSource() method in MediaExtractor
109 setDataSource(uri.getPath()); in setDataSource()
124 setDataSource(fd.getFileDescriptor()); in setDataSource()
126 setDataSource( in setDataSource()
140 setDataSource(uri.toString(), headers); in setDataSource()
155 public final void setDataSource(@NonNull String path, @Nullable Map<String, String> headers) in setDataSource() method in MediaExtractor
200 public final void setDataSource(@NonNull String path) throws IOException { in setDataSource() method in MediaExtractor
215 public final void setDataSource(@NonNull AssetFileDescriptor afd) in setDataSource() method in MediaExtractor
222 setDataSource(afd.getFileDescriptor()); 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.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, const char *mime) in setDataSource() function in android::BpMediaMetadataRetriever
251 setDataSource( in onTransact()
261 reply->writeInt32(setDataSource(fd, offset, length)); in onTransact()
276 reply->writeInt32(setDataSource(source, mime)); 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, const char *mime);
/frameworks/av/include/media/
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(
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, const char *mime) = 0;
Dmediametadataretriever.h73 status_t setDataSource(
78 status_t setDataSource(int fd, int64_t offset, int64_t length);
79 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;
/frameworks/av/media/libmedia/include/media/
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, 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(
Dmediametadataretriever.h73 status_t setDataSource(
78 status_t setDataSource(int fd, int64_t offset, int64_t length);
79 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;
/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, 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()
/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/libmediaplayerservice/nuplayer/
DNuPlayerDriver.h34 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);
43 virtual status_t setDataSource(const sp<DataSource>& dataSource);
/frameworks/av/media/libstagefright/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.cpp89 status = mRetriever->setDataSource(nullService, path); in processFileInternal()
91 status = mRetriever->setDataSource(fd, 0, 0x7ffffffffffffffL); in processFileInternal()
155 if (mRetriever->setDataSource(fd, 0, size) == OK) { in extractAlbumArt()
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
DSampleVideoSupportFragment.java125 mMediaPlayerGlue.getPlayerAdapter().setDataSource(Uri.parse(uriPath)); in onCreate()
138 mMediaPlayerGlue.getPlayerAdapter().setDataSource(Uri.parse(uriPath)); in onCreate()
167 mMediaPlayerGlue.getPlayerAdapter().setDataSource( in switchAnotherGlue()
DSampleVideoFragment.java122 mMediaPlayerGlue.getPlayerAdapter().setDataSource(Uri.parse(uriPath)); in onCreate()
135 mMediaPlayerGlue.getPlayerAdapter().setDataSource(Uri.parse(uriPath)); in onCreate()
164 mMediaPlayerGlue.getPlayerAdapter().setDataSource( in switchAnotherGlue()
/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()

12345