Searched refs:bytesToCopyInFirstPass (Results 1 – 2 of 2) sorted by relevance
/packages/apps/TV/tuner/src/com/android/tv/tuner/source/ |
D | FileTsStreamer.java | 395 int bytesToCopyInFirstPass = amount; in readAt() local 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() 400 if (bytesToCopyInFirstPass < amount) { in readAt() 405 offset + bytesToCopyInFirstPass, in readAt() 406 amount - bytesToCopyInFirstPass); in readAt() 480 int bytesToCopyInFirstPass = bytesWritten; in run() local 481 if (posInBuffer + bytesToCopyInFirstPass > mCircularBuffer.length) { in run() 482 bytesToCopyInFirstPass = mCircularBuffer.length - posInBuffer; in run() [all …]
|
D | TunerTsStreamer.java | 388 int bytesToCopyInFirstPass = bytesWritten; in run() local 389 if (posInBuffer + bytesToCopyInFirstPass > mCircularBuffer.length) { in run() 390 bytesToCopyInFirstPass = mCircularBuffer.length - posInBuffer; in run() 393 dataBuffer, 0, mCircularBuffer, posInBuffer, bytesToCopyInFirstPass); in run() 394 if (bytesToCopyInFirstPass < bytesWritten) { in run() 397 bytesToCopyInFirstPass, in run() 400 bytesWritten - bytesToCopyInFirstPass); in run()
|