Searched refs:mCircularBuffer (Results 1 – 2 of 2) sorted by relevance
/packages/apps/TV/tuner/src/com/android/tv/tuner/source/ |
D | FileTsStreamer.java | 62 private final byte[] mCircularBuffer = new byte[CIRCULAR_BUFFER_SIZE]; field in FileTsStreamer 396 if (posInBuffer + bytesToCopyInFirstPass > mCircularBuffer.length) { in readAt() 397 bytesToCopyInFirstPass = mCircularBuffer.length - posInBuffer; in readAt() 399 System.arraycopy(mCircularBuffer, posInBuffer, buffer, offset, bytesToCopyInFirstPass); in readAt() 402 mCircularBuffer, in readAt() 481 if (posInBuffer + bytesToCopyInFirstPass > mCircularBuffer.length) { in run() 482 bytesToCopyInFirstPass = mCircularBuffer.length - posInBuffer; in run() 485 dataBuffer, 0, mCircularBuffer, posInBuffer, bytesToCopyInFirstPass); in run() 490 mCircularBuffer, in run()
|
D | TunerTsStreamer.java | 56 private final byte[] mCircularBuffer = new byte[CIRCULAR_BUFFER_SIZE]; field in TunerTsStreamer 389 if (posInBuffer + bytesToCopyInFirstPass > mCircularBuffer.length) { in run() 390 bytesToCopyInFirstPass = mCircularBuffer.length - posInBuffer; in run() 393 dataBuffer, 0, mCircularBuffer, posInBuffer, bytesToCopyInFirstPass); in run() 398 mCircularBuffer, in run() 444 System.arraycopy(mCircularBuffer, startPos, buffer, offset, firstLength); in readAt() 447 mCircularBuffer, 0, buffer, offset + firstLength, amount - firstLength); in readAt()
|