Home
last modified time | relevance | path

Searched refs:lastCheckTime_ (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/base/update/updateservice/services/core/ability/status_cache/src/
H A Dstatus_cache.cpp26 …if (lastCheckTime_ != -1 && abs(GetCurrentTime() - lastCheckTime_) > Constant::FIVE_MINUTES_SECOND… in IsChecking()
37 lastCheckTime_ = GetCurrentTime(); in SetIsChecking()
/ohos5.0/base/update/updateservice/services/core/ability/status_cache/include/
H A Dstatus_cache.h40 int64_t lastCheckTime_ = -1; variable
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/source/
H A Dfile_fd_source_plugin.cpp669 if ((curTime - lastCheckTime_) > RECORD_TIME_INTERVAL) { in GetCurrentSpeed()
671 PUBLIC_LOG_U64 " downloadSize_: " PUBLIC_LOG_U64, curTime, lastCheckTime_, downloadSize_); in GetCurrentSpeed()
672 float duration = static_cast<double>(curTime - lastCheckTime_) / MILLISECOUND_TO_SECOND; in GetCurrentSpeed()
677 lastCheckTime_ = curTime; in GetCurrentSpeed()
H A Dfile_fd_source_plugin.h107 int64_t lastCheckTime_ {0};
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/dash/
H A Ddash_segment_downloader.cpp100 lastCheckTime_ = 0; in Open()
903 if (now > lastCheckTime_ && now - lastCheckTime_ > RECORD_TIME_INTERVAL) { in OnWriteRingBuffer()
906 downloadDuringTime_ = now - lastCheckTime_; in OnWriteRingBuffer()
935 lastCheckTime_ = now; in OnWriteRingBuffer()
H A Ddash_segment_downloader.h227 uint64_t lastCheckTime_ {0};
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/http/
H A Dhttp_media_downloader.h138 int64_t lastCheckTime_ {0};
H A Dhttp_media_downloader.cpp968 if ((static_cast<int64_t>(now) - lastCheckTime_) > static_cast<int64_t>(SAMPLE_INTERVAL)) { in DownloadReport()
971 downloadDuringTime_ = now - static_cast<uint64_t>(lastCheckTime_); in DownloadReport()
993 lastCheckTime_ = static_cast<int64_t>(now); in DownloadReport()
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/hls/
H A Dhls_media_downloader.cpp915 if (now > lastCheckTime_ && now - lastCheckTime_ > SAMPLE_INTERVAL) { in DownloadReport()
918 downloadDuringTime_ = now - lastCheckTime_; in DownloadReport()
944 lastCheckTime_ = now; in DownloadReport()
H A Dhls_media_downloader.h200 uint64_t lastCheckTime_ {0};