Home
last modified time | relevance | path

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

/packages/apps/TV/usbtuner/src/com/android/usbtuner/
DUsbTunerDataSource.java53 private final byte[] mCircularBuffer = new byte[CIRCULAR_BUFFER_SIZE]; field in UsbTunerDataSource
190 if (posInBuffer + bytesToCopyInFirstPass > mCircularBuffer.length) { in run()
191 bytesToCopyInFirstPass = mCircularBuffer.length - posInBuffer; in run()
193 System.arraycopy(dataBuffer, 0, mCircularBuffer, posInBuffer, in run()
196 System.arraycopy(dataBuffer, bytesToCopyInFirstPass, mCircularBuffer, 0, in run()
247 if (posInBuffer + bytesToCopyInFirstPass > mCircularBuffer.length) { in readAt()
248 bytesToCopyInFirstPass = mCircularBuffer.length - posInBuffer; in readAt()
250 System.arraycopy(mCircularBuffer, posInBuffer, buffer, offset, bytesToCopyInFirstPass); in readAt()
252 System.arraycopy(mCircularBuffer, 0, buffer, offset + bytesToCopyInFirstPass, in readAt()
DFileDataSource.java59 private final byte[] mCircularBuffer = new byte[CIRCULAR_BUFFER_SIZE]; field in FileDataSource
287 if (posInBuffer + bytesToCopyInFirstPass > mCircularBuffer.length) { in readAt()
288 bytesToCopyInFirstPass = mCircularBuffer.length - posInBuffer; in readAt()
290 System.arraycopy(mCircularBuffer, posInBuffer, buffer, offset, bytesToCopyInFirstPass); in readAt()
292 System.arraycopy(mCircularBuffer, 0, buffer, offset + bytesToCopyInFirstPass, in readAt()
381 if (posInBuffer + bytesToCopyInFirstPass > mCircularBuffer.length) { in run()
382 bytesToCopyInFirstPass = mCircularBuffer.length - posInBuffer; in run()
384 System.arraycopy(dataBuffer, 0, mCircularBuffer, posInBuffer, in run()
387 System.arraycopy(dataBuffer, bytesToCopyInFirstPass, mCircularBuffer, 0, in run()