Searched refs:mWriteOffset (Results 1 – 2 of 2) sorted by relevance
48 private long mWriteOffset; field in SampleChunk298 if (mWriteFinished && mWriteOffset == 0) { in openRead()301 mWriteOffset = mAccessFile.length(); in openRead()350 return mWriteFinished && state.equals(this, mWriteOffset); in isReadFinished()358 if (offset >= mWriteOffset) { in read()362 if (offset != mWriteOffset) { in read()389 if (mAccessFile == null || mNextChunk != null || !state.equals(this, mWriteOffset)) { in write()393 mAccessFile.seek(mWriteOffset); in write()398 mAccessFile.getChannel().position(mWriteOffset + SAMPLE_HEADER_LENGTH).write(sample.data); in write()399 mWriteOffset += sample.size + SAMPLE_HEADER_LENGTH; in write()[all …]
62 private long mWriteOffset; field in SampleChunk317 if (mWriteFinished && mWriteOffset == 0) { in openRead()320 mWriteOffset = mAccessFile.length(); in openRead()369 return mWriteFinished && state.equals(this, mWriteOffset); in isReadFinished()377 if (offset >= mWriteOffset) { in read()381 if (offset != mWriteOffset) { in read()423 if (mAccessFile == null || mNextChunk != null || !state.equals(this, mWriteOffset)) { in write()427 mAccessFile.seek(mWriteOffset); in write()436 mAccessFile.getChannel().position(mWriteOffset + SAMPLE_HEADER_LENGTH).write(sample.data); in write()437 mWriteOffset += size + SAMPLE_HEADER_LENGTH; in write()[all …]