Home
last modified time | relevance | path

Searched refs:GetNowUs (Results 1 – 25 of 33) 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()
DThrottledSource.cpp45 int64_t nowUs = ALooper::GetNowUs(); in readAt()
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()
DMediaCodecSource.cpp197 …interrupt = queue->mReadPendingSince && (queue->mReadPendingSince < ALooper::GetNowUs() - 1000000); in stop()
296 queue->mReadPendingSince = ALooper::GetNowUs(); in onMessageReceived()
/frameworks/av/media/libdatasource/
DMediaHTTP.cpp99 int64_t startTimeUs = ALooper::GetNowUs(); in readAt()
123 int64_t delayUs = ALooper::GetNowUs() - startTimeUs; in readAt()
DHTTPBase.cpp60 int64_t timeNowUs = ALooper::GetNowUs(); in addBandwidthMeasurement()
DNuCachedSource2.cpp412 && ALooper::GetNowUs() >= mLastFetchTimeUs + mKeepAliveIntervalUs; in onFetch()
421 mLastFetchTimeUs = ALooper::GetNowUs(); in onFetch()
/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.cpp103 mLastNTPTimeUpdateUs = ALooper::GetNowUs(); in timeUpdate()
188 int64_t nowUs = ALooper::GetNowUs(); in addFIR()
293 ((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/cmds/stagefright/
DAudioPlayer.cpp48 mNumFramesPlayedSysTimeUs(ALooper::GetNowUs()), in AudioPlayer()
290 mNumFramesPlayedSysTimeUs = ALooper::GetNowUs(); in pause()
385 mNumFramesPlayedSysTimeUs = ALooper::GetNowUs(); in reset()
619 mNumFramesPlayedSysTimeUs = ALooper::GetNowUs(); in fillBuffer()
666 mNumFramesPlayedSysTimeUs = ALooper::GetNowUs(); in seekTo()
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/libmediaplayerservice/nuplayer/
DNuPlayerRenderer.cpp381 status_t result = mMediaClock->getMediaTime(ALooper::GetNowUs(), mediaUs); in getCurrentPosition()
400 int64_t nowUs = ALooper::GetNowUs(); in getCurrentPosition()
410 return mMediaClock->getMediaTime(ALooper::GetNowUs(), mediaUs); in getCurrentPosition()
822 const int64_t diffUs = mPauseDrainAudioAllowedUs - ALooper::GetNowUs(); in postDrainAudioQueue_l()
951 int64_t nowUs = ALooper::GetNowUs(); in fillAudioBuffer()
972 postEOSDelayUs = getPendingAudioPlayoutDurationUs(ALooper::GetNowUs()); in fillAudioBuffer()
1076 postEOSDelayUs = getPendingAudioPlayoutDurationUs(ALooper::GetNowUs()); in onDrainAudioQueue()
1201 int64_t nowUs = ALooper::GetNowUs(); in getPendingAudioPlayoutDurationUs()
1249 int64_t nowUs = ALooper::GetNowUs(); in onNewAudioMediaTime()
1302 int64_t nowUs = ALooper::GetNowUs(); in postDrainVideoQueue()
[all …]
DRTSPSource.cpp236 setEOSTimeout(audio, ALooper::GetNowUs()); in dequeueAccessUnit()
237 } else if ((ALooper::GetNowUs() - eosTimeout) > kNearEOSTimeoutUs) { in dequeueAccessUnit()
DHTTPLiveSource.cpp270 delayUs = baseUs + timeUs - ALooper::GetNowUs(); in pollForRawData()
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DALooper.h55 static int64_t GetNowUs();
/frameworks/av/media/extractors/mpeg2/
DMPEG2TSExtractor.cpp331 int64_t startTime = ALooper::GetNowUs(); in init()
385 haveAudio, haveVideo, ALooper::GetNowUs() - startTime); in init()
390 if (ALooper::GetNowUs() - startTime > 2000000LL) { in init()
402 && ALooper::GetNowUs() - startTime <= 2000000LL) { in init()
461 haveAudio, haveVideo, ALooper::GetNowUs() - startTime); in init()
/frameworks/av/media/libstagefright/httplive/
DLiveSession.cpp104 int64_t nowUs = ALooper::GetNowUs(); in addBandwidthMeasurement()
441 mRealTimeBaseUs = ALooper::GetNowUs() - timeUs; in dequeueAccessUnit()
770 failureIndex).mLastFailureUs = ALooper::GetNowUs(); in onMessageReceived()
960 || ALooper::GetNowUs() - item.mLastFailureUs > kBlacklistWindowUs; in isBandwidthValid()
1804 mRealTimeBaseUs = ALooper::GetNowUs() - mLastDequeuedTimeUs; in onChangeConfiguration3()
1806 mRealTimeBaseUs = ALooper::GetNowUs() - timeUs; in onChangeConfiguration3()
DPlaylistFetcher.cpp243 int64_t nowUs = ALooper::GetNowUs(); in delayUsToRefreshPlaylist()
968 mPlaylistTimeUs = ALooper::GetNowUs(); in refreshPlaylist()
971 mLastPlaylistFetchTimeUs = ALooper::GetNowUs(); in refreshPlaylist()
1371 int64_t startUs = ALooper::GetNowUs(); in onDownloadNext()
1375 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