Searched refs:currentTimeSec (Results 1 – 3 of 3) sorted by relevance
51 uint64_t currentTimeSec = startMillis / MS_PER_SEC + 10; in TEST() local53 subscriberAlarmMonitor->popSoonerThan(static_cast<uint32_t>(currentTimeSec)); in TEST()55 tracker.informAlarmsFired(currentTimeSec * NS_PER_SEC, firedAlarmSet); in TEST()59 currentTimeSec = startMillis / MS_PER_SEC + 7000; in TEST()61 firedAlarmSet = subscriberAlarmMonitor->popSoonerThan(static_cast<uint32_t>(currentTimeSec)); in TEST()63 tracker.informAlarmsFired(currentTimeSec * NS_PER_SEC, firedAlarmSet); in TEST()69 currentTimeSec = startMillis / MS_PER_SEC + 15 + 2 * 60 * 60; in TEST()71 firedAlarmSet = subscriberAlarmMonitor->popSoonerThan(static_cast<uint32_t>(currentTimeSec)); in TEST()73 tracker.informAlarmsFired(currentTimeSec * NS_PER_SEC, firedAlarmSet); in TEST()79 currentTimeSec = startMillis / MS_PER_SEC + 15 + 4 * 60 * 60; in TEST()[all …]
62 int64_t AlarmTracker::findNextAlarmSec(int64_t currentTimeSec) { in findNextAlarmSec() argument63 if (currentTimeSec < mAlarmSec) { in findNextAlarmSec()67 ((currentTimeSec - mAlarmSec) * MS_PER_SEC) / mAlarmConfig.period_millis() + 1; in findNextAlarmSec()
982 int64_t currentTimeSec = getElapsedRealtimeSec(); in informAnomalyAlarmFired() local984 mAnomalyAlarmMonitor->popSoonerThan(static_cast<uint32_t>(currentTimeSec)); in informAnomalyAlarmFired()987 mProcessor->onAnomalyAlarmFired(currentTimeSec * NS_PER_SEC, alarmSet); in informAnomalyAlarmFired()998 int64_t currentTimeSec = getElapsedRealtimeSec(); in informAlarmForSubscriberTriggeringFired() local1000 mPeriodicAlarmMonitor->popSoonerThan(static_cast<uint32_t>(currentTimeSec)); in informAlarmForSubscriberTriggeringFired()1003 mProcessor->onPeriodicAlarmFired(currentTimeSec * NS_PER_SEC, alarmSet); in informAlarmForSubscriberTriggeringFired()