Home
last modified time | relevance | path

Searched refs:GetNowUs (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/av/media/libstagefright/foundation/
DALooper.cpp68 int64_t ALooper::GetNowUs() { in GetNowUs() function in android::ALooper
173 int64_t nowUs = GetNowUs(); in post()
177 whenUs = GetNowUs(); in post()
209 int64_t nowUs = GetNowUs(); in loop()
/frameworks/av/media/libstagefright/
DMediaClock.cpp99 int64_t nowUs = ALooper::GetNowUs(); in updateAnchor()
137 int64_t nowUs = ALooper::GetNowUs(); in setPlaybackRate()
198 int64_t nowUs = ALooper::GetNowUs(); in getRealTimeFor()
258 ALooper::GetNowUs(), &nowMediaTimeUs, false /* allowPastMaxTime */); in processTimers_l()
DAudioPlayer.cpp47 mNumFramesPlayedSysTimeUs(ALooper::GetNowUs()), in AudioPlayer()
289 mNumFramesPlayedSysTimeUs = ALooper::GetNowUs(); in pause()
384 mNumFramesPlayedSysTimeUs = ALooper::GetNowUs(); in reset()
618 mNumFramesPlayedSysTimeUs = ALooper::GetNowUs(); in fillBuffer()
665 mNumFramesPlayedSysTimeUs = ALooper::GetNowUs(); in seekTo()
DThrottledSource.cpp45 int64_t nowUs = ALooper::GetNowUs(); in readAt()
DHTTPBase.cpp60 int64_t timeNowUs = ALooper::GetNowUs(); in addBandwidthMeasurement()
DMediaSync.cpp314 int64_t nowUs = ALooper::GetNowUs(); in updateQueuedAudioData()
541 int64_t nowUs = ALooper::GetNowUs(); in onDrainVideo_l()
788 int64_t nowUs = ALooper::GetNowUs(); in onMessageReceived()
DNuCachedSource2.cpp412 && ALooper::GetNowUs() >= mLastFetchTimeUs + mKeepAliveIntervalUs; in onFetch()
421 mLastFetchTimeUs = ALooper::GetNowUs(); in onFetch()
/frameworks/av/media/libstagefright/http/
DClearMediaHTTP.cpp99 int64_t startTimeUs = ALooper::GetNowUs(); in readAt()
123 int64_t delayUs = ALooper::GetNowUs() - startTimeUs; in readAt()
/frameworks/av/media/libstagefright/rtsp/
DUDPPusher.cpp66 mFirstTimeUs = ALooper::GetNowUs(); in start()
105 int64_t nowUs = ALooper::GetNowUs(); in onPush()
DARTPAssembler.cpp39 if (ALooper::GetNowUs() - mFirstFailureTimeUs > 10000LL) { in onPacketReceived()
47 mFirstFailureTimeUs = ALooper::GetNowUs(); in onPacketReceived()
DARTPSource.cpp99 mLastNTPTimeUpdateUs = ALooper::GetNowUs(); in timeUpdate()
182 int64_t nowUs = ALooper::GetNowUs(); in addFIR()
287 ((ALooper::GetNowUs() - mLastNTPTimeUpdateUs) * 65536.0 / 1E6); in addReceiverReport()
DARTPWriter.cpp322 uint32_t ms = tolel(ALooper::GetNowUs() / 1000ll); in send()
421 uint64_t nowUs = ALooper::GetNowUs(); in GetNowNTP()
/frameworks/av/media/libmediaplayer2/nuplayer2/
DNuPlayer2Renderer.cpp352 status_t result = mMediaClock->getMediaTime(ALooper::GetNowUs(), mediaUs); in getCurrentPosition()
371 int64_t nowUs = ALooper::GetNowUs(); in getCurrentPosition()
377 return mMediaClock->getMediaTime(ALooper::GetNowUs(), mediaUs); in getCurrentPosition()
784 const int64_t diffUs = mPauseDrainAudioAllowedUs - ALooper::GetNowUs(); in postDrainAudioQueue_l()
913 int64_t nowUs = ALooper::GetNowUs(); in fillAudioBuffer()
934 postEOSDelayUs = getPendingAudioPlayoutDurationUs(ALooper::GetNowUs()); in fillAudioBuffer()
1038 postEOSDelayUs = getPendingAudioPlayoutDurationUs(ALooper::GetNowUs()); in onDrainAudioQueue()
1162 int64_t nowUs = ALooper::GetNowUs(); in getPendingAudioPlayoutDurationUs()
1210 int64_t nowUs = ALooper::GetNowUs(); in onNewAudioMediaTime()
1263 int64_t nowUs = ALooper::GetNowUs(); in postDrainVideoQueue()
[all …]
DRTSPSource2.cpp231 setEOSTimeout(audio, ALooper::GetNowUs()); in dequeueAccessUnit()
232 } else if ((ALooper::GetNowUs() - eosTimeout) > kNearEOSTimeoutUs) { in dequeueAccessUnit()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerRenderer.cpp361 status_t result = mMediaClock->getMediaTime(ALooper::GetNowUs(), mediaUs); in getCurrentPosition()
380 int64_t nowUs = ALooper::GetNowUs(); in getCurrentPosition()
390 return mMediaClock->getMediaTime(ALooper::GetNowUs(), mediaUs); in getCurrentPosition()
797 const int64_t diffUs = mPauseDrainAudioAllowedUs - ALooper::GetNowUs(); in postDrainAudioQueue_l()
926 int64_t nowUs = ALooper::GetNowUs(); in fillAudioBuffer()
947 postEOSDelayUs = getPendingAudioPlayoutDurationUs(ALooper::GetNowUs()); in fillAudioBuffer()
1051 postEOSDelayUs = getPendingAudioPlayoutDurationUs(ALooper::GetNowUs()); in onDrainAudioQueue()
1176 int64_t nowUs = ALooper::GetNowUs(); in getPendingAudioPlayoutDurationUs()
1224 int64_t nowUs = ALooper::GetNowUs(); in onNewAudioMediaTime()
1277 int64_t nowUs = ALooper::GetNowUs(); in postDrainVideoQueue()
[all …]
DRTSPSource.cpp232 setEOSTimeout(audio, ALooper::GetNowUs()); in dequeueAccessUnit()
233 } else if ((ALooper::GetNowUs() - eosTimeout) > kNearEOSTimeoutUs) { in dequeueAccessUnit()
/frameworks/av/cmds/stagefright/
Dmuxer.cpp154 int64_t muxerStartTimeUs = ALooper::GetNowUs(); in muxing()
221 int64_t elapsedTimeUs = ALooper::GetNowUs() - muxerStartTimeUs; in muxing()
DSimplePlayer.cpp512 int64_t nowUs = ALooper::GetNowUs(); in onDoMoreStuff()
629 int64_t startTimeUs = ALooper::GetNowUs(); in renderAudio()
636 int64_t delayUs = ALooper::GetNowUs() - startTimeUs; in renderAudio()
Dcodec.cpp141 int64_t startTimeUs = android::ALooper::GetNowUs(); in decode()
310 int64_t elapsedTimeUs = android::ALooper::GetNowUs() - startTimeUs; in decode()
Dmediafilter.cpp468 int64_t startTimeUs = android::ALooper::GetNowUs(); in decode()
646 int64_t elapsedTimeUs = android::ALooper::GetNowUs() - startTimeUs; in decode()
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DALooper.h55 static int64_t GetNowUs();
/frameworks/av/media/extractors/mpeg2/
DMPEG2TSExtractor.cpp332 int64_t startTime = ALooper::GetNowUs(); in init()
386 haveAudio, haveVideo, ALooper::GetNowUs() - startTime); in init()
391 if (ALooper::GetNowUs() - startTime > 2000000LL) { in init()
403 && ALooper::GetNowUs() - startTime <= 2000000LL) { in init()
462 haveAudio, haveVideo, ALooper::GetNowUs() - startTime); in init()
/frameworks/av/media/libstagefright/httplive/
DLiveSession.cpp103 int64_t nowUs = ALooper::GetNowUs(); in addBandwidthMeasurement()
440 mRealTimeBaseUs = ALooper::GetNowUs() - timeUs; in dequeueAccessUnit()
769 failureIndex).mLastFailureUs = ALooper::GetNowUs(); in onMessageReceived()
959 || ALooper::GetNowUs() - item.mLastFailureUs > kBlacklistWindowUs; in isBandwidthValid()
1803 mRealTimeBaseUs = ALooper::GetNowUs() - mLastDequeuedTimeUs; in onChangeConfiguration3()
1805 mRealTimeBaseUs = ALooper::GetNowUs() - timeUs; in onChangeConfiguration3()
DPlaylistFetcher.cpp242 int64_t nowUs = ALooper::GetNowUs(); in delayUsToRefreshPlaylist()
966 mPlaylistTimeUs = ALooper::GetNowUs(); in refreshPlaylist()
969 mLastPlaylistFetchTimeUs = ALooper::GetNowUs(); in refreshPlaylist()
1369 int64_t startUs = ALooper::GetNowUs(); in onDownloadNext()
1373 int64_t delayUs = ALooper::GetNowUs() - startUs; in onDownloadNext()
/frameworks/av/media/libstagefright/omx/tests/
DOMXHarness.cpp152 int64_t finishBy = ALooper::GetNowUs() + timeoutUs; in dequeueMessageForNodeIgnoringBuffers()
177 mLock, (finishBy - ALooper::GetNowUs()) * 1000); in dequeueMessageForNodeIgnoringBuffers()

12