Home
last modified time | relevance | path

Searched refs:start_time (Results 1 - 21 of 21) sorted by relevance

/foundation/graphic/graphic_2d/rosen/modules/render_service_base/rust/src/
H A Dlib.rs21 fn generate_value(start_value: f32, end_value: f32, start_time: i32, end_time: i32, current_time: i32) -> f32 ; in generate_value()
25 fn generate_value(start_value: f32, end_value: f32, start_time: i32, end_time: i32, current_time: i32) -> f32 { in generate_value()
26 let t = if end_time - start_time != 0 { in generate_value()
27 (current_time - start_time) as f32 / (end_time - start_time) as f32 in generate_value()
/foundation/communication/netstack/interfaces/innerkits/rust/ylong_http_client/src/reqwest_impl/async_impl/downloader/
H A Dmod.rs210 if now.duration_since(self.info.as_mut().unwrap().start_time) >= timeout { in check_timeout()
226 pub(crate) start_time: Instant,
234 start_time: Instant::now(), in new()
/foundation/graphic/graphic_2d/rosen/test/hyper_graphic_manager/unittest/
H A Dhgm_task_handle_thread_test.cpp93 auto start_time = std::chrono::high_resolution_clock::now(); in HWTEST_F() local
100 EXPECT_GE(std::chrono::duration_cast<std::chrono::milliseconds>(end_time - start_time).count(), 1000); in HWTEST_F()
/foundation/systemabilitymgr/samgr/test/autotest/testcases/level0/
H A Dcase26_init001.py27 start_time = time.monotonic()
30 if time.monotonic() - start_time > timeout:
/foundation/ability/idl_tool/test/sa_test/
H A Dtest_base.py186 start_time = get_time_stamp()
191 print_success("[ OK ] {} ({}ms)".format(self.name, end_time - start_time))
193 print_failure("[ FAILED ] {} ({}ms)".format(self.name, end_time - start_time))
/foundation/ability/idl_tool/test/hdi_unittest/base/
H A Dtest_base.py225 start_time = get_time_stamp()
230 print_success("[ OK ] {} ({}ms)".format(self.name, end_time - start_time))
232 print_failure("[ FAILED ] {} ({}ms)".format(self.name, end_time - start_time))
/foundation/communication/netmanager_base/frameworks/native/netpolicyclient/src/
H A Dnet_quota_policy.cpp217 time_t start_time = mktime(&tm); in GetPeriodStart() local
218 return start_time; in GetPeriodStart()
/foundation/distributeddatamgr/preferences/frameworks/js/napi/common/src/
H A Dnapi_async_call.cpp108 auto start_time = std::chrono::steady_clock::now(); in Async() local
125 auto duration = std::chrono::duration_cast<std::chrono::milliseconds>(end_time - start_time); in Async()
/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/demuxer/
H A Dffmpeg_format_helper.cpp286 avStream->codecpar->codec_type == AVMEDIA_TYPE_VIDEO && avStream->start_time != AV_NOPTS_VALUE) { in GetDefaultTrackStartTime()
287 dafaultTime = AvTime2Us(ConvertTimeFromFFmpeg(avStream->start_time, avStream->time_base)); in GetDefaultTrackStartTime()
342 if (avFormatContext.start_time != AV_NOPTS_VALUE) { in ParseMediaInfo()
343 format.Set<Tag::MEDIA_CONTAINER_START_TIME>(static_cast<int64_t>(avFormatContext.start_time)); in ParseMediaInfo()
448 if (avStream.start_time != AV_NOPTS_VALUE) { in ParseBaseTrackInfo()
450 AvTime2Us(ConvertTimeFromFFmpeg(avStream.start_time, avStream.time_base))); in ParseBaseTrackInfo()
H A Dffmpeg_demuxer_plugin.cpp159 if (stream->start_time != AV_NOPTS_VALUE) { in CheckStartTime()
160 startTime = stream->start_time; in CheckStartTime()
/foundation/multimedia/av_codec/test/moduletest/vcodec/encoder/include/
H A Dvideoenc_sample.h139 int64_t start_time = 0; member in OHOS::Media::VEncNdkSample
H A Dvideoenc_api11_sample.h167 int64_t start_time = 0; member in OHOS::Media::VEncAPI11Sample
/foundation/multimedia/av_codec/test/moduletest/vcodec/hevcswdecoder/include/
H A Dvideodec_sample.h127 int64_t start_time = 0; member in OHOS::Media::VDecNdkSample
H A Dvideodec_api11_sample.h145 int64_t start_time = 0; member in OHOS::Media::VDecAPI11Sample
/foundation/multimedia/av_codec/test/moduletest/vcodec/hwdecoder/include/
H A Dvideodec_api11_sample.h147 int64_t start_time = 0; member in OHOS::Media::VDecAPI11Sample
H A Dvideodec_sample.h134 int64_t start_time = 0; member in OHOS::Media::VDecNdkSample
/foundation/multimedia/av_codec/test/moduletest/vcodec/swdecoder/include/
H A Dvideodec_api11_sample.h140 int64_t start_time = 0; member in OHOS::Media::VDecAPI11Sample
H A Dvideodec_sample.h117 int64_t start_time = 0; member in OHOS::Media::VDecNdkSample
/foundation/ability/idl_tool/test/cmd_test/
H A Dcmd_test.py97 start_time = get_time_stamp()
102 print_success("[ OK ] {} ({}ms)".format(self.name, end_time - start_time))
104 print_failure("[ FAILED ] {} ({}ms)".format(self.name, end_time - start_time))
/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/demuxer/
H A Dffmpeg_track_meta.cpp82 ConvertTimeFromFFmpeg(avStream.start_time, avStream.time_base)); in ConvertCommonTrackToMetaInfo()
/foundation/multimedia/audio_framework/services/audio_service/server/src/
H A Dpa_renderer_stream_impl.cpp1303 auto start_time = std::chrono::steady_clock::now(); in UpdatePaTimingInfo() local
1305 if ((std::chrono::steady_clock::now() - start_time) > std::chrono::seconds(PA_STREAM_IMPL_TIMEOUT + 1)) { in UpdatePaTimingInfo()

Completed in 14 milliseconds