Home
last modified time | relevance | path

Searched refs:GetNowUs (Results 1 – 25 of 36) 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()
/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.cpp44 if (ALooper::GetNowUs() - mFirstFailureTimeUs > 10000LL) { in onPacketReceived()
52 mFirstFailureTimeUs = ALooper::GetNowUs(); in onPacketReceived()
DARTPSource.cpp138 mLastSrUpdateTimeUs = ALooper::GetNowUs(); in timeUpdate()
243 int64_t nowUs = ALooper::GetNowUs(); in queuePacket()
347 int64_t nowUs = ALooper::GetNowUs(); in addFIR()
468 ((ALooper::GetNowUs() - mLastSrUpdateTimeUs) * 65536.0 / 1E6); in addReceiverReport()
DAHEVCAssembler.cpp144 int64_t nowTimeUs = ALooper::GetNowUs(); in addNALUnit()
334 mLastIFrameProvidedAtMs = ALooper::GetNowUs() / 1000; in checkIFrameProvided()
675 uint64_t msecsSinceLastIFrame = (ALooper::GetNowUs() / 1000) - mLastIFrameProvidedAtMs; in assembleMore()
DAAVCAssembler.cpp134 int64_t nowTimeUs = ALooper::GetNowUs(); in addNALUnit()
319 mLastIFrameProvidedAtMs = ALooper::GetNowUs() / 1000; in checkIFrameProvided()
660 uint64_t msecsSinceLastIFrame = (ALooper::GetNowUs() / 1000) - mLastIFrameProvidedAtMs; in assembleMore()
DARTPConnection.cpp448 int64_t nowUs = ALooper::GetNowUs(); in onPollStreams()
764 notify->setInt64("recv-time-us", ALooper::GetNowUs()); in parseRTP()
828 notify->setInt64("recv-time-us", ALooper::GetNowUs()); in parseRTCP()
925 int64_t nowUs = ALooper::GetNowUs(); in parseBYE()
DARTPWriter.cpp641 uint32_t ms = tolel(ALooper::GetNowUs() / 1000ll); in send()
677 uint32_t rtpTime = getRtpTime(ALooper::GetNowUs()); in addSR()
1210 mTrafficRec->updateClock(ALooper::GetNowUs() / 1000); in sendAVCData()
1670 mTrafficRec->updateClock(ALooper::GetNowUs() / 1000); in ModerateInstantTraffic()
/frameworks/av/cmds/stagefright/
DAudioPlayer.cpp48 mNumFramesPlayedSysTimeUs(ALooper::GetNowUs()), in AudioPlayer()
293 mNumFramesPlayedSysTimeUs = ALooper::GetNowUs(); in pause()
388 mNumFramesPlayedSysTimeUs = ALooper::GetNowUs(); in reset()
622 mNumFramesPlayedSysTimeUs = ALooper::GetNowUs(); in fillBuffer()
669 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.cpp469 int64_t startTimeUs = android::ALooper::GetNowUs(); in decode()
647 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()
956 int64_t nowUs = ALooper::GetNowUs(); in fillAudioBuffer()
977 postEOSDelayUs = getPendingAudioPlayoutDurationUs(ALooper::GetNowUs()); in fillAudioBuffer()
1081 postEOSDelayUs = getPendingAudioPlayoutDurationUs(ALooper::GetNowUs()); in onDrainAudioQueue()
1206 int64_t nowUs = ALooper::GetNowUs(); in getPendingAudioPlayoutDurationUs()
1254 int64_t nowUs = ALooper::GetNowUs(); in onNewAudioMediaTime()
1307 int64_t nowUs = ALooper::GetNowUs(); in postDrainVideoQueue()
[all …]
DRTPSource.cpp276 setEOSTimeout(audio, ALooper::GetNowUs()); in dequeueAccessUnit()
277 } else if ((ALooper::GetNowUs() - eosTimeout) > kNearEOSTimeoutUs) { in dequeueAccessUnit()
456 accessUnit->meta()->setInt64("timeUs", ALooper::GetNowUs()); in onMessageReceived()
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DALooper.h55 static int64_t GetNowUs();
/frameworks/av/media/extractors/mpeg2/
DMPEG2TSExtractor.cpp334 int64_t startTime = ALooper::GetNowUs(); in init()
388 haveAudio, haveVideo, ALooper::GetNowUs() - startTime); in init()
393 if (ALooper::GetNowUs() - startTime > 2000000LL) { in init()
405 && ALooper::GetNowUs() - startTime <= 2000000LL) { in init()
464 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()

12