/frameworks/base/media/java/android/media/ |
D | MediaMetadataRetriever.java | 62 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 …]
|
D | MediaExtractor.java | 84 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 …]
|
D | MediaPlayer.java | 874 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/ |
D | CodecTest.java | 93 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/ |
D | MediaPlayerStateUnitTestTemplate.java | 177 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()
|
D | MediaMetadataRetrieverTest.java | 49 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/ |
D | mediametadataretriever.cpp | 98 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()
|
D | IMediaMetadataRetriever.cpp | 91 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/ |
D | StagefrightMetadataRetriever.h | 35 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/ |
D | IMediaMetadataRetriever.h | 38 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;
|
D | MediaMetadataRetrieverInterface.h | 38 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;
|
D | IMediaPlayer.h | 48 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;
|
D | mediametadataretriever.h | 73 status_t setDataSource( 78 status_t setDataSource(int fd, int64_t offset, int64_t length); 79 status_t setDataSource(const sp<IDataSource>& dataSource);
|
D | MediaPlayerInterface.h | 158 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
|
D | mediaplayer.h | 212 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/ |
D | MetadataRetrieverClient.h | 46 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);
|
D | MetadataRetrieverClient.cpp | 106 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()
|
D | TestPlayerStub.h | 68 virtual status_t setDataSource( 74 virtual status_t setDataSource(int, int64_t, int64_t) { in setDataSource() function
|
/frameworks/base/media/jni/ |
D | android_media_MediaExtractor.h | 39 status_t setDataSource( 44 status_t setDataSource(int fd, off64_t offset, off64_t size); 45 status_t setDataSource(const sp<DataSource> &source);
|
D | android_media_MediaExtractor.cpp | 75 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/ |
D | NuPlayerDriver.h | 33 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/ |
D | NuMediaExtractor.h | 54 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/ |
D | StagefrightMediaScanner.cpp | 88 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/ |
D | android_LocAVPlayer.cpp | 66 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/ |
D | invoke_mock_media_player.cpp | 60 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
|