/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/ |
D | SampleQueue.java | 35 mLastQueuedPositionUs = sample.timeUs; in queueSample() 46 sample.timeUs = sampleFromQueue.timeUs; in dequeueSample() 66 return !mQueue.isEmpty() && mQueue.getLast().timeUs - mQueue.getFirst().timeUs > durationUs; in isDurationGreaterThan()
|
D | SampleChunkIoHelper.java | 461 mReadChunkPositionUs[index] = sample.timeUs; in doRead() 506 if (sample.timeUs > mBufferDurationUs) { in doWrite() 507 mBufferDurationUs = sample.timeUs; in doWrite() 509 if (sample.timeUs >= mWriteIndexEndPositionUs[index]) { in doWrite() 511 sample.timeUs >= mWriteChunkEndPositionUs[index] in doWrite() 530 ((sample.timeUs / RecordingSampleBuffer.MIN_SEEK_DURATION_US) + 1) in doWrite() 534 ((sample.timeUs / mSampleChunkDurationUs) + 1) in doWrite()
|
D | SimpleSampleBuffer.java | 130 sampleToQueue.timeUs = sample.timeUs; in writeSample()
|
D | SampleChunk.java | 373 sample.timeUs = mAccessFile.readLong(); in read() 396 mAccessFile.writeLong(sample.timeUs); in write()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/ |
D | ExoPlayerSampleExtractor.java | 330 if (mCurrentPosition < mDecoderInputBuffer.timeUs) { in fetchSample() 331 mCurrentPosition = mDecoderInputBuffer.timeUs; in fetchSample() 339 mLastExtractedPositionUsMap.put(track, mDecoderInputBuffer.timeUs); in fetchSample() 343 Math.max(lastExtractedPositionUs, mDecoderInputBuffer.timeUs)); in fetchSample() 379 sample.timeUs = mDecoderInputBuffer.timeUs; in queueSample() 390 mBaseSamplePts = mDecoderInputBuffer.timeUs - INITIAL_AUDIO_BUFFERING_TIME_US; in queueSample() 392 if (pair.second.timeUs >= mBaseSamplePts) { in queueSample() 398 if (mDecoderInputBuffer.timeUs < mBaseSamplePts && mVideoTrackIndex != index) { in queueSample() 409 mDecoderInputBufferDuplicate.timeUs = mDecoderInputBuffer.timeUs; in queueSample()
|
D | MpegTsSampleExtractor.java | 195 sampleHolder.timeUs = holder.timeUs; in readSample() 219 mCcParser.mayParseClosedCaption(sampleHolder.data, sampleHolder.timeUs); in readSample() 291 holder.timeUs = presentationTimeUs; in parseClosedCaption()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/buffer/ |
D | SampleQueue.java | 36 mLastQueuedPositionUs = sample.timeUs; in queueSample() 49 sample.timeUs = sampleFromQueue.timeUs; in dequeueSample() 69 return !mQueue.isEmpty() && mQueue.getLast().timeUs - mQueue.getFirst().timeUs > durationUs; in isDurationGreaterThan()
|
D | SampleChunkIoHelper.java | 506 mReadChunkPositionUs[index] = sample.timeUs; in doRead() 551 if (sample.timeUs > mBufferDurationUs) { in doWrite() 552 mBufferDurationUs = sample.timeUs; in doWrite() 554 if (sample.timeUs >= mWriteIndexEndPositionUs[index]) { in doWrite() 556 sample.timeUs >= mWriteChunkEndPositionUs[index] in doWrite() 575 ((sample.timeUs / RecordingSampleBuffer.MIN_SEEK_DURATION_US) + 1) in doWrite() 579 ((sample.timeUs / mSampleChunkDurationUs) + 1) in doWrite()
|
D | MemorySampleBuffer.java | 103 sampleToQueue.timeUs = sample.timeUs; in writeSample()
|
D | SampleChunk.java | 395 sample.timeUs = mAccessFile.readLong(); in read() 434 mAccessFile.writeLong(sample.timeUs); in write()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/ |
D | ExoPlayerSampleExtractor.java | 374 if (mCurrentPosition < mDecoderInputBuffer.timeUs) { in fetchSample() 375 mCurrentPosition = mDecoderInputBuffer.timeUs; in fetchSample() 383 mLastExtractedPositionUsMap.put(track, mDecoderInputBuffer.timeUs); in fetchSample() 387 Math.max(lastExtractedPositionUs, mDecoderInputBuffer.timeUs)); in fetchSample() 429 sample.timeUs = mDecoderInputBuffer.timeUs; in queueSample() 441 mDecoderInputBuffer.timeUs in queueSample() 445 if (pair.second.timeUs >= mBaseSamplePts) { in queueSample() 451 if (mDecoderInputBuffer.timeUs < mBaseSamplePts && mVideoTrackIndex != index) { in queueSample() 465 mSampleHolder.timeUs = mDecoderInputBuffer.timeUs; in queueSample()
|
D | MpegTsSampleExtractor.java | 209 sampleHolder.timeUs = holder.timeUs; in readSample() 232 mCcParser.mayParseClosedCaption(sampleHolder.data, sampleHolder.timeUs); in readSample() 279 holder.timeUs = presentationTimeUs; in parseClosedCaption()
|
D | Cea708TextTrackRenderer.java | 214 mCea708Parser.parseClosedCaption(mSampleHolder.data, mSampleHolder.timeUs); in feedInputBuffer()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/audio/ |
D | AudioClock.java | 62 public void setPositionUs(long timeUs) { in setPositionUs() argument 63 this.mPositionUs = timeUs; in setPositionUs() 64 mDeltaUs = elapsedRealtimeMinus(timeUs); in setPositionUs()
|
D | MpegTsDefaultAudioTrackRenderer.java | 475 mSampleHolder.timeUs, in feedInputBuffer() 481 mSampleHolder.timeUs, in feedInputBuffer() 506 decodeDone(mSampleHolder.data, mSampleHolder.timeUs); in feedInputBuffer()
|
D | MediaCodecAudioDecoder.java | 163 long presentationTimeUs = sampleHolder.timeUs; in decode()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryUtils.java | 132 long timeUs = 0; in getScreenUsageTimeMs() local 136 timeUs += localTime; in getScreenUsageTimeMs() 138 Log.v(TAG, "foreground time(us): " + timeUs); in getScreenUsageTimeMs() 143 Math.min(timeUs, getForegroundActivityTotalTimeUs(uid, rawRealTimeUs))); in getScreenUsageTimeMs() 153 final long timeUs = uid.getProcessStateTime( in getProcessBackgroundTimeMs() local 157 Log.v(TAG, "background time(us): " + timeUs); in getProcessBackgroundTimeMs() 158 return PowerUtil.convertUsToMs(timeUs); in getProcessBackgroundTimeMs()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | MediaMetadataRetrieverWrapper.java | 70 public Bitmap getFrameAtTime(final long timeUs) { in getFrameAtTime() argument 71 return mRetriever.getFrameAtTime(timeUs); in getFrameAtTime()
|