Home
last modified time | relevance | path

Searched refs:mLastReadPosition (Results 1 – 2 of 2) sorted by relevance

/packages/apps/TV/tuner/src/com/android/tv/tuner/source/
DTunerTsStreamer.java58 private final AtomicLong mLastReadPosition = new AtomicLong(); field in TunerTsStreamer
72 private final AtomicLong mLastReadPosition = new AtomicLong(0); field in TunerTsStreamer.TunerDataSource
88 return mLastReadPosition.get(); in getLastReadPosition()
93 SoftPreconditions.checkState(mLastReadPosition.get() == 0); in shiftStartPosition()
101 mLastReadPosition.set(0); in open()
114 mStartBufferedPosition + mLastReadPosition.get(), in read()
119 mLastReadPosition.addAndGet(ret); in read()
121 long currentPosition = mStartBufferedPosition + mLastReadPosition.get(); in read()
128 mLastReadPosition.set(0); in read()
209 mLastReadPosition.set(0L); in startStream()
[all …]
DFileTsStreamer.java67 private long mLastReadPosition; field in FileTsStreamer
75 private final AtomicLong mLastReadPosition = new AtomicLong(0); field in FileTsStreamer.FileDataSource
91 return mLastReadPosition.get(); in getLastReadPosition()
96 SoftPreconditions.checkState(mLastReadPosition.get() == 0); in shiftStartPosition()
104 mLastReadPosition.set(0); in open()
115 mStartBufferedPosition + mLastReadPosition.get(), in read()
120 mLastReadPosition.addAndGet(ret); in read()
408 mLastReadPosition = pos + amount; in readAt()
445 mLastReadPosition = 0; in run()
450 while ((mBytesFetched - mLastReadPosition + PADDING_SIZE) > CIRCULAR_BUFFER_SIZE in run()