Searched refs:FileSource (Results 1 - 17 of 17) sorted by relevance

/frameworks/av/include/media/stagefright/
H A DFileSource.h30 class FileSource : public DataSource { class in namespace:android
32 FileSource(const char *filename);
33 // FileSource takes ownership and will close the fd
34 FileSource(int fd, int64_t offset, int64_t length);
55 virtual ~FileSource();
73 FileSource(const FileSource &);
74 FileSource &operator=(const FileSource &);
/frameworks/av/media/libstagefright/include/media/stagefright/
H A DFileSource.h30 class FileSource : public DataSource { class in namespace:android
32 FileSource(const char *filename);
33 // FileSource takes ownership and will close the fd
34 FileSource(int fd, int64_t offset, int64_t length);
55 virtual ~FileSource();
73 FileSource(const FileSource &);
74 FileSource &operator=(const FileSource &);
/frameworks/av/media/libstagefright/
H A DFileSource.cpp18 #define LOG_TAG "FileSource"
22 #include <media/stagefright/FileSource.h>
33 FileSource::FileSource(const char *filename) function in class:android::FileSource
45 mName = String8::format("FileSource(%s)", filename);
57 FileSource::FileSource(int fd, int64_t offset, int64_t length) function in class:android::FileSource
96 "FileSource(fd(%s), %lld, %lld)",
103 FileSource::~FileSource() {
[all...]
H A DDataSourceFactory.cpp26 #include <media/stagefright/FileSource.h>
45 source = new FileSource(uri + 7);
89 source = new FileSource(uri);
100 sp<FileSource> source = new FileSource(fd, offset, length);
H A DStagefrightMetadataRetriever.cpp31 #include <media/stagefright/FileSource.h>
91 mSource = new FileSource(fd, offset, length);
H A DNuMediaExtractor.cpp33 #include <media/stagefright/FileSource.h>
120 sp<FileSource> fileSource = new FileSource(dup(fd), offset, size);
/frameworks/av/media/libstagefright/id3/
H A Dtestid3.cpp25 #include <media/stagefright/FileSource.h>
72 sp<FileSource> file = new FileSource(path);
/frameworks/layoutlib/bridge/src/android/graphics/
H A DImageDecoder.java208 private static class FileSource extends Source { class in class:ImageDecoder
209 FileSource(@NonNull File file) { method in class:ImageDecoder.FileSource
426 return new FileSource(file);
/frameworks/wilhelm/src/android/
H A Dandroid_AudioSfDecoder.h23 #include <media/stagefright/FileSource.h>
H A Dandroid_AudioSfDecoder.cpp210 // As FileSource unconditionally takes ownership of the fd and closes it, then
211 // we have to make a dup for FileSource if the app wants to keep ownership itself
218 dataSource = new FileSource(fd, mDataLocator.fdi.offset, mDataLocator.fdi.length);
/frameworks/av/media/libstagefright/httplive/
H A DHTTPDownloader.cpp30 #include <media/stagefright/FileSource.h>
94 mDataSource = new FileSource(url + 7);
/frameworks/av/media/libstagefright/webm/
H A DWebmFrameThread.h24 #include <media/stagefright/FileSource.h>
/frameworks/av/cmds/stagefright/
H A Drecord.cpp26 #include <media/stagefright/FileSource.h>
124 MediaExtractorFactory::Create(new FileSource(filename));
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerFactory.cpp25 #include <media/stagefright/FileSource.h>
/frameworks/base/graphics/java/android/graphics/
H A DImageDecoder.java517 private static class FileSource extends Source { class in class:ImageDecoder
518 FileSource(@NonNull File file) { method in class:ImageDecoder.FileSource
969 return new FileSource(file);
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DGenericSource.cpp36 #include <media/stagefright/FileSource.h>
391 !FileSource::requiresDrm(mFd, mOffset, mLength, nullptr /* mime */)) {
395 ALOGD("FileSource remote");
400 ALOGV("IDataSource(FileSource): %p %d %lld %lld",
417 ALOGD("FileSource local");
418 mDataSource = new FileSource(mFd, mOffset, mLength);
422 // and the FileSource constructor should dup the mFd argument as needed.
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DExifInterface.java581 public static interface FileSource { interface in class:ExifInterface

Completed in 348 milliseconds