Home
last modified time | relevance | path

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

12

/frameworks/av/media/module/foundation/
DAHandler.cpp27 setDeliveryStatus(true, msg->what(), ALooper::GetNowUs()); in deliverMessage()
55 0 : ALooper::GetNowUs() - mCurrentMessageStartTimeUs; in getDeliveryStatus()
DALooper.cpp68 int64_t ALooper::GetNowUs() { in GetNowUs() function in android::ALooper
73 return GetNowUs(); in getNowUs()
/frameworks/av/media/libstagefright/
DMediaClock.cpp99 int64_t nowUs = ALooper::GetNowUs(); in updateAnchor()
141 int64_t nowUs = ALooper::GetNowUs(); in setPlaybackRate()
202 int64_t nowUs = ALooper::GetNowUs(); in getRealTimeFor()
262 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()
DARTPConnection.cpp481 int64_t nowUs = ALooper::GetNowUs(); in onPollStreams()
711 int64_t nowUs = ALooper::GetNowUs(); in notifyCongestionToUpperLayerIfNeeded()
857 notify->setInt64("recv-time-us", ALooper::GetNowUs()); in parseRTP()
921 notify->setInt64("recv-time-us", ALooper::GetNowUs()); in parseRTCP()
1022 int64_t nowUs = ALooper::GetNowUs(); in parseBYE()
1041 int64_t recvTimeUs = ALooper::GetNowUs(); in parseSenderReport()
1077 int64_t recvTimeUs = ALooper::GetNowUs(); in parseReceiverReport()
DAAVCAssembler.cpp129 int64_t nowTimeUs = ALooper::GetNowUs(); in addNALUnit()
316 mLastIFrameProvidedAtMs = ALooper::GetNowUs() / 1000; in checkIFrameProvided()
662 uint64_t msecsSinceLastIFrame = (ALooper::GetNowUs() / 1000) - mLastIFrameProvidedAtMs; in assembleMore()
DAHEVCAssembler.cpp139 int64_t nowTimeUs = ALooper::GetNowUs(); in addNALUnit()
324 mLastIFrameProvidedAtMs = ALooper::GetNowUs() / 1000; in checkIFrameProvided()
665 uint64_t msecsSinceLastIFrame = (ALooper::GetNowUs() / 1000) - mLastIFrameProvidedAtMs; in assembleMore()
DARTPSource.cpp266 int64_t nowUs = ALooper::GetNowUs(); in queuePacket()
382 int64_t nowUs = ALooper::GetNowUs(); in addFIR()
504 ((ALooper::GetNowUs() - mLastSrUpdateTimeUs) * 65536.0 / 1E6); in addReceiverReport()
DARTPWriter.cpp667 uint32_t ms = tolel(ALooper::GetNowUs() / 1000ll); in send()
703 uint32_t rtpTime = getRtpTime(ALooper::GetNowUs()); in addSR()
1236 mTrafficRec->updateClock(ALooper::GetNowUs() / 1000); in sendAVCData()
1707 mTrafficRec->updateClock(ALooper::GetNowUs() / 1000); in ModerateInstantTraffic()
/frameworks/av/cmds/stagefright/
DAudioPlayer.cpp48 mNumFramesPlayedSysTimeUs(ALooper::GetNowUs()), in AudioPlayer()
294 mNumFramesPlayedSysTimeUs = ALooper::GetNowUs(); in pause()
389 mNumFramesPlayedSysTimeUs = ALooper::GetNowUs(); in reset()
611 mNumFramesPlayedSysTimeUs = ALooper::GetNowUs(); in fillBuffer()
658 mNumFramesPlayedSysTimeUs = ALooper::GetNowUs(); in seekTo()
Dmuxer.cpp158 int64_t muxerStartTimeUs = ALooper::GetNowUs(); in muxing()
225 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()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerRenderer.cpp390 status_t result = mMediaClock->getMediaTime(ALooper::GetNowUs(), mediaUs); in getCurrentPosition()
409 int64_t nowUs = ALooper::GetNowUs(); in getCurrentPosition()
419 return mMediaClock->getMediaTime(ALooper::GetNowUs(), mediaUs); in getCurrentPosition()
871 const int64_t diffUs = mPauseDrainAudioAllowedUs - ALooper::GetNowUs(); in postDrainAudioQueue_l()
1005 int64_t nowUs = ALooper::GetNowUs(); in fillAudioBuffer()
1026 postEOSDelayUs = getPendingAudioPlayoutDurationUs(ALooper::GetNowUs()); in fillAudioBuffer()
1130 postEOSDelayUs = getPendingAudioPlayoutDurationUs(ALooper::GetNowUs()); in onDrainAudioQueue()
1255 int64_t nowUs = ALooper::GetNowUs(); in getPendingAudioPlayoutDurationUs()
1303 int64_t nowUs = ALooper::GetNowUs(); in onNewAudioMediaTime()
1357 int64_t nowUs = ALooper::GetNowUs(); in postDrainVideoQueue()
[all …]
DRTPSource.cpp278 setEOSTimeout(audio, ALooper::GetNowUs()); in dequeueAccessUnit()
279 } else if ((ALooper::GetNowUs() - eosTimeout) > kNearEOSTimeoutUs) { in dequeueAccessUnit()
458 accessUnit->meta()->setInt64("timeUs", ALooper::GetNowUs()); in onMessageReceived()
/frameworks/av/media/module/foundation/include/media/stagefright/foundation/
DALooper.h55 static int64_t GetNowUs();
/frameworks/av/media/module/extractors/mpeg2/
DMPEG2TSExtractor.cpp348 int64_t startTime = ALooper::GetNowUs(); in init()
402 haveAudio, haveVideo, ALooper::GetNowUs() - startTime); in init()
407 if (ALooper::GetNowUs() - startTime > 2000000LL) { in init()
419 && ALooper::GetNowUs() - startTime <= 2000000LL) { in init()
478 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