Home
last modified time | relevance | path

Searched refs:mCacheManager (Results 1 – 6 of 6) sorted by relevance

/packages/apps/TV/usbtuner/src/com/android/usbtuner/exoplayer/cache/
DRecordingSampleBuffer.java73 private final CacheManager mCacheManager; field in RecordingSampleBuffer
165 mCacheManager = cacheManager; in RecordingSampleBuffer()
194 mSampleCaches[i] = mCacheManager.createNewWriteFile(getTrackId(i), 0, mSamplePool); in init()
198 mCacheManager.loadTrackFormStorage(mIds.get(i), mSamplePool); in init()
223 queue.setSource(mCacheManager.getReadFile(getTrackId(index), positionUs)); in seekIndividualTrackLocked()
233 mCacheManager.registerEvictListener(trackId, this); in selectTrack()
246 mCacheManager.unregisterEvictListener(getTrackId(index)); in deselectTrack()
261 SampleCache nextCache = mCacheManager.createNewWriteFile( in writeSample()
287 mCacheManager.addWriteStat(sampleSize, writeDurationNs); in isWriteSpeedSlow()
288 return mCacheManager.isWriteSlow(); in isWriteSpeedSlow()
[all …]
/packages/apps/TV/usbtuner/src/com/android/usbtuner/tvinput/
DBaseTunerTvInputService.java43 private CacheManager mCacheManager; field in BaseTunerTvInputService
52 mCacheManager = createCacheManager(); in onCreate()
53 if (mCacheManager == null) { in onCreate()
71 if (mCacheManager != null) { in onDestroy()
72 mCacheManager.close(); in onDestroy()
85 this, mChannelDataManager, mCacheManager); in onCreateSession()
DTunerRecordingSessionWorker.java102 private CacheManager mCacheManager; field in TunerRecordingSessionWorker
276 if (mCacheManager != null) { in reset()
277 mCacheManager.close(); in reset()
278 mCacheManager = null; in reset()
301 if (mCacheManager != null) { in resetRecorder()
302 mCacheManager.close(); in resetRecorder()
303 mCacheManager = null; in resetRecorder()
346 mCacheManager = new CacheManager(new DvrStorageManager(mStorageDir, true)); in onStartRecording()
350 mCacheManager, this, this); in onStartRecording()
DTunerSessionWorker.java186 private final CacheManager mCacheManager; field in TunerSessionWorker
219 mCacheManager = cacheManager; in TunerSessionWorker()
1200 mPlayer = createPlayer(mAudioCapabilities, mCacheManager); in playFromChannel()
/packages/apps/TV/usbtuner/src/com/android/usbtuner/exoplayer/
DMpegTsPassthroughAc3RendererBuilder.java35 private final CacheManager mCacheManager; field in MpegTsPassthroughAc3RendererBuilder
41 mCacheManager = cacheManager; in MpegTsPassthroughAc3RendererBuilder()
50 new MpegTsSampleSourceExtractor(mCacheManager, mCacheListener) : in buildRenderers()
51 new MpegTsSampleSourceExtractor(dataSource, mCacheManager, mCacheListener); in buildRenderers()
DReplaySampleSourceExtractor.java48 private final CacheManager mCacheManager; field in ReplaySampleSourceExtractor
54 mCacheManager = cacheManager; in ReplaySampleSourceExtractor()
62 mCacheManager.readTrackInfoFiles(); in prepare()
76 mSampleBuffer = new RecordingSampleBuffer(mCacheManager, mCacheListener, true, in prepare()