Searched refs:positionUs (Results 1 - 13 of 13) sorted by relevance

/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/
H A DMpegTsSampleSource.java63 public boolean prepare(long positionUs) { argument
102 public void enable(int track, long positionUs) { argument
107 seekToUsInternal(positionUs, positionUs != 0);
120 public boolean continueBuffering(int track, long positionUs) { argument
121 return mSampleExtractor.continueBuffering(positionUs);
135 int track, long positionUs, MediaFormatHolder formatHolder, SampleHolder sampleHolder) {
162 public void seekToUs(long positionUs) { argument
164 seekToUsInternal(positionUs, false);
181 private void seekToUsInternal(long positionUs, boolea argument
134 readData( int track, long positionUs, MediaFormatHolder formatHolder, SampleHolder sampleHolder) argument
[all...]
H A DSampleExtractor.java82 * @param positionUs the seek position in microseconds
84 void seekTo(long positionUs); argument
109 boolean continueBuffering(long positionUs); argument
H A DFileSampleExtractor.java123 public void seekTo(long positionUs) { argument
124 mSampleBuffer.seekTo(positionUs);
133 public boolean continueBuffering(long positionUs) { argument
134 return mSampleBuffer.continueBuffering(positionUs);
H A DCea708TextTrackRenderer.java82 protected boolean doPrepare(long positionUs) throws ExoPlaybackException { argument
83 boolean sourcePrepared = mSource.prepare(positionUs);
101 protected void onEnabled(int track, long positionUs, boolean joining) { argument
103 mSource.enable(mTrackIndex, positionUs);
105 mPresentationTimeUs = positionUs;
153 protected void doSomeWork(long positionUs, long elapsedRealtimeUs) throws ExoPlaybackException { argument
155 mPresentationTimeUs = positionUs;
H A DMpegTsVideoTrackRenderer.java103 protected void onDiscontinuity(long positionUs) throws ExoPlaybackException { argument
104 super.onDiscontinuity(positionUs);
H A DMpegTsSampleExtractor.java160 public void seekTo(long positionUs) { argument
161 mSampleExtractor.seekTo(positionUs);
221 public boolean continueBuffering(long positionUs) { argument
222 return mSampleExtractor.continueBuffering(positionUs);
H A DExoPlayerSampleExtractor.java562 public boolean continueBuffering(long positionUs) { argument
563 return mSampleBuffer.continueBuffering(positionUs);
567 public void seekTo(long positionUs) { argument
568 mSampleBuffer.seekTo(positionUs);
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/
H A DBufferManager.java148 void seekTo(long positionUs); argument
154 boolean continueBuffering(long positionUs); argument
195 public final long positionUs; field in class:BufferManager.PositionHolder
206 * @param positionUs
209 public PositionHolder(long positionUs, long basePositionUs, int offset) { argument
210 this.positionUs = positionUs;
350 private static String getFileName(String id, long positionUs) { argument
351 return String.format(Locale.ENGLISH, "%s_%016x.chunk", id, positionUs);
358 * @param positionUs curren
366 createNewWriteFileIfNeeded( String id, long positionUs, SamplePool samplePool, SampleChunk currentChunk, int currentOffset) argument
439 getReadFile(String id, long positionUs) argument
[all...]
H A DRecordingSampleBuffer.java234 public void seekTo(long positionUs) { argument
238 mSampleChunkIoHelper.openRead(i, positionUs);
241 mLastBufferedPositionUs = positionUs;
268 public boolean continueBuffering(long positionUs) { argument
269 mCurrentPlaybackPositionUs = positionUs;
277 || positionUs > queue.getLastQueuedPositionUs()) {
H A DSimpleSampleBuffer.java154 public synchronized boolean continueBuffering(long positionUs) { argument
160 || positionUs > queue.getLastQueuedPositionUs()) {
169 public void seekTo(long positionUs) { argument
H A DSampleChunkIoHelper.java90 private final long positionUs; field in class:SampleChunkIoHelper.IoParams
97 long positionUs,
102 this.positionUs = positionUs;
210 * @param positionUs the specified position
212 public void openRead(int index, long positionUs) { argument
215 IoParams params = new IoParams(index, positionUs, null, null, mReadSampleBuffers[index]);
317 mBufferManager.getReadFile(mIds.get(index), params.positionUs);
320 "Chunk ID:" + mIds.get(index) + " pos:" + params.positionUs + "is not found";
95 IoParams( int index, long positionUs, SampleHolder sample, ConditionVariable conditionVariable, ConcurrentLinkedQueue<SampleHolder> readSampleBuffer) argument
H A DDvrStorageManager.java231 long positionUs = in.readLong();
232 indices.add(new BufferManager.PositionHolder(positionUs, positionUs, 0));
244 long positionUs = in.readLong();
247 indices.add(new BufferManager.PositionHolder(positionUs, basePositionUs, offset));
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/audio/
H A DMpegTsDefaultAudioTrackRenderer.java173 protected boolean doPrepare(long positionUs) throws ExoPlaybackException { argument
174 boolean sourcePrepared = mSource.prepare(positionUs);
204 protected void onEnabled(int track, long positionUs, boolean joining) { argument
207 mSource.enable(mTrackIndex, positionUs);
208 seekToInternal(positionUs);
238 private void seekToInternal(long positionUs) { argument
243 mPresentationTimeUs = positionUs;
248 mAudioClock.setPositionUs(positionUs);
252 protected void seekTo(long positionUs) { argument
253 mSource.seekToUs(positionUs);
287 doSomeWork(long positionUs, long elapsedRealtimeUs) argument
[all...]

Completed in 174 milliseconds