/foundation/graphic/graphic_2d/rosen/modules/render_service_base/rust/src/ |
H A D | lib.rs | 21 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 D | mod.rs | 210 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 D | hgm_task_handle_thread_test.cpp | 93 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 D | case26_init001.py | 27 start_time = time.monotonic()
30 if time.monotonic() - start_time > timeout:
|
/foundation/ability/idl_tool/test/sa_test/ |
H A D | test_base.py | 186 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 D | test_base.py | 225 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 D | net_quota_policy.cpp | 217 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 D | napi_async_call.cpp | 108 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 D | ffmpeg_format_helper.cpp | 286 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 D | ffmpeg_demuxer_plugin.cpp | 159 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 D | videoenc_sample.h | 139 int64_t start_time = 0; member in OHOS::Media::VEncNdkSample
|
H A D | videoenc_api11_sample.h | 167 int64_t start_time = 0; member in OHOS::Media::VEncAPI11Sample
|
/foundation/multimedia/av_codec/test/moduletest/vcodec/hevcswdecoder/include/ |
H A D | videodec_sample.h | 127 int64_t start_time = 0; member in OHOS::Media::VDecNdkSample
|
H A D | videodec_api11_sample.h | 145 int64_t start_time = 0; member in OHOS::Media::VDecAPI11Sample
|
/foundation/multimedia/av_codec/test/moduletest/vcodec/hwdecoder/include/ |
H A D | videodec_api11_sample.h | 147 int64_t start_time = 0; member in OHOS::Media::VDecAPI11Sample
|
H A D | videodec_sample.h | 134 int64_t start_time = 0; member in OHOS::Media::VDecNdkSample
|
/foundation/multimedia/av_codec/test/moduletest/vcodec/swdecoder/include/ |
H A D | videodec_api11_sample.h | 140 int64_t start_time = 0; member in OHOS::Media::VDecAPI11Sample
|
H A D | videodec_sample.h | 117 int64_t start_time = 0; member in OHOS::Media::VDecNdkSample
|
/foundation/ability/idl_tool/test/cmd_test/ |
H A D | cmd_test.py | 97 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 D | ffmpeg_track_meta.cpp | 82 ConvertTimeFromFFmpeg(avStream.start_time, avStream.time_base)); in ConvertCommonTrackToMetaInfo()
|
/foundation/multimedia/audio_framework/services/audio_service/server/src/ |
H A D | pa_renderer_stream_impl.cpp | 1303 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()
|