Home
last modified time | relevance | path

Searched refs:readPosition (Results 1 – 9 of 9) sorted by relevance

/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DFakeExtractorInput.java65 private int readPosition; field in FakeExtractorInput
87 readPosition = 0; in reset()
103 readPosition = position; in setPosition()
109 checkIOException(readPosition, failedReadPositions); in read()
110 length = getLengthToRead(readPosition, length, partiallySatisfiedTargetReadPositions); in read()
117 checkIOException(readPosition, failedReadPositions); in readFully()
128 checkIOException(readPosition, failedReadPositions); in skip()
129 length = getLengthToRead(readPosition, length, partiallySatisfiedTargetReadPositions); in skip()
135 checkIOException(readPosition, failedReadPositions); in skipFully()
180 peekPosition = readPosition; in resetPeekPosition()
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/
DSampleQueue.java78 private int readPosition; field in SampleQueue
156 readPosition = 0; in reset()
227 return absoluteFirstIndex + readPosition; in getReadIndex()
237 int relativeReadIndex = getRelativeIndex(readPosition); in peekSourceId()
298 int relativeReadIndex = getRelativeIndex(readPosition); in isReady()
360 readPosition = sampleIndex - absoluteFirstIndex; in seekTo()
374 int relativeReadIndex = getRelativeIndex(readPosition); in seekTo()
381 findSampleBefore(relativeReadIndex, length - readPosition, timeUs, /* keyframe= */ true); in seekTo()
385 readPosition += offset; in seekTo()
396 int relativeReadIndex = getRelativeIndex(readPosition); in advanceTo()
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/
DDataSchemeDataSource.java37 private int readPosition; field in DataSchemeDataSource
47 readPosition = (int) dataSpec.position; in open()
69 dataSpec.length != C.LENGTH_UNSET ? (int) dataSpec.length + readPosition : data.length; in open()
70 if (endPosition > data.length || readPosition > endPosition) { in open()
75 return (long) endPosition - readPosition; in open()
83 int remainingBytes = endPosition - readPosition; in read()
88 System.arraycopy(castNonNull(data), readPosition, buffer, offset, readLength); in read() local
89 readPosition += readLength; in read()
DByteArrayDataSource.java30 private int readPosition; field in ByteArrayDataSource
48 readPosition = (int) dataSpec.position; in open()
51 if (bytesRemaining <= 0 || readPosition + bytesRemaining > data.length) { in open()
52 throw new IOException("Unsatisfiable range: [" + readPosition + ", " + dataSpec.length in open()
69 System.arraycopy(data, readPosition, buffer, offset, readLength); in read()
70 readPosition += readLength; in read()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/cache/
DCacheDataSource.java368 private long readPosition; field in CacheDataSource
555 readPosition = dataSpec.position; in open()
591 if (readPosition >= checkCachePosition) { in read()
599 readPosition += bytesRead; in read()
642 readPosition = 0; in close()
673 nextSpan = cache.startReadWrite(key, readPosition); in openNextSource()
679 nextSpan = cache.startReadWriteNonBlocking(key, readPosition); in openNextSource()
689 requestDataSpec.buildUpon().setPosition(readPosition).setLength(bytesRemaining).build(); in openNextSource()
694 long positionInFile = readPosition - filePositionOffset; in openNextSource()
720 requestDataSpec.buildUpon().setPosition(readPosition).setLength(length).build(); in openNextSource()
[all …]
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mkv/
DMatroskaExtractor.java1163 int readPosition = headerSize - 1; in binaryElement() local
1166 readValue = (scratch.data[readPosition++] & 0xFF) & ~lengthMask; in binaryElement()
1167 while (readPosition < headerSize) { in binaryElement()
1169 readValue |= (scratch.data[readPosition++] & 0xFF); in binaryElement()
/external/error_prone/javac/
Djavac-9+181-r4173-1.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/services/ META- ...
/external/dagger2/java/dagger/internal/codegen/bootstrap/
Dbootstrap_compiler_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties META-INF ...
/external/dagger2/java/dagger/internal/codegen/kythe/
Dkythe_plugin_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...