Searched refs:CIRCULAR_BUFFER_SIZE (Results 1 – 2 of 2) sorted by relevance
42 private static final int CIRCULAR_BUFFER_SIZE = MIN_READ_UNIT * 20000; // ~ 30MB field in UsbTunerDataSource53 private final byte[] mCircularBuffer = new byte[CIRCULAR_BUFFER_SIZE];188 int posInBuffer = (int) (mBytesFetched % CIRCULAR_BUFFER_SIZE); in run()215 if (mBytesFetched - CIRCULAR_BUFFER_SIZE > pos) { in readAt()241 if (mBytesFetched - CIRCULAR_BUFFER_SIZE > pos) { in readAt()245 int posInBuffer = (int) (pos % CIRCULAR_BUFFER_SIZE); in readAt()
48 private static final int CIRCULAR_BUFFER_SIZE = MIN_READ_UNIT * 4000; // ~ 8MB field in FileDataSource59 private final byte[] mCircularBuffer = new byte[CIRCULAR_BUFFER_SIZE];281 if (mBytesFetched - CIRCULAR_BUFFER_SIZE > pos) { in readAt()285 int posInBuffer = (int) (pos % CIRCULAR_BUFFER_SIZE); in readAt()350 while ((mBytesFetched - mLastReadPosition + PADDING_SIZE) > CIRCULAR_BUFFER_SIZE in run()379 int posInBuffer = (int) (mBytesFetched % CIRCULAR_BUFFER_SIZE); in run()