Home
last modified time | relevance | path

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

123

/frameworks/base/media/java/android/media/
DMediaMetadataRetriever.java58 public native void setDataSource(String path) throws IllegalArgumentException; in setDataSource() method in MediaMetadataRetriever
73 public native void setDataSource(FileDescriptor fd, long offset, long length) in setDataSource() method in MediaMetadataRetriever
85 public void setDataSource(FileDescriptor fd) in setDataSource() method in MediaMetadataRetriever
88 setDataSource(fd, 0, 0x7ffffffffffffffL); in setDataSource()
101 public void setDataSource(Context context, Uri uri) in setDataSource() method in MediaMetadataRetriever
109 setDataSource(uri.getPath()); in setDataSource()
132 setDataSource(descriptor); in setDataSource()
134 setDataSource(descriptor, fd.getStartOffset(), fd.getDeclaredLength()); in setDataSource()
146 setDataSource(uri.toString()); in setDataSource()
DMediaPlayer.java628 mp.setDataSource(context, uri); in create()
666 mp.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in create()
690 public void setDataSource(Context context, Uri uri) in setDataSource() method in MediaPlayer
692 setDataSource(context, uri, null); in setDataSource()
704 public void setDataSource(Context context, Uri uri, Map<String, String> headers) in setDataSource() method in MediaPlayer
709 setDataSource(uri.getPath()); in setDataSource()
724 setDataSource(fd.getFileDescriptor()); in setDataSource()
726 setDataSource(fd.getFileDescriptor(), fd.getStartOffset(), fd.getDeclaredLength()); in setDataSource()
737 setDataSource(uri.toString(), headers); in setDataSource()
747 …public native void setDataSource(String path) throws IOException, IllegalArgumentException, Illega… in setDataSource() method in MediaPlayer
[all …]
DRingtone.java171 mAudio.setDataSource(mContext, mUri); in openMediaPlayer()
173 mAudio.setDataSource(mFileDescriptor); in openMediaPlayer()
179 mAudio.setDataSource(mAssetFileDescriptor.getFileDescriptor()); in openMediaPlayer()
181 mAudio.setDataSource(mAssetFileDescriptor.getFileDescriptor(), in openMediaPlayer()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaMetadataRetrieverTest.java54 retriever.setDataSource(MediaNames.ALBUMART_TEST_FILES[i]); in testGetEmbeddedPicture()
93 retriever.setDataSource(MediaNames.THUMBNAIL_CAPTURE_TEST_FILES[i]); in testThumbnailCapture()
131 retriever.setDataSource(MediaNames.METADATA_RETRIEVAL_TEST_FILES[i]); in testMetadataRetrieval()
150 retriever.setDataSource(MediaNames.TEST_PATH_1); in testBasicNormalMethodCallSequence()
195 retriever.setDataSource(path); in testSetDataSource()
207 retriever.setDataSource(MediaNames.TEST_PATH_5); in testSetDataSource()
219 retriever.setDataSource(MediaNames.TEST_PATH_4); in testSetDataSource()
232 retriever.setDataSource(MediaNames.TEST_PATH_3); in testSetDataSource()
254 retriever.setDataSource(MediaNames.TEST_PATH_1); in testIntendedUsage()
259 retriever.setDataSource(MediaNames.TEST_PATH_1); in testIntendedUsage()
[all …]
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()
/frameworks/base/media/libmediaplayerservice/
DMidiMetadataRetriever.cpp38 status_t MidiMetadataRetriever::setDataSource(const char *url) in setDataSource() function in android::MidiMetadataRetriever
47 return mMidiPlayer->setDataSource(url, NULL /* 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()
DMidiMetadataRetriever.h34 virtual status_t setDataSource(const char *url);
35 virtual status_t setDataSource(int fd, int64_t offset, int64_t length);
DStagefrightPlayer.cpp34 status_t StagefrightPlayer::setDataSource( in setDataSource() function in android::StagefrightPlayer
37 return mPlayer->setDataSource(url, headers); in setDataSource()
42 status_t StagefrightPlayer::setDataSource(int fd, int64_t offset, int64_t length) { in setDataSource() function in android::StagefrightPlayer
44 return mPlayer->setDataSource(dup(fd), offset, length); in setDataSource()
DMetadataRetrieverClient.h44 virtual status_t setDataSource(const char *url);
45 virtual status_t setDataSource(int fd, int64_t offset, int64_t length);
DStagefrightPlayer.h34 virtual status_t setDataSource(
37 virtual status_t setDataSource(int fd, int64_t offset, int64_t length);
DMidiFile.h34 virtual status_t setDataSource(
37 virtual status_t setDataSource(int fd, int64_t offset, int64_t length);
DMetadataRetrieverClient.cpp130 status_t MetadataRetrieverClient::setDataSource(const char *url) in setDataSource() function in android::MetadataRetrieverClient
141 status_t ret = p->setDataSource(url); in setDataSource()
146 status_t MetadataRetrieverClient::setDataSource(int fd, int64_t offset, int64_t length) in setDataSource() function in android::MetadataRetrieverClient
179 status_t status = p->setDataSource(fd, offset, length); in setDataSource()
DTestPlayerStub.h68 virtual status_t setDataSource(
72 virtual status_t setDataSource(int, int64_t, int64_t) { in setDataSource() function
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DCodecTest.java86 mp.setDataSource(filePath); in getDuration()
105 mp.setDataSource(filePath); in getCurrentPosition()
138 mp.setDataSource(filePath); in seekTo()
165 mp.setDataSource(filePath); in setLooping()
202 mp.setDataSource(filePath); in pause()
227 mp.setDataSource(filePath); in prepareStopRelease()
236 mp.setDataSource(filePath); in preparePauseRelease()
266 mMediaPlayer.setDataSource(filePath); in videoHeight()
302 mMediaPlayer.setDataSource(filePath); in videoWidth()
330 mp.setDataSource(filePath); in videoSeekTo()
[all …]
/frameworks/base/media/libmedia/
Dmediametadataretriever.cpp95 status_t MediaMetadataRetriever::setDataSource(const char* srcUrl) in setDataSource() function in android::MediaMetadataRetriever
108 return mRetriever->setDataSource(srcUrl); in setDataSource()
111 status_t MediaMetadataRetriever::setDataSource(int fd, int64_t offset, int64_t length) in setDataSource() function in android::MediaMetadataRetriever
123 return mRetriever->setDataSource(fd, offset, length); in setDataSource()
DIMediaMetadataRetriever.cpp105 status_t setDataSource(const char* srcUrl) in setDataSource() function in android::BpMediaMetadataRetriever
114 status_t setDataSource(int fd, int64_t offset, int64_t length) in setDataSource() function in android::BpMediaMetadataRetriever
191 reply->writeInt32(setDataSource(srcUrl)); in onTransact()
199 reply->writeInt32(setDataSource(fd, offset, length)); in onTransact()
/frameworks/base/include/media/
DPVMetadataRetriever.h35 virtual status_t setDataSource(const char *url);
36 virtual status_t setDataSource(int fd, int64_t offset, int64_t length);
DMediaMetadataRetrieverInterface.h33 virtual status_t setDataSource(const char *url) = 0;
34 virtual status_t setDataSource(int fd, int64_t offset, int64_t length) = 0;
DIMediaMetadataRetriever.h33 virtual status_t setDataSource(const char* srcUrl) = 0;
34 virtual status_t setDataSource(int fd, int64_t offset, int64_t length) = 0;
Dmediametadataretriever.h59 status_t setDataSource(const char* dataSourceUrl);
60 status_t setDataSource(int fd, int64_t offset, int64_t length);
Dmediaplayer.h143 status_t setDataSource(
147 status_t setDataSource(int fd, int64_t offset, int64_t length);
183 status_t setDataSource(const sp<IMediaPlayer>& player);
DPVPlayer.h42 virtual status_t setDataSource(
45 virtual status_t setDataSource(int fd, int64_t offset, int64_t length);
/frameworks/base/media/libstagefright/include/
DStagefrightMetadataRetriever.h35 virtual status_t setDataSource(const char *url);
36 virtual status_t setDataSource(int fd, int64_t offset, int64_t length);
/frameworks/base/core/java/android/webkit/
DHTML5Audio.java166 private void setDataSource(String url) { in setDataSource() method in HTML5Audio
172 mMediaPlayer.setDataSource(url); in setDataSource()
184 setDataSource(mUrl); in play()
/frameworks/base/media/tests/players/
Dinvoke_mock_media_player.cpp58 virtual status_t setDataSource( in setDataSource() function in __anon44600ab40111::Player
69 virtual status_t setDataSource(int fd, int64_t offset, int64_t length) {return OK;} in setDataSource() function in __anon44600ab40111::Player

123