/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/util/ |
D | DataSource.java | 15 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/ |
D | DefaultDataSource.java | 52 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 …]
|
D | ResolvingDataSource.java | 25 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()
|
D | DefaultDataSourceFactory.java | 20 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/ |
D | BasicDumpTest.java | 29 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()
|
D | JDBCDataSource.java | 18 public class JDBCDataSource extends DataSource { 23 DataSource parent; 25 public DataSource getParent() { in getParent() 29 public void setParent(DataSource parent) { in setParent()
|
D | DataSources.java | 21 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/ |
D | CacheDataSourceFactory.java | 20 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()
|
D | CacheDataSource.java | 23 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/ |
D | 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) { 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/ |
D | 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_;
|
/external/perfetto/src/profiling/memory/ |
D | heapprofd_producer.h | 192 struct DataSource { struct 193 DataSource(std::unique_ptr<TraceWriter> tw) : trace_writer(std::move(tw)) {} in DataSource() argument 234 void DumpProcessState(DataSource* ds, pid_t pid, ProcessState* process); 240 DataSource* GetDataSourceForProcess(const Process& proc); 241 void RecordOtherSourcesAsRejected(DataSource* active_ds, const Process& proc); 243 void SetStartupProperties(DataSource* data_source); 244 void SignalRunningProcesses(DataSource* data_source); 255 void ShutdownDataSource(DataSource* ds); 256 bool MaybeFinishDataSource(DataSource* ds); 286 std::map<DataSourceInstanceID, DataSource> data_sources_;
|
D | heapprofd_producer.cc | 379 DataSource data_source(endpoint_->CreateTraceWriter(buffer_id)); in SetupDataSource() 405 const DataSource& ds = pair.second; in IsPidProfiled() 426 void HeapprofdProducer::SetStartupProperties(DataSource* data_source) { in SetStartupProperties() 436 void HeapprofdProducer::SignalRunningProcesses(DataSource* data_source) { in SignalRunningProcesses() 488 DataSource& data_source = it->second; in StartDataSource() 535 DataSource& data_source = it->second; in StopDataSource() 540 void HeapprofdProducer::ShutdownDataSource(DataSource* data_source) { in ShutdownDataSource() 577 DataSource& ds = ds_it->second; in ShutdownDataSource() 602 void HeapprofdProducer::DumpProcessState(DataSource* data_source, in DumpProcessState() 677 DataSource& data_source = it->second; in DumpProcessesInDataSource() [all …]
|
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/ |
D | DefaultHlsDataSourceFactory.java | 18 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/ |
D | TransferListener.java | 47 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/ |
D | jpeg_image_extractor.cc | 46 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()
|
D | jpeg_apple_depth_builder.cc | 50 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/ |
D | SingleSampleMediaSource.java | 24 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()
|
D | ProgressiveMediaSource.java | 29 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()
|
/external/guice/extensions/persist/test/com/google/inject/persist/jpa/ |
D | EnsureJpaCanTakeObjectsInPropertiesTest.java | 34 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/ |
D | README.md | 3 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/perfetto/include/perfetto/tracing/ |
D | data_source.h | 158 class DataSource : public DataSourceBase { 226 friend class DataSource; 466 internal::DataSourceStaticState DataSource<T, D>::static_state_; 468 thread_local internal::DataSourceThreadLocalState* DataSource<T, D>::tls_state_; 483 perfetto::DataSource<__VA_ARGS__>::static_state_; \ 487 perfetto::DataSource<__VA_ARGS__>::tls_state_ 494 perfetto::DataSource<__VA_ARGS__>::static_state_{}; \ 498 perfetto::DataSource<__VA_ARGS__>::tls_state_ = nullptr
|
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/ |
D | DashUtil.java | 34 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/ |
D | DynamicTable.java | 4 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/ |
D | AesCipherDataSource.java | 23 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()
|