Home
last modified time | relevance | path

Searched refs:RESULT_END_OF_INPUT (Results 1 – 25 of 68) sorted by relevance

123

/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/
DDefaultExtractorInput.java72 while (bytesRead < length && bytesRead != C.RESULT_END_OF_INPUT) { in readFully()
76 return bytesRead != C.RESULT_END_OF_INPUT; in readFully()
98 while (bytesSkipped < length && bytesSkipped != C.RESULT_END_OF_INPUT) { in skipFully()
104 return bytesSkipped != C.RESULT_END_OF_INPUT; in skipFully()
125 if (bytesPeeked == C.RESULT_END_OF_INPUT) { in peek()
126 return C.RESULT_END_OF_INPUT; in peek()
159 if (bytesPeeked == C.RESULT_END_OF_INPUT) { in advancePeekPosition()
283 if (bytesRead == C.RESULT_END_OF_INPUT) { in readFromUpstream()
285 return C.RESULT_END_OF_INPUT; in readFromUpstream()
298 if (bytesRead != C.RESULT_END_OF_INPUT) { in commitBytesRead()
DExtractor.java46 int RESULT_END_OF_INPUT = C.RESULT_END_OF_INPUT; field
54 @IntDef(value = {RESULT_CONTINUE, RESULT_SEEK, RESULT_END_OF_INPUT})
DDummyTrackOutput.java51 if (bytesSkipped == C.RESULT_END_OF_INPUT) { in sampleData()
53 return C.RESULT_END_OF_INPUT; in sampleData()
DExtractorUtil.java42 if (bytesPeeked == C.RESULT_END_OF_INPUT) { in peekToLength()
/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/
DExtractorTest.java32 assertThat(Extractor.RESULT_END_OF_INPUT).isEqualTo(C.RESULT_END_OF_INPUT); in constants()
34 assertThat(C.RESULT_END_OF_INPUT != Extractor.RESULT_CONTINUE).isTrue(); in constants()
35 assertThat(C.RESULT_END_OF_INPUT != Extractor.RESULT_SEEK).isTrue(); in constants()
/external/exoplayer/tree/testutils/src/test/java/com/google/android/exoplayer2/testutil/
DFakeDataSourceTest.java63 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()
77 assertThat(dataSource.read(BUFFER, 15, BUFFER.length)).isEqualTo(C.RESULT_END_OF_INPUT); in testReadPartialOpenEnded()
89 assertThat(dataSource.read(BUFFER, 0, BUFFER.length)).isEqualTo(C.RESULT_END_OF_INPUT); in testReadPartialBounded()
95 assertThat(dataSource.read(BUFFER, 0, BUFFER.length)).isEqualTo(C.RESULT_END_OF_INPUT); in testReadPartialBounded()
114 assertThat(dataSource.read(BUFFER, 0, BUFFER.length)).isEqualTo(C.RESULT_END_OF_INPUT); in testDummyData()
149 assertThat(dataSource.read(BUFFER, 0, BUFFER.length)).isEqualTo(C.RESULT_END_OF_INPUT); in testException()
186 assertThat(dataSource.read(BUFFER, 0, BUFFER.length)).isEqualTo(C.RESULT_END_OF_INPUT); in testRunnable()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/
DIcyDataSource.java84 return C.RESULT_END_OF_INPUT; in read()
88 if (bytesRead != C.RESULT_END_OF_INPUT) { in read()
119 if (bytesRead == C.RESULT_END_OF_INPUT) { in readMetadata()
132 if (bytesRead == C.RESULT_END_OF_INPUT) { in readMetadata()
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DTestUtil.java69 while (bytesRead != C.RESULT_END_OF_INPUT) { in readToEnd()
74 if (bytesRead != C.RESULT_END_OF_INPUT) { in readToEnd()
94 if (bytesRead == C.RESULT_END_OF_INPUT) { in readExactly()
366 } else if (readResult == Extractor.RESULT_END_OF_INPUT) { in extractSeekMap()
394 while (readResult != Extractor.RESULT_END_OF_INPUT) { in extractAllSamplesFromFile()
455 } else if (extractorReadResult == Extractor.RESULT_END_OF_INPUT in seekToTimeUs()
DFakeExtractorInput.java111 return readFullyInternal(target, offset, length, true) ? length : C.RESULT_END_OF_INPUT; in read()
130 return skipFullyInternal(length, true) ? length : C.RESULT_END_OF_INPUT; in skip()
148 return peekFullyInternal(target, offset, length, true) ? length : C.RESULT_END_OF_INPUT; in peek()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/amr/
DAmrExtractor.java273 return RESULT_END_OF_INPUT; in readSample()
288 if (bytesAppended == C.RESULT_END_OF_INPUT) { in readSample()
289 return RESULT_END_OF_INPUT; in readSample()
359 || sampleReadResult == RESULT_END_OF_INPUT) { in maybeOutputSeekMap()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/crypto/
DAesCipherDataSource.java67 if (read == C.RESULT_END_OF_INPUT) { in read()
68 return C.RESULT_END_OF_INPUT; in read()
/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/ts/
DTsDurationReaderTest.java63 if (result == Extractor.RESULT_END_OF_INPUT) { in readDuration_returnsCorrectDuration()
88 if (result == Extractor.RESULT_END_OF_INPUT) { in readDuration_midStream_returnsCorrectDuration()
DPsDurationReaderTest.java65 assertThat(result).isNotEqualTo(Extractor.RESULT_END_OF_INPUT); in readDuration_returnsCorrectDuration()
86 assertThat(result).isNotEqualTo(Extractor.RESULT_END_OF_INPUT); in readDuration_midStream_returnsCorrectDuration()
DPsExtractorSeekTest.java239 } else if (extractorReadResult == Extractor.RESULT_END_OF_INPUT) { in seekToTimeUs()
267 } else if (readResult == Extractor.RESULT_END_OF_INPUT) { in extractSeekMapAndTracks()
281 while (readResult != Extractor.RESULT_END_OF_INPUT) { in readInputFileOnce()
355 while (readResult != Extractor.RESULT_END_OF_INPUT) { in extractAllSamplesFromFileToExpectedOutput()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp3/
DMp3Extractor.java218 if (readResult == RESULT_END_OF_INPUT && seeker instanceof IndexSeeker) { in read()
246 return RESULT_END_OF_INPUT; in readInternal()
278 return RESULT_END_OF_INPUT; in readSample()
312 if (bytesAppended == C.RESULT_END_OF_INPUT) { in readSample()
313 return RESULT_END_OF_INPUT; in readSample()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/
DAssetDataSource.java100 return C.RESULT_END_OF_INPUT; in read()
117 return C.RESULT_END_OF_INPUT; in read()
DContentDataSource.java113 return C.RESULT_END_OF_INPUT; in read()
130 return C.RESULT_END_OF_INPUT; in read()
DRawResourceDataSource.java139 return C.RESULT_END_OF_INPUT; in read()
156 return C.RESULT_END_OF_INPUT; in read()
/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/mkv/
DVarintReaderTest.java18 import static com.google.android.exoplayer2.C.RESULT_END_OF_INPUT;
96 assertThat(result).isEqualTo(RESULT_END_OF_INPUT); in readVarintEndOfInputAtStart()
216 if (result == C.RESULT_END_OF_INPUT || result == C.RESULT_MAX_LENGTH_EXCEEDED) { in testReadVarintFlaky()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ts/
DAc3Extractor.java129 if (bytesRead == C.RESULT_END_OF_INPUT) { in read()
130 return RESULT_END_OF_INPUT; in read()
DAc4Extractor.java137 if (bytesRead == C.RESULT_END_OF_INPUT) { in read()
138 return RESULT_END_OF_INPUT; in read()
DPsExtractor.java182 return RESULT_END_OF_INPUT; in read()
186 return RESULT_END_OF_INPUT; in read()
192 return RESULT_END_OF_INPUT; in read()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/rawcc/
DRawCcExtractor.java89 return RESULT_END_OF_INPUT; in read()
97 return RESULT_END_OF_INPUT; in read()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/upstream/
DDataSchemeDataSourceTest.java18 import static com.google.android.exoplayer2.C.RESULT_END_OF_INPUT;
74 assertThat(schemeDataDataSource.read(buffer, 1, 1)).isEqualTo(RESULT_END_OF_INPUT); in partialReads()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ogg/
DStreamReader.java126 return Extractor.RESULT_END_OF_INPUT; in readHeaders()
195 return Extractor.RESULT_END_OF_INPUT; in readPayload()

123