Home
last modified time | relevance | path

Searched refs:TIME_CONVERSION (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/foundation/multimodalinput/input/intention/scheduler/timer_manager/src/
H A Dtimer_manager.cpp36 constexpr int32_t TIME_CONVERSION { 1000 }; variable
308 tspec.it_value.tv_sec = expire / TIME_CONVERSION; in ArmTimer()
309 tspec.it_value.tv_nsec = (expire % TIME_CONVERSION) * TIME_CONVERSION * TIME_CONVERSION; in ArmTimer()
/ohos5.0/base/msdp/device_status/intention/scheduler/timer_manager/src/
H A Dtimer_manager.cpp36 constexpr int32_t TIME_CONVERSION { 1000 }; variable
308 tspec.it_value.tv_sec = expire / TIME_CONVERSION; in ArmTimer()
309 tspec.it_value.tv_nsec = (expire % TIME_CONVERSION) * TIME_CONVERSION * TIME_CONVERSION; in ArmTimer()
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_event_util_test/
H A Dmock_form_data_mgr.cpp88 formRecord.updateDuration = UPDATE_DURATION * Constants::TIME_CONVERSION; in GetFormRecord()
102 formRecord.updateDuration = UPDATE_DURATION * Constants::TIME_CONVERSION; in GetFormRecord()
H A Dfms_form_event_util_test.cpp1103 int64_t updateDuration = 2 * Constants::TIME_CONVERSION;
1125 EXPECT_EQ(formTimer.period, 10 * Constants::TIME_CONVERSION);
/ohos5.0/foundation/ability/form_fwk/interfaces/inner_api/include/
H A Dform_constants.h133 const long TIME_CONVERSION = 30 * 60 * TIME_1000; variable
136 const long MIN_PERIOD = MIN_CONFIG_DURATION * TIME_CONVERSION; // 30 min in ms unit
137 const long MAX_PERIOD = MAX_CONFIG_DURATION * TIME_CONVERSION; // 1 week in ms unit
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_data_proxy_record_test/
H A Dmock_form_data_mgr.cpp47 formRecord.updateDuration = UPDATE_DURATION * Constants::TIME_CONVERSION; in GetFormRecord()
/ohos5.0/foundation/ability/form_fwk/services/src/
H A Dform_event_util.cpp365 cfg.updateDuration = updateDuration * Constants::TIME_CONVERSION; in GetTimerCfg()
586 formRecord.updateDuration = formInfo.updateDuration * Constants::TIME_CONVERSION; in UpdateFormRecord()
600 formRecord.updateDuration = formInfo.updateDuration * Constants::TIME_CONVERSION; in UpdateFormRecord()
H A Dform_data_mgr.cpp1410 record.updateDuration = configDuration * Constants::TIME_CONVERSION; in ParseIntervalConfig()
H A Dform_mgr_adapter.cpp3549 int64_t cloudsDuration = duration * Constants::TIME_CONVERSION; in GetValidFormUpdateDuration()
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_mgr_adapter_test/
H A Dfms_form_mgr_adapter_test2.cpp1817 EXPECT_EQ(updateDuration, 2 * Constants::TIME_CONVERSION);
1845 EXPECT_EQ(updateDuration, 2 * Constants::TIME_CONVERSION);
1877 EXPECT_EQ(updateDuration, 2 * Constants::TIME_CONVERSION);
1884 EXPECT_EQ(updateDuration, 2 * Constants::TIME_CONVERSION);
1891 EXPECT_EQ(updateDuration, 2 * Constants::TIME_CONVERSION);
1898 EXPECT_EQ(updateDuration, 2 * Constants::TIME_CONVERSION);
1905 EXPECT_EQ(updateDuration, 2 * Constants::TIME_CONVERSION);
1912 EXPECT_EQ(updateDuration, 7 * Constants::TIME_CONVERSION);
1919 EXPECT_EQ(updateDuration, 4 * Constants::TIME_CONVERSION);
H A Dmock_form_data_mgr.cpp263 formRecord.updateDuration = UPDATE_DURATION * Constants::TIME_CONVERSION; in GetFormRecord()
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_data_mgr_test/
H A Dfms_form_data_mgr_test.cpp3829 EXPECT_EQ(record.updateDuration, configDuration * Constants::TIME_CONVERSION);