/frameworks/av/include/media/ |
H A D | IDataSource.h | 31 class IDataSource : public IInterface { class in namespace:android 55 DISALLOW_EVIL_CONSTRUCTORS(IDataSource); 60 class BnDataSource : public BnInterface<IDataSource> {
|
H A D | IMediaExtractorService.h | 23 #include <media/IDataSource.h> 33 virtual sp<IMediaExtractor> makeExtractor(const sp<IDataSource> &source, const char *mime) = 0; 35 virtual sp<IDataSource> makeIDataSource(int fd, int64_t offset, int64_t length) = 0;
|
H A D | IMediaCodecService.h | 23 #include <media/IDataSource.h>
|
H A D | IMediaMetadataRetriever.h | 29 class IDataSource; 44 virtual status_t setDataSource(const sp<IDataSource>& dataSource) = 0;
|
H A D | mediametadataretriever.h | 28 class IDataSource; 79 status_t setDataSource(const sp<IDataSource>& dataSource);
|
/frameworks/av/media/libmedia/include/media/ |
H A D | IDataSource.h | 31 class IDataSource : public IInterface { class in namespace:android 55 DISALLOW_EVIL_CONSTRUCTORS(IDataSource); 60 class BnDataSource : public BnInterface<IDataSource> {
|
H A D | IMediaExtractorService.h | 23 #include <media/IDataSource.h> 33 virtual sp<IMediaExtractor> makeExtractor(const sp<IDataSource> &source, const char *mime) = 0; 35 virtual sp<IDataSource> makeIDataSource(int fd, int64_t offset, int64_t length) = 0;
|
H A D | IMediaCodecService.h | 23 #include <media/IDataSource.h>
|
H A D | IMediaMetadataRetriever.h | 29 class IDataSource; 44 virtual status_t setDataSource(const sp<IDataSource>& dataSource) = 0;
|
H A D | mediametadataretriever.h | 28 class IDataSource; 79 status_t setDataSource(const sp<IDataSource>& dataSource);
|
/frameworks/av/media/libmedia/ |
H A D | IDataSource.cpp | 18 #define LOG_TAG "IDataSource" 22 #include <media/IDataSource.h> 41 struct BpDataSource : public BpInterface<IDataSource> { 43 : BpInterface<IDataSource>(impl) {} 47 data.writeInterfaceToken(IDataSource::getInterfaceDescriptor()); 55 data.writeInterfaceToken(IDataSource::getInterfaceDescriptor()); 72 data.writeInterfaceToken(IDataSource::getInterfaceDescriptor()); 81 data.writeInterfaceToken(IDataSource::getInterfaceDescriptor()); 87 data.writeInterfaceToken(IDataSource::getInterfaceDescriptor()); 94 data.writeInterfaceToken(IDataSource [all...] |
H A D | IMediaExtractorService.cpp | 43 virtual sp<IMediaExtractor> makeExtractor(const sp<IDataSource> &source, const char *mime) { 57 virtual sp<IDataSource> makeIDataSource(int fd, int64_t offset, int64_t length) 68 return interface_cast<IDataSource>(reply.readStrongBinder()); 94 sp<IDataSource> source = interface_cast<IDataSource>(b); 107 sp<IDataSource> source = makeIDataSource(fd, offset, length);
|
/frameworks/av/include/media/stagefright/ |
H A D | CallbackDataSource.h | 25 class IDataSource; 28 // A stagefright DataSource that wraps a binder IDataSource. It's a "Callback" 29 // DataSource because it calls back to the IDataSource for data. 32 explicit CallbackDataSource(const sp<IDataSource>& iDataSource); 45 virtual sp<IDataSource> getIDataSource() const; 48 sp<IDataSource> mIDataSource; 59 // This reduces the number of binder round trips to the IDataSource and has a significant 74 virtual sp<IDataSource> getIDataSource() const;
|
H A D | DataSource.h | 35 class IDataSource; 58 static sp<DataSource> CreateFromIDataSource(const sp<IDataSource> &source); 121 // creates an IDataSource wrapper to the DataSource. 122 virtual sp<IDataSource> asIDataSource(); 124 // returns a pointer to IDataSource if it is wrapped. 125 virtual sp<IDataSource> getIDataSource() const;
|
H A D | RemoteDataSource.h | 22 #include <media/IDataSource.h> 30 static sp<IDataSource> wrap(const sp<DataSource> &source) {
|
/frameworks/av/media/libstagefright/foundation/include/ |
H A D | CallbackDataSource.h | 25 class IDataSource; 28 // A stagefright DataSource that wraps a binder IDataSource. It's a "Callback" 29 // DataSource because it calls back to the IDataSource for data. 32 explicit CallbackDataSource(const sp<IDataSource>& iDataSource); 45 virtual sp<IDataSource> getIDataSource() const; 48 sp<IDataSource> mIDataSource; 59 // This reduces the number of binder round trips to the IDataSource and has a significant 74 virtual sp<IDataSource> getIDataSource() const;
|
H A D | DataSource.h | 35 class IDataSource; 58 static sp<DataSource> CreateFromIDataSource(const sp<IDataSource> &source); 121 // creates an IDataSource wrapper to the DataSource. 122 virtual sp<IDataSource> asIDataSource(); 124 // returns a pointer to IDataSource if it is wrapped. 125 virtual sp<IDataSource> getIDataSource() const;
|
H A D | RemoteDataSource.h | 22 #include <media/IDataSource.h> 30 static sp<IDataSource> wrap(const sp<DataSource> &source) {
|
/frameworks/av/media/libstagefright/include/ |
H A D | CallbackDataSource.h | 25 class IDataSource; 28 // A stagefright DataSource that wraps a binder IDataSource. It's a "Callback" 29 // DataSource because it calls back to the IDataSource for data. 32 explicit CallbackDataSource(const sp<IDataSource>& iDataSource); 45 virtual sp<IDataSource> getIDataSource() const; 48 sp<IDataSource> mIDataSource; 59 // This reduces the number of binder round trips to the IDataSource and has a significant 74 virtual sp<IDataSource> getIDataSource() const;
|
H A D | DataSource.h | 35 class IDataSource; 58 static sp<DataSource> CreateFromIDataSource(const sp<IDataSource> &source); 121 // creates an IDataSource wrapper to the DataSource. 122 virtual sp<IDataSource> asIDataSource(); 124 // returns a pointer to IDataSource if it is wrapped. 125 virtual sp<IDataSource> getIDataSource() const;
|
H A D | RemoteDataSource.h | 22 #include <media/IDataSource.h> 30 static sp<IDataSource> wrap(const sp<DataSource> &source) {
|
/frameworks/av/services/mediaextractor/ |
H A D | MediaExtractorService.h | 36 virtual sp<IMediaExtractor> makeExtractor(const sp<IDataSource> &source, const char *mime); 38 virtual sp<IDataSource> makeIDataSource(int fd, int64_t offset, int64_t length);
|
H A D | MediaExtractorService.cpp | 31 const sp<IDataSource> &remoteSource, const char *mime) { 49 sp<IDataSource> MediaExtractorService::makeIDataSource(int fd, int64_t offset, int64_t length)
|
/frameworks/av/media/libstagefright/ |
H A D | CallbackDataSource.cpp | 24 #include <media/IDataSource.h> 32 const sp<IDataSource>& binderDataSource) 58 // IDataSource can only read up to mMemory->size() bytes at a time, but this 94 // IDataSource will set size to -1 to indicate unknown size, but 116 sp<IDataSource> CallbackDataSource::getIDataSource() const { 198 sp<IDataSource> TinyCacheSource::getIDataSource() const {
|
H A D | DataSource.cpp | 23 #include <media/IDataSource.h> 101 sp<IDataSource> DataSource::getIDataSource() const { 192 sp<DataSource> DataSource::CreateFromIDataSource(const sp<IDataSource> &source) { 200 sp<IDataSource> DataSource::asIDataSource() {
|