Home
last modified time | relevance | path

Searched refs:DataSource (Results 1 – 25 of 159) sorted by relevance

1234567

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/util/
DDataSource.java15 public class DataSource { class
18 private DataSource(String dataSource) { in DataSource() method in DataSource
22 public static DataSource toDataSource(String path) { in toDataSource()
23 return new DataSource(path); in toDataSource()
26 public static DataSource toDataSource(Context context, Uri uri) { in toDataSource()
30 public static DataSource toDataSource(Context context, Uri uri, Map<String, String> headers) { in toDataSource()
34 public static DataSource toDataSource(String uri, Map<String, String> headers) { in toDataSource()
38 public static DataSource toDataSource(FileDescriptor fd) { in toDataSource()
43 public static DataSource toDataSource(FileDescriptor fd, long offset, long length) { in toDataSource()
57 if (obj == null || !(obj instanceof DataSource)) { in equals()
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/
DDefaultDataSource.java52 public final class DefaultDataSource implements DataSource {
64 private final DataSource baseDataSource;
67 @Nullable private DataSource fileDataSource;
68 @Nullable private DataSource assetDataSource;
69 @Nullable private DataSource contentDataSource;
70 @Nullable private DataSource rtmpDataSource;
71 @Nullable private DataSource udpDataSource;
72 @Nullable private DataSource dataSchemeDataSource;
73 @Nullable private DataSource rawResourceDataSource;
75 @Nullable private DataSource dataSource;
[all …]
DResolvingDataSource.java25 public final class ResolvingDataSource implements DataSource {
61 public static final class Factory implements DataSource.Factory {
63 private final DataSource.Factory upstreamFactory;
71 public Factory(DataSource.Factory upstreamFactory, Resolver resolver) { in Factory()
82 private final DataSource upstreamDataSource;
91 public ResolvingDataSource(DataSource upstreamDataSource, Resolver resolver) { in ResolvingDataSource()
DDefaultDataSourceFactory.java20 import com.google.android.exoplayer2.upstream.DataSource.Factory;
30 private final DataSource.Factory baseDataSourceFactory;
56 public DefaultDataSourceFactory(Context context, DataSource.Factory baseDataSourceFactory) { in DefaultDataSourceFactory()
70 DataSource.Factory baseDataSourceFactory) { in DefaultDataSourceFactory()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue10/
DBasicDumpTest.java29 DataSource base = new DataSource(); in testTag()
33 ArrayList<DataSource> dataSources = new ArrayList<DataSource>(); in testTag()
48 Iterator<DataSource> iter = dsOut.getDataSources().iterator(); in testTag()
54 DataSource base = new DataSource(); in testTag2()
58 ArrayList<DataSource> dataSources = new ArrayList<DataSource>(); in testTag2()
76 DataSource base = new DataSource(); in testTag3()
80 ArrayList<DataSource> dataSources = new ArrayList<DataSource>(); in testTag3()
95 Iterator<DataSource> iter = bean.getDataSources().iterator(); in testTag3()
DJDBCDataSource.java18 public class JDBCDataSource extends DataSource {
23 DataSource parent;
25 public DataSource getParent() { in getParent()
29 public void setParent(DataSource parent) { in setParent()
DDataSources.java21 List<DataSource> dataSources;
23 public List<DataSource> getDataSources() { in getDataSources()
27 public void setDataSources(List<DataSource> dataSources) { in setDataSources()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/cache/
DCacheDataSourceFactory.java20 import com.google.android.exoplayer2.upstream.DataSource;
25 public final class CacheDataSourceFactory implements DataSource.Factory {
28 private final DataSource.Factory upstreamFactory;
29 private final DataSource.Factory cacheReadDataSourceFactory;
43 public CacheDataSourceFactory(Cache cache, DataSource.Factory upstreamFactory) { in CacheDataSourceFactory()
50 Cache cache, DataSource.Factory upstreamFactory, @CacheDataSource.Flags int flags) { in CacheDataSourceFactory()
66 DataSource.Factory upstreamFactory, in CacheDataSourceFactory()
67 DataSource.Factory cacheReadDataSourceFactory, in CacheDataSourceFactory()
87 DataSource.Factory upstreamFactory, in CacheDataSourceFactory()
88 DataSource.Factory cacheReadDataSourceFactory, in CacheDataSourceFactory()
DCacheDataSource.java23 import com.google.android.exoplayer2.upstream.DataSource;
49 public final class CacheDataSource implements DataSource {
52 public static final class Factory implements DataSource.Factory {
55 private DataSource.Factory cacheReadDataSourceFactory;
59 @Nullable private DataSource.Factory upstreamDataSourceFactory;
92 public Factory setCacheReadDataSourceFactory(DataSource.Factory cacheReadDataSourceFactory) { in setCacheReadDataSourceFactory()
139 @Nullable DataSource.Factory upstreamDataSourceFactory) { in setUpstreamDataSourceFactory()
254 @Nullable DataSource upstreamDataSource, @Flags int flags, int upstreamPriority) { in createDataSourceInternal()
352 private final DataSource cacheReadDataSource;
353 @Nullable private final DataSource cacheWriteDataSource;
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowMediaMetadataRetriever.java3 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) { in setDataSource()
75 public static void addException(DataSource ds, RuntimeException e) { in addException()
79 public static void addMetadata(DataSource ds, int keyCode, String value) { in addMetadata()
101 public static void addFrame(DataSource ds, long time, Bitmap bitmap) { in addFrame()
/external/image_io/includes/image_io/jpeg/
Djpeg_apple_depth_builder.h33 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_;
/external/perfetto/src/profiling/memory/
Dheapprofd_producer.h219 struct DataSource { struct
220 explicit DataSource(std::unique_ptr<TraceWriter> tw) in DataSource() argument
263 void DumpProcessesInDataSource(DataSource* ds); argument
264 void DumpProcessState(DataSource* ds, pid_t pid, ProcessState* process);
272 DataSource* GetDataSourceForProcess(const Process& proc);
273 void RecordOtherSourcesAsRejected(DataSource* active_ds, const Process& proc);
275 void SetStartupProperties(DataSource* data_source);
276 void SignalRunningProcesses(DataSource* data_source);
283 void ShutdownDataSource(DataSource* ds);
284 bool MaybeFinishDataSource(DataSource* ds);
[all …]
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/
DDefaultHlsDataSourceFactory.java18 import com.google.android.exoplayer2.upstream.DataSource;
25 private final DataSource.Factory dataSourceFactory;
30 public DefaultHlsDataSourceFactory(DataSource.Factory dataSourceFactory) { in DefaultHlsDataSourceFactory()
35 public DataSource createDataSource(int dataType) { in createDataSource()
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/upstream/
DTransferListener.java47 void onTransferInitializing(DataSource source, DataSpec dataSpec, boolean isNetwork); in onTransferInitializing()
56 void onTransferStart(DataSource source, DataSpec dataSpec, boolean isNetwork); in onTransferStart()
67 DataSource source, DataSpec dataSpec, boolean isNetwork, int bytesTransferred); in onBytesTransferred()
76 void onTransferEnd(DataSource source, DataSpec dataSpec, boolean isNetwork); in onTransferEnd()
/external/image_io/src/jpeg/
Djpeg_image_extractor.cc46 DataSource::TransferDataResult result = data_source_->TransferData( in ExtractImage()
48 if (result == DataSource::kTransferDataError) { in ExtractImage()
50 } else if (result == DataSource::kTransferDataNone || in ExtractImage()
95 DataSource::TransferDataResult result = data_source_->TransferData( in ExtractImage()
97 if (result == DataSource::kTransferDataError) { in ExtractImage()
100 } else if (result == DataSource::kTransferDataNone) { in ExtractImage()
Djpeg_apple_depth_builder.cc50 bool GetJpegInfo(int image_limit, DataSource* data_source, JpegInfo* info, in GetJpegInfo()
66 bool JpegAppleDepthBuilder::Run(DataSource* primary_image_data_source, in Run()
67 DataSource* depth_image_data_source, in Run()
238 bool JpegAppleDepthBuilder::TransferData(DataSource* data_source, in TransferData()
241 DataSource::TransferDataResult result = in TransferData()
243 if (result == DataSource::kTransferDataSuccess) { in TransferData()
247 result = DataSource::kTransferDataError; in TransferData()
257 return result == DataSource::kTransferDataSuccess; in TransferData()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/
DSingleSampleMediaSource.java24 import com.google.android.exoplayer2.upstream.DataSource;
58 private final DataSource.Factory dataSourceFactory;
70 public Factory(DataSource.Factory dataSourceFactory) { in Factory()
180 private final DataSource.Factory dataSourceFactory;
201 Uri uri, DataSource.Factory dataSourceFactory, Format format, long durationUs) { in SingleSampleMediaSource()
222 DataSource.Factory dataSourceFactory, in SingleSampleMediaSource()
255 DataSource.Factory dataSourceFactory, in SingleSampleMediaSource()
278 DataSource.Factory dataSourceFactory, in SingleSampleMediaSource()
DProgressiveMediaSource.java29 import com.google.android.exoplayer2.upstream.DataSource;
52 private final DataSource.Factory dataSourceFactory;
67 public Factory(DataSource.Factory dataSourceFactory) { in Factory()
77 public Factory(DataSource.Factory dataSourceFactory, ExtractorsFactory extractorsFactory) { in Factory()
208 private final DataSource.Factory dataSourceFactory;
225 DataSource.Factory dataSourceFactory, in ProgressiveMediaSource()
264 DataSource dataSource = dataSourceFactory.createDataSource(); in createPeriod()
DExtractorMediaSource.java30 import com.google.android.exoplayer2.upstream.DataSource;
66 private final DataSource.Factory dataSourceFactory;
79 public Factory(DataSource.Factory dataSourceFactory) { in Factory()
241 DataSource.Factory dataSourceFactory, in ExtractorMediaSource()
263 DataSource.Factory dataSourceFactory, in ExtractorMediaSource()
295 DataSource.Factory dataSourceFactory, in ExtractorMediaSource()
316 DataSource.Factory dataSourceFactory, in ExtractorMediaSource()
/external/guice/extensions/persist/test/com/google/inject/persist/jpa/
DEnsureJpaCanTakeObjectsInPropertiesTest.java34 import javax.sql.DataSource;
42 final DataSource ds;
45 DBModule(DataSource ds, boolean passDataSource) { in DBModule()
80 private static DataSource getDataSource() { in getDataSource()
89 final DataSource dataSource = getDataSource(); in startPersistService()
/external/exoplayer/tree/extensions/rtmp/
DREADME.md3 The RTMP extension is a [DataSource][] implementation for playing [RTMP][]
6 [DataSource]: https://exoplayer.dev/doc/reference/com/google/android/exoplayer2/upstream/DataSource
37 ExoPlayer requests data through `DataSource` instances. These instances are
39 instances of `DataSource.Factory` that are instantiated and injected from
47 doesn't need to handle any other protocols, you can update any `DataSource`s and
48 `DataSource.Factory` instantiations in your application code to use
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/
DDashUtil.java34 import com.google.android.exoplayer2.upstream.DataSource;
72 public static DashManifest loadManifest(DataSource dataSource, Uri uri) throws IOException { in loadManifest()
85 public static DrmInitData loadDrmInitData(DataSource dataSource, Period period) in loadDrmInitData()
115 DataSource dataSource, int trackType, Representation representation) throws IOException { in loadSampleFormat()
137 DataSource dataSource, int trackType, Representation representation) throws IOException { in loadChunkIndex()
158 DataSource dataSource, int trackType, Representation representation, boolean loadIndex) in loadInitializationData()
186 DataSource dataSource, in loadInitializationData()
/external/autotest/frontend/client/src/autotest/common/table/
DDynamicTable.java4 import autotest.common.table.DataSource.DataCallback;
5 import autotest.common.table.DataSource.Query;
6 import autotest.common.table.DataSource.SortDirection;
7 import autotest.common.table.DataSource.SortSpec;
52 protected DataSource dataSource;
66 public DynamicTable(String[][] columns, DataSource dataSource) { in DynamicTable()
291 public DataSource getDataSource() { in getDataSource()
295 public void setDataSource(DataSource dataSource) { in setDataSource()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/crypto/
DAesCipherDataSource.java23 import com.google.android.exoplayer2.upstream.DataSource;
34 public final class AesCipherDataSource implements DataSource {
36 private final DataSource upstream;
41 public AesCipherDataSource(byte[] secretKey, DataSource upstream) { in AesCipherDataSource()
/external/guice/core/test/com/google/inject/example/
DJndiProviderClient.java27 import javax.sql.DataSource;
41 bind(DataSource.class).toProvider(fromJndi(DataSource.class, "...")); in main()

1234567