/external/exoplayer/tree/testutils/src/test/java/com/google/android/exoplayer2/testutil/ |
D | FakeDataSourceTest.java | 57 FakeDataSource dataSource = new FakeDataSource(fakeDataSet); in testReadFull() local 58 assertThat(dataSource.open(new DataSpec(uri))).isEqualTo(15); in testReadFull() 59 assertThat(dataSource.read(BUFFER, 0, BUFFER.length)).isEqualTo(10); in testReadFull() 61 assertThat(dataSource.read(BUFFER, 10, BUFFER.length)).isEqualTo(5); in testReadFull() 63 assertThat(dataSource.read(BUFFER, 15, BUFFER.length)).isEqualTo(C.RESULT_END_OF_INPUT); in testReadFull() 65 assertThat(dataSource.read(BUFFER, 20, BUFFER.length)).isEqualTo(C.RESULT_END_OF_INPUT); in testReadFull() 66 dataSource.close(); in testReadFull() 71 FakeDataSource dataSource = new FakeDataSource(fakeDataSet); in testReadPartialOpenEnded() local 72 assertThat(dataSource.open(new DataSpec(uri, 7, C.LENGTH_UNSET))).isEqualTo(8); in testReadPartialOpenEnded() 73 assertThat(dataSource.read(BUFFER, 0, BUFFER.length)).isEqualTo(3); in testReadPartialOpenEnded() [all …]
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/ |
D | DefaultDataSource.java | 75 @Nullable private DataSource dataSource; field in DefaultDataSource 151 Assertions.checkState(dataSource == null); in open() 157 dataSource = getAssetDataSource(); in open() 159 dataSource = getFileDataSource(); in open() 162 dataSource = getAssetDataSource(); in open() 164 dataSource = getContentDataSource(); in open() 166 dataSource = getRtmpDataSource(); in open() 168 dataSource = getUdpDataSource(); in open() 170 dataSource = getDataSchemeDataSource(); in open() 172 dataSource = getRawResourceDataSource(); in open() [all …]
|
D | ParsingLoadable.java | 65 public static <T> T load(DataSource dataSource, Parser<? extends T> parser, Uri uri, int type) in load() argument 67 ParsingLoadable<T> loadable = new ParsingLoadable<>(dataSource, uri, type, parser); in load() 83 DataSource dataSource, Parser<? extends T> parser, DataSpec dataSpec, int type) in load() argument 85 ParsingLoadable<T> loadable = new ParsingLoadable<>(dataSource, dataSpec, type, parser); in load() 100 private final StatsDataSource dataSource; field in ParsingLoadable 111 public ParsingLoadable(DataSource dataSource, Uri uri, int type, Parser<? extends T> parser) { in ParsingLoadable() argument 113 dataSource, in ParsingLoadable() 125 public ParsingLoadable(DataSource dataSource, DataSpec dataSpec, int type, in ParsingLoadable() argument 127 this.dataSource = new StatsDataSource(dataSource); in ParsingLoadable() 145 return dataSource.getBytesRead(); in bytesLoaded() [all …]
|
D | StatsDataSource.java | 33 private final DataSource dataSource; field in StatsDataSource 44 public StatsDataSource(DataSource dataSource) { in StatsDataSource() argument 45 this.dataSource = Assertions.checkNotNull(dataSource); in StatsDataSource() 75 dataSource.addTransferListener(transferListener); in addTransferListener() 83 long availableBytes = dataSource.open(dataSpec); in open() 91 int bytesRead = dataSource.read(buffer, offset, readLength); in read() 101 return dataSource.getUri(); in getUri() 106 return dataSource.getResponseHeaders(); in getResponseHeaders() 111 dataSource.close(); in close()
|
D | DataSourceInputStream.java | 29 private final DataSource dataSource; field in DataSourceInputStream 41 public DataSourceInputStream(DataSource dataSource, DataSpec dataSpec) { in DataSourceInputStream() argument 42 this.dataSource = dataSource; in DataSourceInputStream() 82 int bytesRead = dataSource.read(buffer, offset, length); in read() 94 dataSource.close(); in close() 101 dataSource.open(dataSpec); in checkOpened()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/ |
D | SingleSampleMediaPeriod.java | 153 DataSource dataSource = dataSourceFactory.createDataSource(); in continueLoading() local 155 dataSource.addTransferListener(transferListener); in continueLoading() 159 new SourceLoadable(dataSpec, dataSource), in continueLoading() 216 sampleSize = (int) loadable.dataSource.getBytesRead(); in onLoadCompleted() 219 StatsDataSource dataSource = loadable.dataSource; in onLoadCompleted() local 223 dataSource.getLastOpenedUri(), in onLoadCompleted() 224 dataSource.getLastResponseHeaders(), in onLoadCompleted() 240 StatsDataSource dataSource = loadable.dataSource; in onLoadCanceled() local 244 dataSource.getLastOpenedUri(), in onLoadCanceled() 245 dataSource.getLastResponseHeaders(), in onLoadCanceled() [all …]
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/util/ |
D | DataSource.java | 16 private String dataSource; field in DataSource 18 private DataSource(String dataSource) { in DataSource() argument 19 this.dataSource = dataSource; in DataSource() 49 return ((dataSource == null) ? 0 : dataSource.hashCode()); in hashCode() 61 if (dataSource == null) { in equals() 62 if (other.dataSource != null) { in equals() 65 } else if (!dataSource.equals(other.dataSource)) { in equals()
|
/external/exoplayer/tree/extensions/flac/src/androidTest/java/com/google/android/exoplayer2/ext/flac/ |
D | FlacExtractorSeekTest.java | 47 private DefaultDataSource dataSource = field in FlacExtractorSeekTest 55 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in flacExtractorReads_seekTable_returnSeekableSeekMap() 66 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_seekTable_handlesSeekToZero() 72 extractor, seekMap, targetSeekTimeUs, dataSource, trackOutput, fileUri); in seeking_seekTable_handlesSeekToZero() 83 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_seekTable_handlesSeekToEoF() 89 extractor, seekMap, targetSeekTimeUs, dataSource, trackOutput, fileUri); in seeking_seekTable_handlesSeekToEoF() 100 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_seekTable_handlesSeekingBackward() 104 TestUtil.seekToTimeUs(extractor, seekMap, firstSeekTimeUs, dataSource, trackOutput, fileUri); in seeking_seekTable_handlesSeekingBackward() 108 extractor, seekMap, targetSeekTimeUs, dataSource, trackOutput, fileUri); in seeking_seekTable_handlesSeekingBackward() 119 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_seekTable_handlesSeekingForward() [all …]
|
/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/flac/ |
D | FlacExtractorSeekTest.java | 47 private DefaultDataSource dataSource = field in FlacExtractorSeekTest 55 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in flacExtractorReads_seekTable_returnSeekableSeekMap() 66 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_seekTable_handlesSeekToZero() 72 extractor, seekMap, targetSeekTimeUs, dataSource, trackOutput, fileUri); in seeking_seekTable_handlesSeekToZero() 83 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_seekTable_handlesSeekToEoF() 89 extractor, seekMap, targetSeekTimeUs, dataSource, trackOutput, fileUri); in seeking_seekTable_handlesSeekToEoF() 100 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_seekTable_handlesSeekingBackward() 104 TestUtil.seekToTimeUs(extractor, seekMap, firstSeekTimeUs, dataSource, trackOutput, fileUri); in seeking_seekTable_handlesSeekingBackward() 108 extractor, seekMap, targetSeekTimeUs, dataSource, trackOutput, fileUri); in seeking_seekTable_handlesSeekingBackward() 119 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_seekTable_handlesSeekingForward() [all …]
|
/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/amr/ |
D | AmrExtractorSeekTest.java | 49 private DefaultDataSource dataSource; field in AmrExtractorSeekTest 53 dataSource = in setUp() 70 TestUtil.extractSeekMap(extractor, new FakeExtractorOutput(), dataSource, fileUri); in amrExtractorReads_returnSeekableSeekMap_forNarrowBandAmr() 91 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_handlesSeekingToPositionInFile_extractsCorrectFrame_forNarrowBandAmr() 97 extractor, seekMap, targetSeekTimeUs, dataSource, trackOutput, fileUri); in seeking_handlesSeekingToPositionInFile_extractsCorrectFrame_forNarrowBandAmr() 116 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_handlesSeekToEoF_extractsLastFrame_forNarrowBandAmr() 123 extractor, seekMap, targetSeekTimeUs, dataSource, trackOutput, fileUri); in seeking_handlesSeekToEoF_extractsLastFrame_forNarrowBandAmr() 143 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_handlesSeekingBackward_extractsCorrectFrames_forNarrowBandAmr() 147 TestUtil.seekToTimeUs(extractor, seekMap, firstSeekTimeUs, dataSource, trackOutput, fileUri); in seeking_handlesSeekingBackward_extractsCorrectFrames_forNarrowBandAmr() 152 extractor, seekMap, targetSeekTimeUs, dataSource, trackOutput, fileUri); in seeking_handlesSeekingBackward_extractsCorrectFrames_forNarrowBandAmr() [all …]
|
/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/ts/ |
D | TsExtractorSeekTest.java | 52 private DefaultDataSource dataSource; field in TsExtractorSeekTest 64 dataSource = in setUp() 75 TestUtil.extractSeekMap(extractor, new FakeExtractorOutput(), dataSource, fileUri); in tsExtractorReads_nonSeekTableFile_returnSeekableSeekMap() 89 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in handlePendingSeek_handlesSeekingToPositionInFile_extractsCorrectFrame() 95 extractor, seekMap, targetSeekTimeUs, dataSource, trackOutput, fileUri); in handlePendingSeek_handlesSeekingToPositionInFile_extractsCorrectFrame() 108 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in handlePendingSeek_handlesSeekToEoF_extractsLastFrame() 115 extractor, seekMap, targetSeekTimeUs, dataSource, trackOutput, fileUri); in handlePendingSeek_handlesSeekToEoF_extractsLastFrame() 128 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in handlePendingSeek_handlesSeekingBackward_extractsCorrectFrame() 132 TestUtil.seekToTimeUs(extractor, seekMap, firstSeekTimeUs, dataSource, trackOutput, fileUri); in handlePendingSeek_handlesSeekingBackward_extractsCorrectFrame() 137 extractor, seekMap, targetSeekTimeUs, dataSource, trackOutput, fileUri); in handlePendingSeek_handlesSeekingBackward_extractsCorrectFrame() [all …]
|
D | AdtsExtractorSeekTest.java | 47 private DefaultDataSource dataSource; field in AdtsExtractorSeekTest 51 dataSource = in setUp() 68 TestUtil.extractSeekMap(extractor, new FakeExtractorOutput(), dataSource, fileUri); in adtsExtractorReads_returnSeekableSeekMap() 88 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_handlesSeekingToPositionInFile_extractsCorrectSample() 94 extractor, seekMap, targetSeekTimeUs, dataSource, trackOutput, fileUri); in seeking_handlesSeekingToPositionInFile_extractsCorrectSample() 113 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_handlesSeekToEoF_extractsLastSample() 120 extractor, seekMap, targetSeekTimeUs, dataSource, trackOutput, fileUri); in seeking_handlesSeekToEoF_extractsLastSample() 139 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_handlesSeekingBackward_extractsCorrectSamples() 143 TestUtil.seekToTimeUs(extractor, seekMap, firstSeekTimeUs, dataSource, trackOutput, fileUri); in seeking_handlesSeekingBackward_extractsCorrectSamples() 148 extractor, seekMap, targetSeekTimeUs, dataSource, trackOutput, fileUri); in seeking_handlesSeekingBackward_extractsCorrectSamples() [all …]
|
/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/mp3/ |
D | ConstantBitrateSeekerTest.java | 48 private DefaultDataSource dataSource; field in ConstantBitrateSeekerTest 54 dataSource = in setUp() 63 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in mp3ExtractorReads_returnSeekableCbrSeeker() 74 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_handlesSeekToZero() 80 extractor, seekMap, targetSeekTimeUs, dataSource, trackOutput, fileUri); in seeking_handlesSeekToZero() 91 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_handlesSeekToEoF() 97 extractor, seekMap, targetSeekTimeUs, dataSource, trackOutput, fileUri); in seeking_handlesSeekToEoF() 108 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_handlesSeekingBackward() 112 TestUtil.seekToTimeUs(extractor, seekMap, firstSeekTimeUs, dataSource, trackOutput, fileUri); in seeking_handlesSeekingBackward() 116 extractor, seekMap, targetSeekTimeUs, dataSource, trackOutput, fileUri); in seeking_handlesSeekingBackward() [all …]
|
D | IndexSeekerTest.java | 48 private DefaultDataSource dataSource; field in IndexSeekerTest 54 dataSource = in setUp() 63 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in mp3ExtractorReads_returnsSeekableSeekMap() 83 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_handlesSeekToZero() 89 extractor, seekMap, targetSeekTimeUs, dataSource, trackOutput, fileUri); in seeking_handlesSeekToZero() 101 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_handlesSeekToEof() 107 extractor, seekMap, targetSeekTimeUs, dataSource, trackOutput, fileUri); in seeking_handlesSeekToEof() 119 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_handlesSeekingBackward() 123 TestUtil.seekToTimeUs(extractor, seekMap, firstSeekTimeUs, dataSource, trackOutput, fileUri); in seeking_handlesSeekingBackward() 127 extractor, seekMap, targetSeekTimeUs, dataSource, trackOutput, fileUri); in seeking_handlesSeekingBackward() [all …]
|
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/ |
D | DashUtil.java | 72 public static DashManifest loadManifest(DataSource dataSource, Uri uri) throws IOException { in loadManifest() argument 73 return ParsingLoadable.load(dataSource, new DashManifestParser(), uri, C.DATA_TYPE_MANIFEST); in loadManifest() 85 public static DrmInitData loadDrmInitData(DataSource dataSource, Period period) in loadDrmInitData() argument 97 Format sampleFormat = DashUtil.loadSampleFormat(dataSource, primaryTrackType, representation); in loadDrmInitData() 115 DataSource dataSource, int trackType, Representation representation) throws IOException { in loadSampleFormat() argument 116 ChunkExtractorWrapper extractorWrapper = loadInitializationData(dataSource, trackType, in loadSampleFormat() 137 DataSource dataSource, int trackType, Representation representation) throws IOException { in loadChunkIndex() argument 138 ChunkExtractorWrapper extractorWrapper = loadInitializationData(dataSource, trackType, in loadChunkIndex() 158 DataSource dataSource, int trackType, Representation representation, boolean loadIndex) in loadInitializationData() argument 175 loadInitializationData(dataSource, representation, extractorWrapper, initializationUri); in loadInitializationData() [all …]
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/chunk/ |
D | Chunk.java | 69 protected final StatsDataSource dataSource; field in Chunk 82 DataSource dataSource, in Chunk() argument 90 this.dataSource = new StatsDataSource(dataSource); in Chunk() 112 return dataSource.getBytesRead(); in bytesLoaded() 123 return dataSource.getLastOpenedUri(); in getUri() 133 return dataSource.getLastResponseHeaders(); in getResponseHeaders()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/offline/ |
D | SegmentDownloader.java | 108 CacheDataSource dataSource = cacheDataSourceFactory.createDataSourceForDownloading(); in download() local 109 @Nullable PriorityTaskManager priorityTaskManager = dataSource.getUpstreamPriorityTaskManager(); in download() 115 M manifest = getManifest(dataSource, manifestDataSpec); in download() 119 List<Segment> segments = getSegments(dataSource, manifest, /* allowIncompleteList= */ false); in download() 121 mergeSegments(segments, dataSource.getCacheKeyFactory()); in download() 132 segment.dataSpec, dataSource.getCache(), dataSource.getCacheKeyFactory()); in download() 164 dataSource, in download() 188 CacheDataSource dataSource = cacheDataSourceFactory.createDataSourceForRemovingDownload(); in remove() local 189 Cache cache = dataSource.getCache(); in remove() 190 CacheKeyFactory cacheKeyFactory = dataSource.getCacheKeyFactory(); in remove() [all …]
|
D | ProgressiveDownloader.java | 35 private final CacheDataSource dataSource; field in ProgressiveDownloader 71 dataSource = cacheDataSourceFactory.createDataSourceForDownloading(); in ProgressiveDownloader() 78 @Nullable PriorityTaskManager priorityTaskManager = dataSource.getUpstreamPriorityTaskManager(); in download() 84 dataSource, in download() 104 CacheUtil.remove(dataSpec, dataSource.getCache(), dataSource.getCacheKeyFactory()); in remove()
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/upstream/cache/ |
D | CacheUtilTest.java | 200 FakeDataSource dataSource = new FakeDataSource(fakeDataSet); in cache() local 204 cache, new DataSpec(Uri.parse("test_data")), dataSource, counters, /* isCanceled= */ null); in cache() 213 FakeDataSource dataSource = new FakeDataSource(fakeDataSet); in cacheSetOffsetAndLength() local 218 CacheUtil.cache(cache, dataSpec, dataSource, counters, /* isCanceled= */ null); in cacheSetOffsetAndLength() 223 CacheUtil.cache(cache, new DataSpec(testUri), dataSource, counters, /* isCanceled= */ null); in cacheSetOffsetAndLength() 234 FakeDataSource dataSource = new FakeDataSource(fakeDataSet); in cacheUnknownLength() local 238 CacheUtil.cache(cache, dataSpec, dataSource, counters, /* isCanceled= */ null); in cacheUnknownLength() 249 FakeDataSource dataSource = new FakeDataSource(fakeDataSet); in cacheUnknownLengthPartialCaching() local 254 CacheUtil.cache(cache, dataSpec, dataSource, counters, /* isCanceled= */ null); in cacheUnknownLengthPartialCaching() 259 CacheUtil.cache(cache, new DataSpec(testUri), dataSource, counters, /* isCanceled= */ null); in cacheUnknownLengthPartialCaching() [all …]
|
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/ |
D | TestUtil.java | 65 public static byte[] readToEnd(DataSource dataSource) throws IOException { in readToEnd() argument 73 bytesRead = dataSource.read(data, position, data.length - position); in readToEnd() 89 public static byte[] readExactly(DataSource dataSource, int length) throws IOException { in readExactly() argument 93 int bytesRead = dataSource.read(data, position, data.length - position); in readExactly() 256 DataSource dataSource, DataSpec dataSpec, byte[] expectedData, boolean expectKnownLength) in assertDataSourceContent() argument 259 long length = dataSource.open(dataSpec); in assertDataSourceContent() 261 byte[] readData = readToEnd(dataSource); in assertDataSourceContent() 264 dataSource.close(); in assertDataSourceContent() 346 Extractor extractor, FakeExtractorOutput output, DataSource dataSource, Uri uri) in extractSeekMap() argument 348 ExtractorInput input = getExtractorInputFromPosition(dataSource, /* position= */ 0, uri); in extractSeekMap() [all …]
|
/external/guice/extensions/persist/test/com/google/inject/persist/jpa/ |
D | EnsureJpaCanTakeObjectsInPropertiesTest.java | 81 final JDBCDataSource dataSource = new JDBCDataSource(); in getDataSource() local 82 dataSource.setDatabase("jdbc:hsqldb:mem:persistence"); in getDataSource() 83 dataSource.setUser("sa"); in getDataSource() 84 dataSource.setPassword(""); in getDataSource() 85 return dataSource; in getDataSource() 89 final DataSource dataSource = getDataSource(); in startPersistService() local 91 injector = Guice.createInjector(new DBModule(dataSource, passDataSource)); in startPersistService()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowMediaMetadataRetriever.java | 19 private DataSource dataSource; field in ShadowMediaMetadataRetriever 24 public void setDataSource(DataSource dataSource) { in setDataSource() argument 25 RuntimeException e = exceptions.get(dataSource); in setDataSource() 30 this.dataSource = dataSource; in setDataSource() 55 if (metadata.containsKey(dataSource)) { in extractMetadata() 56 return metadata.get(dataSource).get(keyCode); in extractMetadata() 63 return (frames.containsKey(dataSource) ? in getFrameAtTime() 64 frames.get(dataSource).get(timeUs) : null); in getFrameAtTime()
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | CLDRFile.java | 138 XMLSource dataSource; // TODO(jchye): make private field in CLDRFile 154 + " locale=" + dataSource.getLocaleID() in toString() 155 + " dataSource=" + dataSource.toString() in toString() 162 + " locale=" + dataSource.getLocaleID() in toString() 164 + " dataSource=" + dataSource.toString(regex) in toString() 174 dataSource.setNonInheriting(isSupplemental); in setNonInheriting() 179 return dataSource.isNonInheriting(); in isNonInheriting() 191 public CLDRFile(XMLSource dataSource) { in CLDRFile() argument 192 this.dataSource = dataSource; in CLDRFile() 200 public CLDRFile(XMLSource dataSource, XMLSource... resolvingParents) { in CLDRFile() argument [all …]
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/cache/ |
D | CacheUtil.java | 157 CacheDataSource dataSource, in cache() argument 164 Assertions.checkNotNull(dataSource); in cache() 167 Cache cache = dataSource.getCache(); in cache() 168 CacheKeyFactory cacheKeyFactory = dataSource.getCacheKeyFactory(); in cache() 199 dataSource, in cache() 247 CacheDataSource dataSource, in readAndDiscard() argument 256 @Nullable PriorityTaskManager priorityTaskManager = dataSource.getUpstreamPriorityTaskManager(); in readAndDiscard() 260 priorityTaskManager.proceed(dataSource.getUpstreamPriority()); in readAndDiscard() 273 dataSource.open(dataSpec.subrange(positionOffset, endOffset - positionOffset)); in readAndDiscard() 279 Util.closeQuietly(dataSource); in readAndDiscard() [all …]
|
/external/autotest/frontend/client/src/autotest/tko/ |
D | SpreadsheetDataProcessor.java | 28 private TestGroupDataSource dataSource; field in SpreadsheetDataProcessor 116 List<List<String>> rowHeaderValues = dataSource.getHeaderGroupValues(0); in processHeaders() 117 List<List<String>> columnHeaderValues = dataSource.getHeaderGroupValues(1); in processHeaders() 152 dataSource.query(condition, this); in refresh() 204 dataSource.setHeaderGroups(headerGroups); in setHeaders() 205 dataSource.setQueryParameters(queryParameters); in setHeaders() 216 public void setDataSource(TestGroupDataSource dataSource) { in setDataSource() argument 217 this.dataSource = dataSource; in setDataSource() 221 return dataSource; in getDataSource()
|