Home
last modified time | relevance | path

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

/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/
DSampleChunk.java47 private RandomAccessFile mAccessFile; field in SampleChunk
295 if (mAccessFile == null) { in openRead()
296 mAccessFile = new RandomAccessFile(mFile, "r"); in openRead()
301 mWriteOffset = mAccessFile.length(); in openRead()
316 mAccessFile = new RandomAccessFile(mFile, "rw"); in openWrite()
324 if (mAccessFile != null) { in CloseAccessFileIfNeeded()
325 mAccessFile.close(); in CloseAccessFileIfNeeded()
328 mAccessFile = null; in CloseAccessFileIfNeeded()
354 if (mAccessFile == null || state.mChunk != this) { in read()
368 mAccessFile.seek(offset); in read()
[all …]
/packages/apps/TV/tuner/tests/unittests/javatests/com/android/tv/tuner/
DFileTunerHal.java55 private RandomAccessFile mAccessFile; field in FileTunerHal
117 if (mAccessFile == null) { in nativeTune()
182 if (mAccessFile == null) { in nativeWriteInBuffer()
228 mAccessFile.skipBytes( in readInternal()
231 readSize = mAccessFile.read(mBuffer, 0, mBuffer.length); in readInternal()
240 if (mAccessFile != null) { in closeInputStream()
241 mAccessFile.close(); in closeInputStream()
245 mAccessFile = null; in closeInputStream()
250 mAccessFile = new RandomAccessFile(mTestFile, "r"); in openInputStream()
256 mAccessFile.seek(skipBytes); in openInputStream()