Searched refs:currentTimeSec (Results 1 – 3 of 3) sorted by relevance
48 uint64_t currentTimeSec = startMillis / MS_PER_SEC + 10; in TEST() local50 subscriberAlarmMonitor->popSoonerThan(static_cast<uint32_t>(currentTimeSec)); in TEST()52 tracker.informAlarmsFired(currentTimeSec * NS_PER_SEC, firedAlarmSet); in TEST()56 currentTimeSec = startMillis / MS_PER_SEC + 7000; in TEST()58 firedAlarmSet = subscriberAlarmMonitor->popSoonerThan(static_cast<uint32_t>(currentTimeSec)); in TEST()60 tracker.informAlarmsFired(currentTimeSec * NS_PER_SEC, firedAlarmSet); in TEST()66 currentTimeSec = startMillis / MS_PER_SEC + 15 + 2 * 60 * 60; in TEST()68 firedAlarmSet = subscriberAlarmMonitor->popSoonerThan(static_cast<uint32_t>(currentTimeSec)); in TEST()70 tracker.informAlarmsFired(currentTimeSec * NS_PER_SEC, firedAlarmSet); in TEST()76 currentTimeSec = startMillis / MS_PER_SEC + 15 + 4 * 60 * 60; in TEST()[all …]
63 int64_t AlarmTracker::findNextAlarmSec(int64_t currentTimeSec) { in findNextAlarmSec() argument64 if (currentTimeSec < mAlarmSec) { in findNextAlarmSec()68 ((currentTimeSec - mAlarmSec) * MS_PER_SEC) / mAlarmConfig.period_millis() + 1; in findNextAlarmSec()
1029 int64_t currentTimeSec = getElapsedRealtimeSec(); in informAnomalyAlarmFired() local1031 mAnomalyAlarmMonitor->popSoonerThan(static_cast<uint32_t>(currentTimeSec)); in informAnomalyAlarmFired()1034 mProcessor->onAnomalyAlarmFired(currentTimeSec * NS_PER_SEC, alarmSet); in informAnomalyAlarmFired()1045 int64_t currentTimeSec = getElapsedRealtimeSec(); in informAlarmForSubscriberTriggeringFired() local1047 mPeriodicAlarmMonitor->popSoonerThan(static_cast<uint32_t>(currentTimeSec)); in informAlarmForSubscriberTriggeringFired()1050 mProcessor->onPeriodicAlarmFired(currentTimeSec * NS_PER_SEC, alarmSet); in informAlarmForSubscriberTriggeringFired()