Searched refs:TIME_CONVERSION (Results 1 – 12 of 12) sorted by relevance
/ohos5.0/foundation/multimodalinput/input/intention/scheduler/timer_manager/src/ |
H A D | timer_manager.cpp | 36 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 D | timer_manager.cpp | 36 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 D | mock_form_data_mgr.cpp | 88 formRecord.updateDuration = UPDATE_DURATION * Constants::TIME_CONVERSION; in GetFormRecord() 102 formRecord.updateDuration = UPDATE_DURATION * Constants::TIME_CONVERSION; in GetFormRecord()
|
H A D | fms_form_event_util_test.cpp | 1103 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 D | form_constants.h | 133 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 D | mock_form_data_mgr.cpp | 47 formRecord.updateDuration = UPDATE_DURATION * Constants::TIME_CONVERSION; in GetFormRecord()
|
/ohos5.0/foundation/ability/form_fwk/services/src/ |
H A D | form_event_util.cpp | 365 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 D | form_data_mgr.cpp | 1410 record.updateDuration = configDuration * Constants::TIME_CONVERSION; in ParseIntervalConfig()
|
H A D | form_mgr_adapter.cpp | 3549 int64_t cloudsDuration = duration * Constants::TIME_CONVERSION; in GetValidFormUpdateDuration()
|
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_mgr_adapter_test/ |
H A D | fms_form_mgr_adapter_test2.cpp | 1817 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 D | mock_form_data_mgr.cpp | 263 formRecord.updateDuration = UPDATE_DURATION * Constants::TIME_CONVERSION; in GetFormRecord()
|
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_data_mgr_test/ |
H A D | fms_form_data_mgr_test.cpp | 3829 EXPECT_EQ(record.updateDuration, configDuration * Constants::TIME_CONVERSION);
|