/ohos5.0/base/notification/common_event_service/tools/test/systemtest/cem/ |
H A D | common_event_command_publish_system_test.cpp | 181 int64_t seconds = 0; variable 187 if (seconds >= TIME_OUT_SECONDS_LIMIT) { 196 EXPECT_LT(seconds, TIME_OUT_SECONDS_LIMIT); 241 int64_t seconds = 0; variable 247 if (seconds >= TIME_OUT_SECONDS_LIMIT) { 256 EXPECT_LT(seconds, TIME_OUT_SECONDS_LIMIT); 301 int64_t seconds = 0; variable 307 if (seconds >= TIME_OUT_SECONDS_LIMIT) { 316 EXPECT_LT(seconds, TIME_OUT_SECONDS_LIMIT); 361 int64_t seconds = 0; variable [all …]
|
/ohos5.0/base/notification/common_event_service/test/systemtest/common/ces/common_event_services_system_test/ |
H A D | common_event_services_system_test.cpp | 701 int64_t seconds = 0; variable 740 int64_t seconds = 0; variable 778 int64_t seconds = 0; variable 818 int64_t seconds = 0; variable 858 int64_t seconds = 0; variable 928 int64_t seconds = 0; variable 1022 int64_t seconds = 0; variable 1094 int64_t seconds = 0; variable 1134 int64_t seconds = 0; variable 1204 int64_t seconds = 0; variable [all …]
|
/ohos5.0/base/notification/common_event_service/test/systemtest/common/ces/common_event_services_publish_ordered_system_test/ |
H A D | common_event_services_publish_ordered_system_test.cpp | 164 int64_t seconds = 0; in ProcessSubscriberTestCase3() local 195 int64_t seconds = 0; in ProcessSubscriberTestCase5() local 226 int64_t seconds = 0; in AsyncProcess() local 232 if (seconds >= outtime) { in AsyncProcess() 321 int64_t seconds = 0; in ProcessSubscriberAnotherTestCase5() local 354 int64_t seconds = 0; in AsyncProcess() local 480 int64_t seconds = 0; variable 595 int64_t seconds = 0; variable 708 int64_t seconds = 0; variable 821 int64_t seconds = 0; variable [all …]
|
/ohos5.0/base/notification/common_event_service/services/test/moduletest/common_event_services_publish_ordered_module_test/ |
H A D | common_event_services_publish_ordered_module_test.cpp | 174 int64_t seconds = 0; in ProcessSubscriberTestCase3() local 207 int64_t seconds = 0; in ProcessSubscriberTestCase5() local 239 int64_t seconds = 0; in AsyncProcess() local 334 int64_t seconds = 0; in ProcessSubscriberAnotherTestCase5() local 367 int64_t seconds = 0; in AsyncProcess() local 495 int64_t seconds = 0; variable 613 int64_t seconds = 0; variable 725 int64_t seconds = 0; variable 838 int64_t seconds = 0; variable 950 int64_t seconds = 0; variable [all …]
|
/ohos5.0/drivers/hdf_core/framework/test/unittest/platform/virtual/ |
H A D | watchdog_virtual.c | 17 int32_t seconds; member 73 static int32_t VirtualWatchdogSetTimeout(struct WatchdogCntlr *wdt, uint32_t seconds) in VirtualWatchdogSetTimeout() argument 82 virtual->seconds = seconds; in VirtualWatchdogSetTimeout() 87 static int32_t VirtualWatchdogGetTimeout(struct WatchdogCntlr *wdt, uint32_t *seconds) in VirtualWatchdogGetTimeout() argument 91 if (wdt == NULL || seconds == NULL) { in VirtualWatchdogGetTimeout() 96 *seconds = virtual->seconds; in VirtualWatchdogGetTimeout()
|
/ohos5.0/base/telephony/core_service/test/unittest/core_service_gtest/ |
H A D | network_search_test_callback_stub.cpp | 71 getNetworkModeCv_.wait_for(callbackLock, std::chrono::seconds(timeoutSecond)); in WaitForGetNetworkModeCallback() 77 setNetworkModeCv_.wait_for(callbackLock, std::chrono::seconds(timeoutSecond)); in WaitForSetNetworkModeCallback() 83 setRadioStateCv_.wait_for(callbackLock, std::chrono::seconds(timeoutSecond)); in WaitForSetRadioStateCallback() 89 getRadioStateCv_.wait_for(callbackLock, std::chrono::seconds(timeoutSecond)); in WaitForGetRadioStateCallback() 95 getNetworkSearchInformationCv_.wait_for(callbackLock, std::chrono::seconds(timeoutSecond)); in WaitForGetNetworkSearchInformationCallback() 101 setPreferredNetworkCv_.wait_for(callbackLock, std::chrono::seconds(timeoutSecond)); in WaitForSetPreferredNetworkCallback() 107 getPreferredNetworkCv_.wait_for(callbackLock, std::chrono::seconds(timeoutSecond)); in WaitForGetPreferredNetworkCallback() 113 setNrOptionModeCv_.wait_for(callbackLock, std::chrono::seconds(timeoutSecond)); in WaitForSetNrOptionModeCallback() 119 getNrOptionModeCv_.wait_for(callbackLock, std::chrono::seconds(timeoutSecond)); in WaitForGetNrOptionModeCallback()
|
/ohos5.0/drivers/hdf_core/adapter/platform/watchdog/ |
H A D | watchdog_wm.c | 31 static int32_t WatchdogDevSetTimeout(struct WatchdogCntlr *watchdogCntlr, uint32_t seconds); 32 static int32_t WatchdogDevGetTimeout(struct WatchdogCntlr *watchdogCntlr, uint32_t *seconds); 54 static int32_t WatchdogDevSetTimeout(struct WatchdogCntlr *watchdogCntlr, uint32_t seconds) in WatchdogDevSetTimeout() argument 56 g_watchdogTimeout = seconds; in WatchdogDevSetTimeout() 57 tls_watchdog_init(seconds); in WatchdogDevSetTimeout() 61 static int32_t WatchdogDevGetTimeout(struct WatchdogCntlr *watchdogCntlr, uint32_t *seconds) in WatchdogDevGetTimeout() argument 63 if (watchdogCntlr == NULL || seconds == NULL) { in WatchdogDevGetTimeout() 70 *seconds = g_watchdogTimeout; in WatchdogDevGetTimeout()
|
H A D | watchdog_bes.c | 24 static int32_t WatchdogDevSetTimeout(struct WatchdogCntlr *watchdogCntlr, uint32_t seconds); 25 static int32_t WatchdogDevGetTimeout(struct WatchdogCntlr *watchdogCntlr, uint32_t *seconds); 245 static int32_t WatchdogDevSetTimeout(struct WatchdogCntlr *watchdogCntlr, uint32_t seconds) in WatchdogDevSetTimeout() argument 254 g_watchdogTimeout = seconds; in WatchdogDevSetTimeout() 257 hal_wdt_set_timeout(watchdogId, seconds); in WatchdogDevSetTimeout() 261 static int32_t WatchdogDevGetTimeout(struct WatchdogCntlr *watchdogCntlr, uint32_t *seconds) in WatchdogDevGetTimeout() argument 263 if (watchdogCntlr == NULL || seconds == NULL) { in WatchdogDevGetTimeout() 267 *seconds = g_watchdogTimeout; in WatchdogDevGetTimeout()
|
/ohos5.0/foundation/communication/nfc/test/unittest/services/tags_test/ |
H A D | tag_foreground_test.cpp | 66 std::this_thread::sleep_for(std::chrono::seconds(3)); 84 std::this_thread::sleep_for(std::chrono::seconds(3)); 102 std::this_thread::sleep_for(std::chrono::seconds(3)); 118 std::this_thread::sleep_for(std::chrono::seconds(3)); 134 std::this_thread::sleep_for(std::chrono::seconds(3)); 152 std::this_thread::sleep_for(std::chrono::seconds(3)); 170 std::this_thread::sleep_for(std::chrono::seconds(3)); 186 std::this_thread::sleep_for(std::chrono::seconds(3));
|
/ohos5.0/base/inputmethod/imf/test/common/src/ |
H A D | text_listener.cpp | 218 textListenerCv_.wait_for(lock, std::chrono::seconds(KEYBOARD_STATUS_WAIT_TIME_OUT), in WaitSendKeyboardStatusCallback() 226 textListenerCv_.wait_for(lock, std::chrono::seconds(1), [info]() { return info == info_; }); in WaitNotifyPanelStatusInfoCallback() 233 … textListenerCv_.wait_for(lock, std::chrono::seconds(1), [height]() { return height_ == height; }); in WaitNotifyKeyboardHeightCallback() 241 … lock, std::chrono::seconds(1), [privateCommand]() { return privateCommand_ == privateCommand; }); in WaitSendPrivateCommandCallback() 247 …textListenerCv_.wait_for(lock, std::chrono::seconds(1), [insertText]() { return insertText_ == ins… in WaitInsertText() 253 …textListenerCv_.wait_for(lock, std::chrono::seconds(1), [direction]() { return direction_ == direc… in WaitMoveCursor() 259 …textListenerCv_.wait_for(lock, std::chrono::seconds(1), [length]() { return deleteForwardLength_ =… in WaitDeleteForward() 265 …textListenerCv_.wait_for(lock, std::chrono::seconds(1), [length]() { return deleteBackwardLength_ … in WaitDeleteBackward() 271 …textListenerCv_.wait_for(lock, std::chrono::seconds(1), [functionKey]() { return key_ == functionK… in WaitSendFunctionKey() 277 … textListenerCv_.wait_for(lock, std::chrono::seconds(1), [action]() { return action_ == action; }); in WaitHandleExtendAction() [all …]
|
H A D | ime_setting_listener_test_impl.cpp | 37 imeSettingListenerCv_.wait_for(lock, std::chrono::seconds(SWITCH_IME_WAIT_TIME), in WaitPanelHide() 44 imeSettingListenerCv_.wait_for(lock, std::chrono::seconds(SWITCH_IME_WAIT_TIME), in WaitPanelShow() 52 …imeSettingListenerCv_.wait_for(lock, std::chrono::seconds(SWITCH_IME_WAIT_TIME), []() { return isI… in WaitImeChange() 61 imeSettingListenerCv_.wait_for(lock, std::chrono::seconds(SWITCH_IME_WAIT_TIME), in WaitTargetImeChange() 70 imeSettingListenerCv_.wait_for(lock, std::chrono::seconds(SWITCH_IME_WAIT_TIME), in WaitImeChange()
|
H A D | keyboard_listener_test_impl.cpp | 82 …kdListenerCv_.wait_for(lock, std::chrono::seconds(1), [&keyCode]() { return keyCode == keyCode_; }… in WaitKeyEvent() 88 kdListenerCv_.wait_for(lock, std::chrono::seconds(1), []() { return cursorHeight_ > 0; }); in WaitCursorUpdate() 94 …kdListenerCv_.wait_for(lock, std::chrono::seconds(1), [&newBegin]() { return newBegin == newBegin_… in WaitSelectionChange() 100 kdListenerCv_.wait_for(lock, std::chrono::seconds(1), [&text]() { return text == text_; }); in WaitTextChange() 107 … lock, std::chrono::seconds(1), [&inputAttribute]() { return inputAttribute == inputAttribute_; }); in WaitEditorAttributeChange()
|
/ohos5.0/drivers/hdf_core/framework/support/platform/src/watchdog/ |
H A D | watchdog_core.c | 182 int32_t WatchdogCntlrSetTimeout(struct WatchdogCntlr *cntlr, uint32_t seconds) in WatchdogCntlrSetTimeout() argument 200 ret = cntlr->ops->setTimeout(cntlr, seconds); in WatchdogCntlrSetTimeout() 205 int32_t WatchdogCntlrGetTimeout(struct WatchdogCntlr *cntlr, uint32_t *seconds) in WatchdogCntlrGetTimeout() argument 218 if (seconds == NULL) { in WatchdogCntlrGetTimeout() 227 ret = cntlr->ops->getTimeout(cntlr, seconds); in WatchdogCntlrGetTimeout() 294 uint32_t seconds; in WatchdogUserSetTimeout() local 301 if (!HdfSbufReadUint32(data, &seconds)) { in WatchdogUserSetTimeout() 306 return WatchdogCntlrSetTimeout(cntlr, seconds); in WatchdogUserSetTimeout() 312 uint32_t seconds; in WatchdogUserGetTimeout() local 318 ret = WatchdogCntlrGetTimeout(cntlr, &seconds); in WatchdogUserGetTimeout() [all …]
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/ |
H A D | bms_system_bundle_installer_test.cpp | 234 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME)); 250 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME)); 266 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME)); 283 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME)); 300 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME)); 317 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME)); 334 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME)); 351 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME)); 368 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME)); 385 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME));
|
/ohos5.0/drivers/hdf_core/framework/support/platform/src/rtc/ |
H A D | rtc_base.c | 87 uint64_t seconds; in RtcTimeToTimestamp() local 103 … seconds = ((uint64_t)time->hour * RTC_MAX_MINUTE + time->minute) * RTC_MAX_SECOND + time->second; in RtcTimeToTimestamp() 116 seconds += days * RTC_DAY_SECONDS; in RtcTimeToTimestamp() 117 return seconds; in RtcTimeToTimestamp() 120 void TimestampToRtcTime(struct RtcTime *time, const uint64_t seconds) in TimestampToRtcTime() argument 122 uint32_t daySeconds = (uint32_t)(seconds % RTC_DAY_SECONDS); in TimestampToRtcTime() 123 uint32_t days = (uint32_t)(seconds / RTC_DAY_SECONDS); in TimestampToRtcTime()
|
/ohos5.0/commonlibrary/c_utils/base/test/unittest/common/ |
H A D | utils_safe_block_queue_test.cpp | 179 std::this_thread::sleep_for(std::chrono::seconds(2)); 193 std::this_thread::sleep_for(std::chrono::seconds(2)); 237 std::this_thread::sleep_for(std::chrono::seconds(4)); 254 std::this_thread::sleep_for(std::chrono::seconds(2)); 305 std::this_thread::sleep_for(std::chrono::seconds(3)); 351 std::this_thread::sleep_for(std::chrono::seconds(3)); 405 std::this_thread::sleep_for(std::chrono::seconds(4)); 421 std::this_thread::sleep_for(std::chrono::seconds(2)); 459 std::this_thread::sleep_for(std::chrono::seconds(3)); 473 std::this_thread::sleep_for(std::chrono::seconds(1)); [all …]
|
H A D | utils_safe_block_queue_tracking.cpp | 176 std::this_thread::sleep_for(std::chrono::seconds(2)); 187 std::this_thread::sleep_for(std::chrono::seconds(1)); 245 std::this_thread::sleep_for(std::chrono::seconds(4)); 268 std::this_thread::sleep_for(std::chrono::seconds(2)); 280 std::this_thread::sleep_for(std::chrono::seconds(1)); 326 std::this_thread::sleep_for(std::chrono::seconds(3)); 383 std::this_thread::sleep_for(std::chrono::seconds(3)); 460 std::this_thread::sleep_for(std::chrono::seconds(4)); 481 std::this_thread::sleep_for(std::chrono::seconds(2)); 535 std::this_thread::sleep_for(std::chrono::seconds(3)); [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/base/ |
H A D | time_span.h | 62 constexpr void SetSeconds(float seconds) noexcept in META_BEGIN_NAMESPACE() 64 value_ = ToMicroseconds(seconds); in META_BEGIN_NAMESPACE() 82 static constexpr TimeSpan Seconds(float seconds) noexcept in META_BEGIN_NAMESPACE() 84 return TimeSpan(ToMicroseconds(seconds)); in META_BEGIN_NAMESPACE() 304 static constexpr int64_t ToMicroseconds(float seconds) noexcept in META_BEGIN_NAMESPACE() 306 return Round(seconds * 1000000.0f); in META_BEGIN_NAMESPACE() 315 constexpr TimeSpan operator"" _s(unsigned long long seconds) 317 return TimeSpan::Seconds(static_cast<float>(seconds));
|
/ohos5.0/drivers/hdf_core/framework/support/platform/include/watchdog/ |
H A D | watchdog_core.h | 36 int32_t (*setTimeout)(struct WatchdogCntlr *wdt, uint32_t seconds); 37 int32_t (*getTimeout)(struct WatchdogCntlr *wdt, uint32_t *seconds); 97 int32_t WatchdogCntlrSetTimeout(struct WatchdogCntlr *cntlr, uint32_t seconds); 99 int32_t WatchdogCntlrGetTimeout(struct WatchdogCntlr *cntlr, uint32_t *seconds);
|
/ohos5.0/foundation/distributeddatamgr/pasteboard/services/test/unittest/src/ |
H A D | pasteboard_deduplicate_memory_test.cpp | 95 std::this_thread::sleep_for(std::chrono::seconds(1)); 99 std::this_thread::sleep_for(std::chrono::seconds(1)); 119 std::this_thread::sleep_for(std::chrono::seconds(1)); 123 std::this_thread::sleep_for(std::chrono::seconds(1)); 143 std::this_thread::sleep_for(std::chrono::seconds(1));
|
/ohos5.0/foundation/multimedia/av_session/test/resource/ |
H A D | controller_index_js.md | 309 let seconds = muv % 60; 311 seconds = '0' + seconds.toString(); 333 let seconds = muv % 60; 335 seconds = '0' + seconds.toString(); 391 seconds = '0' + seconds.toString(); 449 let seconds = muv % 60; 451 seconds = '0' + seconds.toString(); 477 let seconds = muv % 60; 479 seconds = '0' + seconds.toString(); 530 seconds = '0' + seconds.toString(); [all …]
|
/ohos5.0/base/notification/common_event_service/services/test/moduletest/common_event_services_module_test/ |
H A D | common_event_services_module_test.cpp | 592 int64_t seconds = 0; variable 602 EXPECT_LT(seconds, TIME_OUT_SECONDS_LIMIT); 636 int64_t seconds = 0; variable 685 int64_t seconds = 0; variable 734 int64_t seconds = 0; variable 783 int64_t seconds = 0; variable 855 int64_t seconds = 0; variable 865 EXPECT_LT(seconds, TIME_OUT_SECONDS_LIMIT); 905 int64_t seconds = 0; variable 1317 int64_t seconds = 0; variable [all …]
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audioutils/test/unittest/ |
H A D | audio_utils_unit_test.cpp | 346 std::this_thread::sleep_for(std::chrono::seconds(2)); 360 std::this_thread::sleep_for(std::chrono::seconds(2)); 404 std::this_thread::sleep_for(std::chrono::seconds(4)); 421 std::this_thread::sleep_for(std::chrono::seconds(2)); 472 std::this_thread::sleep_for(std::chrono::seconds(3)); 518 std::this_thread::sleep_for(std::chrono::seconds(3)); 572 std::this_thread::sleep_for(std::chrono::seconds(4)); 588 std::this_thread::sleep_for(std::chrono::seconds(2)); 626 std::this_thread::sleep_for(std::chrono::seconds(3)); 640 std::this_thread::sleep_for(std::chrono::seconds(1)); [all …]
|
/ohos5.0/drivers/peripheral/bluetooth/hci/hdi_service/implement/ |
H A D | hci_watcher.cpp | 59 std::chrono::seconds seconds = std::chrono::duration_cast<std::chrono::seconds>(timeout); in SetTimeout() local 61 timeoutTimer_.tv_sec = seconds.count(); in SetTimeout() 62 timeoutTimer_.tv_usec = (timeout - seconds).count(); in SetTimeout()
|
/ohos5.0/foundation/distributedhardware/device_manager/common/include/show_confirm_dialog/dialog_ui/js/pages/index/ |
H A D | index.js | 27 seconds:60, 36 this.seconds--; 37 if (this.seconds === 0) {
|