Home
last modified time | relevance | path

Searched refs:seconds (Results 1 – 25 of 356) sorted by relevance

12345678910>>...15

/foundation/distributedhardware/device_manager/common/include/show_confirm_dialog/dialog_ui/js/pages/index/
Dindex.js27 seconds:60,
36 this.seconds--;
37 if (this.seconds === 0) {
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/
Dbms_system_bundle_installer_test.cpp234 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));
/foundation/arkui/ace_engine/frameworks/core/gestures/
Dvelocity_tracker.cpp140 auto seconds = duration.count(); in UpdateTouchPoint() local
141 xAxis_.UpdatePoint(seconds, event.x); in UpdateTouchPoint()
142 yAxis_.UpdatePoint(seconds, event.y); in UpdateTouchPoint()
166 auto seconds = duration.count(); in UpdateTrackerPoint() local
167 xAxis_.UpdatePoint(seconds, x); in UpdateTrackerPoint()
168 yAxis_.UpdatePoint(seconds, y); in UpdateTrackerPoint()
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/base/
Dtime_span.h62 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));
/foundation/communication/netstack/frameworks/js/napi/http/cache/cache_strategy/src/
Dhttp_time.cpp35 auto tmp = std::chrono::duration_cast<std::chrono::seconds>(tp.time_since_epoch()); in StrTimeToTimestamp()
42 return std::chrono::duration_cast<std::chrono::seconds>(now.time_since_epoch()).count(); in GetNowTimeSeconds()
48 …time_t timeSeconds = std::chrono::duration_cast<std::chrono::seconds>(now.time_since_epoch()).coun… in GetNowTimeGMT()
/foundation/communication/netstack/frameworks/native/http/http_client/
Dhttp_client_time.cpp32 …time_t timeSeconds = std::chrono::duration_cast<std::chrono::seconds>(now.time_since_epoch()).coun… in GetNowTimeGMT()
51 return std::chrono::duration_cast<std::chrono::seconds>(now.time_since_epoch()).count(); in GetNowTimeGMT()
61 auto tmp = std::chrono::duration_cast<std::chrono::seconds>(tp.time_since_epoch()); in GetNowTimeGMT()
/foundation/multimodalinput/input/tools/event_inject/test/
Dprocessing_touch_screen_device_test.cpp51 std::this_thread::sleep_for(std::chrono::seconds(1));
63 std::this_thread::sleep_for(std::chrono::seconds(1));
95 std::this_thread::sleep_for(std::chrono::seconds(1));
126 std::this_thread::sleep_for(std::chrono::seconds(2));
Dprocessing_keyboard_device_test.cpp51 std::this_thread::sleep_for(std::chrono::seconds(1));
63 std::this_thread::sleep_for(std::chrono::seconds(1));
94 std::this_thread::sleep_for(std::chrono::seconds(1));
Dprocessing_finger_device_test.cpp51 std::this_thread::sleep_for(std::chrono::seconds(1));
63 std::this_thread::sleep_for(std::chrono::seconds(1));
Dprocessing_mouse_device_test.cpp51 std::this_thread::sleep_for(std::chrono::seconds(1));
63 std::this_thread::sleep_for(std::chrono::seconds(1));
/foundation/arkui/ace_engine_lite/frameworks/examples/music/src/main/js/default/pages/index/
Dindex.js194 timeChange(seconds) {
195 console.log('timeChange:start:' + seconds);
196 if (seconds === null || seconds < 0) {
201 minute = Math.floor(seconds / 60);
202 second = Math.floor(seconds % 60);
/foundation/distributeddatamgr/kv_store/test/fuzztest/taskscheduler_fuzzer/
Dtaskscheduler_fuzzer.cpp32 std::this_thread::sleep_for(std::chrono::seconds(MAX_INTERVAL_TIME)); in AtFuzz()
42 std::this_thread::sleep_for(std::chrono::seconds(MAX_INTERVAL_TIME)); in EveryFUZZ()
45 std::this_thread::sleep_for(std::chrono::seconds(MAX_INTERVAL_TIME)); in EveryFUZZ()
/foundation/multimedia/player_framework/test/sample/AVPlayer/entry/src/main/ets/model/
DMediaLibraryUtils.ts71 let seconds: number = Math.round(ms / MS_TIME);
72 let sec: number = (seconds % MIN_TIME);
73 let min: number = (seconds - sec) / MIN_TIME;
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/
Dref_object.cpp129 const std::function<bool(void)> &condition, int seconds) in WaitLockedUntil() argument
140 if (seconds > 0) { in WaitLockedUntil()
141 cv.wait_for(lock, std::chrono::seconds(seconds)); in WaitLockedUntil()
/foundation/communication/bluetooth_service/test/example/bluetoothtest/entry/src/main/ets/MainAbility/model/
DDateTimeUtil.ts61 concatTime(hours: number, minutes: number, seconds: number) {
62 return `${this.fill(hours)}${this.fill(minutes)}${this.fill(seconds)}`
/foundation/communication/wifi/wifi/test/wifi_testapp/entry/src/main/ets/entryability/model/
DDateTimeUtil.ts61 concatTime(hours: number, minutes: number, seconds: number) {
62 return `${this.fill(hours)}${this.fill(minutes)}${this.fill(seconds)}`
/foundation/multimedia/av_session/test/resource/
Dcontroller_index_js.md309 let seconds = muv % 60;
310 if(seconds.toString().length < 2) {
311 seconds = '0' + seconds.toString();
313 this.durationMin = minutes.toString() + ':' + seconds.toString();
333 let seconds = muv % 60;
334 if(seconds.toString().length < 2) {
335 seconds = '0' + seconds.toString();
337 this.CurrentTimeOn = minutes.toString() + ':' + seconds.toString();
389 let seconds = muv % 60;
390 if(seconds.toString().length < 2) {
[all …]
/foundation/multimedia/camera_framework/frameworks/native/camera/test/ndktest/camera_ndk_demo/entry/src/main/ets/model/
DDateTimeUtil.ts69 concatTime(hours: number, minutes: number, seconds: number) {
70 return `${this.fill(hours)}${this.fill(minutes)}${this.fill(seconds)}`
/foundation/multimedia/player_framework/services/utils/
Dtime_format_utils.cpp59 long seconds = (hours * 60 + mins) * 60; in FormatDateTimeByTimeZone() local
60 diffTime = symbol == '+' ? seconds : -seconds; in FormatDateTimeByTimeZone()
70 …std::chrono::system_clock::from_time_t(std::mktime(&tm)) + std::chrono::seconds(timezone - diffTim… in FormatDateTimeByTimeZone()
/foundation/ai/ai_engine/services/common/platform/time/source/
Dtime.cpp28 std::chrono::seconds sec = std::chrono::duration_cast<std::chrono::seconds>(d); in GetCurTimeSec()
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/demo/entry/src/main/ets/model/
DDateTimeUtil.ts72 concatTime(hours: number, minutes: number, seconds: number): string {
73 return `${this.fill(hours)}${this.fill(minutes)}${this.fill(seconds)}`;
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_manager_test/
Dnet_diag_wrapper_test.cpp95 std::this_thread::sleep_for(std::chrono::seconds(PING_WAIT_MS));
113 std::this_thread::sleep_for(std::chrono::seconds(PING_WAIT_MS));
132 std::this_thread::sleep_for(std::chrono::seconds(PING_WAIT_MS));
150 std::this_thread::sleep_for(std::chrono::seconds(PING_WAIT_MS));
170 std::this_thread::sleep_for(std::chrono::seconds(PING_WAIT_MS));
190 std::this_thread::sleep_for(std::chrono::seconds(PING_WAIT_MS));
211 std::this_thread::sleep_for(std::chrono::seconds(PING_WAIT_MS));
233 std::this_thread::sleep_for(std::chrono::seconds(PING_WAIT_MS));
257 std::this_thread::sleep_for(std::chrono::seconds(PING_WAIT_MS));
286 std::this_thread::sleep_for(std::chrono::seconds(PING_WAIT_MS));
[all …]
/foundation/multimedia/audio_framework/frameworks/native/audiopolicy/test/unittest/stream_manager_test/src/
Daudio_stream_manager_unit_test.cpp300 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME));
352 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME));
387 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME));
417 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME));
474 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME));
545 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME));
597 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME));
627 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME));
646 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME));
651 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME));
[all …]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/communicator/src/
Dsoftbus_client.h59 static constexpr Duration BR_CLOSE_DELAY = std::chrono::seconds(5);
60 static constexpr Duration HML_CLOSE_DELAY = std::chrono::seconds(3);
61 static constexpr Duration MAX_DELAY = std::chrono::seconds(20);
/foundation/distributeddatamgr/kv_store/frameworks/common/test/
Dexecutor_pool_test.cpp111 …auto id = executorPool_->Schedule(task, std::chrono::seconds(0), std::chrono::seconds(LONG_INTERVA…
115 std::this_thread::sleep_for(std::chrono::seconds(LONG_INTERVAL * 10));
209 std::chrono::seconds(0), std::chrono::milliseconds(SHORT_INTERVAL), 10);
210 std::this_thread::sleep_for(std::chrono::seconds(LONG_INTERVAL));

12345678910>>...15