/base/sensors/miscdevice/frameworks/js/napi/vibrator/src/ |
H A D | vibrator_js.cpp | 71 static std::set<std::string> g_allowedTypes = {"time", "preset", "file", "pattern"}; 222 CHKCF(GetPropertyInt32(env, pointsElement, "time", point.time), "Get points time fail"); in ParseVibratorCurvePoint() 262 CHKCF(GetPropertyInt32(env, element, "time", event.time), "Get time fail"); in ParseVibrateEvent() 293 CHKCF(GetPropertyInt32(env, pattern, "time", info.vibratorPattern.time), "Get time fai in ParseVibratorPattern() [all...] |
/drivers/hdf_core/framework/core/manager/test/unittest/common/ |
H A D | hdf_ioservice_test.cpp | 106 OsalTimespec time; in OnDevEventReceived() local 107 OsalGetTime(&time); in OnDevEventReceived() 109 eventCount++, static_cast<char *>(service->priv), time.sec, time.usec); in OnDevEventReceived() 125 OsalTimespec time; in OnDevEventReceivedTest() local 126 OsalGetTime(&time); in OnDevEventReceivedTest() 129 static_cast<char *>(listener->priv), eventCount++, static_cast<char *>(service->priv), time.sec, time.usec); in OnDevEventReceivedTest() 161 OsalTimespec time; in SendEvent() local 162 OsalGetTime(&time); in SendEvent() [all...] |
/foundation/arkui/ace_engine/adapter/ohos/entrance/ |
H A D | mmi_event_convertor.cpp | 115 return event.time; in GetTouchEventOriginTimeStamp() 118 TimeStamp time(microseconds); in GetTouchEventOriginTimeStamp() 119 return time; in GetTouchEventOriginTimeStamp() 163 TimeStamp time(microseconds); in ConvertTouchEvent() 172 .SetTime(time) in ConvertTouchEvent() 348 events.time = TimeStamp(microseconds); in ConvertMouseEvent() 414 TimeStamp time(microseconds); in ConvertAxisEvent() 415 event.time = time; in ConvertAxisEvent() 448 TimeStamp time(microsecond in ConvertKeyEvent() [all...] |
/foundation/multimedia/image_framework/plugins/common/libs/image/libjpegplugin/src/ |
H A D | jpeg_decoder.cpp | 944 std::string time = ""; in SetOriginalTimes() local 953 time += " 00:00:00"; in SetOriginalTimes() 956 time = dataTime.substr(position); in SetOriginalTimes() 962 if (time.find(":") == data.npos) { in SetOriginalTimes() 963 time += ":00:00"; in SetOriginalTimes() 964 } else if (time.find_first_of(":") == time.find_last_of(":")) { in SetOriginalTimes() 965 time += ":00"; in SetOriginalTimes() 967 std::string timeTmp = time; in SetOriginalTimes() 968 time in SetOriginalTimes() [all...] |
/foundation/multimodalinput/input/service/mouse_event_normalize/src/ |
H A D | mouse_transform_processor.cpp | 461 int64_t time = GetSysClockTime(); in HandleAxisPostInner() local 462 pointerItem.SetDownTime(time); in HandleAxisPostInner() 474 pointerEvent_->SetActionTime(time); in HandleAxisPostInner() 475 pointerEvent_->SetActionStartTime(time); in HandleAxisPostInner() 497 int64_t time = GetSysClockTime(); in HandlePostInner() local 498 pointerItem.SetDownTime(time); in HandlePostInner() 509 pointerEvent_->SetActionTime(time); in HandlePostInner() 510 pointerEvent_->SetActionStartTime(time); in HandlePostInner() 653 int64_t time = GetSysClockTime(); in HandlePostMoveMouse() local 654 pointerItem.SetDownTime(time); in HandlePostMoveMouse() [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/src/ |
H A D | distributeddb_kv_batch_crud_test.cpp | 825 for (unsigned long time = 0; time < entries1.size(); ++time) { in HWTEST_F() 826 keys1.push_back(entries1.at(time).key); in HWTEST_F() 872 for (unsigned long time = 0; time < entries.size(); ++time) { in RegisterSnapAgainAndCheck2() 873 keys1.push_back(entries.at(time).key); in RegisterSnapAgainAndCheck2() 952 for (unsigned long time = 0; time < entries in RegisterSnapAgainAndCheck5() [all...] |
/foundation/multimodalinput/input/tools/inject_event/src/ |
H A D | input_manager_command.cpp | 30 #include <sys/time.h> 304 std::cout << "total time is out of range:" in ParseCommand() 331 std::cout << "system time error" << std::endl; in ParseCommand() 421 int64_t time = pointerEvent->GetActionStartTime(); in ParseCommand() local 422 pointerEvent->SetActionTime(time + ACTION_TIME); in ParseCommand() 432 time = pointerEvent->GetActionStartTime(); in ParseCommand() 433 pointerEvent->SetActionTime(time + ACTION_TIME); in ParseCommand() 443 time = pointerEvent->GetActionStartTime(); in ParseCommand() 444 pointerEvent->SetActionTime(time + ACTION_TIME); in ParseCommand() 520 std::cout << "invalid press time" << st in ParseCommand() 705 int64_t time = GetSysClockTime(); ParseCommand() local 888 int64_t time = GetSysClockTime(); ParseCommand() local [all...] |
/test/testfwk/xdevice/src/xdevice/_core/report/ |
H A D | reporter_helper.py | 21 import time namespace 74 time = "time" variable in ReportConstant 108 # time constants 209 ReportConstant.time, 0)) + float( 210 case.get(ReportConstant.time, 0)), 3) 211 suite.set(ReportConstant.time, str(update_time)) 286 # update time 288 ReportConstant.time, 0)) + float( 289 data_element.get(ReportConstant.time, 363 time = "" global() variable in Suite 407 time = "" global() variable in Case [all...] |
/third_party/node/tools/ |
H A D | test.py | 41 import time namespace 205 # If ECONNREFUSED on SmartOS, retry the test one time. 453 self.start_time = time.time() 489 elapsed = time.time() - self.start_time 712 # Compute the end time - if the process crosses this limit we 715 else: end_time = time.time() + timeout 723 if (not end_time is None) and (time [all...] |
/base/security/asset/frameworks/utils/src/ |
H A D | lib.rs | 19 pub mod time; modules
|
/applications/standard/contacts_data/test/unittest/src/ |
H A D | recovery_test.cpp | 33 int time = 3000; in ClearData() local 34 std::chrono::milliseconds dura(time); in ClearData()
|
/base/hiviewdfx/hiview/base/ |
H A D | plugin.cpp | 151 lastActiveTime_ = time(nullptr);
in UpdateActiveTime() 156 lastActiveTime_ = time(nullptr) + delay;
in UpdateTimeByDelay()
|
/base/location/frameworks/cj/source/ |
H A D | locator_callback.cpp | 135 void LocatorCallback::Wait(int time) in Wait() argument 138 latch_->Wait(time); in Wait()
|
/base/hiviewdfx/hiview/plugins/faultlogger/service/idl/src/ |
H A D | faultlog_info_ohos.cpp | 25 if (!parcel.WriteInt64(time) || !parcel.WriteInt32(uid) || in Marshalling() 73 if (!parcel.ReadInt64(ret->time)) { in Unmarshalling()
|
/base/inputmethod/imf/common/include/ |
H A D | global.h | 21 #include <sys/time.h> 22 #include <time.h>
|
/base/hiviewdfx/faultloggerd/common/cutil/ |
H A D | dfx_cutil.c | 22 #include <sys/time.h> 23 #include <time.h>
|
/base/powermgr/power_manager/test/unittest/src/scenario_test/wakeup_suspend/ |
H A D | power_suspend_test.cpp | 65 static_cast<int64_t>(time(nullptr)), WakeupDeviceType::WAKEUP_DEVICE_POWER_BUTTON, "PowerSuspendTest001"); in HWTEST_F() 95 static_cast<int64_t>(time(nullptr)), WakeupDeviceType::WAKEUP_DEVICE_POWER_BUTTON, "PowerSuspendTest002"); in HWTEST_F()
|
/base/notification/distributed_notification_service/frameworks/ans/src/ |
H A D | reminder_request_timer.cpp | 32 (void)time(&now); in ReminderRequestTimer() 37 ANSR_LOGW("Failed to get boot time due to TimeServiceClient is null."); in ReminderRequestTimer() 43 ANSR_LOGW("Get boot time error."); in ReminderRequestTimer() 66 ANSR_LOGD("countdown time not support PreGetNextTriggerTimeIgnoreSnooze"); in PreGetNextTriggerTimeIgnoreSnooze() 84 ANSR_LOGD("countdown time not support repeat reminder, no need to update next triggerTime"); in UpdateNextReminder() 92 ANSR_LOGE("Illegal count down time, please check the description of the constructor"); in CheckParamsValid() 103 ANSR_LOGD("%{public}s, update countdown time trigger time", description.c_str()); in UpdateTimeInfo() 105 (void)time(&now); // unit is seconds. in UpdateTimeInfo()
|
/base/notification/distributed_notification_service/services/ans/include/ |
H A D | notification_analytics_util.h | 85 int32_t time; member 104 const std::chrono::system_clock::time_point &now, int32_t time = 1);
|
/base/request/request/services/src/manage/config/ |
H A D | cert_manager.rs | 15 use std::time::Duration; 52 ylong_runtime::time::sleep(Duration::from_secs(UPDATE_SYSTEM_CERT_INTERVAL_IN_SECS)).await;
|
/base/request/request/services/src/manage/scheduler/state/ |
H A D | mod.rs | 15 use std::time::Duration; 111 ylong_runtime::time::sleep(Duration::from_secs(60)).await;
|
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/include/ |
H A D | hks_access_control_test_common.h | 48 uint64_t time; member 112 uint64_t time; member
|
/base/startup/init/services/log/ |
H A D | init_log.c | 22 #include <time.h>
23 #include <sys/time.h>
51 char dateTime[80] = {"00-00-00 00:00:00"}; // 80 data time
in LogToFile()
|
/base/telephony/sms_mms/test/unittest/ |
H A D | short_message_test.cpp | 87 int64_t time = shortMessage_->GetScTimestamp(); in TestShowShortMessage() local 88 std::cout << "GetScTimestamp = " << ctime(static_cast<time_t *>(&(time))); in TestShowShortMessage()
|
/base/web/webview/ohos_adapter/ohos_resource_adapter/include/ |
H A D | ohos_resource_adapter_impl.h | 66 uint16_t& date, uint16_t& time, bool isSys = false) override; 68 bool GetRawFileLastModTime(const std::string& rawFile, time_t& time, bool isSys = false) override;
|