Home
last modified time | relevance | path

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

12

/frameworks/av/media/libstagefright/wifi-display/source/
DRepeaterSource.cpp126 mStartTimeUs = ALooper::GetNowUs(); in read()
131 int64_t nowUs = ALooper::GetNowUs(); in read()
149 int64_t nowUs = ALooper::GetNowUs(); in read()
195 mLastBufferUpdateUs = ALooper::GetNowUs(); in onMessageReceived()
214 mLastBufferUpdateUs = ALooper::GetNowUs(); in wakeUp()
DConverter.cpp350 int64_t nowUs = ALooper::GetNowUs(); in onMessageReceived()
383 int64_t nowUs = ALooper::GetNowUs(); in onMessageReceived()
490 notify->setInt64("whenUs", ALooper::GetNowUs()); in scheduleDoMoreWork()
DPlaybackSession.cpp315 mLastOutputBufferQueuedTimeUs = ALooper::GetNowUs(); in queueOutputBuffer()
341 return (ALooper::GetNowUs() - mLastOutputBufferQueuedTimeUs) > 60000ll; in isSuspended()
439 mLastLifesignUs = ALooper::GetNowUs(); in updateLiveness()
831 int64_t nowUs = ALooper::GetNowUs(); in schedulePullExtractor()
/frameworks/av/media/libstagefright/
DTimeSource.cpp26 : mStartTimeUs(ALooper::GetNowUs()) { in SystemTimeSource()
30 return ALooper::GetNowUs() - mStartTimeUs; in getRealTimeUs()
DMediaClock.cpp60 int64_t nowUs = ALooper::GetNowUs(); in updateAnchor()
85 int64_t nowUs = ALooper::GetNowUs(); in setPlaybackRate()
142 int64_t nowUs = ALooper::GetNowUs(); in getRealTimeFor()
DTimedEventQueue.cpp114 return postTimedEvent(event, ALooper::GetNowUs() + delay_us); in postEventWithDelay()
137 if (realtime_us > ALooper::GetNowUs() + kWakelockMinDelay) { in postTimedEvent()
245 now_us = ALooper::GetNowUs(); in threadEntry()
278 now_us = ALooper::GetNowUs(); in threadEntry()
DAudioPlayer.cpp49 mNumFramesPlayedSysTimeUs(ALooper::GetNowUs()), in AudioPlayer()
275 mNumFramesPlayedSysTimeUs = ALooper::GetNowUs(); in pause()
283 mPinnedTimeUs = ALooper::GetNowUs(); in pause()
372 mNumFramesPlayedSysTimeUs = ALooper::GetNowUs(); in reset()
692 mNumFramesPlayedSysTimeUs = ALooper::GetNowUs(); in fillBuffer()
737 diffUs = ALooper::GetNowUs(); in getRealTimeUsLocked()
834 mNumFramesPlayedSysTimeUs = ALooper::GetNowUs(); in seekTo()
DThrottledSource.cpp45 int64_t nowUs = ALooper::GetNowUs(); in readAt()
DHTTPBase.cpp61 int64_t timeNowUs = ALooper::GetNowUs(); in addBandwidthMeasurement()
DMediaSync.cpp311 int64_t nowUs = ALooper::GetNowUs(); in updateQueuedAudioData()
554 int64_t nowUs = ALooper::GetNowUs(); in onDrainVideo_l()
802 int64_t nowUs = ALooper::GetNowUs(); in onMessageReceived()
DNuCachedSource2.cpp397 && ALooper::GetNowUs() >= mLastFetchTimeUs + mKeepAliveIntervalUs; in onFetch()
406 mLastFetchTimeUs = ALooper::GetNowUs(); in onFetch()
/frameworks/av/media/libstagefright/foundation/
DALooper.cpp68 int64_t ALooper::GetNowUs() { in GetNowUs() function in android::ALooper
169 whenUs = GetNowUs() + delayUs; in post()
171 whenUs = GetNowUs(); in post()
203 int64_t nowUs = GetNowUs(); in loop()
DANetworkSession.cpp294 int64_t nowUs = ALooper::GetNowUs(); in readMore()
373 int64_t nowUs = ALooper::GetNowUs(); in readMore()
407 int64_t nowUs = ALooper::GetNowUs(); in readMore()
526 int64_t nowUs = ALooper::GetNowUs(); in dumpFragmentStats()
673 int64_t nowUs = ALooper::GetNowUs(); in writeMore()
/frameworks/av/media/libstagefright/rtsp/
DARTPSource.cpp96 mLastNTPTimeUpdateUs = ALooper::GetNowUs(); in timeUpdate()
171 int64_t nowUs = ALooper::GetNowUs(); in addFIR()
260 ((ALooper::GetNowUs() - mLastNTPTimeUpdateUs) * 65536.0 / 1E6); in addReceiverReport()
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()
/frameworks/av/media/libstagefright/http/
DMediaHTTP.cpp88 int64_t startTimeUs = ALooper::GetNowUs(); in readAt()
112 int64_t delayUs = ALooper::GetNowUs() - startTimeUs; in readAt()
/frameworks/av/media/libstagefright/mpeg2ts/
DMPEG2TSExtractor.cpp150 int64_t startTime = ALooper::GetNowUs(); in init()
185 if (ALooper::GetNowUs() - startTime > 2000000ll) { in init()
202 && ALooper::GetNowUs() - startTime <= 2000000ll) { in init()
245 haveAudio, haveVideo, ALooper::GetNowUs() - startTime); in init()
/frameworks/av/cmds/stagefright/
Dmuxer.cpp154 int64_t muxerStartTimeUs = ALooper::GetNowUs(); in muxing()
221 int64_t elapsedTimeUs = ALooper::GetNowUs() - muxerStartTimeUs; in muxing()
Dcodec.cpp141 int64_t startTimeUs = ALooper::GetNowUs(); in decode()
308 int64_t elapsedTimeUs = ALooper::GetNowUs() - startTimeUs; in decode()
DSimplePlayer.cpp509 int64_t nowUs = ALooper::GetNowUs(); in onDoMoreStuff()
626 int64_t startTimeUs = ALooper::GetNowUs(); in renderAudio()
633 int64_t delayUs = ALooper::GetNowUs() - startTimeUs; in renderAudio()
Dsf2.cpp83 int64_t delayUs = ALooper::GetNowUs() - mStartTimeUs; in printStatistics()
163 mStartTimeUs = ALooper::GetNowUs(); in onMessageReceived()
/frameworks/av/include/media/stagefright/foundation/
DALooper.h55 static int64_t GetNowUs();
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerRenderer.cpp314 return mMediaClock->getMediaTime(ALooper::GetNowUs(), mediaUs); in getCurrentPosition()
741 int64_t nowUs = ALooper::GetNowUs(); in fillAudioBuffer()
762 postEOSDelayUs = getPendingAudioPlayoutDurationUs(ALooper::GetNowUs()); in fillAudioBuffer()
845 postEOSDelayUs = getPendingAudioPlayoutDurationUs(ALooper::GetNowUs()); in onDrainAudioQueue()
974 int64_t nowUs = ALooper::GetNowUs(); in onNewAudioMediaTime()
1006 int64_t nowUs = ALooper::GetNowUs(); in postDrainVideoQueue()
1090 nowUs = ALooper::GetNowUs(); in onDrainVideoQueue()
1098 nowUs = ALooper::GetNowUs(); in onDrainVideoQueue()
/frameworks/av/media/libstagefright/httplive/
DLiveSession.cpp104 int64_t nowUs = ALooper::GetNowUs(); in addBandwidthMeasurement()
441 mRealTimeBaseUs = ALooper::GetNowUs() - timeUs; in dequeueAccessUnit()
756 failureIndex).mLastFailureUs = ALooper::GetNowUs(); in onMessageReceived()
943 || ALooper::GetNowUs() - item.mLastFailureUs > kBlacklistWindowUs; in isBandwidthValid()
1783 mRealTimeBaseUs = ALooper::GetNowUs() - mLastDequeuedTimeUs; in onChangeConfiguration3()
1785 mRealTimeBaseUs = ALooper::GetNowUs() - timeUs; in onChangeConfiguration3()

12