Home
last modified time | relevance | path

Searched refs:cacheTime (Results 1 - 10 of 10) sorted by relevance

/foundation/ability/idl_tool/ast/
H A Dast_method.h75 void SetCacheable(int cacheTime) in SetCacheable() argument
78 cacheTime_ = cacheTime; in SetCacheable()
/foundation/ability/idl_tool/parser/
H A Dparser.h68 bool ParseMethodProperties(bool& oneway, bool& cacheable, int& cacheTime);
80 void SetMethodAttr(ASTMethod* method, ASTType *returnType, bool oneway, bool cacheable, int cacheTime);
H A Dparser.cpp231 bool Parser::ParseMethodProperties(bool& oneway, bool& cacheable, int& cacheTime) in ParseMethodProperties() argument
252 if (!lexer_.ParseCacheable(cacheTime)) { in ParseMethodProperties()
277 void Parser::SetMethodAttr(ASTMethod* method, ASTType *returnType, bool oneway, bool cacheable, int cacheTime) in SetMethodAttr() argument
283 method->SetCacheable(cacheTime); in SetMethodAttr()
378 int cacheTime; in ParseMethod() local
380 if ((token == Token::BRACKETS_LEFT) && (ParseMethodProperties(oneway, cacheable, cacheTime) == false)) { in ParseMethod()
395 SetMethodAttr(method, type, oneway, cacheable, cacheTime); in ParseMethod()
H A Dlexer.h78 bool ParseCacheable(int& cacheTime);
H A Dlexer.cpp364 bool Lexer::ParseCacheable(int& cacheTime) in ParseCacheable() argument
393 ret = strToInt(numberStr.string(), numberStr.GetLength(), cacheTime); in ParseCacheable()
/foundation/arkui/ace_engine/frameworks/core/image/
H A Dimage_file_cache.cpp170 auto cacheTime = time(nullptr); in SaveCacheInner() local
180 infoIter->accessTime = cacheTime; in SaveCacheInner()
183 cacheFileInfo_.emplace_front(cacheFileName, cacheSize, cacheTime, in SaveCacheInner()
/foundation/multimedia/av_codec/services/media_engine/plugins/source/
H A Dfile_fd_source_plugin.cpp685 float cacheTime = GetCacheTime(avgDownloadSpeed_ / currentBitRate_); in UpdateWaterLineAbove() local
686 MEDIA_LOG_I("cacheTime: " PUBLIC_LOG_F "avgDownloadSpeed_: " PUBLIC_LOG_F in UpdateWaterLineAbove()
687 "currentBitRate: " PUBLIC_LOG_D32, cacheTime, avgDownloadSpeed_, currentBitRate_); in UpdateWaterLineAbove()
688 waterLineAbove_ = cacheTime * currentBitRate_ > GetLastSize(cachePosition_.load()) ? in UpdateWaterLineAbove()
689 GetLastSize(cachePosition_.load()) : cacheTime * currentBitRate_; in UpdateWaterLineAbove()
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/http/
H A Dhttp_media_downloader.cpp1215 float cacheTime = 0; in UpdateWaterLineAbove() local
1219 cacheTime = GetCacheDuration(ratio); in UpdateWaterLineAbove()
1221 cacheTime = DEFAULT_CACHE_TIME; in UpdateWaterLineAbove()
1223 waterLineAbove = static_cast<size_t>(cacheTime * currentBitRate_ / BYTES_TO_BIT); in UpdateWaterLineAbove()
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/hls/
H A Dhls_media_downloader.cpp1465 float cacheTime = 0; in UpdateWaterLineAbove() local
1470 cacheTime = GetCacheDuration(ratio); in UpdateWaterLineAbove()
1472 cacheTime = DEFAULT_CACHE_TIME; in UpdateWaterLineAbove()
1474 waterLineAbove = static_cast<size_t>(cacheTime * currentBitRate_ / BYTES_TO_BIT); in UpdateWaterLineAbove()
/foundation/multimedia/audio_framework/services/audio_service/client/src/
H A Drenderer_in_client.cpp621 int64_t cacheTime = static_cast<int64_t>(cacheTimeDsp + cacheTimePa) * AUDIO_NS_PER_US; in GetAudioTime() local
629 int64_t cacheTimeNow = cacheTime - deltaTimeStamp + deltaPaWriteIndexNs; in GetAudioTime()

Completed in 17 milliseconds