/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/ |
D | FakeExtractorInput.java | 115 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 …]
|
D | FakeTrackOutput.java | 76 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/ |
D | DefaultExtractorInput.java | 69 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()
|
D | ExtractorInput.java | 101 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
|
D | TrackOutput.java | 147 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
|
D | DummyTrackOutput.java | 47 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/ |
D | VarintReader.java | 82 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/ |
D | ChunkExtractorWrapper.java | 207 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/ |
D | PlayerEmsgHandler.java | 305 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/ |
D | SampleDataQueue.java | 180 public int sampleData(DataReader input, int length, boolean allowEndOfInput) throws IOException { in sampleData() argument 188 if (allowEndOfInput) { in sampleData()
|
D | SampleQueue.java | 485 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/ |
D | HlsSampleStreamWrapper.java | 1535 DataReader input, int length, boolean allowEndOfInput, @SampleDataPart int sampleDataPart) 1540 if (allowEndOfInput) {
|