/foundation/resourceschedule/work_scheduler/services/native/src/ |
H A D | work_policy_manager.cpp | 430 WS_HILOGD("deep idle and charger condition, update watchdog time:%{public}d", LONG_WATCHDOG_TIME); in UpdateWatchdogTime() 487 WS_HILOGE("watchdog:%{public}u time out error, workStatus is nullptr", watchdogId); in WatchdogTimeOut() 624 void WorkPolicyManager::SetWatchdogTimeByDump(int32_t time) in SetWatchdogTimeByDump() argument 626 WS_HILOGD("Set watchdog time by dump to %{public}d", time); in SetWatchdogTimeByDump() 627 watchdogTime_ = time == 0 ? WATCHDOG_TIME : time; in SetWatchdogTimeByDump() 631 void WorkPolicyManager::SetWatchdogTime(int32_t time) in SetWatchdogTime() argument 633 watchdogTime_ = time; in SetWatchdogTime() 670 int time in TriggerIdeWork() local [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/ |
H A D | distributeddb_storage_register_observer_test.cpp | 198 Timestamp time; in TestForOperation() local 199 g_singleVerNaturaStore->GetMaxTimestamp(time); in TestForOperation() 204 dataItem.timestamp = time + 1; in TestForOperation() 680 static void PreSyncDataForRegisterObserver014(Timestamp time, vector<DataItem> &dataItems) in PreSyncDataForRegisterObserver014() argument 683 DataItem dataItem = {g_entry1.key, g_entry1.value, ++time, 1}; in PreSyncDataForRegisterObserver014() 727 // get max time in HWTEST_F() 728 Timestamp time; in HWTEST_F() local 729 g_singleVerNaturaStore->GetMaxTimestamp(time); in HWTEST_F() 745 PreSyncDataForRegisterObserver014(time, dataItems); in HWTEST_F()
|
/foundation/communication/dhcp/test/unittest/services/dhcp_client/ |
H A D | dhcp_client_state_machine_test.cpp | 364 time_t curTimestamp = time(NULL); in HWTEST_F() 377 time_t curTimestamp = time(NULL); in HWTEST_F() 393 time_t curTimestamp = time(NULL); in HWTEST_F() 428 time_t curTimestamp = time(NULL); in HWTEST_F() 450 time_t curTimestamp = time(NULL); in HWTEST_F() 502 time_t curTimestamp = time(NULL); in HWTEST_F() 610 time_t curTimestamp = time(NULL); in HWTEST_F() 679 time_t curTimestamp = time(NULL); in HWTEST_F()
|
/test/testfwk/xdevice/plugins/ohos/src/ohos/drivers/ |
H A D | cpp_driver_lite.py | 22 import time namespace 345 time.sleep(5) 445 start_time = time.time() 446 while time.time() - start_time < timeout: 452 time.sleep(5) 541 time.sleep(0.5)
|
/test/xts/hats/hdf/hdf_lite/manager/common/ |
H A D | hdf_ioservice_test.cpp | 91 OsalTimespec time; in OnDevEventReceived() local 92 OsalGetTime(&time); in OnDevEventReceived() 94 eventCount++, static_cast<char *>(service->priv), time.sec, time.usec); in OnDevEventReceived() 109 OsalTimespec time; in SendEvent() local 110 OsalGetTime(&time); in SendEvent() 148 HDF_LOGE("send event finish at %" PRIu64 ".%" PRIu64 "", time.sec, time.usec); in SendEvent()
|
/third_party/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/ |
H A D | PerfTest.java | 70 * total elapsed time in milliseconds, and the second is the number of events 71 * per iteration. In this example, the time per event is 12047 / (100 * 1109044) 91 protected int time; field in PerfTest 245 public final long time(long n) { in time() method in PerfTest.Function 257 * init is called each time before looping through call 365 UOption.DEF("time", 't', UOption.REQUIRES_ARG), in getOptions() 423 System.out.println("= " + meth + " begin " + time + " seconds"); in run() 475 passes = iterations = time = -1; in parseOptions() 510 time = Integer.parseInt(options[TIME].value); in parseOptions() 592 * Translate '-t time' t [all...] |
/base/hiviewdfx/hiview/plugins/faultlogger/service/ |
H A D | faultlogger.cpp | 103 request.time = -1; in InitDumpRequest() 137 if (!std::regex_match(out[3], reDigits)) { // 3 : time section in IsLogNameValid() 154 if (item.size() == 14) { // 14 : BCD time size in FillDumpRequest() 155 request.time = TimeUtil::StrToTimeStamp(item, "%Y%m%d%H%M%S"); in FillDumpRequest() 157 StringUtil::ConvertStringTo<time_t>(item, request.time); in FillDumpRequest() 284 if (lastFgTime > info.time) { in AddPublicInfo() 377 HIVIEW_LOGI("DumpRequest: detail:%d, list:%d, file:%s, name:%s, time:%lld", in Dump() 379 static_cast<long long>(request.time)); in Dump() 395 auto fileList = mgr_->GetFaultLogFileList(request.moduleName, request.time, -1, 0, DUMP_MAX_NUM); in Dump() 421 int interval = 60; // 60s time interva in JudgmentRateLimiting() [all...] |
/base/telephony/core_service/frameworks/native/src/ |
H A D | cell_information.cpp | 52 timeStamp_ = static_cast<uint64_t>(time(0)); in Init() 60 timeStamp_ = static_cast<uint64_t>(time(0)); in Init() 91 timeStamp_ = static_cast<uint64_t>(time(0)); in SetSignalIntensity() 102 timeStamp_ = static_cast<uint64_t>(time(0)); in SetSignalLevel() 113 timeStamp_ = static_cast<uint64_t>(time(0)); in SetIsCamped() 304 timeStamp_ = time(0); in UpdateLocation() 477 timeStamp_ = static_cast<uint64_t>(time(0)); in UpdateLocation() 661 timeStamp_ = time(0); in UpdateLocation() 845 timeStamp_ = time(0); in UpdateLocation() 1031 timeStamp_ = time( in UpdateLocation() [all...] |
/drivers/peripheral/audio/hdi_service/primary_impl/src/ |
H A D | audio_render.c | 756 AUDIO_FUNC_LOGE("Calloc time Fail!"); in LogErrorGetRensonAndTime() 886 &hwRender->renderParam.frameRenderMode.time, in AudioRenderRenderFrame() 894 int32_t AudioRenderGetRenderPosition(struct IAudioRender *render, uint64_t *frames, struct AudioTimeStamp *time) in AudioRenderGetRenderPosition() argument 898 if (impl == NULL || frames == NULL || time == NULL) { in AudioRenderGetRenderPosition() 903 *time = impl->renderParam.frameRenderMode.time; in AudioRenderGetRenderPosition() 1089 int32_t AudioRenderGetMmapPosition(struct IAudioRender *handle, uint64_t *frames, struct AudioTimeStamp *time) in AudioRenderGetMmapPosition() argument 1093 if (render == NULL || frames == NULL || time == NULL) { in AudioRenderGetMmapPosition() 1115 render->renderParam.frameRenderMode.time.tvSec = in AudioRenderGetMmapPosition() 1121 render->renderParam.frameRenderMode.time in AudioRenderGetMmapPosition() [all...] |
H A D | audio_capture.c | 682 AUDIO_FUNC_LOGE("Calloc time Fail!"); in LogErrorGetRensonAndTime() 778 &hwCapture->captureParam.frameCaptureMode.time, in AudioCaptureCaptureFrame() 786 int32_t AudioCaptureGetCapturePosition(struct IAudioCapture *capture, uint64_t *frames, struct AudioTimeStamp *time) in AudioCaptureGetCapturePosition() argument 790 if (impl == NULL || frames == NULL || time == NULL) { in AudioCaptureGetCapturePosition() 796 *time = impl->captureParam.frameCaptureMode.time; in AudioCaptureGetCapturePosition() 912 int32_t AudioCaptureGetMmapPosition(struct IAudioCapture *handle, uint64_t *frames, struct AudioTimeStamp *time) in AudioCaptureGetMmapPosition() argument 916 if (capture == NULL || frames == NULL || time == NULL) { in AudioCaptureGetMmapPosition() 940 capture->captureParam.frameCaptureMode.time.tvSec = (int64_t)(capture->captureParam.frameCaptureMode.frames / in AudioCaptureGetMmapPosition() 946 capture->captureParam.frameCaptureMode.time in AudioCaptureGetMmapPosition() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/gestures/recognizers/ |
H A D | pan_recognizer.cpp | 155 transformEvent.time = Platform::GetTouchEventOriginTimeStamp(end ? lastTouchEvent_ : event); in UpdateTouchPointInVelocityTracker() 176 pesudoTouchEvent.time = event.time; in UpdateAxisPointInVelocityTracker() 192 firstInputTime_ = event.time; in HandleTouchDownEvent() 243 firstInputTime_ = event.time; in HandleTouchDownEvent() 272 pesudoTouchEvent.time = event.time; in HandleTouchDownEvent() 350 time_ = event.time; in HandleTouchUpEvent() 453 time_ = event.time; in HandleTouchMoveEvent() 1004 time_ = event.time; in UpdateTouchEventInfo() [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | bundle_util.cpp | 278 int64_t time = in GetCurrentTime() local 281 APP_LOGD("the current time in seconds is %{public}" PRId64, time); in GetCurrentTime() 282 return time; in GetCurrentTime() 287 int64_t time = in GetCurrentTimeMs() local 290 APP_LOGD("the current time in milliseconds is %{public}" PRId64, time); in GetCurrentTimeMs() 291 return time; in GetCurrentTimeMs() 296 int64_t time = in GetCurrentTimeNs() local 299 APP_LOGD("the current time i in GetCurrentTimeNs() [all...] |
/third_party/node/deps/openssl/openssl/ssl/ |
H A D | ssl_sess.c | 65 ss->calc_timeout = ss->time + ss->timeout; in ssl_session_calculate_timeout() 68 * overflow only needs to consider if |time| is positive in ssl_session_calculate_timeout() 70 ss->timeout_ovf = ss->time > 0 && ss->calc_timeout < ss->time; in ssl_session_calculate_timeout() 138 ss->time = time(NULL); in SSL_SESSION_new() 310 * complete in one iteration pretty much "most" of the time (btw: 649 if (sess_timedout(time(NULL), ret)) { in ssl_get_prev_session() 745 * the session to the SSL_SESSION_list at this time in SSL_CTX_add_session() 750 /* Adjust last used time, an in SSL_CTX_add_session() [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/ |
H A D | capture_replay_tests.py | 39 import time namespace 147 start_time = time.time() 150 elapsed_time = time.time() - start_time 818 start_time = time.time() 919 # reminder of the wait time. Therefore, limit waiting by the number of 922 time.sleep(min(STATUS_MESSAGE_PERIOD, unfinished_jobs)) 925 end_time = time [all...] |
/base/startup/init/test/unittest/ |
H A D | init_unittest.h | 23 #include <time.h>
|
/third_party/glfw/src/ |
H A D | posix_time.h | 31 #include <time.h>
|
/third_party/musl/src/time/ |
H A D | ctime_r.c | 1 #include <time.h>
|
H A D | ctime.c | 1 #include <time.h>
|
H A D | nanosleep.c | 1 #include <time.h>
|
/third_party/musl/src/linux/ |
H A D | utimes.c | 1 #include <sys/time.h>
|
/third_party/musl/src/signal/x32/ |
H A D | setitimer.c | 1 #include <sys/time.h>
|
H A D | getitimer.c | 1 #include <sys/time.h>
|
/third_party/musl/src/unistd/ |
H A D | sleep.c | 2 #include <time.h>
|
/third_party/musl/porting/liteos_a/kernel/src/time/ |
H A D | ctime_r.c | 1 #include <time.h>
|
H A D | ctime.c | 1 #include <time.h>
|