Home
last modified time | relevance | path

Searched refs:allowEndOfInput (Results 1 – 12 of 12) sorted by relevance

/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DFakeExtractorInput.java115 public boolean readFully(byte[] target, int offset, int length, boolean allowEndOfInput) in readFully() argument
118 return readFullyInternal(target, offset, length, allowEndOfInput); in readFully()
134 public boolean skipFully(int length, boolean allowEndOfInput) throws IOException { in skipFully() argument
136 return skipFullyInternal(length, allowEndOfInput); in skipFully()
152 public boolean peekFully(byte[] target, int offset, int length, boolean allowEndOfInput) in peekFully() argument
155 return peekFullyInternal(target, offset, length, allowEndOfInput); in peekFully()
164 public boolean advancePeekPosition(int length, boolean allowEndOfInput) throws IOException { in advancePeekPosition() argument
166 if (!checkXFully(allowEndOfInput, peekPosition, length)) { in advancePeekPosition()
214 private boolean checkXFully(boolean allowEndOfInput, int position, int length) in checkXFully() argument
217 if (allowEndOfInput) { in checkXFully()
[all …]
DFakeTrackOutput.java76 DataReader input, int length, boolean allowEndOfInput, @SampleDataPart int sampleDataPart) in sampleData() argument
81 if (allowEndOfInput) { in sampleData()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/
DDefaultExtractorInput.java69 public boolean readFully(byte[] target, int offset, int length, boolean allowEndOfInput) in readFully() argument
73 bytesRead = readFromUpstream(target, offset, length, bytesRead, allowEndOfInput); in readFully()
96 public boolean skipFully(int length, boolean allowEndOfInput) throws IOException { in skipFully() argument
101 readFromUpstream(scratchSpace, -bytesSkipped, minLength, bytesSkipped, allowEndOfInput); in skipFully()
138 public boolean peekFully(byte[] target, int offset, int length, boolean allowEndOfInput) in peekFully() argument
140 if (!advancePeekPosition(length, allowEndOfInput)) { in peekFully()
153 public boolean advancePeekPosition(int length, boolean allowEndOfInput) throws IOException { in advancePeekPosition() argument
158 readFromUpstream(peekBuffer, peekBufferPosition, length, bytesPeeked, allowEndOfInput); in advancePeekPosition()
277 byte[] target, int offset, int length, int bytesAlreadyRead, boolean allowEndOfInput) in readFromUpstream() argument
284 if (bytesAlreadyRead == 0 && allowEndOfInput) { in readFromUpstream()
DExtractorInput.java101 boolean readFully(byte[] target, int offset, int length, boolean allowEndOfInput) in readFully() argument
140 boolean skipFully(int length, boolean allowEndOfInput) throws IOException; in skipFully() argument
190 boolean peekFully(byte[] target, int offset, int length, boolean allowEndOfInput) in peekFully() argument
221 boolean advancePeekPosition(int length, boolean allowEndOfInput) throws IOException; in advancePeekPosition() argument
DTrackOutput.java147 default int sampleData(DataReader input, int length, boolean allowEndOfInput) throws IOException { in sampleData() argument
148 return sampleData(input, length, allowEndOfInput, SAMPLE_DATA_PART_MAIN); in sampleData()
172 DataReader input, int length, boolean allowEndOfInput, @SampleDataPart int sampleDataPart) in sampleData() argument
DDummyTrackOutput.java47 DataReader input, int length, boolean allowEndOfInput, @SampleDataPart int sampleDataPart) in sampleData() argument
52 if (allowEndOfInput) { in sampleData()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mkv/
DVarintReader.java82 boolean allowEndOfInput, in readUnsignedVarint() argument
88 if (!input.readFully(scratch, 0, 1, allowEndOfInput)) { in readUnsignedVarint()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/chunk/
DChunkExtractorWrapper.java207 DataReader input, int length, boolean allowEndOfInput, @SampleDataPart int sampleDataPart) in sampleData() argument
209 return castNonNull(trackOutput).sampleData(input, length, allowEndOfInput); in sampleData()
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/
DPlayerEmsgHandler.java305 DataReader input, int length, boolean allowEndOfInput, @SampleDataPart int sampleDataPart)
307 return sampleQueue.sampleData(input, length, allowEndOfInput);
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/
DSampleDataQueue.java180 public int sampleData(DataReader input, int length, boolean allowEndOfInput) throws IOException { in sampleData() argument
188 if (allowEndOfInput) { in sampleData()
DSampleQueue.java485 DataReader input, int length, boolean allowEndOfInput, @SampleDataPart int sampleDataPart) in sampleData() argument
487 return sampleDataQueue.sampleData(input, length, allowEndOfInput); in sampleData()
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/
DHlsSampleStreamWrapper.java1535 DataReader input, int length, boolean allowEndOfInput, @SampleDataPart int sampleDataPart)
1540 if (allowEndOfInput) {