Home
last modified time | relevance | path

Searched refs:when (Results 1 – 25 of 27) sorted by relevance

12

/base/notification/eventhandler/frameworks/eventhandler/include/
Devent_handler_utils.h44 static inline int64_t TimePointToTimeOut(const InnerEvent::TimePoint &when) in TimePointToTimeOut() argument
47 if (when <= now) { in TimePointToTimeOut()
51 auto duration = when - now; in TimePointToTimeOut()
/base/time/time_service/services/timer/include/
Dtimer_info.h37 std::chrono::milliseconds when; variable
46 std::chrono::milliseconds when,
Dtimer_handler.h36 int Set(uint32_t type, std::chrono::nanoseconds when);
Dtimer_manager.h66 std::chrono::milliseconds when,
93 void SetLocked(int type, std::chrono::nanoseconds when);
94 … std::chrono::steady_clock::time_point ConvertToElapsed(std::chrono::milliseconds when, int type);
/base/time/time_service/services/timer/src/
Dtimer_handler.cpp105 int TimerHandler::Set(uint32_t type, std::chrono::nanoseconds when) in Set() argument
112 auto second = std::chrono::duration_cast<std::chrono::seconds>(when); in Set()
113 timespec ts {second.count(), (when - second).count()}; in Set()
Dtimer_manager.cpp238 std::chrono::milliseconds when, in SetHandlerLocked() argument
250 auto alarm = std::make_shared<TimerInfo>(id, type, when, whenElapsed, windowLength, maxWhen, in SetHandlerLocked()
327 timer->when = timer->origWhen; in ReAddTimerLocked()
328 auto whenElapsed = ConvertToElapsed(timer->when, timer->type); in ReAddTimerLocked()
347 std::chrono::steady_clock::time_point TimerManager::ConvertToElapsed(std::chrono::milliseconds when in ConvertToElapsed() argument
353 auto offset = when - systemTimeNow; in ConvertToElapsed()
359 auto offset = when - bootTimeNow; in ConvertToElapsed()
452 … SetHandlerLocked(alarm->id, alarm->type, alarm->when + delta, nextElapsed, alarm->windowLength, in TriggerTimersLocked()
501 void TimerManager::SetLocked(int type, std::chrono::nanoseconds when) in SetLocked() argument
503 handler_->Set(static_cast<uint32_t>(type), when); in SetLocked()
Dtimer_info.cpp48 when {_when},
/base/update/updater/services/package/pkg_manager/
Dpkg_utils.cpp161 void ExtraTimeAndDate(time_t when, uint16_t &date, uint16_t &time) in GetFileSize() argument
163 when = static_cast<time_t>((static_cast<unsigned long>(when) + 1) & (~1)); in GetFileSize()
166 localtime_s(&nowTime, &when); in GetFileSize()
168 localtime_r(&when, &nowTime); in GetFileSize()
Dpkg_utils.h41 void ExtraTimeAndDate(time_t when, uint16_t &date, uint16_t &time);
/base/powermgr/battery_manager/services/native/test/unittest/
DBUILD.gn91 ### test exceptions when Remote() return nullptr
123 ### test exceptions when MessageParcel::WriteInterfaceToken() return false
155 ### test exceptions when SendRequest() return value not equal ERR_OK
188 ### test exceptions when read reply MessageParcel error
220 ### test batterywakeup when battery plugged or not
/base/security/permission_lite/services/pms/include/
Dperm_define.h60 enum GrantTime when; member
/base/security/permission_lite/
DREADME_zh.md139 "when": "always"
149 "when": "always"
159 "when": "always"
177 "when": "always"
187 "when": "always"
197 "when": "always"
DREADME.md240 "when": "always"
250 "when": "always"
260 "when": "always"
/base/sensors/start/
DREADME.md24 …itee.com/openharmony/sensors_miscdevice) part compartments, respectively. when selecting a part, t…
25 …ation items for the 3601 service. The sensors.xml file starts the service when the sensors process…
/base/update/updater/test/unittest/test_data/diffpatch/
Dpatchtest.new27 # will be the string passed as the name when the template is invoked.
/base/security/certificate_manager/frameworks/cert_manager_standard/main/common/
DBUILD.gn28 [ ":cert_manager_config" ] # Share include files for other gn when deps.
/base/security/huks/frameworks/huks_standard/main/common/
DBUILD.gn37 [ ":huks_config" ] # Share include files for other gn when deps.
/base/hiviewdfx/hichecker/
DREADME.md54 … | Defines a caution rule, which is programmed to print a log when an alarm is generat…
55 …fines a caution rule, which is programmed to force an application to exit when an alarm is generat…
/base/notification/eventhandler/interfaces/inner_api/
Devent_queue.h234 void WaitUntilLocked(const InnerEvent::TimePoint &when, std::unique_lock<std::mutex> &lock);
/base/notification/eventhandler/frameworks/eventhandler/src/
Devent_queue.cpp460 void EventQueue::WaitUntilLocked(const InnerEvent::TimePoint &when, std::unique_lock<std::mutex> &l… in WaitUntilLocked() argument
464 if (!ioWaiterHolder->WaitFor(lock, TimePointToTimeOut(when))) { in WaitUntilLocked()
/base/security/appverify/
DREADME.md17 …tion package to ensure that the installation package is not tampered with when it is released on d…
/base/telephony/state_registry/
DREADME.md34 - The API for registering an observer for the SIM card status takes effect only when SIM cards ar…
/base/hiviewdfx/hilog/
DREADME.md27 1. hilogd is a resident service and is enabled by default when the system is started.
/base/sensors/miscdevice/
DREADME.md38 - The APIs are valid only when your hardware is equipped with the required misc devices.
/base/request/request/
DREADME.md162 | filename | string | File name in the request header when multiple parts are submitted. |
163 | name | string | Name of a form item when multiple parts are submitted. The default value is *…

12