Home
last modified time | relevance | path

Searched refs:SECOND_TO_MILLISECOND (Results 1 - 20 of 20) sorted by relevance

/foundation/resourceschedule/device_usage_statistics/utils/src/
H A Dbundle_active_util.cpp23 const int32_t SECOND_TO_MILLISECOND = 1000; member
58 time_t startOfDay = mktime(tm_time) * SECOND_TO_MILLISECOND; in GetIntervalTypeStartTime()
75 return mktime(tm_time) * SECOND_TO_MILLISECOND; in GetIntervalTypeStartTime()
/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Danr_thread.cpp23 constexpr uint64_t SECOND_TO_MILLISECOND = 1000; member
35 name, std::move(task), delayTime * SECOND_TO_MILLISECOND); in PostTaskToTaskRunner()
/foundation/filemanagement/dfs_service/interfaces/inner_api/native/cloud_file_kit_inner/
H A Ddata_sync_const.h75 const int32_t SECOND_TO_MILLISECOND = 1000; member
93 return t.tv_sec * MILLISECOND_TO_NANOSECOND + t.tv_nsec / SECOND_TO_MILLISECOND; in GetCurrentTimeStamp()
/foundation/arkui/ace_engine/frameworks/core/components/data_panel/
H A Drender_data_panel.cpp26 constexpr double SECOND_TO_MILLISECOND = 1000.0; member
209 if (std::abs(percentChange_ * MILLISECOND_PER_PERCENT) > animationDuring_.count() * SECOND_TO_MILLISECOND) { in PrepareAnimation()
212 animationTime = animationDuring_.count() * SECOND_TO_MILLISECOND; in PrepareAnimation()
/foundation/filemanagement/dfs_service/services/clouddisk_database/include/
H A Dclouddisk_type_const.h70 constexpr int64_t SECOND_TO_MILLISECOND = 1e3; member
/foundation/arkui/ace_engine/frameworks/core/components/track/
H A Drender_track.cpp26 constexpr double SECOND_TO_MILLISECOND = 1000.0; member
127 if (std::abs(percentChange_ * MILLISECOND_PER_PERCENT) > animationDuring_.count() * SECOND_TO_MILLISECOND) { in UpdateAnimation()
130 animationTime = animationDuring_.count() * SECOND_TO_MILLISECOND; in UpdateAnimation()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/
H A Drs_render_interpolating_spring_animation.cpp28 constexpr float SECOND_TO_MILLISECOND = 1e3; member
220 SetDuration(std::lroundf(EstimateDuration() * SECOND_TO_MILLISECOND)); in OnInitialize()
H A Drs_render_spring_animation.cpp28 constexpr static float SECOND_TO_MILLISECOND = 1e3; member
305 SetDuration(std::lroundf(springValueEstimator_->UpdateDuration() * SECOND_TO_MILLISECOND)); in OnInitialize()
/foundation/filemanagement/dfs_service/test/unittests/cloudsync_sa/mock/
H A Dcloud_file_utils_mock.cpp34 static const int64_t SECOND_TO_MILLISECOND = 1e3; member
/foundation/filemanagement/dfs_service/utils/cloud_disk/src/
H A Dcloud_file_utils.cpp34 static const int64_t SECOND_TO_MILLISECOND = 1e3; member
148 return time.tv_sec * SECOND_TO_MILLISECOND + time.tv_nsec / MILLISECOND_TO_NANOSECOND; in Timespec2Milliseconds()
/foundation/multimedia/audio_framework/services/audio_service/server/src/
H A Dpro_renderer_stream_impl.cpp31 constexpr int32_t SECOND_TO_MILLISECOND = 1000; member
133 uint32_t desSpanSize = (desSamplingRate_ * DEFAULT_BUFFER_MILLISECOND) / SECOND_TO_MILLISECOND; in InitParams()
712 spanSizeInFrame_ = (streamInfo.samplingRate * DEFAULT_BUFFER_MILLISECOND) / SECOND_TO_MILLISECOND; in InitBasicInfo()
/foundation/filemanagement/dfs_service/frameworks/native/cloud_file_kit_inner/src/data_sync/
H A Ddata_syncer_rdb_store.cpp101 return t.tv_sec * SECOND_TO_MILLISECOND + t.tv_nsec / MILLISECOND_TO_NANOSECOND; in UTCTimeMilliSeconds()
/foundation/filemanagement/user_file_service/utils/
H A Dfile_util.h38 constexpr int SECOND_TO_MILLISECOND = 1000; member
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/security_component/
H A Dsecurity_component_handler.cpp28 constexpr uint64_t SECOND_TO_MILLISECOND = 1000; member
786 static_cast<uint64_t>(time.time_since_epoch().count()) / SECOND_TO_MILLISECOND; in ReportSecurityComponentClickEvent()
811 static_cast<uint64_t>(event.timeStamp.time_since_epoch().count()) / SECOND_TO_MILLISECOND; in ReportSecurityComponentClickEvent()
/foundation/arkui/ace_engine/frameworks/core/components/button/
H A Drender_button.cpp31 constexpr double SECOND_TO_MILLISECOND = 1000.0; member
684 double during = animationDuring_.count() * SECOND_TO_MILLISECOND; in UpdateProgressAnimation()
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/offload/
H A Doffload_audio_renderer_sink.cpp62 const uint64_t SECOND_TO_MILLISECOND = 1000; member
965 uint32_t size = (uint64_t) sizeMs * AUDIO_SAMPLE_RATE_48K * 4 * STEREO_CHANNEL_COUNT / SECOND_TO_MILLISECOND; in SetBufferSize()
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/bluetooth/
H A Dbluetooth_renderer_sink.cpp63 const uint32_t SECOND_TO_MILLISECOND = 1000; member
1053 uint32_t reqBufferFrameSize = totalBufferInMs * (attr_.sampleRate / SECOND_TO_MILLISECOND); in PrepareMmapBuffer()
/foundation/filemanagement/user_file_service/interfaces/kits/native/trash/src/
H A Dfile_trash_n_exporter.cpp401 fileInfoEntity.ctime = static_cast<int64_t>(atoll(timeSlot.c_str()) / SECOND_TO_MILLISECOND); in GenerateFileInfoEntity()
/foundation/filemanagement/dfs_service/services/cloudfiledaemon/src/fuse_manager/
H A Dfuse_manager.cpp668 return t.tv_sec * CloudDisk::SECOND_TO_MILLISECOND + t.tv_nsec / CloudDisk::MILLISECOND_TO_NANOSECOND; in UTCTimeMilliSeconds()
/foundation/filemanagement/dfs_service/services/clouddisk_database/src/
H A Dclouddisk_rdbstore.cpp310 return t.tv_sec * SECOND_TO_MILLISECOND + t.tv_nsec / MILLISECOND_TO_NANOSECOND; in UTCTimeMilliSeconds()

Completed in 21 milliseconds