Home
last modified time | relevance | path

Searched defs:alarm (Results 1 – 17 of 17) sorted by relevance

/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/linux/
H A Dalarm_linux.c68 Alarm *alarm = (Alarm *)parameter; in AlarmNotify() local
98 Alarm *alarm = (Alarm *)calloc(1, (sizeof(Alarm))); in AlarmCreate() local
148 void AlarmDelete(Alarm *alarm) in AlarmDelete()
160 int32_t AlarmSet(Alarm *alarm, uint64_t timeMs, AlarmCallback callback, void *parameter) in AlarmSet()
186 void AlarmCancel(Alarm *alarm) in AlarmCancel()
/ohos5.0/base/time/time_service/services/timer/src/
H A Dbatch.cpp53 bool Batch::Add(const std::shared_ptr<TimerInfo> &alarm) in Add()
77 bool Batch::Remove(const TimerInfo &alarm) in Remove()
89 auto alarm = *it; in Remove() local
116 [package_name] (const std::shared_ptr<TimerInfo> &alarm) { in HasPackage()
H A Dtimer_proxy.cpp79 int32_t TimerProxy::CallbackAlarmIfNeed(const std::shared_ptr<TimerInfo> &alarm) in CallbackAlarmIfNeed()
155 for (const auto& alarm : timeInfoVec) { in ProxyTimer() local
197 for (const auto& alarm : timeInfoVec) { in PidProxyTimer() local
288 for (const auto& alarm : timeInfoVec) { in ResetProxyMaps() local
307 for (const auto& alarm : timeInfoVec) { in ResetProxyPidMaps() local
365 void TimerProxy::RecordUidTimerMap(const std::shared_ptr<TimerInfo> &alarm, const bool isRebatched) in RecordUidTimerMap()
389 void TimerProxy::RecordPidTimerMap(const std::shared_ptr<TimerInfo> &alarm, const bool isRebatched) in RecordPidTimerMap()
413 void TimerProxy::RemoveUidTimerMap(const std::shared_ptr<TimerInfo> &alarm) in RemoveUidTimerMap()
432 void TimerProxy::RecordProxyUidTimerMap(const std::shared_ptr<TimerInfo> &alarm) in RecordProxyUidTimerMap()
444 void TimerProxy::RecordProxyPidTimerMap(const std::shared_ptr<TimerInfo> &alarm) in RecordProxyPidTimerMap()
[all …]
H A Dtimer_manager.cpp438 auto alarm = std::make_shared<TimerInfo>(id, type, when, whenElapsed, windowLength, maxWhen, in SetHandlerLocked() local
702 bool TimerManager::ProcTriggerTimer(std::shared_ptr<TimerInfo> &alarm, in ProcTriggerTimer()
753 auto alarm = batch->Get(i); in TriggerTimersLocked() local
765 auto alarm = *iter; in TriggerTimersLocked() local
822 void TimerManager::InsertAndBatchTimerLocked(std::shared_ptr<TimerInfo> alarm) in InsertAndBatchTimerLocked()
996 void TimerManager::UpdateTimersState(std::shared_ptr<TimerInfo> &alarm) in UpdateTimersState()
1008 [this] (std::shared_ptr<TimerInfo> &alarm) { UpdateTimersState(alarm); }); in ProxyTimer()
1050 [this] (std::shared_ptr<TimerInfo> &alarm) { UpdateTimersState(alarm); })) { in ProxyTimer()
1095 [this] (std::shared_ptr<TimerInfo> &alarm) { UpdateTimersState(alarm); }); in ResetAllProxy()
1098 bool TimerManager::CheckAllowWhileIdle(const std::shared_ptr<TimerInfo> &alarm) in CheckAllowWhileIdle()
[all …]
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/hci/cmd/
H A Dhci_cmd.h32 Alarm *alarm; member
/ohos5.0/base/time/time_service/test/fuzztest/timeservice_fuzzer/timerproxy_fuzzer/
H A Dtimerproxy_fuzzer.cpp35 auto callback = [] (std::shared_ptr<TimerInfo> &alarm) {}; in FuzzTimerProxyTimer()
72 auto callback = [] (std::shared_ptr<TimerInfo> &alarm) {}; in FuzzTimerResetProxy()
/ohos5.0/drivers/hdf_core/adapter/khdf/linux/platform/rtc/
H A Drtc_adapter.c111 struct rtc_wkalrm alarm = {0}; in HiReadAlarm() local
133 struct rtc_wkalrm alarm = {0}; in HiWriteAlarm() local
/ohos5.0/base/notification/distributed_notification_service/frameworks/test/moduletest/
H A DReminderHelperTest.js133 let alarm = { class in AnonymousFunction0d3e803e0100.AnonymousFunction0d3e803e0800
174 let alarm = { class in AnonymousFunction0d3e803e0100.AnonymousFunction0d3e803e0900
1019 let alarm = { class in AnonymousFunction0d3e803e0100.AnonymousFunction0d3e803e2200
1060 let alarm = { class in AnonymousFunction0d3e803e0100.AnonymousFunction0d3e803e2300
1101 var alarm = { class in AnonymousFunction0d3e803e0100.AnonymousFunction0d3e803e2400
1135 var alarm = { class in AnonymousFunction0d3e803e0100.AnonymousFunction0d3e803e2500
1310 let alarm = { class in AnonymousFunction0d3e803e0100.AnonymousFunction0d3e803e2c00
1340 let alarm = { class in AnonymousFunction0d3e803e0100.AnonymousFunction0d3e803e2d00
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/
H A Dreminder_store_strategy.cpp419 ReminderRequestAlarm* alarm = static_cast<ReminderRequestAlarm*>(reminder.GetRefPtr()); in AppendValuesBucket() local
440 ReminderRequestAlarm* alarm = static_cast<ReminderRequestAlarm*>(reminder.GetRefPtr()); in RecoverFromOldVersion() local
460 ReminderRequestAlarm* alarm = static_cast<ReminderRequestAlarm*>(reminder.GetRefPtr()); in RecoverFromDb() local
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/signal/unix/
H A Dmod.rs95 pub const fn alarm() -> SignalKind { in alarm() method
/ohos5.0/base/time/time_service/test/unittest/service_test/src/
H A Dtime_service_test.cpp1250 auto alarm = TimerManager::GetInstance()->mPendingIdleUntil_; variable
1310 std::shared_ptr<TimerInfo> alarm; variable
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dreminder_store_test.cpp507 ReminderRequestAlarm* alarm = static_cast<ReminderRequestAlarm*>(reminder.GetRefPtr()); variable
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/smp/
H A Dsmp_def.h159 Alarm *alarm; member
207 Alarm *alarm; member
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/gap/
H A Dgap_def.h219 Alarm *alarm; member
298 Alarm *alarm; member
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/att/
H A Datt_common.h112 Alarm *alarm; member
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/reminder/
H A Dpublish.cpp428 ReminderRequestAlarm& alarm = (ReminderRequestAlarm&)reminder; in ParseReminderAlarm() local
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/src/
H A Dans_notification.cpp1374 ReminderRequestAlarm &alarm = (ReminderRequestAlarm &)reminder; in PublishReminder() local