HomeSort by relevance Sort by last modified time
    Searched refs:DataSource (Results 1 - 25 of 116) sorted by null

1 2 3 4 5

  /frameworks/av/media/ndk/
NdkMediaDataSourceCallbacks.cpp 21 #include <media/DataSource.h>
27 DataSource *source = static_cast<DataSource *>(userdata);
34 DataSource *source = static_cast<DataSource *>(userdata);
39 DataSource *source = static_cast<DataSource *>(userdata);
45 DataSource *source = static_cast<DataSource *>(userdata);
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/util/
DataSource.java 15 public class DataSource {
16 private String dataSource;
18 private DataSource(String dataSource) {
19 this.dataSource = dataSource;
22 public static DataSource toDataSource(String path) {
23 return new DataSource(path);
26 public static DataSource toDataSource(Context context, Uri uri) {
30 public static DataSource toDataSource(Context context, Uri uri, Map<String, String> headers)
    [all...]
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue10/
DataSources.java 21 List<DataSource> dataSources;
23 public List<DataSource> getDataSources() {
27 public void setDataSources(List<DataSource> dataSources) {
JDBCDataSource.java 18 public class JDBCDataSource extends DataSource {
23 DataSource parent;
25 public DataSource getParent() {
29 public void setParent(DataSource parent) {
BasicDumpTest.java 29 DataSource base = new DataSource();
33 ArrayList<DataSource> dataSources = new ArrayList<DataSource>();
48 Iterator<DataSource> iter = dsOut.getDataSources().iterator();
49 assertFalse("Must be DataSource.", iter.next() instanceof JDBCDataSource);
54 DataSource base = new DataSource();
58 ArrayList<DataSource> dataSources = new ArrayList<DataSource>();
    [all...]
DataSource.java 18 public class DataSource {
  /frameworks/av/media/libstagefright/include/media/stagefright/
DataSource.h 36 class DataSource : public DataSourceBase, public virtual RefBase {
38 DataSource() : mWrapper(NULL) {}
81 return ((DataSource*)handle)->readAt(offset, data, size);
84 return ((DataSource*)handle)->getSize(size);
87 return ((DataSource*)handle)->flags();
90 return ((DataSource*)handle)->getUri(uriString, bufferSize);
96 virtual ~DataSource() {
102 DataSource(const DataSource &);
103 DataSource &operator=(const DataSource &)
    [all...]
DataSourceFactory.h 32 static sp<DataSource> CreateFromURI(
39 static sp<DataSource> CreateMediaHTTP(const sp<MediaHTTPService> &httpService);
40 static sp<DataSource> CreateFromFd(int fd, int64_t offset, int64_t length);
JPEGSource.h 25 class DataSource;
29 JPEGSource(const sp<DataSource> &source);
42 sp<DataSource> mSource;
InterfaceUtils.h 28 class DataSource;
35 // Creates a DataSource which wraps the given IDataSource object.
36 sp<DataSource> CreateDataSourceFromIDataSource(const sp<IDataSource> &source);
38 // creates an IDataSource wrapper to the DataSource.
39 sp<IDataSource> CreateIDataSourceFromDataSource(const sp<DataSource> &source);
44 const sp<DataSource> &source,
DataURISource.h 21 #include <media/DataSource.h>
28 struct DataURISource : public DataSource {
RemoteMediaExtractor.h 33 const sp<DataSource> &source,
48 sp<DataSource> mSource;
55 const sp<DataSource> &source,
MediaExtractorFactory.h 29 class DataSource;
35 const sp<DataSource> &source, const char *mime = NULL);
37 const sp<DataSource> &source, const char *mime = NULL);
54 static void *sniff(const sp<DataSource> &source,
  /external/image_io/includes/image_io/base/
data_source.h 14 /// DataSource is the abstract base class for implementations that can provide
20 /// Pushing with a DataSource can be a convenient alternative to using a
23 /// a DataSource. The push model provides the most efficient (i.e., least
33 /// function - depending on the implementation of the DataSource, the segment it
35 /// a portion of it that was read from a file. In the first case, the DataSource
37 /// case, the DataSource might very well want to pass ownership on to the caller
43 /// to a DataSegment, with the ownership firmly held by the DataSource.
44 class DataSource {
53 /// DataRange was empty or the DataSource was not able to supply any data
61 virtual ~DataSource() = default
    [all...]
  /external/image_io/includes/image_io/jpeg/
jpeg_apple_depth_builder.h 33 bool Run(DataSource* primary_image_data_source,
34 DataSource* depth_image_data_source,
72 bool TransferData(DataSource *data_source, const DataRange& data_range);
78 DataSource* primary_image_data_source_;
81 DataSource* depth_image_data_source_;
jpeg_scanner.h 15 /// JpegScanner reads DataSegments from a DataSource, finds interesting
29 /// @param data_source The DataSource from which to obtain DataSegments.
31 void Run(DataSource* data_source, JpegSegmentProcessor* segment_processor);
43 /// @return The DataSource from which DataSegments are being read.
44 DataSource* GetDataSource() const { return data_source_; }
71 /// Asks the DataSource for the next DataSegment.
78 /// The DataSource from which DataSegments are obtained.
79 DataSource* data_source_;
87 /// Depending on the DataSource, a given JpegSegment may span up to two
92 /// The current location of the scanner in the DataSource
    [all...]
jpeg_image_extractor.h 13 /// Apple depth and GDepth/GImage images from a DataSource and ship it to a
18 /// @param data_source The DataSource from which to transfer depth/image data.
20 JpegImageExtractor(const JpegInfo& jpeg_info, DataSource* data_source,
26 /// This function extracts the Apple depth image from the DataSource and sends
32 /// This function extracts the Apple matte image from the DataSource and sends
38 /// This function extracts the GDepth type image from the DataSource and
44 /// This function extracts the GImage type image from the DataSource and
72 DataSource* data_source_;
  /external/guice/core/test/com/google/inject/example/
JndiProviderClient.java 27 import javax.sql.DataSource;
40 // Bind to DataSource from JNDI.
41 bind(DataSource.class).toProvider(fromJndi(DataSource.class, "..."));
  /frameworks/av/media/libstagefright/include/
ThrottledSource.h 21 #include <media/DataSource.h>
26 struct ThrottledSource : public DataSource {
28 const sp<DataSource> &source,
34 // returns an empty string to prevent callers from using the Uri to construct a new datasource
39 // following methods all call through to the wrapped DataSource's methods
68 sp<DataSource> mSource;
CallbackDataSource.h 20 #include <media/DataSource.h>
28 // A stagefright DataSource that wraps a binder IDataSource. It's a "Callback"
29 // DataSource because it calls back to the IDataSource for data.
30 class CallbackDataSource : public DataSource {
35 // DataSource implementation.
57 // A caching DataSource that wraps a CallbackDataSource. For reads smaller
61 class TinyCacheSource : public DataSource {
63 explicit TinyCacheSource(const sp<DataSource>& source);
84 sp<DataSource> mSource;
  /external/autotest/frontend/client/src/autotest/afe/
HostTable.java 3 import autotest.common.table.DataSource;
28 public HostTable(DataSource dataSource) {
29 this(dataSource, false);
32 public HostTable(DataSource dataSource, boolean wantSelect) {
33 super(wantSelect ? HOST_COLUMNS_SELECT : HOST_COLUMNS, dataSource);
  /frameworks/av/media/libmedia/
DataSourceDesc.cpp 20 #include <media/DataSource.h>
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowMediaMetadataRetriever.java 3 import static org.robolectric.shadows.util.DataSource.toDataSource;
15 import org.robolectric.shadows.util.DataSource;
19 private DataSource dataSource;
20 private static final Map<DataSource, Map<Integer, String>> metadata = new HashMap<>();
21 private static final Map<DataSource, Map<Long, Bitmap>> frames = new HashMap<>();
22 private static final Map<DataSource, RuntimeException> exceptions = new HashMap<>();
24 public void setDataSource(DataSource dataSource) {
25 RuntimeException e = exceptions.get(dataSource);
    [all...]
  /external/guice/extensions/persist/test/com/google/inject/persist/jpa/
EnsureJpaCanTakeObjectsInPropertiesTest.java 34 import javax.sql.DataSource;
42 final DataSource ds;
45 DBModule(DataSource ds, boolean passDataSource) {
56 p.put(Environment.DATASOURCE, ds);
80 private static DataSource getDataSource() {
81 final JDBCDataSource dataSource = new JDBCDataSource();
82 dataSource.setDatabase("jdbc:hsqldb:mem:persistence");
83 dataSource.setUser("sa");
84 dataSource.setPassword("");
85 return dataSource;
    [all...]
  /external/image_io/src/jpeg/
jpeg_image_extractor.cc 21 /// The optimim size to use for the DataSource::TransferData() function.
46 DataSource::TransferDataResult result = data_source_->TransferData(
48 if (result == DataSource::kTransferDataError) {
50 } else if (result == DataSource::kTransferDataNone ||
95 DataSource::TransferDataResult result = data_source_->TransferData(
97 if (result == DataSource::kTransferDataError) {
100 } else if (result == DataSource::kTransferDataNone) {

Completed in 1289 milliseconds

1 2 3 4 5