Home
last modified time | relevance | path

Searched refs:IoState (Results 1 – 7 of 7) sorted by relevance

/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/
DSampleChunk.java126 public static class IoState { class in SampleChunk
349 private boolean isReadFinished(IoState state) { in isReadFinished()
353 private SampleHolder read(IoState state) throws IOException { in read()
388 protected void write(SampleHolder sample, IoState state) throws IOException { in write()
DSampleChunkIoHelper.java76 private final SampleChunk.IoState[] mReadIoStates;
77 private final SampleChunk.IoState[] mWriteIoStates;
165 mReadIoStates = new SampleChunk.IoState[mTrackCount]; in SampleChunkIoHelper()
166 mWriteIoStates = new SampleChunk.IoState[mTrackCount]; in SampleChunkIoHelper()
177 mReadIoStates[i] = new SampleChunk.IoState(); in SampleChunkIoHelper()
178 mWriteIoStates[i] = new SampleChunk.IoState(); in SampleChunkIoHelper()
DBufferManager.java341 SampleChunk.IoState.release(chunk, true); in release()
489 SampleChunk.IoState.release(chunk, !mStorageManager.isPersistent()); in evictChunks()
645 SampleChunk.IoState.release(toRelease, !mStorageManager.isPersistent()); in release()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/buffer/
DSampleChunk.java143 static class IoState { class in SampleChunk
368 private boolean isReadFinished(IoState state) { in isReadFinished()
372 private DecoderInputBuffer read(IoState state) throws IOException { in read()
422 void write(DecoderInputBuffer sample, IoState state) throws IOException { in write()
DSampleChunkIoHelper.java78 private final SampleChunk.IoState[] mReadIoStates;
79 private final SampleChunk.IoState[] mWriteIoStates;
167 mReadIoStates = new SampleChunk.IoState[mTrackCount]; in SampleChunkIoHelper()
168 mWriteIoStates = new SampleChunk.IoState[mTrackCount]; in SampleChunkIoHelper()
179 mReadIoStates[i] = new SampleChunk.IoState(); in SampleChunkIoHelper()
180 mWriteIoStates[i] = new SampleChunk.IoState(); in SampleChunkIoHelper()
DBufferManager.java344 SampleChunk.IoState.release(chunk, true); in release()
493 SampleChunk.IoState.release(chunk, !mStorageManager.isPersistent()); in evictChunks()
649 SampleChunk.IoState.release(toRelease, !mStorageManager.isPersistent()); in release()
/packages/apps/TV/tuner/tests/testing/src/com/android/tv/tuner/testing/buffer/
DVerySlowSampleChunk.java51 protected void write(SampleHolder sample, IoState state) throws IOException { in write()